Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 929 Bytes

File metadata and controls

29 lines (16 loc) · 929 Bytes

Interface: UnsecuredResult<PayloadType>

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.

Result of decoding an Unsecured JWT.

Type Parameters

Type Parameter Default type Description
PayloadType JWTPayload Type definition of the JWT Claims Set the token is expected to carry.

Properties

header

header: JWSHeaderParameters

The decoded JOSE Header; always { "alg": "none" } for an Unsecured JWT.


payload

payload: PayloadType & JWTPayload

JWT Claims Set.