kyapikeyserver/README.md
2025-07-04 18:18:41 +08:00

29 lines
867 B
Markdown
Raw Permalink 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.

# 第三方应用登录服务器端
本模块为应用软件提供其他第三方应用的客户使用apikey自动登录
## 依赖的软件包
* [ahserver](https://git.kaiyuancloud.cn/yumoqing/ahserver)
* [sqlor](https://git.kaiyuancloud.cn/yumoqing/sqlor)
* [apppublic](https://git.kaiyuancloud.cn/yumoqing/apppublic)
## 安装
pip install kyapikeyserver
## 业务流程
* 申请系统下位的apikey
客户注册后添加一个下位系统并将系统自动生成的apikey和secretkey复制到实际的下午系统中登记
* 用户同步
下位系统用上位系统生成的系统aksk将需要同步的用户支持多个按照用户同步的格式上传到本地系统
上位系统系统收到请求后添加系统本身的机构和用户并为此用户生成apikey与下位系统的userid一起返回给下位系统