public interface AuthorisationServiceBase
| Modifier and Type | Method and Description |
|---|---|
CmsResponse<CreateAuthorisationResponse> |
createAuthorisation(AuthorisationParentHolder parentHolder,
CreateAuthorisationRequest request)
Creates authorisation and return response object
|
CmsResponse<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> |
getAuthorisationById(String authorisationId)
Gets authorisation
|
CmsResponse<List<String>> |
getAuthorisationsByParentId(AuthorisationParentHolder parentHolder)
Gets list of authorisation IDs by parent ID
|
CmsResponse<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse> |
getAuthorisationScaApproach(String authorisationId)
Gets SCA approach from the authorisation by authorisation ID
|
CmsResponse<de.adorsys.psd2.xs2a.core.sca.ScaStatus> |
getAuthorisationScaStatus(String authorisationId,
AuthorisationParentHolder parentHolder)
Gets SCA status of the authorisation by parent ID and authorisation ID
|
CmsResponse<Boolean> |
isAuthenticationMethodDecoupled(String authorisationId,
String authenticationMethodId)
Checks if requested authentication method is decoupled.
|
CmsResponse<Boolean> |
saveAuthenticationMethods(String authorisationId,
List<CmsScaMethod> methods)
Saves authentication methods in provided authorisation
|
CmsResponse<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> |
updateAuthorisation(String authorisationId,
UpdateAuthorisationRequest request)
Updates authorisation
|
CmsResponse<Boolean> |
updateAuthorisationStatus(String authorisationId,
de.adorsys.psd2.xs2a.core.sca.ScaStatus scaStatus)
Updates authorisation status
|
CmsResponse<Boolean> |
updateScaApproach(String authorisationId,
de.adorsys.psd2.xs2a.core.profile.ScaApproach scaApproach)
Updates AIS SCA approach in authorisation
|
CmsResponse<CreateAuthorisationResponse> createAuthorisation(AuthorisationParentHolder parentHolder, CreateAuthorisationRequest request)
parentHolder - holder contains authorisation type and parent IDrequest - needed parameters for creating authorisationCmsResponse<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> getAuthorisationById(String authorisationId)
authorisationId - ID of authorisation sessionCmsResponse<de.adorsys.psd2.xs2a.core.authorisation.Authorisation> updateAuthorisation(String authorisationId, UpdateAuthorisationRequest request)
authorisationId - ID of authorisation sessionrequest - needed parameters for updating authorisationCmsResponse<Boolean> updateAuthorisationStatus(String authorisationId, de.adorsys.psd2.xs2a.core.sca.ScaStatus scaStatus)
authorisationId - ID of authorisation sessionscaStatus - to be updated statusCmsResponse<List<String>> getAuthorisationsByParentId(AuthorisationParentHolder parentHolder)
parentHolder - holder contains authorisation type and parent IDCmsResponse<de.adorsys.psd2.xs2a.core.sca.ScaStatus> getAuthorisationScaStatus(String authorisationId, AuthorisationParentHolder parentHolder)
parentHolder - holder contains authorisation type and parent IDauthorisationId - String representation of the authorisation identifierCmsResponse<Boolean> 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.CmsResponse<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 otherwiseCmsResponse<Boolean> 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 otherwiseCmsResponse<de.adorsys.psd2.xs2a.core.sca.AuthorisationScaApproachResponse> getAuthorisationScaApproach(String authorisationId)
authorisationId - String representation of the authorisation identifierCopyright © 2020. All rights reserved.