Can Swagger Code Gen SDKs handle OAuth token refresh?

假如想象 提交于 2020-01-15 12:15:39

问题


Can SDKs created by Swagger Code Gen (https://github.com/swagger-api/swagger-codegen) manage OAuth token refresh by storing and using a refresh token to automatically refresh an expired access token?


回答1:


Based on my understanding, clients generated bySwagger-Codegen do not support automatic refresh of token in any way.

You can submit a feature request here to see if the community has cycle to add the feature. Remember to provide details of your requirement and a sample spec if you've one.



来源:https://stackoverflow.com/questions/30342833/can-swagger-code-gen-sdks-handle-oauth-token-refresh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!