Decodes a token without verifying it. Never trust the result for authorization decisions.
The expected payload shape
The token to decode
The decoded payload, or null when malformed
Signs a payload into a JWT.
Claims to embed
Optionaloptions: JwtSignOptions
Expiry, audience, issuer
The signed token
Verifies a token's signature and validity window.
The expected payload shape
The token to verify
The verified payload
JWT sign/verify service.
Example
Since
0.1.0