Flutter
Requirements
Installation of the Authenteq Flow plugin requires Flutter v2.5.0
.
Getting started
Install Authenteq Flow SDK in your project with:
this will change pubspec.yaml
and add authenteq_flow
dependency, e.g.:
Optionally add the modules for Live ID document scanner:
and Live ID document scanner database:
Then install them with the command:
for more information see Flutter official documentation here.
Example to Start an Identification
Import AuthenteqFlow plugin in your dart file:
Start identification:
As alternative to client secret authentication it is possible to provide authentication token:
Token value can be obtained as described in Authentication Token section.
Parameter fields description:
Android theme keys:
iOS theme keys:
Identification result
The class IdentificationResult
will be returned after a successful identification with the following properties:
DocumentIdentificationResult
provide the following properties:
Face Authentication
To perform a face authentication, add the following import:
Start a face authentication:
As alternative to client secret authentication it is possible to provide authentication token:
Token value can be obtained as described in Authentication Token section.
We suggest to use the token authentication in production environment.
With the code obtained it is possible to get the face authentication result using the following API:
Obtain the result of a face authentication
GET
https://api.app.authenteq.com/mobile-sdk/face-authentication-result
This endpoint is authorized with Basic Authorization. You should use your Client ID
and Client Secret
from the Customer Dashboard as the credentials.
Query Parameters
Headers
When successful the response will contain a single boolean property named success
:
Last updated