Beispiel #1
0
 public PersonalManager(
     DataBaseConnection db,
     JweBlackListService jweBlackListService,
     SanitizerService sanitizerService) : base(db)
 {
     this.sanitizerService    = sanitizerService;
     this.jweBlackListService = jweBlackListService;
 }
 public UserRolesAdminController(
     IUserRolesAdminPresenter userRolesAdminPresenter,
     JweBlackListService jweBlackListService,
     IRolesCache rolesCache,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.userRolesAdminPresenter = userRolesAdminPresenter;
     this.jweBlackListService     = jweBlackListService;
 }
 public CleanCacheJobsService(
     IDataBaseFactory dbFactory,
     SpamProtectionCache spamProtectionCache,
     IOptions <SchedulerOptions> schedulerOptions,
     JweBlackListService jweBlackListService)
 {
     this.dbFactory           = dbFactory;
     this.spamProtectionCache = spamProtectionCache;
     this.jweBlackListService = jweBlackListService;
     this.schedulerOptions    = schedulerOptions.Value;
 }
Beispiel #4
0
 public AuthManager(
     SunUserManager userManager,
     IEmailSenderService emailSenderService,
     DataBaseConnection db,
     IOptionsMonitor <GlobalOptions> globalOptions,
     JweBlackListService jweBlackListService,
     ILoggerFactory loggerFactory) : base(db)
 {
     this.userManager         = userManager;
     this.globalOptions       = globalOptions;
     this.emailSenderService  = emailSenderService;
     this.jweBlackListService = jweBlackListService;
     logger = loggerFactory.CreateLogger <AccountController>();
 }
Beispiel #5
0
 public CleanCacheJobsService(
     IDataBaseFactory dbFactory,
     SpamProtectionCache spamProtectionCache,
     IOptionsMonitor <SchedulerOptions> schedulerOptions,
     IMaterialsVisitsCounterCache materialsVisitsCounterCache,
     IProfilesVisitsCounterService profilesVisitsCounterService,
     JweBlackListService jweBlackListService)
 {
     this.dbFactory                    = dbFactory;
     this.spamProtectionCache          = spamProtectionCache;
     this.jweBlackListService          = jweBlackListService;
     this.materialsVisitsCounterCache  = materialsVisitsCounterCache;
     this.profilesVisitsCounterService = profilesVisitsCounterService;
     this.schedulerOptions             = schedulerOptions;
 }