Beispiel #1
0
 public Manual(DomainParser domainParser, ILookupClientProvider lookupClientProvider, ILogService log, IInputService input, ManualOptions options, string identifier) :  base(domainParser, lookupClientProvider, log, options, identifier)
 {
     // Usually it's a big no-no to rely on user input in validation plugin
     // because this should be able to run unattended. This plugin is for testing
     // only and therefor we will allow it. Future versions might be more advanced,
     // e.g. shoot an email to an admin and complete the order later.
     _input = input;
 }
Beispiel #2
0
        public Azure(Target target, AzureOptions options, DomainParser domainParser, ILookupClientProvider lookupClientProvider, ILogService log, string identifier) : base(domainParser, lookupClientProvider, log, options, identifier)
        {
            // Build the service credentials and DNS management client
            var serviceCreds = ApplicationTokenProvider.LoginSilentAsync(
                _options.TenantId,
                _options.ClientId,
                _options.Secret).Result;

            _dnsClient = new DnsManagementClient(serviceCreds)
            {
                SubscriptionId = _options.SubscriptionId
            };
        }
Beispiel #3
0
 public Acme(
     DomainParser domainParser,
     ILookupClientProvider lookupClientProvider,
     ILogService log,
     ISettingsService settings,
     IInputService input,
     ProxyService proxy,
     AcmeOptions options,
     string identifier) : base(domainParser, lookupClientProvider, log, options, identifier)
 {
     _settings = settings;
     _input    = input;
     _proxy    = proxy;
 }
Beispiel #4
0
 public Script(Target target, ScriptOptions options, DomainParser domainParser, ILookupClientProvider lookupClientProvider, ILogService log, string identifier) : base(domainParser, lookupClientProvider, log, options, identifier)
 {
     _scriptClient = new ScriptClient(log);
 }
Beispiel #5
0
 public DnsValidation(DomainParser domainParser, ILookupClientProvider lookupClientProvider, ILogService logService, TOptions options, string identifier) :
     base(logService, options, identifier)
 {
     _domainParser         = domainParser;
     _lookupClientProvider = lookupClientProvider;
 }
 public DreamhostDnsValidation(DomainParser domainParser, ILookupClientProvider lookupClientProvider, ILogService logService, DreamhostOptions options, string identifier) : base(domainParser, lookupClientProvider, logService, options, identifier)
 {
     _client = new DnsManagementClient(options.ApiKey, logService);
 }