package
0.0.0-20220330114152-ecdd364f93e8
Repository: https://github.com/ambientkit/plugin.git
Documentation: pkg.go.dev

# Functions

New creates a new JWT configuration.

# Variables

ErrAudienceInvalid is when the audience is invalid.
ErrExpirationInvalid is when the expiration is invalid.
ErrExpired is when a token is used after the expiration date.
ErrIssuedAtInvalid is when the issued date is invalid.
ErrMalformed is when a token is malformed.
ErrNotBeforeInvalid is when the before date is invalid.
ErrNotValidYet is when a token is used prior to the issue date.
ErrSecretTooShort is when the secret is not long enough.
ErrSignatureInvalid is when a signature is invalid.

# Structs

Configuration contains the JWT dependencies.

# Interfaces

IClock represents a system clock.