Class PkceClientController
java.lang.Object
energy.eddie.regionconnector.nl.mijn.aansluiting.web.PkceClientController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String> org.springframework.http.ResponseEntity<CreatedPermissionRequest> permissionRequest(@Valid PermissionRequestForCreation permissionRequest, jakarta.servlet.http.HttpServletResponse response)
-
Constructor Details
-
PkceClientController
-
-
Method Details
-
permissionRequest
@PostMapping(value="/permission-request", produces="application/json") public org.springframework.http.ResponseEntity<CreatedPermissionRequest> permissionRequest(@RequestBody @Valid @Valid PermissionRequestForCreation permissionRequest, jakarta.servlet.http.HttpServletResponse response) throws DataNeedNotFoundException, UnsupportedDataNeedException, NlValidationException -
callback
@GetMapping("/oauth2/code/mijn-aansluiting") public org.springframework.http.ResponseEntity<String> callback(jakarta.servlet.http.HttpServletRequest request, @CookieValue("EDDIE-SESSION-ID") String permissionId) throws URISyntaxException, PermissionNotFoundException
-