mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 19:44:21 +00:00
137 lines
3.5 KiB
Go
137 lines
3.5 KiB
Go
// 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"
|
|
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
|
|
)
|
|
|
|
/**
|
|
* AuthService
|
|
*/
|
|
|
|
var AuthService_AuthMethods = utils_auth.MethodMapping{
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserSessions": utils_auth.Option{
|
|
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{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserProfile": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserEmail": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserEmail": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserEmail": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ResendMyEmailVerificationMail": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserPhone": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserPhone": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserPhone": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ResendMyPhoneVerificationCode": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserAddress": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyMfas": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyPassword": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/AddMfaOTP": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/VerifyMfaOTP": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/RemoveMfaOTP": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/SearchMyUserGrant": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/SearchMyProjectOrgs": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyZitadelPermissions": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyProjectPermissions": utils_auth.Option{
|
|
Permission: "authenticated",
|
|
CheckParam: "",
|
|
},
|
|
}
|
|
|
|
func AuthService_Authorization_Interceptor(verifier utils_auth.TokenVerifier, authConf *utils_auth.Config) grpc.UnaryServerInterceptor {
|
|
return middleware.AuthorizationInterceptor(verifier, authConf, AuthService_AuthMethods)
|
|
}
|