public ApplicationAuthenticationHandler( ApplicationContextActivityDecorator applicationContextActivityDecorator, IOptionsMonitor <ApplicationAuthenticationOptions> options, ILoggerFactory loggerFactory, UrlEncoder urlEncoder, ISystemClock clock, IHttpContextAccessor httpContextAccessor, ConfigPreloader configPreloader) : base(options, loggerFactory, urlEncoder, clock) { this.logger = loggerFactory.CreateLogger <ApplicationAuthenticationHandler>(); this.applicationContextActivityDecorator = applicationContextActivityDecorator; this.httpContextAccessor = httpContextAccessor; this.configPreloader = configPreloader; }
public LoginController( ApplicationContextActivityDecorator traceActivityDecorator, ConfigPreloader configPreloader, ApplicationCache cache, RecaptchaManager recaptchaManager, ITwoFactorAuthenticator twoFactorAuthenticator, ILogger <LoginController> logger, IMessageBus messageBus, IHttpContextAccessor httpContextAccessor) { this.traceActivityDecorator = traceActivityDecorator; this.configPreloader = configPreloader; this.cache = cache; this.recaptchaManager = recaptchaManager; this.twoFactorAuthenticator = twoFactorAuthenticator; this.logger = logger; this.messageBus = messageBus; this.httpContextAccessor = httpContextAccessor; }
public MongoConnectionFactory(ConfigPreloader config) { Client = new MongoClient(config.Get(ConfigNames.MongoDbConnectionString)); Blog = Client.GetDatabase(config.Get(ConfigNames.BlogDatabaseName)); }
public AwsEventBridgeMessageBus(ConfigPreloader config, ILogger <AwsEventBridgeMessageBus> logger) { this.config = config; this.logger = logger; }
public RecaptchaManager(ConfigPreloader config, ILogger <RecaptchaManager> logger) { this.config = config; this.logger = logger; }
public RabbitMessageBus(ConfigPreloader config) { this.config = config; }
public AwsSqsMessageBus(ConfigPreloader config, ILogger <AwsSqsMessageBus> logger) { this.config = config; this.logger = logger; }
public MySqlConnectionFactory(ConfigPreloader configLoader) { Connection = new MySqlConnection(configLoader.Get(ConfigNames.MySqlDbConnectionString)); Connection.Open(); }
public ToManyAdminLoginAttemptsHealthCheck(ApplicationCache cache, ConfigPreloader config, ApplicationContextActivityDecorator traceActivityDecorator) : base(traceActivityDecorator) { this.cache = cache; this.config = config; }
public AuthorizationManager(IHttpContextAccessor httpContextAccessor, ConfigPreloader configPreloader) { this.httpContextAccessor = httpContextAccessor; this.configPreloader = configPreloader; }