disableMfa method

Future<bool> disableMfa()

This is used by an authenticated user to disable MFA for him/herself

Implementation

Future<bool> disableMfa() async {
  _signInUserSessionCheck();

  final mfaOptions = [];

  final paramsReq = {
    'MFAOptions': mfaOptions,
    'AccessToken': _signInUserSession!.getAccessToken().getJwtToken(),
  };

  await client!.request('SetUserSettings', paramsReq);
  return true;
}