getPreferredMFA method
This is used by an authenticated user to get the preferred MFA method
Implementation
Future<String?> getPreferredMFA() async {
_signInUserSessionCheck();
final userData = await client!.request(
'GetUser',
{
'AccessToken': _signInUserSession!.getAccessToken().getJwtToken(),
},
);
return userData['PreferredMfaSetting'];
}