Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加对 ServerSide 登录模式的支持 #102

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

KangYee
Copy link
Contributor

@KangYee KangYee commented Feb 22, 2024

两种登录方式生成的 AccessToken 对于服务端来说是不同的。
即若服务端侧需要用到的 AccessToken 为 ServerSide 登录模式下的,那么就需要客户端侧通过 Tencent. loginServerSide() 的方式去登录。
针对以上问题,提交了一下 PR,代码很简单,还望空了看看 : )

官方文档:https://wiki.connect.qq.com/server-side%E7%99%BB%E5%BD%95%E6%A8%A1%E5%BC%8F

@droplet-js
Copy link
Collaborator

^_^ 有空补充一下 iOS 部分实现

@KangYee
Copy link
Contributor Author

KangYee commented Feb 23, 2024

抱歉把 iOS 部分给忘了,已经重新提交代码,空了再看看哈 : )

@KangYee
Copy link
Contributor Author

KangYee commented Feb 23, 2024

另外附上 iOS 部分的官方文档,搜索 getServerSideCode 关键字即可找到

https://wiki.connect.qq.com/tencentoauth%e6%8e%88%e6%9d%83%e7%99%bb%e5%bd%95%e7%9b%b8%e5%85%b3%e6%96%b9%e6%b3%95

@droplet-js droplet-js merged commit b493831 into RxReader:master Feb 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants