guard let user = await privy.getUser() else { return }
do {
// Submit will trigger the system's native passkey prompt
try await user.mfa.passkeys.verify.submit(relyingParty: "https://yourdomain.com")
// If you've set up an MFA required listener, notify Privy MFA succeeded and to continue pending actions
await privy.mfa.resumeBlockedActions()
} catch {
// Either prompt user to try again, or notify Privy MFA failed and pass the error to the call site
await privy.mfa.resumeBlockedActions(throwing: error)
}