appwrite/docs/examples/1.8.x/client-flutter/examples/account/create-mfa-challenge.md
2025-08-26 15:40:03 +12:00

339 B

import 'package:appwrite/appwrite.dart';

Client client = Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID

Account account = Account(client);

MfaChallenge result = await account.createMFAChallenge( factor: AuthenticationFactor.email, );