使用SDK从Dropbox获取OAUTH 2令牌 [英] Get OAUTH 2 token from Dropbox using SDK

查看:88
本文介绍了使用SDK从Dropbox获取OAUTH 2令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以从ios保管箱sdk获取oauth 2令牌吗?通常收到的令牌是oauth 1令牌,但我需要那个oauth 2令牌。

Is there any way to get the oauth 2 token from the ios dropbox sdk? Generally the token received is oauth 1 token but I need that oauth 2 token.

请帮助我

谢谢

推荐答案

如果您有OAuth 1令牌,则可以通过 / token_from_oauth1 端点。

If you have an OAuth 1 token, you can convert it to an OAuth 2 token via the /token_from_oauth1 endpoint.

另请参见 https://blogs.dropbox.com/developers/2014/03/upgrading-a-dropbox-oauth-1-token-to-oauth-2/

这篇关于使用SDK从Dropbox获取OAUTH 2令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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