Skip to content

Commit d58ea69

Browse files
Updated triggerPinOrBiometricAuthentication README description (#235)
Updated `triggerPinOrBiometricAuthentication` message description in README specifying responses --------- Co-authored-by: Abel Toledano <[email protected]>
1 parent f9caed6 commit d58ea69

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,15 +1271,20 @@ triggerPinOrBiometricAuthentication: ({
12711271
12721272
- `maxSecondsSinceLastValidation`: if time elapsed since last authentication
12731273
is less than the number of seconds specified here authentication will
1274-
succeed without requesting it again.
1274+
succeed without requesting it again, returning
1275+
`LAST_AUTHENTICATION_STILL_VALID`
12751276
12761277
<kbd>App version >=25.5</kbd>
12771278
12781279
If the new PIN & Biometrics 2.0 (device authentication) feature is enabled,
12791280
there are a couple of details to take into account:
12801281
12811282
- If the setting is not enabled by the user, the device authentication will be
1282-
asked and if it goes right, the setting will be enabled.
1283+
asked and if it goes right, the setting will be enabled and the method will
1284+
return `USER_ENABLED_AUTHENTICATION`
1285+
- If the setting is already enabled by the user, the device authentication
1286+
will be asked and if it goes right, the setting will remain unchanged
1287+
(enabled) and the method will return `USER_AUTHENTICATED`
12831288
- If the device doesn't have any authentication configured, the method will
12841289
return `DEVICE_HAS_NO_AUTHENTICATION` as result.
12851290

0 commit comments

Comments
 (0)