Python API 使用用户帐户使用用户 GCP 服务(存储、引擎等)
Python API using User Account to use User GCP Services (Storage, Engines, etc)
我想知道我是否可以创建一个 python API 来接收来自 Google 用户的用户名和密码并可以访问来自该用户的 Google 服务用户。
例如:
用户给我 google 电子邮件和密码,我可以在用户 GCP 存储桶之间移动文件
如果没有办法直接执行此操作,我想知道如何在没有前端的情况下执行此操作,仅使用用户的电子邮件和密码
无法通过 API 检索 Google 帐户的密码。
您的问题:
I would like to know if I can create an python API that receives
username and password from a Google user and has access to Google
services from that user.
是的,您可以创建一个 Python API 来要求用户输入他们的用户名和密码。这很容易通过 HTTP 表单完成。
但是,即使有了用户名和密码,Google 安全部门也会很快阻止该帐户。所有身份验证都是基于浏览器的用户身份,需要 人 才能与浏览器交互。
我想知道我是否可以创建一个 python API 来接收来自 Google 用户的用户名和密码并可以访问来自该用户的 Google 服务用户。
例如: 用户给我 google 电子邮件和密码,我可以在用户 GCP 存储桶之间移动文件
如果没有办法直接执行此操作,我想知道如何在没有前端的情况下执行此操作,仅使用用户的电子邮件和密码
无法通过 API 检索 Google 帐户的密码。
您的问题:
I would like to know if I can create an python API that receives username and password from a Google user and has access to Google services from that user.
是的,您可以创建一个 Python API 来要求用户输入他们的用户名和密码。这很容易通过 HTTP 表单完成。
但是,即使有了用户名和密码,Google 安全部门也会很快阻止该帐户。所有身份验证都是基于浏览器的用户身份,需要 人 才能与浏览器交互。