# README
MJWT
A simple wrapper for JWT. Contains an AccessToken and RefreshToken model.
# Functions
ExtractClaims uses a Verifier to validate the MJWT token and returns the parsed token and BaseTypeClaims.
NewIssuer creates an Issuer with an empty KeyStore.
NewIssuerWithKeyStore creates an Issuer with a provided KeyStore.
NewKeyStore creates an empty KeyStore.
NewKeyStoreFromDir creates an empty KeyStore.
NewKeyStoreFromPath creates an empty KeyStore.
NewKeyStoreWithDir creates an empty KeyStore with an underlying afero.Fs filesystem for saving the internal store data.
WriteJwkSetJson outputs the public keys used by the Issuers.
# Constants
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
# Structs
BaseTypeClaims is a wrapper for combining the jwt.RegisteredClaims with a ClaimType and generic Claims data.
EmptyClaims contains no claims.
Issuer provides the signing for a PrivateKey identified by the KID in the provided KeyStore.
KeyStore provides a store for a collection of private/public keypair structs.
# Interfaces
Claims is a wrapper for jwt.Claims and adds a Type method to name internal claim structs.