public interface AisConsentServiceEncrypted
AisConsentServiceBase,
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
|
boolean |
findAndTerminateOldConsentsByNewConsentId(String newConsentId)
Finds old consents for current TPP and PSU and terminates them.
|
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 consentId)
Gets list of consent authorisation IDs by consent ID
|
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> |
getAuthorisationScaStatus(String consentId,
String authorisationId)
Gets SCA status of the authorisation by consent ID and authorisation 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) |
boolean |
isAuthenticationMethodDecoupled(String authorisationId,
String authenticationMethodId)
Checks if requested authentication method is decoupled.
|
boolean |
saveAuthenticationMethods(String authorisationId,
List<CmsScaMethod> methods)
Saves authentication methods in provided authorisation
|
Optional<String> |
updateAspspAccountAccess(String consentId,
AisAccountAccessInfo request)
Updates AIS consent aspsp 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
|
boolean |
updateMultilevelScaRequired(String consentId,
boolean multilevelScaRequired)
Updates multilevel SCA required field
|
boolean |
updateScaApproach(String authorisationId,
de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
Updates AIS SCA approach in authorisation
|
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<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<List<de.adorsys.psd2.xs2a.core.psu.PsuIdData>> getPsuDataByConsentId(String consentId)
Optional<List<String>> getAuthorisationsByConsentId(String consentId)
consentId - id of consentOptional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus(String consentId, String authorisationId)
consentId - String representation of the consent identifierauthorisationId - String representation of the authorisation identifierboolean isAuthenticationMethodDecoupled(String authorisationId, String authenticationMethodId)
authorisationId - String representation of the authorisation identifierauthenticationMethodId - String representation of the available authentication method identifiertrue, if authentication method is decoupled and false otherwise.boolean saveAuthenticationMethods(String authorisationId, List<CmsScaMethod> methods)
authorisationId - String representation of the authorisation identifiermethods - List of authentication methods to be savedtrue if authorisation was found and updated, false otherwiseboolean updateScaApproach(String authorisationId, de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
authorisationId - String representation of the authorisation identifierscaApproach - Chosen SCA approachtrue if authorisation was found and SCA approach updated, false otherwiseboolean 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 © 2019. All rights reserved.