@Service public class EmbeddedAisAuthorizationService extends Object implements AisAuthorizationService
| Constructor and Description |
|---|
EmbeddedAisAuthorizationService() |
| 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 authorizationId,
String consentId)
Gets AccountConsentAuthorization using provided authorization 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 Optional<AccountConsentAuthorization> getAccountConsentAuthorizationById(String authorizationId, String consentId)
Xs2aAisConsentService.getAccountConsentAuthorizationById(String, String) for detailsgetAccountConsentAuthorizationById in interface AisAuthorizationServiceauthorizationId - String identification of AccountConsentAuthorizationconsentId - String identification of consentpublic AuthorisationProcessorResponse updateConsentPsuData(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response)
updateConsentPsuData in interface AisAuthorizationServicepublic 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 © 2020. All rights reserved.