For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Verify passkey registration

Stores a newly created passkey for the signed-in user. The server names the passkey after the authenticator. Change the name with passkeys.rename(id:friendlyName:).

Parameters

Examples

Verify a passkey registration

// @_spi(Experimental) import Supabase
let passkey: PasskeyListItem = try await supabase.auth.passkeys.verifyRegistration(
  challengeID: options.challengeID,
  credential: credential
)