Пример #1
0
        internal void Login(string username, string password, string language, string userAgent)
        {
            var response = _proxy.Login(username, password, language, userAgent);

            VerifyResponseCode(response);
            _token = response.token;
        }
Пример #2
0
        internal void Login(string language, string userAgent)
        {
            LoginResponse response = proxy.Login(string.Empty, string.Empty, language, userAgent);

            VerifyResponseCode(response);
            token = response.token;
        }