A structured error describing exactly how the decoder failed.
Decode a JWT from string.
fromString "eyJhbGciOi..." == Ok ...
fromString "" == Err ...
fromString "definitelyNotAJWT" == Err ...A structured error describing all verification errors.
Check if the token is valid.
A task to check if the token is valid.
A JSON Web Token.
Can be either a JWS (signed) or a JWE (encrypted). The latter is not yet implemented.