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 W3ALoginParams which will used during custom verifiers. If you are using default login providers, you don't need to pass W3ALoginParams. If you are using custom jwt verifiers, 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