OpenmaizeJWT v1.0.0
OpenmaizeJWT.Verify
Module to verify JSON Web Tokens.
Summary
Get the expiration time of the token
Decode the JWT and check that it is valid
Functions
Get the expiration time of the token.
Decode the JWT and check that it is valid.
As well as checking that the token is a valid JWT, this function also
checks that it has an id
and valid nbf
and exp
values in the body,
and that it uses a supported algorithm, either HMAC-sha512 or HMAC-sha256.