Registered claim names are reserved claim names that have special meanings. They are defined in the JWT specification and can be found on the Internet Assigned Numbers Authority (IANA) JSON Web Token Claims registry. Although these names are reserved and have a special meaning, the way the server processes these claims is completely up to the servers itself. All registered claims are optional:
- iss: Issuer: The principal that issued the JWT. In our case, this would be something like hobnob.
- sub: Subject: The entity that the claims apply to. In our case, this would be the user's email or ID.
- aud: Audience: A list of all principals that are intended to process the JWT. If the principal processing the claim does not identify ...