AuthPasskeyApi

Interface for interacting with the Supabase Passkey API

Functions

Link copied to clipboard
abstract suspend fun delete(passkeyId: String)

Update a passkey.

Link copied to clipboard
abstract suspend fun list(): List<PasskeyListItem>

List all passkeys for the current user.

Link copied to clipboard

Start passkey authentication.

Link copied to clipboard

Start passkey registration for the current authenticated user.

Link copied to clipboard
abstract suspend fun update(passkeyId: String, friendlyName: String): PasskeyListItem

Delete a passkey.

Link copied to clipboard
abstract suspend fun verifyAuthentication(challengeId: String, credential: String): UserSession

Verify passkey authentication and create a session.

Link copied to clipboard
abstract suspend fun verifyRegistration(challengeId: String, credential: String): PasskeyRegistrationVerifyResponse

Verify passkey registration with the credential response.