interceptors

package
v0.0.0-...-e2755d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminAuth

func AdminAuth(ctx context.Context, admin *credentials.Model) (context.Context, error)

AdminAuth implements admin credentials based basic auth validations

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL