Openmaize v0.17.1 Openmaize.JWT.Verify
Module to verify JSON Web Tokens.
Summary
Functions
Decode the JWT and check that it is valid
Functions
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 a kid
value in the header, id
, role
, and valid
nbf
and exp
values in the body, and that it uses a supported
algorithm, either HMAC-sha512 or HMAC-sha256.