Beispiel #1
0
 public void DoLogin()
 {
     logger.Info($"Logging in with account type: {_client.AuthType}");
     if (_client.AuthType == AuthType.Google)
     {
         _apiLogin.DoGoogleLogin(_client.Settings.GoogleUsername, _client.Settings.GooglePassword).GetAwaiter().GetResult();
     }
     else
     {
         _apiLogin.DoPtcLogin(_client.Settings.PtcUsername, _client.Settings.PtcPassword).GetAwaiter().GetResult();
     }
 }