Esempio n. 1
0
 public SessionReader(
     ISessionIdLiteralSpecifier sessionIdLiteralSpecifier,
     ICookieHeadersGetter cookieHeadersGetter,
     IHttpSessionRepository httpSessionRepository,
     IDefaultSessionCookieFactory defaultSessionCookieFactory,
     IStandardHeadersConstants contants)
 {
     _sessionIdLiteralSpecifier   = sessionIdLiteralSpecifier;
     _cookieHeadersGetter         = cookieHeadersGetter;
     _httpSessionRepository       = httpSessionRepository;
     _defaultSessionCookieFactory = defaultSessionCookieFactory;
     _contants = contants;
 }
Esempio n. 2
0
 public SessionReader(
     ISessionIdLiteralSpecifier sessionIdLiteralSpecifier, 
     ICookieHeadersGetter cookieHeadersGetter,
     IHttpSessionRepository httpSessionRepository,
     IDefaultSessionCookieFactory defaultSessionCookieFactory,
     IStandardHeadersConstants contants)
 {
     _sessionIdLiteralSpecifier = sessionIdLiteralSpecifier;
     _cookieHeadersGetter = cookieHeadersGetter;
     _httpSessionRepository = httpSessionRepository;
     _defaultSessionCookieFactory = defaultSessionCookieFactory;
     _contants = contants;
 }
Esempio n. 3
0
 public DefaultSessionCookieFactory(ISessionIdLiteralSpecifier literalSpecifier, ISessionCookieLifespanProvider lifespanProvider)
 {
     _sessionIdLiteral = literalSpecifier.SessionId;
     _lifespan         = lifespanProvider.Lifespan;
 }
 public DefaultSessionCookieFactory(ISessionIdLiteralSpecifier literalSpecifier, ISessionCookieLifespanProvider lifespanProvider)
 {
     _sessionIdLiteral = literalSpecifier.SessionId;
     _lifespan = lifespanProvider.Lifespan;
 }