JSON Web Token is an Internet standard for creating JSON-based access tokens that assert some number of claims. Allow us to authenticate requests between the client and the server by encrypting authentication information into a secure, compact JSON object that is digitally signed.
Which perform following opearations
Generation of claims: for instance, time based claims.
Signing: using a Joken.Signer
Verifying: also using a Joken.Signer
Validation: running custom validations for received claims