package
2.2.0+incompatible
Repository: https://github.com/ljkiraly/sdk.git
Documentation: pkg.go.dev

# Functions

FromContext returns token from the incoming context metadata.
NewPerRPCCredentials creates credentials.PerRPCCredentials based on token generator func.

# Type aliases

GeneratorFunc - a function which takes the credentials.AuthInfo of the peer of the client or server and returns a token as a string (example: JWT), a expireTime, and an error.