Implementation Guide
Authentication
A unique access token should be created upon each SDK entry. In order to generate an access token, please refer to Valify's Authentication Documentation.
Importing
Import the module’s function in your file using the following line
Configurations
The plugin builder is separated into two components.
Required Configurations
Initialize the required parameters as follows while adding the required configurations
Optional Configurations
Initialize the required parameters as follows while adding the desired configurations
Configurations Breakdown
This section shows the breakdown of all optional builder configurations.
The following line is where the user interface language is set.
The currently supported languages are Arabic and English
If the following line is set to true, the SDK requires the user to smile during the experience
If the following line is set to true, the SDK requires the user to look to the left during the experience
If the following line is set to true, the SDK requires the user to look to the right during the experience
If the following line is set to true, the SDK requires the user to close their eyes during the experience
The integer set in the following line determines how many failed attempts the user has during a single SDK experience.
The integer set in the following line determines how many instructions the user will need to follow to successfully complete a single SDK experience.
The integer set in the following line determines how much time (in seconds) the user will be given to complete each task.
The following line is optional and can be used to set your company's branding color to the SDK's user interface.
If the following line is set to true, voice-over will be added to the SDK experience dictating the actions expected from the user.
If this field has the OCR transaction ID filled, then the face match service is enabled and the referenced transaction ID will be compared with an image captured of the user's face during the SDK experience.
If the following line is set to true, then an error message will appear in the user interface in the case that the user did not pass the face match or the liveness service.
Parameter Declaration
Declare the SDK parameters with the configuration variables previously created
Start the SDK
Use the following code snippet to run the plugin
Last updated