SiwxNonceReplayError
Defined in: errors.ts:95
Signals that the message nonce has already been used. Code: SIWX_NONCE_REPLAY.
verifySiwxPayload (@tuwaio/siwx-server) raises it internally when the nonce is in usedNonces and returns
its message in the result.
Extends
Constructors
Constructor
new SiwxNonceReplayError(
nonce):SiwxNonceReplayError
Defined in: errors.ts:99
Parameters
nonce
string
The nonce that was detected as replayed.
Returns
SiwxNonceReplayError
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
nonce
readonlynonce:string
Defined in: errors.ts:99
The nonce that was detected as replayed.
Last updated on