如何手动重写get_access_token函数来自定义token的存储
wanghaiqing2015 opened this issue · comments
wanghaiqing2015 commented
get_access_token()
判断现有的token是否过期。 用户需要多进程或者多机部署可以手动重写这个函数 来自定义token的存储,刷新策略。
能否给个例子,参考一下。不知道该怎么写。非常感谢。
close-issue-app commented
Issue tracker 只用于反馈 bug 和 feature request。在提问前请仔细阅读我们的文档,并推荐阅读《提问的智慧》:https://github.com/ruby-china/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md