Start Smart Authentication
Calling verifyPolicy
To start the liveness verification, use the verifyPolicy()
method with the user's document ID, your account mobile token, and a CafVerifyPolicyListener
closure.
Parameter
Type
Description
Required
mobileToken
String
Usage token associated with your CAF account.
✅
personID
String
Identifier of the user who will perform the face liveness verification. It's recommended to use the user's identification document in this field, such as their CPF (Brazilian document ID), but it could be any other value.
✅
listener
Closure that handles key events during the SDK's liveness detection process.
✅
Example
Last updated
Was this helpful?