SiwxExpiredSessionError
Defined in: errors.ts:79
Signals that the message expirationTime has passed. Code: SIWX_EXPIRED_SESSION.
Not thrown by SIWX itself: expired messages are reported by validateMessage and returned as error by the
verifiers. Provided for applications that want to throw a typed error from their own checks.
Extends
Constructors
Constructor
new SiwxExpiredSessionError(
expirationTime):SiwxExpiredSessionError
Defined in: errors.ts:83
Parameters
expirationTime
string
The ISO 8601 timestamp when the session expired.
Returns
SiwxExpiredSessionError
Overrides
Properties
code
readonlycode:string='SIWX_ERROR'
Defined in: errors.ts:18
Machine-readable error code, for example SIWX_PARSE_ERROR. Each subclass passes its own code;
SIWX_ERROR is used only by the base class.
Inherited from
expirationTime
readonlyexpirationTime:string
Defined in: errors.ts:83
The ISO 8601 timestamp when the session expired.