Setup authenticator app MFA for the current user. The result will include a
callback that should be called with the valid TOTP from an authenticator
app.
Example
const { secretCode, mfaCodeCallback } = awaitmfaService.setupMfaAuthenticatorApp() // Prompt the user to enter an MFA code constcode = prompt( `Please enter a one-time code from your MFA app after creating a new entry with secret: ${secretCode}.`, ) awaitmfaCodeCallback(code)
Setup authenticator app MFA for the current user. The result will include a callback that should be called with the valid TOTP from an authenticator app.
Example