@RestController @RequestMapping(value="/consents") @MiddlewareUserResource public class ConsentResource extends Object implements ConsentRestAPI
BASE_PATH| Constructor and Description |
|---|
ConsentResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
grantPIISConsent(AisConsentTO aisConsent) |
org.springframework.http.ResponseEntity<SCAConsentResponseTO> |
initiateAisConsent(String consentId,
AisConsentTO aisConsent) |
@PreAuthorize(value="hasAnyRole(\'STAFF\',\'CUSTOMER\') and hasAccessToAccountsWithIbans(#aisConsent.access.listedAccountsIbans)") public org.springframework.http.ResponseEntity<SCAConsentResponseTO> initiateAisConsent(String consentId, AisConsentTO aisConsent)
initiateAisConsent in interface ConsentRestAPI@PreAuthorize(value="hasAnyRole(\'STAFF\',\'CUSTOMER\') and hasAccessToAccountsWithIbans(#aisConsent.access.listedAccountsIbans)") public org.springframework.http.ResponseEntity<SCAConsentResponseTO> grantPIISConsent(AisConsentTO aisConsent)
grantPIISConsent in interface ConsentRestAPICopyright © 2020. All rights reserved.