MFA verification
Your app’s server verifies the user’s MFA, then passes the MFA token with the user’s JWT in The MFA token lasts for the cache duration. Pass the latest token on every request that may require MFA.
user_auth. The SDK exchanges them for a user key that records the MFA, and signs the request with it. The user must be enrolled in MFA first. See enrollment with server-side MFA.Send the user an SMS code, then verify it to get an MFA token. TOTP and passkeys work the same way. See server-side MFA.This requires @privy-io/node version 0.39.0 or later.Examples
Each example shows a policy that requires MFA for the action, then the request.Export a wallet
Exporting a private key or seed phrase requires MFA. This is the policy from setup.The SDK decrypts the exported key for you.

