Face Session Flow
Last updated
Was this helpful?
Last updated
Was this helpful?
Note: This feature requires an additional permission and must be explicitly requested
Face Session can be performed to validate a user using facial recognition based on an existing id photo. In order to use this feature you have to upload the id photo through our "Face Session API". The API returns a temporary session id that is required to initialize the face session process. See the diagram sample below:
Face session interface definition:
Below the configuration options for face session:
sessionId
Session id returned by the face session API
true
returnDataForIncompleteSession
No. Default false
maxAttempts
Set the max failed facial recognition attempts before dropping the session. Note: only values between 1 and 3 are taken into consideration.
No. Default to 3
minimumMatchLevel
Defines the minimum match level that the facial recognition has to meet.
No. Default to 3
onSuccess
false
onError
false
onTrace
false
onFinally
Callback function called after the process is done, successfully or unsuccessfully.
false
assets
List of assets
texts
List of texts
When enabled, if the user or the SDK drops the session before completion and there was at least one failed facial recognition attempt, the SDK will return the partial data together with the in the data attribute, that will contain the same JWS string that is returned in a successful scenario
Callback function called after the process is done successfully. The result is a string, see " (Face Object)" for details
Callback function called when the process returns an error. See
Callback function called to send trace events. See for details.
False. See
False. See