zitadel/pkg/admin/api/grpc/admin.pb.authoptions.go
2020-03-23 10:52:06 +01:00

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)
}