Lines Matching refs:authentication

3 The **userIAM.userAuth** module provides user authentication capabilities in identity authenticatio…
50 …in the validity period if the authentication type matches any of the authentication types specifie…
51 …ng result can be reused within the validity period regardless of the authentication type.<br>**Ato…
52authentication (including device unlocking) result can be reused within the validity period if the…
53 … Any identity authentication (including device unlocking) result can be reused within the validity…
60authentication result can still be reused, and the actual **EnrolledState** is returned in the aut…
105 | 12500005 | The authentication type is not supported. |
123 Defines the user authentication parameters.
132 …entication type list, which specifies the types of authentication provided on the user authenticat…
138 Represents the information presented on the user authentication page.
146 … | string | Yes | Title of the user authentication page. It canno…
147 …t exceed 60 characters. This parameter is valid only in fingerprint or facial authentication only.|
151 Represents the user authentication result. If the authentication is successful, the authentication
159 | result | number | Yes | User authentication result. If the operation i…
160 | token | Uint8Array | No | Token that has passed the authentication. …
161 | authType | [UserAuthType](#userauthtype8) | No | Type of the authentication. …
166 Provides callbacks to return the authentication result.
172 Called to return the authentication result. If the authentication is successful, the token informat…
186 Initiate facial authentication and lock screen password authentication with the authentication trus…
208 …// The authentication result is returned by onResult only after the authentication is started by s…
223authentication with the authentication trust level greater than or equal to ATL3, and enable the d…
249 …// The authentication result is returned by onResult only after the authentication is started by s…
264authentication with the authentication trust level greater than or equal to ATL3, and enable the d…
290 …// The authentication result is returned by onResult only after the authentication is started by s…
305 Provides APIs for user authentication. The user authentication widget is supported.
312 Subscribes to the user authentication result.
322 … | Yes | Event type. The value is **result**, which indicates the authentication result.|
323 …thCallback](#iauthcallback10) | Yes | Callback used to return the user authentication result. |
355 …// The authentication result is returned by onResult only after the authentication is started by s…
372 Unsubscribes from the user authentication result.
386 … | Yes | Event type. The value is **result**, which indicates the authentication result.|
435 Starts authentication.
438 > A **UserAuthInstance** instance can be used for an authentication only once.
458 | 12500005 | The authentication type is not supported. |
459 | 12500006 | The authentication trust level is not supported. |
463 | 12500011 | Switched to the custom authentication process. |
499 Cancels this authentication.
540 …// The cancel() API can be called only after the authentication is started by start() of UserAuthI…
553 …UserAuthInstance](#userauthinstance10) instance for user authentication. The user authentication w…
556 > A **UserAuthInstance** instance can be used for an authentication only once.
566 | authParam | [AuthParam](#authparam10) | Yes | User authentication parameters. |
567 | widgetParam | [WidgetParam](#widgetparam10) | Yes | Parameters on the user authentication page.|
583 | 12500005 | The authentication type is not supported. |
584 | 12500006 | The authentication trust level is not supported. |
615 Defines the authentication result.
625 | token | Uint8Array | No | Token that has passed the user identity authentication.|
626 | remainAttempts | number | No | Number of remaining authentication attempts.|
627 | lockoutDuration | number | No | Lock duration of the authentication operation, in ms.|
631 Defines the authentication tip information.
641 | tip | number | Yes | Tip to be given during the authentication process. |
647 Enumerates the authentication event information types.
665 Defines the keyword of the authentication event type. It is used as a parameter of [on](#ondeprecat…
676 …ndeprecated) is **result**, the [callback](#callbackdeprecated) returns the authentication result.|
677 …recated) is **tip**, the [callback](#callbackdeprecated) returns the authentication tip informatio…
681 Provides an asynchronous callback to return the authentication event information.
690 Called to return the authentication result or authentication tip information.
711 // Obtain the authentication result through a callback.
728 // Obtain the authentication tip information through a callback.
753 Implements user authentication.
762 Subscribes to the user authentication events of the specified type.
774 …sult**, the callback returns the authentication result. If the value is **tip**, the callback retu…
775 …hEvent](#autheventdeprecated) | Yes | Callback used to return the authentication result or tip …
796 // Subscribe to the authentication result.
805 // Subscribe to authentication tip information.
830 Unsubscribes from the user authentication events of the specific type.
840 … If the value is **result**, the authentication result is unsubscribed from. If the value is **tip…
861 // Subscribe to the authentication result.
872 console.info('cancel subscribe authentication event success');
874 console.error(`cancel subscribe authentication event failed, error = ${error}`);
883 Starts authentication.
905 | 12500005 | The authentication type is not supported. |
906 | 12500006 | The authentication trust level is not supported. |
907 | 12500007 | The authentication task is busy. |
933 Cancels this authentication.
976 Obtains an **AuthInstance** instance for user authentication.
981 > - An **AuthInstance** instance can be used for an authentication only once.
1008 | 12500005 | The authentication type is not supported. |
1009 | 12500006 | The authentication trust level is not supported. |
1032 Checks whether the specified authentication capability is supported.
1050 …onding executor is registered, the function is not disabled, but the authentication security level…
1063 | 12500005 | The authentication type is not supported. |
1064 | 12500006 | The authentication trust level is not supported. |
1083 Enumerates the authentication result codes.
1091 | SUCCESS | 12500000 | The authentication is successful. |
1092 | FAIL | 12500001 | The authentication failed. |
1094 | CANCELED | 12500003 | The authentication is canceled. |
1095 | TIMEOUT | 12500004 | The authentication timed out. |
1096 | TYPE_NOT_SUPPORT | 12500005 | The authentication type is not supported. |
1097 | TRUST_LEVEL_NOT_SUPPORT | 12500006 | The authentication trust level is not supported. |
1099 | LOCKED | 12500009 | The authentication executor is locked. |
1100 | NOT_ENROLLED | 12500010 | The user has not entered the authentication information…
1101 …500011 | The authentication is canceled by the user from the user authentication widget. If this e…
1102 | PIN_EXPIRED<sup>12+</sup> | 12500013 | The authentication failed because the lock screen password…
1106 Provides APIs for user authentication.
1160 Checks whether the specified authentication capability is supported.
1180 | number | Query result. If the authentication capability is supported, **SUCCESS** is returned. Ot…
1200 Starts user authentication. This API uses a callback to return the result.
1237 // Add the logic to be executed when the authentication is successful.
1239 // Add the logic to be executed when the authentication fails.
1252 Cancels an authentication based on the context ID.
1291 Provides callbacks to return the authentication result.
1300 Called to return the authentication result.
1312authentication result.<br>If the authentication is successful, the user authentication token will …
1327 // Add the logic to be executed when the authentication is successful.
1329 // Add the logic to be executed when the authentication fails.
1342 Called to acquire authentication tip information. This API is optional.
1370 // Add the logic to be executed when the authentication is successful.
1372 // Add the logic to be executed when the authentication fails.
1392 Represents the authentication result object.
1402 | remainTimes | number | No | Number of remaining authentication operations.|
1403 | freezingTime | number | No | Time for which the authentication operation is frozen.|
1407 Enumerates the authentication result codes.
1417 | FAIL | 1 | The authentication failed. |
1419 | CANCELED | 3 | The authentication is canceled. |
1420 | TIMEOUT | 4 | The authentication timed out. |
1421 | TYPE_NOT_SUPPORT | 5 | The authentication type is not supported. |
1422 | TRUST_LEVEL_NOT_SUPPORT | 6 | The authentication trust level is not supported. |
1425 | LOCKED | 9 | The authentication executor is locked. |
1426 | NOT_ENROLLED | 10 | The user has not entered the authentication information.|
1430 Enumerates the tip codes used during the facial authentication process.
1454 Enumerates the tip codes used during the fingerprint authentication process.
1473 Enumerates the identity authentication types.
1481 | PIN<sup>10+</sup> | 1 | PIN authentication.|
1482 | FACE | 2 | Facial authentication.|
1483 | FINGERPRINT | 4 | Fingerprint authentication.|
1487 Enumerates the trust levels of the authentication result.
1495 | ATL1 | 10000 | Authentication trust level 1. The authentication of this level can identify indivi…
1496 | ATL2 | 20000 | Authentication trust level 2. The authentication of this level can accurately iden…
1497 | ATL3 | 30000 | Authentication trust level 3. The authentication of this level can accurately iden…
1498 | ATL4 | 40000 | Authentication trust level 4. The authentication of this level can accurately iden…
1502 Enumerates the authentication security levels.
1510 | S1 | 'S1' | Authentication trust level 1. The authentication of this level can identify individua…
1511 | S2 | 'S2' | Authentication trust level 2. The authentication of this level can accurately identif…
1512 | S3 | 'S3' | Authentication trust level 3. The authentication of this level can accurately identif…
1513 | S4 | 'S4' | Authentication trust level 4. The authentication of this level can accurately identif…
1517 Enumerates the authentication types.
1526 | FACE_ONLY | 'FACE_ONLY' | Facial authentication.|
1532 Obtains an **Authenticator** instance for user authentication.
1563 Starts user authentication. This API uses an asynchronous callback to return the result.
1577authentication. It can be **S1** (lowest), **S2**, **S3**, or **S4** (highest).<br>Devices capable…
1600 Starts user authentication. This API uses a promise to return the result.
1614authentication. It can be **S1** (lowest), **S2**, **S3**, or **S4** (highest).<br>Devices capable…
1620 | Promise&lt;number&gt; | Promise used to return the authentication result, which is a number. For …
1639 Enumerates the authentication results.
1648 | NO_SUPPORT | -1 | The device does not support the current authentication mode.|
1649 | SUCCESS | 0 | The authentication is successful. |
1651 | CANCELED | 2 | The authentication was canceled by the user. |
1652 | TIMEOUT | 3 | The authentication has timed out. |
1654 | BUSY | 5 | The authentication service is not available. Try again later. |
1655 | INVALID_PARAMETERS | 6 | The authentication parameters are invalid. |
1656 | LOCKED | 7 | The user account is locked because the number of authentication fai…
1657 | NOT_ENROLLED | 8 | No authentication credential is registered. |