Skip to content

Commit 077470f

Browse files
committed
added changes to DSConfiguration file
1 parent 80d12b5 commit 077470f

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

Quick_ACG/src/main/java/com/docusign/DSConfiguration.java

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,20 @@ public class DSConfiguration {
7878
@Value("${DS_ADMIN_BASE_PATH}")
7979
private String adminBasePath;
8080

81+
@Value("${spring.security.oauth2.client.registration.acg.client-secret}")
82+
private String secretUserId;
83+
84+
@Value("${spring.security.oauth2.client.provider.acg.token-uri}")
85+
private String tokenEndpoint;
86+
87+
@Value("${spring.security.oauth2.client.provider.acg.authorization-uri}")
88+
private String authorizationEndpoint;
89+
90+
@Value("${spring.security.oauth2.client.registration.jwt.client-id}")
91+
private String userId;
92+
8193
public String examplesApiPath = "examplesApi.json";
82-
94+
8395
public String apiTypeHeader = "ApiType";
8496

8597
@Value("${CodeExamplesManifest}")
@@ -94,14 +106,14 @@ public String getDsPingUrl() {
94106
}
95107

96108
public ManifestStructure getCodeExamplesText() {
97-
if (codeExamplesText != null){
109+
if (codeExamplesText != null) {
98110
return codeExamplesText;
99111
}
100112

101113
try {
102114
String json = loadFileData(codeExamplesManifest);
103115
codeExamplesText = new ObjectMapper().readValue(json, ManifestStructure.class);
104-
} catch (JSONException | IOException e){
116+
} catch (JSONException | IOException e) {
105117
e.printStackTrace();
106118
} catch (Exception e) {
107119
e.printStackTrace();

0 commit comments

Comments
 (0)