Skip to main content

checkBiometry

Checks the user's biometric authentification.

Field Configurations

KeyTypeDescriptionDefault Value
"params" (required)Objectundefinednull

Parameters

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"description"StringDescription of the biometry pop-up.null
"negativeButton"StringText of the cancel button in the biometry pop-up.null
"onError"StringEvent that will be fired if biometry was not OK.null
"onErrorType"OnErrorTypeType of event that will be fired on error.null
"onSuccess" (required)StringEvent that will be fired if biometry was OK.null
"onSuccessType"OnSuccessTypeType of event that will be fired on success.null
"subTitle"StringSubtitle of the biometry pop-up.null
"title"StringTitle of biometry pop-up.null

Inherited

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples

Example 1: Check the user's biometry

Goal: Create a checkBiometry action that verifys the user's biometric authentification.

To achieve this the following code can be used:

{
"type": "checkBiometry",
"params": {
"onSuccess": "checkSuccess",
"onError": "checkError",
"title": "Check the biometry",
"subTitle": "For security reasons",
"description": "To get access",
"negativeButton": "No."
}
}

The onSuccess and onError events are fired depending on the result of the user's biometric check.

Result:

A checkBiometry action has been created.