Dropbox访问令牌到期 [英] Dropbox Access Token Expiry

查看:118
本文介绍了Dropbox访问令牌到期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过Dropbox oAuth2 API获取的访问令牌的寿命是多少?

What is the lifetime for an Access Token acquired through the Dropbox oAuth2 APIs?

https://api.dropbox.com/1/oauth2/token 类似于

{
    "access_token": "fHUlx32x494RmgTlxWiF6pLzd5q1Lg4Itt7I6itVYDIDT",
    "token_type": "bearer",
    "uid": "17233223324"
}

但是没有提到AT何时到期。

But there's no mention of when the AT expires. If ever.

推荐答案

它实际上永不过期。但是,用户可以通过取消链接应用程序来使令牌无效。 (对于应用程序文件夹应用程序,他们可以从其Dropbox中删除该应用程序文件夹。对于所有应用程序,他们可以在dropbox.com上取消该应用程序的链接。)

It effectively never expires. But users can invalidate tokens by unlinking an app. (In the case of an App folder app, they can delete the app folder from their Dropbox. For all apps, they can unlink the app on dropbox.com.)

这篇关于Dropbox访问令牌到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆