使用 google 访问令牌查看授权范围
See authorized scopes with a google access token
是否可以在给定访问令牌的情况下确定已授权范围的列表(例如,“https://www.googleapis.com/auth/drive”)?
我在文档中找不到任何此类端点,但如果不存在此类功能,我会感到惊讶。
谢谢!
您可以为此使用 OAuth 2.0 API。试试 tokeninfo in the API Explorer.
是否可以在给定访问令牌的情况下确定已授权范围的列表(例如,“https://www.googleapis.com/auth/drive”)?
我在文档中找不到任何此类端点,但如果不存在此类功能,我会感到惊讶。
谢谢!
您可以为此使用 OAuth 2.0 API。试试 tokeninfo in the API Explorer.