package
1.1.3
Repository: https://github.com/infinitbyte/framework.git
Documentation: pkg.go.dev

# Constants

AudienceNotFound results when a claim audience does not have one of the audiences given in the VerifyOptions.
DefaultLeeway defines the default leeway to verify time claim.
Expired results when a claim has expired, based on the time given in the VerifyOptions.
IssuedAtFuture results when the issued at (iat) time of a claim, is after the time given in the VerifyOptions.
IssuerMismatch results when the issuer name of a claim does not match the issuer name given in the VerifyOptions.
NotBefore results when a claim not yet valid, based on the time given in the VerifyOptions.

# Structs

InvalidError results when an odd error occurs in Standard.Verify.
Standard provide a starting point for a set of useful interoperable claims as defined in RFC 7519.
VerifyOptions contains parameters for Standard.Verify.

# Type aliases

InvalidReason represents claim verification error reason.
StringOrList define a type for a claim that can be either a string or list of strings.
Time defines a timestamp encoded as time.Unix in JSON.