internal void Login(string username, string password, string language, string userAgent) { var response = _proxy.Login(username, password, language, userAgent); VerifyResponseCode(response); _token = response.token; }
internal void Login(string language, string userAgent) { LoginResponse response = proxy.Login(string.Empty, string.Empty, language, userAgent); VerifyResponseCode(response); token = response.token; }