jose/docs/classes/util_errors.JWTExpired.md
2021-07-21 13:07:20 +02:00

2.4 KiB

Class: JWTExpired

util/errors.JWTExpired

An error subclass thrown when a JWT is expired.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new JWTExpired(message, claim?, reason?)

Parameters

Name Type Default value
message string undefined
claim string 'unspecified'
reason string 'unspecified'

Inherited from

JWTClaimValidationFailed.constructor

Defined in

util/errors.ts:45

Properties

claim

claim: string

The Claim for which the validation failed.

Inherited from

JWTClaimValidationFailed.claim

Defined in

util/errors.ts:38


code

code: string

A unique error code for the particular error subclass.

Overrides

JWTClaimValidationFailed.code

Defined in

util/errors.ts:166


reason

reason: string

Reason code for the validation failure.

Inherited from

JWTClaimValidationFailed.reason

Defined in

util/errors.ts:43


code

Static code: string = 'ERR_JWT_EXPIRED'

A unique error code for the particular error subclass.

Overrides

JWTClaimValidationFailed.code

Defined in

util/errors.ts:164