import { Account } from "https://deno.land/x/appwrite@10.0.0/mod.ts";
Create 2FA Challenge
Begin the process of MFA verification after sign-in. Finish the flow with updateMfaChallenge method.
Parameters
factor: AuthenticationFactor
Returns
Promise<Models.MfaChallenge>