Documentation
¶
Overview ¶
Package keychain manages the validation and processing of jwt tokens
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidKey is returned when a public key is invalid ErrInvalidKey = errors.New("invalid public key") )
Functions ¶
func ImportKeys ¶ added in v1.3.0
ImportKeys import keys in the standard jwks json format
func ImportKeysFromURL ¶ added in v1.3.0
ImportKeysFromURL will fetch and import the public keys from the specified url
Types ¶
type AuthToken ¶ added in v1.3.2
type AuthToken struct {
// contains filtered or unexported fields
}
AuthToken is an JWT AuthToken
Click to show internal directories.
Click to hide internal directories.