claim

One statement inside a token, as a name and value, such as sub (subject), exp (expiry), iss (issuer), aud (audience) or scope.

In more detail

Claims are only trustworthy after the signature has been verified, and even then they are inputs to a policy, not permission by themselves. Registered claim names such as iss, sub, aud and exp are defined by the JSON Web Token standard, and services can add their own.

Examples

{"sub":"alice","iss":"course","aud":"tasks","exp":4102444800,"scope":"tasks:read"}
{ "sub": "usr_99", "role": "admin", "exp": 1767225600 }

Related terms

Taught in

References