| Modifier and Type | Method and Description |
|---|---|
ResponseObject<CreateConsentResponse> |
ConsentService.createAccountConsentsWithResponse(CreateConsentReq request,
PsuIdData psuData,
boolean explicitPreferred,
TppRedirectUri tppRedirectUri)
Performs create consent operation either by filling the appropriate AccountAccess fields with corresponding
account details or by getting account details from ASPSP by psuId and filling the appropriate fields in
AccountAccess determined by availableAccounts or allPsd2 variables
|
| Modifier and Type | Method and Description |
|---|---|
String |
Xs2aAisConsentService.createConsent(CreateConsentReq request,
PsuIdData psuData,
TppInfo tppInfo)
Sends a POST request to CMS to store created AISconsent
|
| Modifier and Type | Method and Description |
|---|---|
CreateAisConsentRequest |
Xs2aAisConsentMapper.mapToCreateAisConsentRequest(CreateConsentReq req,
PsuIdData psuData,
TppInfo tppInfo,
int allowedFrequencyPerDay) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull ValidationResult |
CreateConsentRequestValidator.validate(@NotNull CreateConsentReq request)
Validates Create consent request according to:
support of global consent for All Psd2
support of bank offered consent
expiration date of the consent
requested frequency per day of the consent
support of available account access
requested access of the consent
support of combined service indicator
If there are new consent requirements, this method has to be updated.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseObject<CreateConsentResponse> |
ConsentAspect.invokeCreateAccountConsentAspect(ResponseObject<CreateConsentResponse> result,
CreateConsentReq request,
PsuIdData psuData,
boolean explicitPreferred,
TppRedirectUri tppRedirectUri) |
| Modifier and Type | Method and Description |
|---|---|
CreateConsentReq |
ConsentModelMapper.mapToCreateConsentReq(Consents consent) |
Copyright © 2019. All rights reserved.