public interface AisConsentService
| Modifier and Type | Method and Description |
|---|---|
void |
checkConsentAndSaveActionLog(AisConsentActionRequest request)
Saves information about uses of consent
|
Optional<String> |
createAuthorization(String consentId,
AisConsentAuthorizationRequest request)
Creates consent authorization
|
Optional<String> |
createConsent(CreateAisConsentRequest request)
Create AIS consent
|
Optional<AisConsentAuthorizationResponse> |
getAccountConsentAuthorizationById(String authorizationId,
String consentId)
Gets consent authorization
|
Optional<AisAccountConsent> |
getAisAccountConsentById(String consentId)
Reads full information of consent by id
|
Optional<List<String>> |
getAuthorisationsByConsentId(String encryptedConsentId)
Gets list of consent authorisation IDs by consent ID
|
Optional<de.adorsys.psd2.xs2a.core.consent.ConsentStatus> |
getConsentStatusById(String consentId)
Reads status of consent by id
|
Optional<de.adorsys.psd2.xs2a.core.psu.PsuIdData> |
getPsuDataByConsentId(String consentId) |
Optional<String> |
updateAccountAccess(String consentId,
AisAccountAccessInfo request)
Updates AIS consent account access by id
|
boolean |
updateConsentAuthorization(String authorizationId,
AisConsentAuthorizationRequest request)
Updates consent authorization
|
boolean |
updateConsentStatusById(String consentId,
de.adorsys.psd2.xs2a.core.consent.ConsentStatus status)
Updates consent status by id
|
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 consentvoid checkConsentAndSaveActionLog(AisConsentActionRequest request)
request - needed parameters for logging usage AIS consentOptional<String> updateAccountAccess(String consentId, AisAccountAccessInfo request)
request - needed parameters for updating AIS consentconsentId - id of the consent to be updatedOptional<String> createAuthorization(String consentId, AisConsentAuthorizationRequest request)
consentId - id of consentrequest - needed parameters for creating consent authorizationOptional<AisConsentAuthorizationResponse> getAccountConsentAuthorizationById(String authorizationId, String consentId)
consentId - id of consentauthorizationId - id of authorisation sessionboolean updateConsentAuthorization(String authorizationId, AisConsentAuthorizationRequest request)
authorizationId - id of authorisation sessionrequest - needed parameters for updating consent authorizationOptional<de.adorsys.psd2.xs2a.core.psu.PsuIdData> getPsuDataByConsentId(String consentId)
Copyright © 2018. All rights reserved.