For AI agents: a documentation index is available at /llms.txt. A markdown version of this page is available at the same URL with .md appended (or via Accept: text/markdown).
Skip to main content

Manage MFA settings

The manageMFA method is used to trigger a login flow that will open a browser to manage the MFA factors for the user. The user will be able to add, remove, and configure MFA factors from the templated user interface.

The method takes optional LoginParams, the same as enableMFA. Pass LoginParams with idToken when you use custom JWT connections. The method returns a bool that indicates whether the flow completed.

Usage​

try {
final bool result = await Web3AuthFlutter.manageMFA();
} on UserCancelledException {
log("User cancelled.");
} catch(e) {
log("Unknown exception occurred");
}
On this page