Record - jwt : JwtPayload

Represents a 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

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

  • exp int
  • Expiration time, identifies the expiration time on or after which the JWT must not be accepted

  • nbf int
  • Not before, identifies the time before which the JWT must not be accepted

  • iat int
  • Issued at, identifies the time at which the JWT was issued

  • customClaims map
  • Map of custom claims