Skip to main content

decryptSettingsWithBiometry

Decrypts settings using the user's biometric data.

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 is fired if there was an error decrypting.null
"onErrorType"OnErrorTypeType of event that will be fired on error.null
"onSuccess" (required)StringEvent that is fired if the settings were decrypted.null
"onSuccessType"OnSuccessTypeType of event that will be fired on success.null
"settings" (required)ArrayList of settings to decrypt.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: Decrypt settings using biometric authentification

Goal: Create a decryptSettingsWithBiometry action checking the user's biometric authentification to decrypt settings.

The settings to be decrypted are specified in the settings parameter.

{
"type": "decryptSettingsWithBiometry",
"params": {
"settings": [
"user"
],
"onSuccess": "decryptSuccess",
"onError": "decryptError",
"title": "Check the biometry",
"subTitle": "For security reasons",
"description": "To decrypt settings",
"negativeButton": "No."
}
}

The title, subTitle, description and negaticeButton parameters specifiy the text that is displayed in the biometry pop-up.

Result:

A decryptSettingsWithBiometry action has been created.