geopro/src/net/README.md

8 lines
523 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 生命周期)。