/// <summary> /// Получение токена при авторизации по паролю /// </summary> /// <param name="login">логин</param> /// <param name="password">пароль</param> public bool Authenticate(string login, string password, string applicationId = null) { var token = client.Authenticate(login, password, applicationId); TakeToken(token); return(IsAuthorized); }