Exemple #1
0
 /// <summary>
 /// Create a new authentication session.
 /// </summary>
 /// <param name="loginName">Name of the logged-in user.</param>
 /// <param name="loginId">Id of the logged-in user.</param>
 /// <param name="isLoggined">Is user logged-in.</param>
 /// <param name="logginedTime">Logged-in time.</param>
 public void CreateSession(string loginName, int loginId, bool isLoggined, DateTime logginedTime)
 {
     this.sessionCommon = new SessionCommon(loginName, loginId, isLoggined, logginedTime);
 }
Exemple #2
0
 private AuthenticationSession()
 {
     this.sessionCommon = new SessionCommon(string.Empty, 0, false, DateTime.Now);
 }