package
0.0.0-20160721150600-68900edcface
Repository: https://github.com/gopheracademy/congo.git
Documentation: pkg.go.dev
# Functions
NewTokenManager returns a TokenManager.
# Constants
ECDSA256 signing algorithm.
ECDSA384 signing algorithm.
ECDSA512 signing algorithm.
HMAC256 signing algorithm.
HMAC384 signing algorithm.
HMAC512 signing algorithm.
RSA256 signing algorithm.
RSA384 signing algorithm.
RSA512 signing algorithm.
TokenManagerKey is the JWT middleware key used to store the token manager in the context.
# Structs
Specification describes the JWT authorization properties.
TokenManager provides for the creation of access and refresh JWT Tokens.
# Type aliases
KeyFunc is a function that returns the key to sign a token.
SigningMethod is the enum that lists the supported token signature hashing algorithms.
ValidationKeyfunc is a function that takes a token and returns the key to validate that token, which allows it to use inforamtion from the key itself to choose the key to return.