Module
Jwt
- Package
- purescript-jwt
- Repository
- menelaos/purescript-jwt
A JSON Web Token (JWT) (RFC 7519) is a string that consists of three
(URL-safe) Base64-encoded strings separated by dots.
The payload is basically an encoded JSON object which can be
retrieved via the decode function in this module.
For further information see: https://en.wikipedia.org/wiki/JSON_Web_Token https://tools.ietf.org/html/rfc7519
#JwtError Source
data JwtError aA JwtError a can be a
MalformedTokenwhen the token is not of the form<header>.<payload>.<signature>Base64DecodeErrorwhen thepayloadis not a valid Base64 stringJsonDecodeError awhen the user-provided decoder function failsJsonParseErrorwhen the decoded Base64 string cannot be parsed as JSON
Constructors
- Modules
- Jwt