Documentation
¶
Index ¶
- func AdminAuth(ctx context.Context, admin *credentials.Model) (context.Context, error)
- func AppAuth(ctx context.Context, credentialCore credentials.ICore, ...) (context.Context, error)
- func UnaryServerAuthInterceptor(authFunc grpc_auth.AuthFunc) grpc.UnaryServerInterceptor
- func UnaryServerLoggerInterceptor() grpc.UnaryServerInterceptor
- func UnaryServerTagInterceptor() grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppAuth ¶
func AppAuth(ctx context.Context, credentialCore credentials.ICore, resourceProjectID string) (context.Context, error)
AppAuth implements app project based basic auth validations
func UnaryServerAuthInterceptor ¶
func UnaryServerAuthInterceptor(authFunc grpc_auth.AuthFunc) grpc.UnaryServerInterceptor
UnaryServerAuthInterceptor - creates an authenticator interceptor with the given AuthFunc
func UnaryServerLoggerInterceptor ¶
func UnaryServerLoggerInterceptor() grpc.UnaryServerInterceptor
UnaryServerLoggerInterceptor injects a logger
func UnaryServerTagInterceptor ¶
func UnaryServerTagInterceptor() grpc.UnaryServerInterceptor
UnaryServerTagInterceptor ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.