1# AuthSolutionV1_2
2
3
4## 概述
5
6认证方案。
7
8**起始版本:** 4.1
9
10**相关模块:**[HdfUserAuth](_hdf_user_auth_v12.md)
11
12
13## 汇总
14
15
16### Public 属性
17
18| 名称 | 描述 |
19| -------- | -------- |
20| int [userId](#userid) | 用户ID。  |
21| unsigned int [authTrustLevel](#authtrustlevel) | 认证结果可信等级。  |
22| enum [AuthType](_hdf_user_auth_v12.md#authtype)[authType](#authtype) | 用户认证凭据类型[AuthType](_hdf_user_auth_v12.md#authtype)。  |
23| unsigned int [executorSensorHint](#executorsensorhint) | 既定用户认证凭据类型的执行器传感器提示,用于找到对应认证方式的传感器。  |
24| unsigned char[] [challenge](#challenge) | 挑战值,用于签发认证令牌。  |
25| String [callerName](#callername) | 调用者名称。  |
26| int [apiVersion](#apiversion) | 调用接口版本。  |
27
28
29## 类成员变量说明
30
31
32### apiVersion
33
34```
35int AuthSolutionV1_2::apiVersion
36```
37**描述**
38
39调用接口版本。
40
41
42### authTrustLevel
43
44```
45unsigned int AuthSolutionV1_2::authTrustLevel
46```
47**描述**
48
49认证结果可信等级。
50
51
52### authType
53
54```
55enum AuthType AuthSolutionV1_2::authType
56```
57**描述**
58
59用户认证凭据类型[AuthType](_hdf_user_auth_v12.md#authtype)。
60
61
62### callerName
63
64```
65String AuthSolutionV1_2::callerName
66```
67**描述**
68
69调用者名称。
70
71
72### challenge
73
74```
75unsigned char [] AuthSolutionV1_2::challenge
76```
77**描述**
78
79挑战值,用于签发认证令牌。
80
81
82### executorSensorHint
83
84```
85unsigned int AuthSolutionV1_2::executorSensorHint
86```
87**描述**
88
89既定用户认证凭据类型的执行器传感器提示,用于找到对应认证方式的传感器。
90
91
92### userId
93
94```
95int AuthSolutionV1_2::userId
96```
97**描述**
98
99用户ID。
100