Skip to content

Latest commit

 

History

History
107 lines (55 loc) · 1.96 KB

File metadata and controls

107 lines (55 loc) · 1.96 KB

Interface: JWTHeaderParameters

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.

Recognized Signed JWT Header Parameters, any other Header Members may also be present.

Indexable

[propName: string]: unknown

Any other JWS Header member.

Properties

alg

alg: string

JWS "alg" (Algorithm) Header Parameter

See

Algorithm Key Requirements


b64?

optional b64?: boolean

This JWS Extension Header Parameter modifies the JWS Payload representation and the JWS Signing Input computation as per RFC7797.


crit?

optional crit?: string[]

JWS "crit" (Critical) Header Parameter


cty?

optional cty?: string

"cty" (Content Type) Header Parameter


jku?

optional jku?: string

"jku" (JWK Set URL) Header Parameter


jwk?

optional jwk?: Omit<JWK, "d" | "p" | "q" | "k" | "dp" | "dq" | "qi" | "priv" | "oth">

"jwk" (JSON Web Key) Header Parameter. This must be a public JSON Web Key; private and symmetric key parameters are not permitted.


kid?

optional kid?: string

"kid" (Key ID) Header Parameter


typ?

optional typ?: string

"typ" (Type) Header Parameter


x5c?

optional x5c?: string[]

"x5c" (X.509 Certificate Chain) Header Parameter


x5t?

optional x5t?: string

"x5t" (X.509 Certificate SHA-1 Thumbprint) Header Parameter


x5u?

optional x5u?: string

"x5u" (X.509 URL) Header Parameter