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