Example #1
0
        public MailStoreProviderHTTP(string userName, string password)
        {
            AuthenticationHelperHTTP.Initialize(userName, password);

            var user = HttpUtilSync.GetItem <User>(string.Empty);

            DisplayName = user.Id;
            RootFolder  = new MailFolderProviderHTTP(null, DisplayName);
        }
Example #2
0
        private string GetToken(bool isRefresh)
        {
            return(AuthenticationHelperHTTP.GetToken(_resourceId, isRefresh));
//            return AuthenticationHelperSDK.GetToken(_resourceId);
        }