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: Create and verify a challenge

Examples

Create and verify a challenge for a factor

let session = try await supabase.auth.mfa.challengeAndVerify(
  factorID: UUID(uuidString: "34e770dd-9ff9-416c-87fa-43b31d7ef225")!,
  code: "123456"
)