Skip to content

Conversation

luckalphie
Copy link

No description provided.

Copy link
Owner

@binarywang binarywang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已提供另外一种方式,请参考最新代码

//this.configStorage.expireAccessToken();
//return this.execute(executor, uri, data);
//此方法可被重写
expireAccessToken();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这种做法虽然解决了你的死循环问题,但考虑不够全面,会导致token过期无法自动刷新的问题,造成用户请求无法直接得到结果,而必须再次重试

@binarywang binarywang closed this Nov 18, 2016
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