Skip to main content

Manage MFA

The manageMFA method is used to trigger manage MFA flow for users, allowing users to update their MFA settings. The method takes LoginParams which will be used during custom auth connections. If you are using default login providers, you don't need to pass LoginParams. If you are using custom JWT auth connections, you need to pass the JWT token in LoginParams as well.

Usage

do {
let response = try await web3Auth.manageMFA()
if response {
// Handle success
} else {
// Something went wrong
}
} catch {
// Handle error
}
On this page