Class ObaConsentController
- java.lang.Object
-
- de.adorsys.ledgers.oba.rest.server.resource.oba.ObaConsentController
-
- All Implemented Interfaces:
ObaConsentApi
@RestController @RequestMapping("/api/v1/consents") public class ObaConsentController extends Object implements ObaConsentApi
-
-
Field Summary
-
Fields inherited from interface de.adorsys.ledgers.oba.rest.api.resource.oba.ObaConsentApi
BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description ObaConsentController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
consents
@PreAuthorize("#userLogin == authentication.principal.login") public org.springframework.http.ResponseEntity<List<ObaAisConsent>> consents(String userLogin)- Specified by:
consentsin interfaceObaConsentApi
-
revokeConsent
public org.springframework.http.ResponseEntity<Boolean> revokeConsent(String consentId)
- Specified by:
revokeConsentin interfaceObaConsentApi
-
-