A JSON Web Token (JWT) is a compact, URL-safe way of representing claims that can be exchanged between parties.
All JWTs consist of a header and payload, which are JSON hashes. These objects are stringified and Base64-encoded. The encoded header and payload are combined with a digital signature (...