Integration
Runtime permissions
If your application does not request it in advance, Identity will request permission at the time it is needed for CAMERA
. If your policy uses location context, your application must request ACCESS_FINE_LOCATION
permission.
Instantiating the SDK
First, create an object of type Identity
. This object is for you to configure all your business rules:
Builder method
Consulting a policy
To authenticate a user, use the verifyPolicy
method. You must enter the user's CPF and the identifier of the policy **** to be used.
Parameters
Example
isAuthorized Status
Attestation return
The attestation will be available after the user authentication.
Example
Handling errors
Some errors can prevent Identity from running. To identify them, check the instance of the Failure
object class.
Example
Last updated