mirror of
https://gitee.com/openharmony/useriam_user_auth_framework
synced 2024-11-27 01:40:49 +00:00
commit
633b88a4df
52
README_ZH.md
52
README_ZH.md
@ -1,12 +1,7 @@
|
||||
# useriam_userauth
|
||||
# 统一用户认证
|
||||
|
||||
- [简介](#简介)
|
||||
- [目录](#目录)
|
||||
- [编译构建](#编译构建)
|
||||
- [准备](#准备)
|
||||
- [获取源码](#获取源码)
|
||||
- [编译构建](#编译构建)
|
||||
|
||||
- [说明](#说明)
|
||||
- [接口说明](#接口说明)
|
||||
- [使用说明](#使用说明)
|
||||
@ -15,11 +10,11 @@
|
||||
|
||||
## 简介
|
||||
|
||||
**统一用户认证(userauth)**是用户IAM子系统的基础部件之一,对外提供统一用户身份认证功能,并且开放生物特征认证API给三方应用调用。
|
||||
**统一用户认证**(userauth)是用户IAM子系统的基础部件之一,对外提供统一用户身份认证功能,并且开放生物特征认证API给三方应用调用。
|
||||
|
||||
**图1** 统一用户认证架构图
|
||||
|
||||
<img src="figures/统一用户认证架构图.png" alt="口令认证架构图" style="zoom:80%;" />
|
||||
<img src="figures/统一用户认证架构图.png" alt="统一用户认证架构图" style="zoom:80%;" />
|
||||
|
||||
|
||||
|
||||
@ -41,35 +36,12 @@
|
||||
└── utils # 测试代码存放目录
|
||||
```
|
||||
|
||||
## 编译构建
|
||||
|
||||
|
||||
### 准备
|
||||
|
||||
开发者需要在Linux上搭建编译环境:
|
||||
|
||||
- [Ubuntu编译环境准备](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart-lite-env-setup-linux.md)
|
||||
- Hi3518EV300单板:参考[环境搭建](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart-lite-steps-hi3518-setting.md)
|
||||
- Hi3516DV300单板:参考[环境搭建](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart-lite-steps-hi3516-setting.md)
|
||||
|
||||
### 获取源码
|
||||
|
||||
在Linux服务器上下载并解压一套源代码,源码获取方式参考[源码获取](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/get-code/sourcecode-acquire.md)。
|
||||
|
||||
### 编译构建
|
||||
|
||||
开发者开发第一个应用程序可参考:
|
||||
|
||||
- [helloworld for Hi3518EV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart-lite-steps-hi3518-running.md)
|
||||
|
||||
- [helloworld for Hi3516DV300](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/quickstart-lite-steps-hi3516-running.md)
|
||||
|
||||
|
||||
## 说明
|
||||
|
||||
### 接口说明
|
||||
|
||||
**表1** API
|
||||
**表1** 统一用户认证API
|
||||
|
||||
| 接口名 | 描述 |
|
||||
| ------ | -------------------------------- |
|
||||
@ -78,20 +50,24 @@
|
||||
|
||||
### 使用说明
|
||||
|
||||
厂商在对接统一用户认证框架时,需要在可信执行环境中实现以下两个功能点:
|
||||
- 厂商在对接统一用户认证框架时,需要在可信执行环境中实现以下两个功能点:
|
||||
|
||||
1. 认证方案生成:根据目标用户录入的认证凭据和目标认证安全等级,决策用户身份认证方案;
|
||||
1. 认证方案生成:根据目标用户录入的认证凭据和目标认证安全等级,决策用户身份认证方案。
|
||||
2. 认证结果评估:根据执行器返回的身份认证结果,评估是否达到目标认证安全等级。
|
||||
|
||||
- 需在可信执行环境内实现头文件```common\hal\interface\userauth_interface.h``` 中定义的接口,保证用户身份认证方案决策和结果评估过程的安全性。
|
||||
|
||||
|
||||
|
||||
## 相关仓
|
||||
|
||||
[useriam_coauth](https://gitee.com/openharmony-sig/useriam_coauth)
|
||||
[useriam_auth_executor_mgr](https://gitee.com/openharmony-sig/useriam_coauth)
|
||||
|
||||
[useriam_useridm](https://gitee.com/openharmony-sig/useriam_useridm)
|
||||
[useriam_user_idm](https://gitee.com/openharmony-sig/useriam_useridm)
|
||||
|
||||
**[useriam_userauth](https://gitee.com/openharmony-sig/useriam_userauth)**
|
||||
**[useriam_user_auth](https://gitee.com/openharmony-sig/useriam_userauth)**
|
||||
|
||||
[useriam_pinauth](https://gitee.com/openharmony-sig/useriam_pinauth)
|
||||
[useriam_pin_auth](https://gitee.com/openharmony-sig/useriam_pinauth)
|
||||
|
||||
[useriam_faceauth](https://gitee.com/openharmony/useriam_faceauth)
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user