File tree 2 files changed +0
-5
lines changed
main/java/io/kidsfirst/web/rest
test/java/io/kidsfirst/keys
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ public ResponseEntity<JSONObject> getTokens(@RequestParam("fence") String fenceK
93
93
94
94
val body = new JSONObject ();
95
95
body .put ("access_token" , accessToken .orElse ("" ));
96
- body .put ("refresh_token" , refreshToken .orElse ("" ));
97
96
98
97
return ResponseEntity .ok (body );
99
98
}
@@ -111,7 +110,6 @@ public ResponseEntity<JSONObject> requestTokens(@RequestParam("code") String aut
111
110
112
111
113
112
body .put ("access_token" , tokens .getAccessToken ().getValue ());
114
- body .put ("refresh_token" , tokens .getRefreshToken ().getValue ());
115
113
116
114
return ResponseEntity .ok (body );
117
115
}
Original file line number Diff line number Diff line change @@ -441,7 +441,6 @@ void testFenceDCFTokenGET() throws Exception {
441
441
442
442
JSONObject response = (JSONObject )this .jsonParser .parse (result .getResponse ().getContentAsString ());
443
443
Assertions .assertNotNull (response .get ("access_token" ));
444
- Assertions .assertNotNull (response .get ("refresh_token" ));
445
444
}
446
445
447
446
@ Test
@@ -459,7 +458,6 @@ void testFenceGEN3TokenGET() throws Exception {
459
458
460
459
JSONObject response = (JSONObject )this .jsonParser .parse (result .getResponse ().getContentAsString ());
461
460
Assertions .assertNotNull (response .get ("access_token" ));
462
- Assertions .assertNotNull (response .get ("refresh_token" ));
463
461
}
464
462
465
463
@ Test
@@ -478,7 +476,6 @@ void testFenceTokenPOST() throws Exception {
478
476
479
477
JSONObject response = (JSONObject )this .jsonParser .parse (result .getResponse ().getContentAsString ());
480
478
Assertions .assertNotNull (response .get ("access_token" ));
481
- Assertions .assertNotNull (response .get ("refresh_token" ));
482
479
}
483
480
484
481
}
You can’t perform that action at this time.
0 commit comments