简体   繁体   English

如何从Google API / PHP SDK获取Google应用程序名称?

[英]How to get Google application name from Google API / PHP SDK?

I'm using Google SDK, where user provides his own application ID and secret. 我正在使用Google SDK,用户可以在其中提供自己的应用程序ID和密码。 After saving the credentials, I would like to display application's name. 保存凭据后,我想显示应用程序的名称。

Is there any way to get application's name from PHP SDK and/or API? 有什么方法可以从PHP SDK和/或API获取应用程序的名称? I looked for it in the SDK core, but haven't found anything. 我在SDK核心中寻找它,但没有找到任何东西。

By application name I mean the one chosen as Project Name in the consent screen or at least the general Project Name. 所谓应用程序名称,是指在同意屏幕中至少被选作项目名称的项目名称,或者至少是一般项目名称。

There is no way to get any information about the projects on Google Developer console. 无法在Google Developer Console上获取有关项目的任何信息。

There simply isn't an API for it. 根本就没有API。 nothing that lets you look at a user to see what apps they have and nothing to check on it based upon the client lid and secret associated with a project. 没有什么可以让您看着用户来查看他们拥有哪些应用程序,也不需要根据客户端盖子和与项目相关联的秘密对其进行检查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM