checkNonce: (
nonce: any,
realmId: any,
) =>
| { expiresS?: undefined; id?: undefined; ok: boolean; reason: string }
| { expiresS: any; id?: undefined; ok: boolean; reason: string }
| { expiresS: any; id: any; ok: boolean; reason?: undefined } = ...
Type Declaration
-
- (
nonce: any,
realmId: any,
):
| { expiresS?: undefined; id?: undefined; ok: boolean; reason: string }
| { expiresS: any; id?: undefined; ok: boolean; reason: string }
| { expiresS: any; id: any; ok: boolean; reason?: undefined }
-
Returns
| { expiresS?: undefined; id?: undefined; ok: boolean; reason: string }
| { expiresS: any; id?: undefined; ok: boolean; reason: string }
| { expiresS: any; id: any; ok: boolean; reason?: undefined }
{ ok, id, expiresS }, or { ok: false, reason } with
malformed, forged or expired
Checks a Replay-Nonce was issued here, for this realm, and has not expired. Single use is the store's.