2020-03-23 15:56:02 +00: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 09:54:45 +00:00
|
|
|
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
|
2020-03-23 15:56:02 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
/**
|
|
|
|
* AuthService
|
|
|
|
*/
|
|
|
|
|
|
|
|
var AuthService_AuthMethods = utils_auth.MethodMapping{
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserSessions": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-17 14:43:53 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUser": utils_auth.Option{
|
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserProfile": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserProfile": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserEmail": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserEmail": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserEmail": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ResendMyEmailVerificationMail": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserPhone": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyUserPhone": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/VerifyMyUserPhone": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ResendMyPhoneVerificationCode": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyUserAddress": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/UpdateMyUserAddress": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyMfas": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/ChangeMyPassword": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/AddMfaOTP": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/VerifyMfaOTP": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/RemoveMfaOTP": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/SearchMyUserGrant": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/SearchMyProjectOrgs": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
|
|
|
|
2020-06-09 07:22:37 +00:00
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyZitadelPermissions": utils_auth.Option{
|
2020-03-23 15:56:02 +00:00
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
2020-06-19 13:33:54 +00:00
|
|
|
|
|
|
|
"/caos.zitadel.auth.api.v1.AuthService/GetMyProjectPermissions": utils_auth.Option{
|
|
|
|
Permission: "authenticated",
|
|
|
|
CheckParam: "",
|
|
|
|
},
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func AuthService_Authorization_Interceptor(verifier utils_auth.TokenVerifier, authConf *utils_auth.Config) grpc.UnaryServerInterceptor {
|
2020-03-25 09:54:45 +00:00
|
|
|
return middleware.AuthorizationInterceptor(verifier, authConf, AuthService_AuthMethods)
|
2020-03-23 15:56:02 +00:00
|
|
|
}
|