Face Authentication
Explains how to integrate a face authentication
Last updated
Was this helpful?
Explains how to integrate a face authentication
Last updated
Was this helpful?
To perform a face authentication it is required to have already an "Identification" and its verification ID. The process consist in a liveness check of the user and a final check to verify the match with the identification.
Create a FaceAuthenticationParams
object with authentication information and the verification id you want to verify
Start the verification with FaceAuthenticationActivity.startForResult
Handle result in onActivityResult
method
Please update the below code with your Client ID and Client Secret from your .
We suggest to use the token authentication in production environment.
Authentication token can only be used for a single operation. Always generate a new token before start a new face authentication.
With the code obtained from FaceAuthenticationActivity.getResult
it is possible to get the face authentication result using the following API:
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.
code*
string
The code provided at the conclusion of SDK face authentication
Authorization*
string
Your client credentials combined with a colon separator, base64-encoded and prefixed with "Basic ".
When successful the response will contain a single boolean property named success
:
Authentication Token can be obtained with face authentication and then specified with the FaceAuthenticationParams
as the following code: