iya-sts
    Preparing search index...
    addKey: (username: any, credential: any, opts?: any) => any = ...

    Type Declaration

      • (username: any, credential: any, opts?: any): any
      • Records a security key whose registration ceremony the caller has already verified.

        Parameters

        • username: any

          the person

        • credential: any

          what the ceremony produced

        • Optionalopts: any

          upgrade (#939): { credentialId, mode }, the classical passkey this key upgrades and what the write does to it — replace puts this key in its place, alongside keeps it beside this one

        Returns any

        { ok: true, username, credentialId, … }, or a refusal