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### authTrustLevel 42 43``` 44unsigned int AuthSolutionV1_2::authTrustLevel 45``` 46**描述** 47认证结果可信等级。 48 49 50### authType 51 52``` 53enum AuthType AuthSolutionV1_2::authType 54``` 55**描述** 56用户认证凭据类型[AuthType](_hdf_user_auth_v12.md#authtype)。 57 58 59### callerName 60 61``` 62String AuthSolutionV1_2::callerName 63``` 64**描述** 65调用者名称。 66 67 68### challenge 69 70``` 71unsigned char [] AuthSolutionV1_2::challenge 72``` 73**描述** 74挑战值,用于签发认证令牌。 75 76 77### executorSensorHint 78 79``` 80unsigned int AuthSolutionV1_2::executorSensorHint 81``` 82**描述** 83既定用户认证凭据类型的执行器传感器提示,用于找到对应认证方式的传感器。 84 85 86### userId 87 88``` 89int AuthSolutionV1_2::userId 90``` 91**描述** 92用户ID。 93