Skip to content

Documents for @litert/jwt / Constants / EStdHeaderClaim

Enumeration: EStdHeaderClaim

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

The header claims defined by the JWT specification.

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

Enumeration Members

ALGORITHM

ALGORITHM: "alg"

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

The algorithm used for signing the JWT.

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


CONTENT_TYPE

CONTENT_TYPE: "cty"

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

The content type of the JWT payload.

https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.10


CRITICAL_CLAIMS

CRITICAL_CLAIMS: "crit"

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

Indicates that the header contains critical claims that must be understood and processed.

https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.11


JWK

JWK: "jwk"

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

The JSON Web Key (JWK) that contains the public key used to verify the JWT signature.

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


JWK_URL

JWK_URL: "jku"

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

The URL of the JSON Web Key Set (JWKS) document that contains the public key used to verify the JWT signature.

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


KEY_ID

KEY_ID: "kid"

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

The key ID used to sign the JWT.

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


TYPE

TYPE: "typ"

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

The type of the token.

https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.9


X509_CERT_CHAIN

X509_CERT_CHAIN: "x5c"

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

The X.509 certificate chain used to verify the JWT signature.

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


X509_CERT_THUMBPRINT_SHA1

X509_CERT_THUMBPRINT_SHA1: "x5t"

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

The X.509 certificate thumbprint. (SHA-1 hash of the DER-encoded certificate)

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


X509_CERT_THUMBPRINT_SHA256

X509_CERT_THUMBPRINT_SHA256: "x5t#S256"

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

The X.509 certificate SHA-256 thumbprint. (SHA-256 hash of the DER-encoded certificate)

https://datatracker.ietf.org/doc/html/rfc7515#section-4.1.8


X509_CERT_URL

X509_CERT_URL: "x5u"

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

The X.509 URL pointing to the certificate or certificate chain used to verify the JWT signature.

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