Practic Passkey - v1.0.0
    Preparing search index...
    • Signing in with a passkey, for a section of any design. Browsers cannot list the passkeys a device holds, so it gives the passkeys used in this browser, most recent first; signing in without one lets the device's own picker choose, including a passkey on a phone nearby.

      Parameters

      • options: UsePasskeyContinueOptions = {}

        The client, what to call once signed in or when it fails, and whether the caller keeps it busy.

      Returns {
          error: string | null;
          forget: (id: string) => void;
          labels: PasskeyLabels;
          passkeys: DevicePasskey[];
          pending: boolean;
          pendingFor: (passkey?: DevicePasskey) => boolean;
          signIn: (passkey?: DevicePasskey) => Promise<string | null>;
      }

      • error: string | null
      • forget: (id: string) => void

        Forget a passkey in this browser; the passkey itself stays on the device and the server.

      • labels: PasskeyLabels

        The texts shown: those given, over the English ones.

      • passkeys: DevicePasskey[]

        Passkeys used in this browser, most recent first.

      • pending: boolean
      • pendingFor: (passkey?: DevicePasskey) => boolean

        Whether a passkey's button, or the picker's, shows that signing in with it is pending.

      • signIn: (passkey?: DevicePasskey) => Promise<string | null>

        Sign in, then remember the passkey in this browser.