Back to Jose

Interface: UnsecuredResult

docs/jwt/unsecured/interfaces/UnsecuredResult.md

6.2.9928 B
Original Source

Interface: UnsecuredResult<PayloadType>

šŸ’— Help the project

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 ParameterDefault typeDescription
PayloadTypeJWTPayloadType definition of the JWT Claims Set the token is expected to carry.

Properties

• header: JWSHeaderParameters

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


payload

• payload: PayloadType & JWTPayload

JWT Claims Set.