Documentation ¶
Overview ¶
Package utils offers utility functions for parsing information from headers and cookies
Package utils offers utility functions for parsing information from headers and cookies
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JWTMetadata ¶
type JWTMetadata struct {
Expiration int64
}
JWTMetadata contains any metadata about a JWT that is contained in its claims
func ParseJWTClaims ¶
func ParseJWTClaims(claims jwt.MapClaims) (*JWTMetadata, error)
ParseJWTClaims extracts metadata that is contained within a JWT's claims
Click to show internal directories.
Click to hide internal directories.