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

客户端如何设计登录模块(保存登录态 #7

Open
rccoder opened this issue Mar 3, 2017 · 4 comments
Open

客户端如何设计登录模块(保存登录态 #7

rccoder opened this issue Mar 3, 2017 · 4 comments

Comments

@rccoder
Copy link
Member

rccoder commented Mar 3, 2017

  • 网络请求走 HTTP 然后 cookie? WebView 层同样处理,不用管太多?是否存在安全隐患?

  • 返回 token?然后类似于 localStoragesharedPreferences 保存?和时间戳混在一起防止💥?

@rccoder
Copy link
Member Author

rccoder commented Mar 4, 2017

高端一点不走 cookie

@rccoder
Copy link
Member Author

rccoder commented Mar 4, 2017

token 的话分为

  • 设备信息 hash 发服务端,服务端保存?
  • 服务端下发 token,客户端保存?

@rccoder
Copy link
Member Author

rccoder commented Mar 18, 2017

Json Web Token

@rccoder rccoder added the Fixed label Mar 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant