示例#1
0
 public LuaDns(
     LookupClientProvider dnsClient,
     ProxyService proxy,
     ILogService log,
     ISettingsService settings,
     LuaDnsOptions options) : base(dnsClient, log, settings)
 {
     _proxyService = proxy;
     _userName     = options.Username;
     _apiKey       = options.APIKey.Value;
 }
示例#2
0
 public LuaDns(
     LookupClientProvider dnsClient,
     IProxyService proxy,
     ILogService log,
     ISettingsService settings,
     SecretServiceManager ssm,
     LuaDnsOptions options) : base(dnsClient, log, settings)
 {
     _proxyService = proxy;
     _userName     = options.Username;
     _apiKey       = ssm.EvaluateSecret(options.APIKey);
 }