File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
main/java/io/kidsfirst/web/rest
test/java/io/kidsfirst/keys Expand file tree Collapse file tree 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
9393
9494 val body = new JSONObject ();
9595 body .put ("access_token" , accessToken .orElse ("" ));
96- body .put ("refresh_token" , refreshToken .orElse ("" ));
9796
9897 return ResponseEntity .ok (body );
9998 }
@@ -111,7 +110,6 @@ public ResponseEntity<JSONObject> requestTokens(@RequestParam("code") String aut
111110
112111
113112 body .put ("access_token" , tokens .getAccessToken ().getValue ());
114- body .put ("refresh_token" , tokens .getRefreshToken ().getValue ());
115113
116114 return ResponseEntity .ok (body );
117115 }
Original file line number Diff line number Diff line change @@ -441,7 +441,6 @@ void testFenceDCFTokenGET() throws Exception {
441441
442442 JSONObject response = (JSONObject )this .jsonParser .parse (result .getResponse ().getContentAsString ());
443443 Assertions .assertNotNull (response .get ("access_token" ));
444- Assertions .assertNotNull (response .get ("refresh_token" ));
445444 }
446445
447446 @ Test
@@ -459,7 +458,6 @@ void testFenceGEN3TokenGET() throws Exception {
459458
460459 JSONObject response = (JSONObject )this .jsonParser .parse (result .getResponse ().getContentAsString ());
461460 Assertions .assertNotNull (response .get ("access_token" ));
462- Assertions .assertNotNull (response .get ("refresh_token" ));
463461 }
464462
465463 @ Test
@@ -478,7 +476,6 @@ void testFenceTokenPOST() throws Exception {
478476
479477 JSONObject response = (JSONObject )this .jsonParser .parse (result .getResponse ().getContentAsString ());
480478 Assertions .assertNotNull (response .get ("access_token" ));
481- Assertions .assertNotNull (response .get ("refresh_token" ));
482479 }
483480
484481}
You can’t perform that action at this time.
0 commit comments