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; }
public UserRepository(GameTrackerDBContext gameTrackerDb, SessionCacheDatabase sessionCache) { this.gameTrackerDb = gameTrackerDb; this.sessionCache = sessionCache; }