|
|
||
|---|---|---|
| .. | ||
| crypto | ||
| ApiClient.cpp | ||
| ApiClient.hpp | ||
| AuthService.cpp | ||
| AuthService.hpp | ||
| CMakeLists.txt | ||
| README.md | ||
README.md
net — 网络与认证层
ApiClient— QtNetwork 封装:基址http://tenant.geomative.cn/pop-api、注入geomativeauthorization: Geomative <token>头、超时、错误码、401 处理。AuthService— 验证码(getImageCode/verifyCodeCheck)+ JSEncrypt RSA-2048 加密密码 +login2(token =data.accessToken)。Credential— QtKeychain 凭证存取(严禁明文,规约 §7.4)。
详见设计 §8(含 §8.3 前置确认项:RSA 公钥常量、token 生命周期)。