> For the complete documentation index, see [llms.txt](/llms.txt).

# Manage MFA for a user

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 used during custom verifiers. If you are using default login providers, you don't need to pass `LoginParams`. If you are using custom JWT verifiers, you need to pass the JWT token in `loginParams` as well.

## Usage[​](#usage "Direct link to Usage")

- Default Verifier
- Custom JWT Verifier

```
val manageMFACF = web3Auth.manageMFA()

manageMFACF.whenComplete{_, error ->
  if (error == null) {
     // Handle success
  } else {
     // Handle error
  }
}

```

Usage

```
val loginParams = LoginParams(
  Provider.JWT,
  extraLoginOptions = ExtraLoginOptions(id_token = "your_jwt_token")
)

val manageMFACF = web3Auth.manageMFA(loginParams)

manageMFACF.whenComplete{_, error ->
  if (error == null) {
     // Handle success
  } else {
     // Handle error
  }
}


```
