@UserResource @RestController @RequestMapping(path="api/v1/consents") public class ConsentController extends Object
| Constructor and Description |
|---|
ConsentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.springframework.hateoas.Resource<CreateConsentResponseTO>> |
createConsent(ConsentTO consent,
BankApiTO bankApi) |
org.springframework.http.HttpEntity<Void> |
deleteConsent(String consentId) |
org.springframework.hateoas.Resource<ConsentTO> |
getConsent(String consentId) |
org.springframework.hateoas.Resource<ConsentTO> |
getConsentByRedirectId(String redirectId) |
org.springframework.hateoas.Resources<org.springframework.hateoas.Resource<ConsentTO>> |
getConsents() |
@PostMapping public org.springframework.http.ResponseEntity<org.springframework.hateoas.Resource<CreateConsentResponseTO>> createConsent(@RequestBody ConsentTO consent, @RequestParam(required=false) BankApiTO bankApi)
@GetMapping public org.springframework.hateoas.Resources<org.springframework.hateoas.Resource<ConsentTO>> getConsents()
@GetMapping(value="/{consentId}")
public org.springframework.hateoas.Resource<ConsentTO> getConsent(@PathVariable(value="consentId")
String consentId)
@GetMapping(value="redirect/{redirectId}")
public org.springframework.hateoas.Resource<ConsentTO> getConsentByRedirectId(@PathVariable(value="redirectId")
String redirectId)
Copyright © 2019. All rights reserved.