- 23 Oct 2024
- 1 Minute à lire
- SombreLumière
Exposed APIs of the Orchestration SDK:Remote Authentication
- Mis à jour le 23 Oct 2024
- 1 Minute à lire
- SombreLumière
New APIs are created for Swift users of the iOS SDK. For more information, refer to the Xcode API documentation on RemoteAuthenticationDelegate.
The Customer Mobile Application must call the setRemoteAuthenticationCallback method and provide an implementation of the RemoteAuthenticationCallback interface to process a remote authentication flow.
The RemoteAuthenticationCallback interface is used by the Orchestration SDK to interact with the Customer Mobile Application during the remote authentication process. It exposes the following methods:
onRemoteAuthenticationDisplayData. Called when the Orchestration SDK needs the RemoteAuthenticationCallback interface implementation to display data for approval by the user.
The Customer Mobile Application must call the onDataApproved method of the DisplayDataCaller object if the user approves the authentication request.
The Customer Mobile Application must call the onDataRejected method of the DisplayDataCaller object if the user rejects the authentication request.
onRemoteAuthenticationStepComplete. Called when a step of the remote authentication process is complete. The provided orchestration command must be sent to the server.
onRemoteAuthenticationSuccess. Called upon remote authentication success. It can also be called to notify the Customer Mobile Application that the rejected request has been taken into account by the Customer Application Server.
onRemoteAuthenticationSessionOutdated. Called when the remote authentication session is outdated (expired, already approved, or already rejected).
onRemoteAuthenticationAborted. Called when remote authentication is canceled.
onRemoteAuthenticationPasswordError. Called upon remote authentication process error due to incorrect user input. The possible errors are listed in the OrchestrationErrorCodes class.
For more information about this feature, see Remote authentication.