iya-sts
    Preparing search index...

    Variable keyToUpgrade

    keyToUpgrade: (username: string, prefer?: string) => any = ...

    Type Declaration

      • (username: string, prefer?: string): any
      • The classical passkey an upgrade replaces (#1100): of the person's classical passkeys, the one named (the passkey this sign-in used, where it is one), else the one used last.

        Parameters

        • username: string

          the person

        • Optionalprefer: string

          a credential id to prefer, or ''

        Returns any

        the stored key, or null