Skip to content

Documents for @litert/jwt / Constants / EStdPayloadClaim

Enumeration: EStdPayloadClaim

Defined in: src/lib/Constants.ts:115

The payload claims defined by the JWT specification.

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1

Enumeration Members

AUDIENCE

AUDIENCE: "aud"

Defined in: src/lib/Constants.ts:136

The audience for which the JWT is intended.

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3


EXPIRATION_TIME

EXPIRATION_TIME: "exp"

Defined in: src/lib/Constants.ts:143

The expiration time of the JWT (as a Unix timestamp).

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.4


ISSUED_AT

ISSUED_AT: "iat"

Defined in: src/lib/Constants.ts:158

The time at which the JWT was issued (as a Unix timestamp).

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.6


ISSUER

ISSUER: "iss"

Defined in: src/lib/Constants.ts:122

The issuer of the JWT.

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.1


JWT_ID

JWT_ID: "jti"

Defined in: src/lib/Constants.ts:165

The unique identifier for the JWT.

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.7


NOT_BEFORE

NOT_BEFORE: "nbf"

Defined in: src/lib/Constants.ts:151

The time before which the JWT must not be accepted for processing (as a Unix timestamp).

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.5


SUBJECT

SUBJECT: "sub"

Defined in: src/lib/Constants.ts:129

The subject of the JWT.

https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.2