Example #1
0
 public AddCertificateFunctions(IHttpClientFactory httpClientFactory, CertbotConfiguration configuration, LookupClient lookupClient, KeyVaultClient keyVaultClient, IAzure azure, BlobContainerClient blobContainerClient, IAcmeProtocolClientFactory acmeProtocolClientFactory)
 {
     _httpClientFactory   = httpClientFactory;
     _configuration       = configuration;
     _lookupClient        = lookupClient;
     _keyVaultClient      = keyVaultClient;
     _azure               = azure;
     _blobContainerClient = blobContainerClient;
     _acmeProtocolClient  = acmeProtocolClientFactory.CreateClientAsync().Result;
 }
Example #2
0
 public ImportCertificateFunctions(CertbotConfiguration configuration, CertificateClient certificateClient)
 {
     _configuration     = configuration;
     _certificateClient = certificateClient;
 }
Example #3
0
 public AuthenticationTokenProvider(CertbotConfiguration configuration)
 {
     _configuration = configuration;
 }
Example #4
0
 public RenewCertificatesFunctions(CertbotConfiguration configuration, KeyVaultClient keyVaultClient, IAzure azure)
 {
     _configuration  = configuration;
     _keyVaultClient = keyVaultClient;
     _azure          = azure;
 }
Example #5
0
 public AcmeProtocolClientFactory(CertbotConfiguration configuration, SecretClient secretClient)
 {
     _configuration = configuration;
     _acmeEndpoint  = new Uri(configuration.AcmeEndpoint);
     _secretClient  = secretClient;
 }