Before you get started, learn about the development process.
Initiate a request for user authentication and obtain the authentication result.
Verify and use the authentication result. For details, see Key Access Control via Secondary Authentication.
(Optional) Cancel authentication.
(Optional) Apply custom authentication.
Before developing an application capable of user authentication based on biometric features (such as face and fingerprints), you must apply for the ohos.permission.ACCESS_BIOMETRIC permission.
This permission is a system_grant permission and must be declared in the requestPermissions tag in the module.json5 file. For details, see Declaring Permissions.