Ejemplo n.º 1
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="sessionDbContext"></param>
 /// <param name="logger"></param>
 public UserSessionStore(SessionDbContext sessionDbContext, ILogger <UserSessionStore> logger)
 {
     _sessionDbContext = sessionDbContext;
     _logger           = logger;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="options"></param>
 /// <param name="sessionDbContext"></param>
 /// <param name="logger"></param>
 public UserSessionStore(IOptions <DataProtectionOptions> options, SessionDbContext sessionDbContext, ILogger <UserSessionStore> logger)
 {
     _applicationDiscriminator = options.Value.ApplicationDiscriminator;
     _sessionDbContext         = sessionDbContext;
     _logger = logger;
 }