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

Subject:How to handle token expired error globally with AFNetworking or YTKNetwork? #31

Open
xiaolouxinyue opened this issue Sep 10, 2018 · 0 comments

Comments

@xiaolouxinyue
Copy link

RT,
项目中总有些请求需要附带认证header。当token过期后,可以通过refreshtoken刷新获得新的token;当refreshtoken过期后,则需要强制退出重新登录。针对这个业务逻辑,在使用离散型的网络层设计中,如何更优雅的处理呢?

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

No branches or pull requests

1 participant