AuthPasskeyApi
import type { AuthPasskeyApi } from "https://esm.sh/@supabase/supabase-js@2.105.4/dist/index.d.mts";Lower-level two-step API and management methods for passkeys.
Access via supabase.auth.passkey.
§Methods
Deletes a passkey for the currently signed-in user.
Lists all passkeys registered for the currently signed-in user.
Starts the passkey authentication ceremony. Fetches an authentication
challenge and credential request options from the server. Used as the
first step of a two-step sign-in flow when the caller wants to handle
navigator.credentials.get() themselves.
Starts the passkey registration ceremony. Fetches a registration challenge
and credential creation options from the server. Used as the first step of
a two-step registration flow when the caller wants to handle
navigator.credentials.create() themselves.
Updates a passkey's friendly name.
Verifies a passkey authentication credential against a previously issued challenge. Used as the second step of a two-step sign-in flow.
Verifies a passkey registration credential against a previously issued challenge. Used as the second step of a two-step registration flow.