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

    Type Declaration

      • (username: any, credentialId: any, opts?: any): any
      • Removes one of a person's security keys, refusing one that would leave them unable to sign in.

        Parameters

        • username: any

          the person

        • credentialId: any

          the key's credential id

        • Optionalopts: any

          lost: the key was reported lost (#1955), so the last-way-in guard does not keep it

        Returns any

        { ok: true, remaining }, or a refusal