@RequestMapping(path="api/v1/consent")
public interface CmsConsentApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
createConsent(de.adorsys.psd2.consent.api.ais.CmsConsent request) |
org.springframework.http.ResponseEntity<Void> |
findAndTerminateOldConsentsByNewConsentId(String encryptedConsentId) |
org.springframework.http.ResponseEntity<de.adorsys.psd2.consent.api.ais.CmsConsent> |
getConsentById(String encryptedConsentId) |
org.springframework.http.ResponseEntity<ConsentStatusResponse> |
getConsentStatusById(String encryptedConsentId) |
org.springframework.http.ResponseEntity<Object> |
updateConsentStatus(String encryptedConsentId,
String status) |
org.springframework.http.ResponseEntity<Object> |
updateMultilevelScaRequired(String encryptedConsentId,
boolean multilevelSca) |
@PostMapping org.springframework.http.ResponseEntity<Object> createConsent(@RequestBody de.adorsys.psd2.consent.api.ais.CmsConsent request)
@GetMapping(path="/{encrypted-consent-id}")
org.springframework.http.ResponseEntity<de.adorsys.psd2.consent.api.ais.CmsConsent> getConsentById(@PathVariable(value="encrypted-consent-id")
String encryptedConsentId)
@GetMapping(path="/{encrypted-consent-id}/status")
org.springframework.http.ResponseEntity<ConsentStatusResponse> getConsentStatusById(@PathVariable(value="encrypted-consent-id")
String encryptedConsentId)
@PutMapping(path="/{encrypted-consent-id}/status/{status}")
org.springframework.http.ResponseEntity<Object> updateConsentStatus(@PathVariable(value="encrypted-consent-id")
String encryptedConsentId,
@PathVariable(value="status")
String status)
@DeleteMapping(path="/{encrypted-consent-id}/old-consents")
org.springframework.http.ResponseEntity<Void> findAndTerminateOldConsentsByNewConsentId(@PathVariable(value="encrypted-consent-id")
String encryptedConsentId)
@PutMapping(path="/{encrypted-consent-id}/multilevel-sca")
org.springframework.http.ResponseEntity<Object> updateMultilevelScaRequired(@PathVariable(value="encrypted-consent-id")
String encryptedConsentId,
@RequestParam(value="multilevel-sca",defaultValue="false")
boolean multilevelSca)
Copyright © 2020. All rights reserved.