zitadel/pkg/auth/api/grpc/auth.pb.authoptions.go

152 lines
3.9 KiB
Go
Raw Normal View History

2020-03-23 16:56:02 +01:00
// Code generated by protoc-gen-authmethod. DO NOT EDIT.
package grpc
import (
"google.golang.org/grpc"
utils_auth "github.com/caos/zitadel/internal/api/auth"
2020-03-25 10:54:45 +01:00
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
2020-03-23 16:56:02 +01:00
)
/**
* AuthService
*/
var AuthService_AuthMethods = utils_auth.MethodMapping{
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserSessions": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyUser": utils_auth.Option{
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserProfile": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserProfile": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserEmail": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserEmail": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserEmail": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/ResendMyEmailVerificationMail": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserPhone": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserPhone": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/RemoveMyUserPhone": utils_auth.Option{
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserPhone": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/ResendMyPhoneVerificationCode": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserAddress": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserChanges": utils_auth.Option{
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyMfas": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyPassword": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyPasswordComplexityPolicy": utils_auth.Option{
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/AddMfaOTP": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/VerifyMfaOTP": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/RemoveMfaOTP": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/SearchMyUserGrant": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/SearchMyProjectOrgs": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
"/caos.zitadel.auth.api.v1.AuthService/GetMyZitadelPermissions": utils_auth.Option{
2020-03-23 16:56:02 +01:00
Permission: "authenticated",
CheckParam: "",
},
2020-06-19 15:33:54 +02:00
"/caos.zitadel.auth.api.v1.AuthService/GetMyProjectPermissions": utils_auth.Option{
Permission: "authenticated",
CheckParam: "",
},
2020-03-23 16:56:02 +01:00
}
func AuthService_Authorization_Interceptor(verifier utils_auth.TokenVerifier, authConf *utils_auth.Config) grpc.UnaryServerInterceptor {
2020-03-25 10:54:45 +01:00
return middleware.AuthorizationInterceptor(verifier, authConf, AuthService_AuthMethods)
2020-03-23 16:56:02 +01:00
}