/// <summary> /// Manages HTTP connection with Solr /// </summary> /// <param name="serverURL">URL to Solr</param> public SolrConnection(string serverURL) { ServerURL = serverURL; Timeout = -1; Cache = new NullCache(); HttpWebRequestFactory = new HttpWebRequestFactory(); }
public void RunAuthorization() { var duoRestApiService = new RestApiService(IntegrationKey, SecretKey, Host); var adapter = new HttpWebRequestFactory(); duoRestApiService.QueryDuoApi(adapter, "https", Path, HttpWebRequestMethod.POST, GetQueryValues("*****@*****.**")); }