• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Using userAuthIcon
2
3<!--Kit: User Authentication Kit-->
4<!--Subsystem: UserIAM-->
5<!--Owner: @WALL_EYE-->
6<!--SE: @lichangting518-->
7<!--TSE: @jane_lz-->
8
9**userAuthIcon** provides built-in authentication icons for easy embedding with your application's UI. With **userAuthIcon**, you can:
10
111. Easily integrate the facial authentication and fingerprint authentication icons into your applications.
122. Customize the colors and sizes of the icons.
133. Start the facial or fingerprint authentication pop-up component once the icon is tapped.
14
15**userAuthIcon** supports the following types of authentication:
16
17- Facial authentication
18- Fingerprint authentication
19- Facial + lock screen password authentication
20- Fingerprint + lock screen password authentication
21- Facial + fingerprint + lock screen password authentication
22
23The following figure shows the use of **userAuthIcon** for fingerprint authentication. When a user taps the fingerprint icon on the left (implemented by **userAuthIcon**), the system automatically launches the system authentication component shown on the right to complete user authentication. With **userAuthIcon**, you do not need to initiate an authentication request through an API, which simplifies the authentication process.
24
25![user_auth_icon_demo](figures/user_auth_icon_demo.png)
26
27## Example
28
29For details, see [@ohos.userIAM.userAuthIcon](../../reference/apis-user-authentication-kit/ohos-useriam-userauthicon.md).
30