Adds a header to the JWT token.
Parameters
Returns
Supported Clients
Sample
Adds the payload (claims) to the web token.
Sign the token with the given algorithm. The 'alg' claim is automatically added to the token header.
Adds data to the payload, which contains the claims. Claims are statements about an entity (typically, the user) and additional data.
Add a specific Expires At ("exp") claim to the Payload.