Verify high-risk actions using cryptographic device credentials
A trusted device.
state
and token
to your mobile app. On your mobile app, check the state
parameter to conditionally challenge the user. If the state
is CHALLENGE_REQUIRED
, call the setToken
method to set the token.
ALLOW
state only works if you are building your own challenge dialog. If you have created
device credentials using the userAuthenticationRequired
flag, you are restricted to using the
CHALLENGE_REQUIRED
and BLOCK
states. To learn more, see our Device
SDK documentation.userAuthenticationRequired
flag, you may optionally present your own challenge dialog such as a PIN screen prior to calling the verify
method.
If the device credentials were created using the userAuthenticationRequired
flag, the OS will present the challenge dialog upon calling the verify
method. To learn more, see our Device SDK documentation.
action
to the
validate challenge API. This allows us to associate the challenge with the action for analytics.token
returned from the previous step to your backend.
Your backend should call the validate challenge API to validate the challenge.