Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
问与答
请问本站第三方客户端是怎么实现登录的?
ufan0
·
Jul 1, 2024
· 1214 views
This topic created in 664 days ago, the information mentioned may be changed or developed.
根据本站官方文档:
https://study.congcong.us/help/api
,其使用的是 Bearer Authorization 。
但在三方客户端中使用的是账号密码登录即可保持登录蛮久。
猜测是通过 cookie ,但是没有公开 csrf 接口,csrf 很难处理,请问其通过账号密码登录并保持登录身份是如何实现的?
cookie
登录
账号密码
5 replies
•
2024-07-02 21:21:00 +08:00
1
ydatong
Jul 1, 2024
1
伟途亦可思中就是用的 cookie
2
ufan0
OP
Jul 2, 2024
@
ydatong
谢谢,我去看下是否开源了
3
ydatong
Jul 2, 2024
@
ufan0
没有开源,我开发的😂
4
ydatong
Jul 2, 2024
@
ufan0
你 github 找一下开源的 V2EX app 看一下就知道了,实现原理都差不多
5
ufan0
OP
Jul 2, 2024
@
ydatong
#3 厉害,刚才在 app store 下载了,五分好评献上 o( ̄▽ ̄)d
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
6117 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 41ms ·
UTC 02:45
·
PVG 10:45
·
LAX 19:45
·
JFK 22:45
♥ Do have faith in what you're doing.
❯