getUserMFASettingList method

Future<String?> getUserMFASettingList()

This is used by an authenticated user to get the available MFA methods

Implementation

Future<String?> getUserMFASettingList() async {
  _signInUserSessionCheck();

  final userData = await client!.request(
    'GetUser',
    {
      'AccessToken': _signInUserSession!.getAccessToken().getJwtToken(),
    },
  );

  return userData['UserMFASettingList'];
}