File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Quick_ACG/src/main/java/com/docusign Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments