JSON Web Token (JWT) (RFC 7519) is a string that consists of three
(URL-safe) Base64-encoded strings separated by dots.
payload is basically an encoded JSON object which can be
retrieved via the
decode function in this module.
data JwtError a
JwtError a can be a
MalformedTokenwhen the token is not of the form
payloadis not a valid Base64 string
JsonDecodeError awhen the user-provided decoder function fails
JsonParseErrorwhen the decoded Base64 string cannot be parsed as JSON