public interface AisConsentService
AisConsentServiceBase,
AisConsentServiceEncrypted| Modifier and Type | Method and Description |
|---|---|
void |
checkConsentAndSaveActionLog(AisConsentActionRequest request)
Saves information about uses of consent
|
Optional<String> |
createConsent(CreateAisConsentRequest request)
Create AIS consent
|
boolean |
findAndTerminateOldConsentsByNewConsentId(String newConsentId)
Finds old consents for current TPP and PSU and terminates them.
|
Optional<AisAccountConsent> |
getAisAccountConsentById(String consentId)
Reads full information of consent by id
|
Optional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> |
getConsentStatusById(String consentId)
Reads status of consent by id
|
Optional<AisAccountConsent> |
getInitialAisAccountConsentById(String consentId)
Reads full initial information of consent by id
|
Optional<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> |
getPsuDataByConsentId(String consentId) |
Optional<String> |
updateAspspAccountAccess(String consentId,
AisAccountAccessInfo request)
Updates AIS consent aspsp account access by id
|
Optional<AisAccountConsent> |
updateAspspAccountAccessWithResponse(String consentId,
AisAccountAccessInfo request)
Updates AIS consent aspsp account access by id and return consent
|
boolean |
updateConsentStatusById(String consentId,
de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
Updates consent status by id
|
boolean |
updateMultilevelScaRequired(String consentId,
boolean multilevelScaRequired)
Updates multilevel SCA required field
|
Optional<String> createConsent(CreateAisConsentRequest request)
request - needed parameters for creating AIS consentOptional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> getConsentStatusById(String consentId)
consentId - id of consentboolean updateConsentStatusById(String consentId, de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
consentId - id of consentstatus - new consent statusOptional<AisAccountConsent> getAisAccountConsentById(String consentId)
consentId - id of consentOptional<AisAccountConsent> getInitialAisAccountConsentById(String consentId)
consentId - id of consentboolean findAndTerminateOldConsentsByNewConsentId(String newConsentId)
newConsentId - id of new consentvoid checkConsentAndSaveActionLog(AisConsentActionRequest request)
request - needed parameters for logging usage AIS consentOptional<String> updateAspspAccountAccess(String consentId, AisAccountAccessInfo request)
request - needed parameters for updating AIS consentconsentId - id of the consent to be updatedOptional<AisAccountConsent> updateAspspAccountAccessWithResponse(String consentId, AisAccountAccessInfo request)
request - needed parameters for updating AIS consentconsentId - id of the consent to be updatedOptional<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> getPsuDataByConsentId(String consentId)
boolean updateMultilevelScaRequired(String consentId, boolean multilevelScaRequired)
consentId - String representation of the consent identifiermultilevelScaRequired - multilevel SCA required indicatortrue if authorisation was found and SCA required field updated, false otherwiseCopyright © 2020. All rights reserved.