We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bfef3 commit aa37ab5Copy full SHA for aa37ab5
oauth2-platform-api/src/main/java/com/intuit/oauth2/client/DiscoveryAPIClient.java
@@ -45,10 +45,16 @@ public class DiscoveryAPIClient {
45
46
private ProxyConfig proxyConfig;
47
48
+ //use this constructor to apply proxy configs
49
public DiscoveryAPIClient(ProxyConfig proxyConfig) {
50
this.proxyConfig = proxyConfig;
51
}
52
53
+ //for non proxy call, use this constructor
54
+ public DiscoveryAPIClient() {
55
+ this.proxyConfig = null;
56
+ }
57
+
58
/**
59
* Calls the Discovery Document API based on the the Environment provided and
60
* returns an object with url’s for all the endpoints
0 commit comments