token

package
v1.168.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractToken

func ExtractToken(ctx context.Context) (string, error)

ExtractToken from context.

func NewPerRPCCredentials

func NewPerRPCCredentials(generator token.Generator) credentials.PerRPCCredentials

NewPerRPCCredentials for token.

func StreamServerInterceptor

func StreamServerInterceptor(verifier token.Verifier) grpc.StreamServerInterceptor

StreamServerInterceptor for token.

func UnaryServerInterceptor

func UnaryServerInterceptor(verifier token.Verifier) grpc.UnaryServerInterceptor

UnaryServerInterceptor for token.

func VerifyToken

func VerifyToken(ctx context.Context, verifier token.Verifier) (context.Context, error)

VerifyToken from context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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