public ChatAuthenticationService(
     MongoClient mongoClient,
     IW3CAuthenticationService authenticationService,
     IWebsiteBackendRepository websiteBackendRepository
     ) : base(mongoClient)
 {
     _authenticationService    = authenticationService;
     _websiteBackendRepository = websiteBackendRepository;
 }
Beispiel #2
0
 public ChatHub(
     IChatAuthenticationService authenticationService,
     IBanRepository banRepository,
     SettingsRepository settingsRepository,
     ConnectionMapping connections,
     ChatHistory chatHistory,
     IHttpContextAccessor contextAccessor,
     IWebsiteBackendRepository websiteBackendRepository)
 {
     _authenticationService    = authenticationService;
     _banRepository            = banRepository;
     _settingsRepository       = settingsRepository;
     _connections              = connections;
     _chatHistory              = chatHistory;
     _contextAccessor          = contextAccessor;
     _websiteBackendRepository = websiteBackendRepository;
 }