我正在使用的示例将OAuth请求中的范围指定为: scope = https%3A%2F%2Fwww.googleapis%2Fauth%2Fuserinfo.email + https%3A%2F%2Fwww.googleapis%2Fauth%2Fuserinfo.profile
The example I'm working with specifies the scope in the OAuth request as: scope=https%3A%2F%2Fwww.googleapis%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis%2Fauth%2Fuserinfo.profile
解码为两个URI:
- www.googleapis/auth/userinfo.email
- www.googleapis/auth/userinfo.profile
- www.googleapis/auth/userinfo.email
- www.googleapis/auth/userinfo.profile
我找不到涵盖可用范围的完整列表以及每个范围内可访问的信息的文档-有人知道这样的事情是否存在吗?
I cannot find documentation covering the complete list of scopes that are available and what information is accessible within each scope - does anyone know if such a thing exists?
推荐答案您正在寻找的是 .
其他一些有趣的资源:
-
一个优秀的博客由 Nicolas Garnier 撰写,它描述了这项服务背后的重要内容.
An excellent blog by Nicolas Garnier which describes the important things behind this service.
Google OAuth2游乐场是另一个很好的信息来源.
The Google OAuth2 playground, is another good source of info.
最后,如果您有兴趣跟踪发现文档的更改或不想阅读所有文档,则可以找到有趣的在线实施,由 Gerwin Sturm .
Finally if you're interested in tracking changes to the discovery documents or don't want to read all the docs, there is an interesting online implementation by Gerwin Sturm.
更多推荐
在哪里可以找到Google OAuth 2.0 API的范围列表?
发布评论