Пример #1
0
 public FileSystemOptionsFactory(
     IIISClient iisClient, ILogService log,
     ArgumentsInputService arguments) : base(arguments)
 {
     _log       = log;
     _iisClient = iisClient;
 }
Пример #2
0
 public TransIpOptionsFactory(
     ArgumentsInputService arguments,
     ILogService log,
     IProxyService proxy) : base(Dns01ChallengeValidationDetails.Dns01ChallengeType)
 {
     _arguments = arguments;
     _log       = log;
     _proxy     = proxy;
 }
Пример #3
0
 public CentralSslOptionsFactory(
     ILogService log,
     ISettingsService settings,
     ArgumentsInputService argumentInput)
 {
     _log           = log;
     _argumentInput = argumentInput;
     _settings      = settings;
 }
Пример #4
0
 public PfxFileOptionsFactory(
     ILogService log,
     ISettingsService settings,
     ArgumentsInputService arguments)
 {
     _log       = log;
     _arguments = arguments;
     _settings  = settings;
 }
Пример #5
0
        private ManualOptions?Options(string commandLine)
        {
            var optionsParser = new ArgumentsParser(log, plugins, commandLine.Split(' '));
            var input         = new Mock.Services.InputService(new());
            var secretService = new SecretServiceManager(new SecretService(), input, log);
            var argsInput     = new ArgumentsInputService(log, optionsParser, input, secretService);
            var x             = new ManualOptionsFactory(argsInput);

            return(x.Default().Result);
        }
Пример #6
0
        private IISOptions?Options(string commandLine)
        {
            var optionsParser = new ArgumentsParser(log, plugins, commandLine.Split(' '));
            var input         = new mock.InputService(new());
            var secretService = new SecretServiceManager(new mock.SecretService(), input, log);
            var argsInput     = new ArgumentsInputService(log, optionsParser, input, secretService);
            var args          = new MainArguments();
            var x             = new IISOptionsFactory(log, helper, args, argsInput, userRoleService);

            return(x.Default().Result);
        }
Пример #7
0
        private ScriptOptions?Options(string commandLine)
        {
            var optionsParser = new ArgumentsParser(log, plugins, commandLine.Split(' '));
            var input         = new Mock.Services.InputService(new());
            var secretService = new SecretServiceManager(new SecretService(), input, log);
            var argsInput     = new ArgumentsInputService(log, optionsParser, input, secretService);
            var x             = new ScriptOptionsFactory(log, argsInput);
            var target        = new Target("", "", new List <TargetPart>());

            return(x.Default(target).Result);
        }
 public CertificateStoreOptionsFactory(
     IUserRoleService userRoleService,
     ArgumentsInputService arguments,
     ISettingsService settings,
     IIISClient iisClient)
 {
     _arguments       = arguments;
     _iisClient       = iisClient;
     _settingsService = settings;
     Disabled         = CertificateStore.Disabled(userRoleService);
 }
Пример #9
0
 public AcmeOptionsFactory(
     LookupClientProvider dnsClient,
     ILogService log,
     ISettingsService settings,
     IProxyService proxy,
     ArgumentsInputService arguments) : base(Constants.Dns01ChallengeType)
 {
     _log       = log;
     _arguments = arguments;
     _settings  = settings;
     _proxy     = proxy;
     _dnsClient = dnsClient;
 }
Пример #10
0
 public IISOptionsFactory(
     ILogService log,
     IISHelper iisHelper,
     MainArguments args,
     ArgumentsInputService arguments,
     IUserRoleService userRoleService)
 {
     _iisHelper = iisHelper;
     _log       = log;
     _arguments = arguments;
     _args      = args;
     Disabled   = IIS.Disabled(userRoleService);
 }
Пример #11
0
 public FtpOptionsFactory(
     ILogService log,
     ArgumentsInputService arguments) : base(arguments)
     => _log = log;
Пример #12
0
 public RestOptionsFactory(ArgumentsInputService arguments) => _arguments = arguments;
Пример #13
0
 public SelfHostingOptionsFactory(ArgumentsInputService arguments, IUserRoleService userRoleService)
 {
     _arguments       = arguments;
     _userRoleService = userRoleService;
 }
 public GodaddyOptionsFactory(ArgumentsInputService arguments) : base(Dns01ChallengeValidationDetails.Dns01ChallengeType) => _arguments = arguments;
Пример #15
0
 public KeyVaultOptionsFactory(ArgumentsInputService arguments) : base() => _arguments = arguments;
Пример #16
0
 protected CsrPluginOptionsFactory(ArgumentsInputService arguments) => _arguments = arguments;
Пример #17
0
 public SelfHostingOptionsFactory(ArgumentsInputService arguments, IUserRoleService userRoleService) : base(Constants.TlsAlpn01ChallengeType)
 {
     _arguments       = arguments;
     _userRoleService = userRoleService;
 }
Пример #18
0
 public AzureOptionsFactoryCommon(ArgumentsInputService arguments)
 {
     _arguments = arguments;
 }
Пример #19
0
 public IISWebOptionsFactory(IIISClient iisClient, ArgumentsInputService arguments, IUserRoleService userRoleService)
 {
     _iisClient = iisClient;
     _arguments = arguments;
     Disabled   = IISWeb.Disabled(userRoleService, iisClient);
 }
 public HttpValidationOptionsFactory(ArgumentsInputService arguments) => _arguments = arguments;
Пример #21
0
 public EcOptionsFactory(ArgumentsInputService arguments) : base(arguments)
 {
 }
Пример #22
0
 public CsrOptionsFactory(ILogService log, ArgumentsInputService arguments)
 {
     _log       = log;
     _arguments = arguments;
 }
Пример #23
0
 public ManualOptionsFactory(ArgumentsInputService arguments) => _arguments = arguments;
Пример #24
0
 public CloudflareOptionsFactory(ArgumentsInputService arguments) :
     base(Dns01ChallengeValidationDetails.Dns01ChallengeType) =>