Skip to content

Documents for @litert/jwt / Types / IJwtParseResult

Interface: IJwtParseResult

Defined in: src/lib/Types.ts:383

The type of the result returned by parse API.

Properties

header: IJwtHeader

Defined in: src/lib/Types.ts:388

The decoded header of the JWT.


payload

payload: IJwtPayload

Defined in: src/lib/Types.ts:393

The decoded payload of the JWT.


signature

signature: Buffer

Defined in: src/lib/Types.ts:403

The signature of the JWT.


signedContent

signedContent: string

Defined in: src/lib/Types.ts:398

The content to be signed, which is the base64url-encoded header and payload.