Exemplo n.º 1
0
 public DreamhostDnsValidation(
     LookupClientProvider dnsClient,
     ILogService logService,
     ISettingsService settings,
     DreamhostOptions options)
     : base(dnsClient, logService, settings)
     => _client = new DnsManagementClient(options.ApiKey.Value, logService);
Exemplo n.º 2
0
 public DreamhostDnsValidation(
     LookupClientProvider dnsClient,
     ILogService logService,
     ISettingsService settings,
     SecretServiceManager ssm,
     DreamhostOptions options)
     : base(dnsClient, logService, settings)
     => _client = new DnsManagementClient(ssm.EvaluateSecret(options.ApiKey) ?? "", logService);