- 23 Oct 2024
- 1 Minute à lire
- SombreLumière
Exposed APIs of the Orchestration SDK: Activation
- Mis à jour le 23 Oct 2024
- 1 Minute à lire
- SombreLumière
New APIs are created for Swift users of the iOS SDK. For more details, refer to the Xcode API documentation on OnlineActivationParameters and OnlineActivationDelegate.
The activation process must be initiated by calling the startActivation method of the Orchestrator object.
An OnlineActivationParams object must be provided as an input parameter of the startActivation method, and this OnlineActivationParams object must be initiated with the following parameters:
User identifier. A string which uniquely identifies the user on the OneSpan Trusted Identity platform.
Activation password. Secret data shared between the Customer Application Server and the user.
(OPTIONAL) Cryptographic Application Index. The index of the cryptographic application that must be used to sign the instance activation message. The default value is 1.
An object implementing the OnlineActivationCallback interface.
The OnlineActivationCallback interface is used by the Orchestration SDK to interact with the Customer Mobile Application during the activation process. It exposes the following methods:
onActivationStepComplete. Called upon activation step success, the provided command must be sent to the server.
onActivationSuccess. Called upon activation process success.
onActivationInputError. Called upon activation process error due to incorrect user input. The possible errors are listed in the OrchestrationErrorCodes class.
onActivationAborted. Called when the activation process is canceled.
For more information about this feature, see Activation.