mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
21 lines
531 B
Go
21 lines
531 B
Go
// Code generated by protoc-gen-authmethod. DO NOT EDIT.
|
|
|
|
package grpc
|
|
|
|
import (
|
|
"google.golang.org/grpc"
|
|
|
|
utils_auth "github.com/caos/citadel/utils/auth"
|
|
utils_grpc "github.com/caos/citadel/utils/grpc"
|
|
)
|
|
|
|
/**
|
|
* AdminService
|
|
*/
|
|
|
|
var AdminService_AuthMethods = utils_auth.AuthMethodMapping{}
|
|
|
|
func AdminService_Authorization_Interceptor(verifier utils_auth.TokenVerifier, authConf *utils_auth.AuthConfig) grpc.UnaryServerInterceptor {
|
|
return utils_grpc.AuthorizationInterceptor(verifier, authConf, AdminService_AuthMethods)
|
|
}
|