Exposed APIs of the Orchestration SDK:Remote Authentication
  • 23 Oct 2024
  • 1 Minute to read
  • Dark
    Light

Exposed APIs of the Orchestration SDK:Remote Authentication

  • Dark
    Light

Article summary

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.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, our interactive help assistant