iya-sts
    Preparing search index...

    Variable spendAssertion

    spendAssertion: (spec: any) => Promise<any> = ...

    Type Declaration

      • (spec: any): Promise<any>
      • Spends a WebAuthn assertion across the cluster: the challenge claimed once, the signature counter advanced.

        A refused counter gives the challenge back.

        Parameters

        • spec: any

          username, credentialId, challenge and signCount

        Returns Promise<any>

        a promise of { ok: true, recorded, advanced }, or a refusal (replay, counter, store)