谷歌驱动API支持2腿oauth? [英] Does google Drive api support 2 legged oauth?

查看:162
本文介绍了谷歌驱动API支持2腿oauth?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我们有一个应用程序与谷歌Docs Api和2腿oauth。但是,我们希望迁移到使用Oauth 2.0的Google Drive API。



我们可以在Google Drive API中使用两个双向oauth吗?
是否有任何示例?

解决方案

您应该使用服务帐户: https://developers.google.com/accounts/docs/OAuth2ServiceAccount


Now, we have an application with Google Docs Api and 2 legged oauth. However,we want to migrate to Google Drive Api which uses Oauth 2.0.

Can we use 2 legged oauth with Google Drive Api? Is there any example?

解决方案

You should use Service Accounts: https://developers.google.com/accounts/docs/OAuth2ServiceAccount

这篇关于谷歌驱动API支持2腿oauth?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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