@RestController @RequestMapping(value="/api/v1/consents") public class ObaConsentController extends Object implements ObaConsentApi
BASE_PATH| Constructor and Description |
|---|
ObaConsentController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Void> |
confirm(String userLogin,
String consentId,
String authorizationId,
String tan) |
org.springframework.http.ResponseEntity<List<ObaAisConsent>> |
consents(String userLogin) |
org.springframework.http.ResponseEntity<Boolean> |
revokeConsent(String consentId) |
@PreAuthorize(value="#userLogin == authentication.principal.login") public org.springframework.http.ResponseEntity<List<ObaAisConsent>> consents(String userLogin)
consents in interface ObaConsentApipublic org.springframework.http.ResponseEntity<Boolean> revokeConsent(String consentId)
revokeConsent in interface ObaConsentApiCopyright © 2020. All rights reserved.