Google API获得新的刷新令牌
是否可以使用现有的刷新令牌获得新的刷新令牌?
当使用现有的刷新令牌获得新的访问令牌时,它只返回这些字段:
{
"access_token": "1/fFAGRNJru1FTz70BzhT3Zg",
"expires_in": 3920,
"scope": "[scope here]",
"token_type": "Bearer"
}
但是,最终,刷新令牌到期,那么我们将如何获得新的刷新令牌?我们是否需要要求用户再次浏览初始授权?
或每次使用它时,现有的刷新代币到期日期都会不断更新。
Is it possible to get a new refresh token using the existing refresh token?
When using the existing refresh token to get a new access token, it only returns these fields:
{
"access_token": "1/fFAGRNJru1FTz70BzhT3Zg",
"expires_in": 3920,
"scope": "[scope here]",
"token_type": "Bearer"
}
However, eventually the refresh token expiry so how would we get a new refresh token? Would we need to ask the user to go through the initial authorization again?
Or does the existing refresh token expiry date keeps getting updated everytime you use it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论