Exemplo n.º 1
0
        public IItJakubService GetMainServiceClient()
        {
            if (!IsUserLoggedIn())
            {
                return(m_communication.GetUnsecuredClient());
            }

            var username = GetUserName();
            var password = GetCommunicationToken();

            return(m_communication.GetAuthenticatedClient(username, password));
        }