Swift: Verify passkey authentication

Verifies a passkey assertion and establishes a session. On success the session is persisted and a signedIn auth change event is emitted.

Parameters

Examples

Verify a passkey sign in

// @_spi(Experimental) import Supabase
let response: AuthResponse = try await supabase.auth.verifyPasskeyAuthentication(
  challengeId: options.challengeId,
  credentialResponse: credential
)
let session = response.session
let user = response.user