Class CmsConsentAuthorisationServiceInternal
- java.lang.Object
-
- de.adorsys.psd2.consent.service.authorisation.CmsConsentAuthorisationServiceInternal
-
@Service public class CmsConsentAuthorisationServiceInternal extends Object
-
-
Constructor Summary
Constructors Constructor Description CmsConsentAuthorisationServiceInternal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AuthorisationEntity>getAuthorisationByAuthorisationId(@NotNull String authorisationId, @NotNull String instanceId)Optional<AuthorisationEntity>getAuthorisationByRedirectId(String redirectId, String instanceId)List<AuthorisationEntity>getAuthorisationsByParentExternalId(String externalId)booleanupdateScaStatusAndAuthenticationData(@NotNull de.adorsys.psd2.xs2a.core.sca.ScaStatus status, AuthorisationEntity authorisation, de.adorsys.psd2.xs2a.core.sca.AuthenticationDataHolder authenticationDataHolder)
-
-
-
Method Detail
-
getAuthorisationByAuthorisationId
public Optional<AuthorisationEntity> getAuthorisationByAuthorisationId(@NotNull @NotNull String authorisationId, @NotNull @NotNull String instanceId) throws de.adorsys.psd2.xs2a.core.exception.AuthorisationIsExpiredException
- Throws:
de.adorsys.psd2.xs2a.core.exception.AuthorisationIsExpiredException
-
getAuthorisationByRedirectId
public Optional<AuthorisationEntity> getAuthorisationByRedirectId(String redirectId, String instanceId) throws de.adorsys.psd2.xs2a.core.exception.RedirectUrlIsExpiredException
- Throws:
de.adorsys.psd2.xs2a.core.exception.RedirectUrlIsExpiredException
-
updateScaStatusAndAuthenticationData
public boolean updateScaStatusAndAuthenticationData(@NotNull @NotNull de.adorsys.psd2.xs2a.core.sca.ScaStatus status, AuthorisationEntity authorisation, de.adorsys.psd2.xs2a.core.sca.AuthenticationDataHolder authenticationDataHolder)
-
getAuthorisationsByParentExternalId
public List<AuthorisationEntity> getAuthorisationsByParentExternalId(String externalId)
-
-