Values accepted by registerTOTP() as securityType. Read them from cordova.tsauth.TOTP_SECURITY_TYPE. The default is none.
Any value other than none prompts the user when a code is generated.
| Member | Value | Description |
|---|---|---|
NONE | "none" | Default. Does not prompt when generating a code |
BIOMETRIC | "biometric" | Prompts the user when generating a code |
DEVICE_PIN | "devicePin" | Prompts the user when generating a code |
DEVICE_PIN_OR_BIOMETRIC | "devicePinOrBiometric" | Prompts the user when generating a code |
const totp = await cordova.tsauth.registerTOTP(
uri,
cordova.tsauth.TOTP_SECURITY_TYPE.NONE
);