<SecurityAPIProvider>
and add the following props to your component:clientId
: You can get a Client ID under the Public Keys section by accessing the credentials page on dtect API dashboardapiKey
: You can get an API Key from your chosen Client under the Public Keys section
<SecurityAPIProvider>
, you can use our hook useSecurityApi()
anywhere to get data about your visitor and retrieve a Security Result or a Security Token.
useSecurityApi()
hook:
includeResults: true
on <SecurityAPIProvider>
if you want checkQualityQuestions
and isAIUsageDetected
to return their result object directly.