Exemple #1
0
 internal UserSession(User loggingUser)
 {
     _sessionObject = SessionObjectFactory.GetSessionObject(loggingUser);
 }
Exemple #2
0
        public static UserSession Login(string username, string password)
        {
            var sessionObject = SessionObjectFactory.GetSessionObject(username, password);

            return(new UserSession(sessionObject));
        }
Exemple #3
0
 public UserSession()
 {
     _sessionObject = SessionObjectFactory.GetSessionObject();
 }