interceptors

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithToken added in v1.17.0

func ContextWithToken(ctx context.Context, tok *tokenauth.Token) context.Context

func JWTAuthInterceptor

func JWTAuthInterceptor(verifier tokenVerifier, publicMethods map[string]bool) grpc.UnaryServerInterceptor

func TokenFromContext added in v1.17.0

func TokenFromContext(ctx context.Context) (*tokenauth.Token, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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