在哪里可以找到Google OAuth 2.0 API的范围列表?

编程入门 行业动态 更新时间:2024-10-23 21:34:16
本文介绍了在哪里可以找到Google OAuth 2.0 API的范围列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用的示例将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的范围列表?

本文发布于:2023-07-14 21:47:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1107238.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可以找到   列表   Google   OAuth   API

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!