Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrKeyfunc is returned when a keyfunc error occurs. ErrKeyfunc = errors.New("failed keyfunc") )
Functions ¶
This section is empty.
Types ¶
type Keyfunc ¶
Keyfunc is meant to be used as the jwt.Keyfunc function for github.com/golang-jwt/jwt/v5. It uses github.com/MicahParks/jwkset as a JWK Set storage.
func NewDefault ¶
NewDefault creates a new Keyfunc with a default JWK Set storage and options.
This will launch "refresh goroutines" to automatically refresh the remote HTTP resources.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
aws_cognito
command
|
|
|
hmac
command
|
|
|
http
command
|
|
|
json
command
|
|
|
keycloak
command
|
|
|
multi_with_given
command
|
Click to show internal directories.
Click to hide internal directories.