getAuthCredentials method
Returns M4eAuthPhoneNumberForm
credentials
used for m4e authentication
Throws AuthException
with NO_CACHED_AUTH_CREDENTIAL
error
code if no authentication credential exists
Implementation
Future<M4eAuthPhoneNumberForm> getAuthCredentials() async {
try {
final _credentials = await _authApi.getUserCredentialsFromCache();
return _credentials;
} on M4eAuthException catch (_) {
rethrow;
}
}