Enrolment Flow
Last updated
Was this helpful?
Last updated
Was this helpful?
In order to use our SDK you need an authorization token. Please check our API "" in this regard.
Add the following code at the start-up of your application to initialise the SDK:
For setting the locale of the application you can use the below method:
To check if a document supports enrollment, reading and facial recognition and the enrollment flow you can use the below methods:
Below, you can find an example on how to initiate the enrolment process for a passport enabling the reading through NFC and facial recognition:
In case of a failure, the callback returns the following object:
code
String
No
None
message
String
Yes
null
Description of the error if any
task
String
Yes
null
In order to evaluate all the possible options please refer to paragraph . The TS interface is the porting of the JAVA one. In addition, you can check index.d.ts inside the plugin ./dist folder or directly from your IDE.
If successful, the response is a JSON Web Signature (JWS). Please refer to section "" for further details.
See
See
Add the following code in your Javascript/Typescript to enable the tracing mechanism. Please refer to section for details.