Пример #1
0
 public AuthenticationService(IHealthCheckConfiguration hcConfig)
 {
     _hcConfig = hcConfig;
 }
 protected Handler(IHealthCheckConfiguration hcConfig) => _hcConfig = hcConfig;
Пример #3
0
 public AuthenticationServiceTests()
 {
     _hcConfig = new HealthChecksBuilder()
                 .UseAuthorization("AnyApiKey")
                 .HealthCheckConfig;
 }
Пример #4
0
 public HealthCheckHandler(IHealthCheckConfiguration healthCheckConfiguration, IHealthCheckService healthCheckService) : base(healthCheckConfiguration)
 {
     _hcService = healthCheckService;
     _hcConfig  = healthCheckConfiguration;
 }
Пример #5
0
 public AuthenticationHandler(IHealthCheckConfiguration healthCheckConfiguration, IAuthenticationService service) : base(healthCheckConfiguration)
 {
     _hcConfig    = healthCheckConfiguration;
     _authService = service;
 }