A JSON Web Token is used to send information that can be verified and trusted by means of a digital signature . It comprises a compact and URL-safe JSON object, which is cryptographically signed to verify its authenticity, and which can also be encrypted if the payload contains sensitive information.