iya-sts
    Preparing search index...

    Variable beginKeyUpgrade

    beginKeyUpgrade: (username: any, credentialId: any, opts?: any) => any = ...

    Type Declaration

      • (username: any, credentialId: any, opts?: any): any
      • Begins the upgrade of one of a person's classical passkeys to an ML-DSA one (#939): refuses what it can before any ceremony and mints the assertion challenge the classical key proves possession over.

        Parameters

        • username: any

          the person

        • credentialId: any

          the classical passkey's credential id, looked up among this person's keys

        • Optionalopts: any

          mode: replace or alongside to name what the write does (#1100); the lanes decide where it is left out

        Returns any

        { ok: true, upgradeId, challenge, credentialId, mode, lane, expiresAt }, or a refusal