iya-sts
    Preparing search index...

    Variable spendNonce

    spendNonce: (id: any, expiresS: any) => boolean = ...

    Type Declaration

      • (id: any, expiresS: any): boolean
      • Spends a nonce in this process: false for one already spent, which is the replay.

        A realm full of live spends refuses the new one, answered badNonce so the client retries with a fresh nonce.

        Parameters

        • id: any

          the nonce's random part

        • expiresS: any

          when it expires, in seconds

        Returns boolean

        true when spent now