Пример #1
0
 public KeyGenerationWorker(ILogger <KeyGenerationWorker> logger, IKeyContainer keyContainer, IKeyStoreClient keyStoreClient, IMetrics metrics, IOptions <KeyGenerationConfig> keyGenerationConfig)
 {
     _logger              = logger;
     _keyContainer        = keyContainer;
     _keyStoreClient      = keyStoreClient;
     _metrics             = metrics;
     _keyGenerationConfig = keyGenerationConfig.Value;
 }
Пример #2
0
 public SignatureKeyGenerationWorker(ILogger <SignatureKeyGenerationWorker> logger, IOptions <SecurityConfig> options,
                                     ISignatureKeyContainer signatureKeyContainer, IKeyStoreClient keyStoreClient, IMetrics metrics)
 {
     _logger = logger;
     _signatureKeyContainer = signatureKeyContainer;
     _keyStoreClient        = keyStoreClient;
     _metrics = metrics;
     _config  = options.Value;
 }
 public KeyServiceConnectionCheck(IKeyStoreClient client, ILogger <KeyServiceConnectionCheck> logger)
 {
     _keyStoreClient = client;
     _logger         = logger;
 }
Пример #4
0
 public KeyResolver(IKeyStoreClient keyStoreClient)
 {
     _keyStoreClient = keyStoreClient;
 }
 public CrossServiceLock(IKeyStoreClient keyStoreClient)
 {
     _keyStoreClient = keyStoreClient;
 }