@Service public class RedirectAisAuthorizationService extends Object implements AisAuthorizationService
| Constructor and Description |
|---|
RedirectAisAuthorizationService() |
| Modifier and Type | Method and Description |
|---|---|
Optional<CreateConsentAuthorizationResponse> |
createConsentAuthorization(de.adorsys.psd2.xs2a.core.psu.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<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> |
getAccountConsentAuthorizationById(String authorizationId) |
Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> |
getAuthorisationScaStatus(String consentId,
String authorisationId)
Gets SCA status of the authorisation from CMS
|
de.adorsys.psd2.xs2a.core.profile.ScaApproach |
getScaApproachServiceType()
Gets SCA approach used in current service
|
AuthorisationProcessorResponse |
updateConsentPsuData(UpdateAuthorisationRequest request,
AuthorisationProcessorResponse response) |
public Optional<CreateConsentAuthorizationResponse> createConsentAuthorization(de.adorsys.psd2.xs2a.core.psu.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<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> getAccountConsentAuthorizationById(String authorizationId)
getAccountConsentAuthorizationById in interface AisAuthorizationServicepublic Optional<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus(String consentId, String authorisationId)
getAuthorisationScaStatus in interface AisAuthorizationServiceconsentId - String representation of consent identifierauthorisationId - String representation of authorisation identifierpublic de.adorsys.psd2.xs2a.core.profile.ScaApproach getScaApproachServiceType()
ScaApproachServiceTypeProvidergetScaApproachServiceType in interface ScaApproachServiceTypeProviderCopyright © 2020. All rights reserved.