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