// this ctor will mainly be used for testing // since we can mock the httpClient public Conjur(Configuration config, HttpClient httpClient) { _config = config; _conjurService = new ConjurService(_config, httpClient); }
public Conjur() { _config = Configuration.FromEnvironment(); _conjurService = new ConjurService(_config, getDefaultHttpClient(_config)); }