Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/// <summary> /// Creates a new instance of the authentication context from the specified user session /// </summary> public AuthenticationContext(SessionInfo session) { if (session.Expiry < DateTime.Now && !session.Extend()) { throw new SessionExpiredException(); } this.m_principal = session.Principal; this.Session = session; }