@Service public class DecoupledAisAuthorizationService extends Object implements AisAuthorizationService
| Constructor and Description |
|---|
DecoupledAisAuthorizationService() |
| Modifier and Type | Method and Description |
|---|---|
Optional<CreateConsentAuthorizationResponse> |
createConsentAuthorization(PsuIdData psuData,
String consentId)
Creates consent authorisation using provided psu id and consent id by invoking CMS through AisConsentService
See
Xs2aAisConsentService.createAisConsentAuthorization(String, ScaStatus, PsuIdData) for details |
Optional<AccountConsentAuthorization> |
getAccountConsentAuthorizationById(String authorisationId,
String consentId)
Gets AccountConsentAuthorization using provided authorisation id and consent id by invoking CMS through AisConsentService.
|
Optional<ScaStatus> |
getAuthorisationScaStatus(String consentId,
String authorisationId)
Gets SCA status of the authorisation from CMS
|
ScaApproach |
getScaApproachServiceType()
Gets SCA approach used in current service
|
AuthorisationProcessorResponse |
updateConsentPsuData(UpdateAuthorisationRequest request,
AuthorisationProcessorResponse response) |
public Optional<CreateConsentAuthorizationResponse> createConsentAuthorization(PsuIdData psuData, String consentId)
Xs2aAisConsentService.createAisConsentAuthorization(String, ScaStatus, PsuIdData) for detailscreateConsentAuthorization in interface AisAuthorizationServicepsuData - PsuIdData container of authorisation data about PSUconsentId - String identification of consentpublic AuthorisationProcessorResponse updateConsentPsuData(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
updateConsentPsuData in interface AisAuthorizationServicepublic Optional<AccountConsentAuthorization> getAccountConsentAuthorizationById(String authorisationId, String consentId)
Xs2aAisConsentService.getAccountConsentAuthorizationById(String, String) for detailsgetAccountConsentAuthorizationById in interface AisAuthorizationServiceauthorisationId - String identification of AccountConsentAuthorizationconsentId - String identification of consentpublic Optional<ScaStatus> getAuthorisationScaStatus(String consentId, String authorisationId)
getAuthorisationScaStatus in interface AisAuthorizationServiceconsentId - String representation of consent identifierauthorisationId - String representation of authorisation identifierpublic ScaApproach getScaApproachServiceType()
ScaApproachServiceTypeProvidergetScaApproachServiceType in interface ScaApproachServiceTypeProviderCopyright © 2019. All rights reserved.