iya-sts
    Preparing search index...

    Variable proveKeyUpgrade

    proveKeyUpgrade: (
        username: any,
        upgradeId: any,
        assertion: any,
        opts?: any,
    ) => Promise<any> = ...

    Type Declaration

      • (username: any, upgradeId: any, assertion: any, opts?: any): Promise<any>
      • The upgrade's proof of possession (#939): verifies an assertion by the classical passkey over the challenge beginKeyUpgrade() minted, spends it across the cluster, and mints the registration's challenge. A refused proof drops the upgrade; the passkey is unchanged.

        Parameters

        • username: any

          the person

        • upgradeId: any

          the upgrade in progress

        • assertion: any

          what the browser posted

        • Optionalopts: any

          origin and rpId, what the browser was talking to

        Returns Promise<any>

        a promise of { ok: true, challenge, userHandle, exclude, lane }, or a refusal