# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CopyUserInfoClaims from source to destination.
CreateClaims returns claims.
DecodeSegment JWT specific base64url encoding with padding stripped.
EncodeSegment returns JWT specific base64url encoding with padding stripped.
LoadParserConfig returns parser configuration loaded from a file.
LoadProvider returns new provider.
LoadProviderConfig returns provider configuration loaded from a file.
MustNewProvider returns new provider.
NewNumericDate constructs NumericDate from time.Time value.
NewParser returns Parser.
NewProvider returns new provider that supports, both Signer and Parser.
NewProviderFromCryptoSigner returns new from Signer.
NewProviderWithSymmetricKey returns new from Signer.
NewRemoteKeySet returns a KeySet that can validate JSON web tokens by using HTTP GETs to fetch JSON web token sets hosted at a remote URL.
NewSignerInfo returns *SignerInfo.
SetClaimsExpiration sets expiration claims.
VerifySignature returns error if JWT signature is invalid.
WithHeaders allows to specify extra headers or override defaults.
# Constants
DefaultNotBefore offset for NotBefore.
# Variables
DefaultTimeSkew is an interval for allowed time skew.
TimeNowFn to override in unit tests.
# Structs
Claims represents public claim values (as specified in RFC 7519).
Cnf is DPoP specific claim for JWT Key ID.
Key for JWT signature.
ParserConfig provides JWT parser configuration.
ProviderConfig provides OAuth2 configuration.
RemoteKeySet is a KeySet implementation that validates JSON web tokens against a jwks_uri endpoint.
SignerInfo represents JWT signer.
StaticKeySet is a verifier that validates JWT against a static set of public keys.
Token for JWT.
TokenParser config.
VerifyConfig expreses the possible options for validating a JWT.
# Interfaces
KeySet is an interface for verifying JWT signatures.
A Option modifies the default behavior of Provider.
Parser specifies JWT parser interface.
Provider specifies JWT provider interface.
Signer specifies JWT signer interface.
ValidClaims interface for Claims validation.
# Type aliases
Audience represents the recipients that the token is intended for.
Keyfunc is a callback function to supply the key for verification.
MapClaims provides generic claims on map.
NumericDate represents date and time as the number of seconds since the epoch, ignoring leap seconds.