1# AuthSolution 2 3 4## 概述 5 6认证方案。 7 8**起始版本:** 3.2 9 10**相关模块:**[HdfUserAuth](_hdf_user_auth_v10.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_v10.md#authtype)[authType](#authtype) | 用户认证凭据类型[AuthType](_hdf_user_auth_v10.md#authtype)。 | 23| unsigned int [executorSensorHint](#executorsensorhint) | 既定用户认证凭据类型的执行器传感器提示,用于找到对应认证方式的传感器。 | 24| unsigned char[] [challenge](#challenge) | 挑战值,用于签发认证令牌。 | 25 26 27## 类成员变量说明 28 29 30### authTrustLevel 31 32``` 33unsigned int AuthSolution::authTrustLevel 34``` 35 36**描述** 37 38认证结果可信等级。 39 40 41### authType 42 43``` 44enum AuthType AuthSolution::authType 45``` 46 47**描述** 48 49用户认证凭据类型[AuthType](_hdf_user_auth_v10.md#authtype)。 50 51 52### challenge 53 54``` 55unsigned char [] AuthSolution::challenge 56``` 57 58**描述** 59 60挑战值,用于签发认证令牌。 61 62 63### executorSensorHint 64 65``` 66unsigned int AuthSolution::executorSensorHint 67``` 68 69**描述** 70 71既定用户认证凭据类型的执行器传感器提示,用于找到对应认证方式的传感器。 72 73 74### userId 75 76``` 77int AuthSolution::userId 78``` 79 80**描述** 81 82用户ID。 83