# Functions
AuthenticatorChi is a default authentication middleware to enforce access from the Verifier middleware request context values.
No description provided by the author
No description provided by the author
EpochNow is a helper function that returns the NumericDate time value used by the spec.
ErrorReason will normalize the error message from the underlining jwt library.
ExpireIn is a helper function to return calculated time in the future for "exp" claim.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Set expiry ("exp") in the claims.
Set expiry ("exp") in the claims to some duration from the present time.
Set issued at ("iat") to specified time in the claims.
Set issued at ("iat") to present time in the claims.
TokenFromCookie tries to retreive the token string from a cookie named "jwt".
TokenFromHeader tries to retreive the token string from the "Authorization" reqeust header: "Authorization: BEARER T".
TokenFromQuery tries to retreive the token string from the "jwt" URI query parameter.
UnixTime returns the given time in UTC milliseconds.
VerifierChi http middleware handler will verify a JWT string from a http request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author