Ejemplo n.º 1
0
 public ReCaptchaService(RecaptchaSettings settings, IHttpClientFactory httpClientFactory)
 {
     _recaptchaSettings = settings;
     _clientFactory     = httpClientFactory;
 }
Ejemplo n.º 2
0
 public ReCaptchaService(IOptions <RecaptchaSettings> settings, IHttpClientFactory httpClientFactory)
 {
     _recaptchaSettings = settings.Value;
     _clientFactory     = httpClientFactory;
 }