Exemple #1
0
 public AuthSessionRepository(SessionCacheDatabase sessionCache, IRepository <User, UserLookup> userRepository, IRepository <Profile, ProfileLookup> profileRepository, IRepository <Game, GameLookup> gameRepository, IMQConnectionFactory mqConnectionFactory, PresencePreAuthProvider rsaProvider)
 {
     this.defaultTimeSpan     = TimeSpan.FromHours(6);
     this.userRepository      = userRepository;
     this.profileRepository   = profileRepository;
     this.gameRepository      = gameRepository;
     this.mqConnectionFactory = mqConnectionFactory;
     this.rsaProvider         = rsaProvider;
     this.sessionCache        = sessionCache;
 }
Exemple #2
0
 public UserRepository(GameTrackerDBContext gameTrackerDb, SessionCacheDatabase sessionCache)
 {
     this.gameTrackerDb = gameTrackerDb;
     this.sessionCache  = sessionCache;
 }