Пример #1
0
        //Needs refactor
        internal void ResetData()
        {
            currentAccount = null;
            requests = new RequestContextTable();
            //RefreshSessionObjects();

            if (flags == null)
                flags = new SessionStateFlags();

            if (OpenIDAuthenticationInformation != null)
                LoadCurrentUserInfo(OpenIDAuthenticationInformation);
        }
Пример #2
0
 internal void ProcessLogin()
 {
     if (requests == null)
         requests = new RequestContextTable();
     if (flags == null)
         flags = new SessionStateFlags();
     if (OpenIDAuthenticationInformation != null)
         currentAccount = DR_Accounts.ResolveFromOpenID(OpenIDAuthenticationInformation.OpenIdentifier);
 }