Record: Payload

Represents JWT payload.

Fields

  • iss string?
  • Issuer, identifies the principal that issued the JWT

  • sub string?
  • Subject, identifies the principal that is the subject of the JWT

  • aud string | string[ ]?
  • Audience, identifies the recipients that the JWT is intended for

  • exp int?
  • Expiration time, identifies the expiration time (seconds since the Epoch) on or after which the JWT must not be accepted

  • nbf int?
  • Not before, identifies the time (seconds since the Epoch) before which the JWT must not be accepted

  • iat int?
  • Issued at, identifies the time (seconds since the Epoch) at which the JWT was issued

  • jti string?
  • JWT ID, unique identifier for the JWT