iya-sts
    Preparing search index...

    Variable checkNonce

    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 }
      • Checks a Replay-Nonce was issued here, for this realm, and has not expired. Single use is the store's.

        Parameters

        • nonce: any

          the header's nonce

        • realmId: any

          the realm

        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