使用应用程序服务帐户的iOS版Google Drive API [英] Google Drive API with iOS using the app service account

查看:107
本文介绍了使用应用程序服务帐户的iOS版Google Drive API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力实现一个iOS应用,该应用将从Google云端硬盘文档中提取内容.该文档对于每个客户而言都是相同的,并且与用户的Google帐户完全分开. 我按照教程学习,并观看了有关如何将SDK用于Xcode项目的视频,还在API控制台上设置了Google驱动器应用程序,并创建了其服务帐户.我的问题是,如何在客户端幻灯片上跳过用户身份验证步骤,以防止访问其自己的Google帐户,而仅连接到应用程序服务帐户.

I'm working on implementing an iOS app that will be pulling content from a Google Drive document. This document would be the same for every client and completely separated from the users Google accounts. I followed the tutorials and watched the videos about how to use the SDK for Xcode projects, I also set up a Google drive app on the API console and created its service account. My problem here is how, on the client slide, to skip the user authentication step to prevent accessing their own Google account and simply connect to the app service account.

推荐答案

即使用户正在访问自己的数据,您的应用仍可以访问它,以便为用户提供服务或功能.这使得Google有必要要求并征得用户同意才能进行数据共享.

Even though the user is accessing their own data, your app is obtaining access to it in order to provide the user with a service or function. This makes it necessary for Google to require and obtain user consent for data sharing.

这篇关于使用应用程序服务帐户的iOS版Google Drive API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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