Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Account#createMfaRecoveryCodes

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
method Account.prototype.createMfaRecoveryCodes
Re-export
import { Account } from "https://deno.land/x/appwrite@12.1.0/mod.ts";

Create MFA Recovery Codes

Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in createMfaChallenge method.

Returns

Promise<Models.MfaRecoveryCodes>