https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps
https://oauth.net/2/scope/
Scopes let you specify exactly what type of access you need. Scopes limit access for OAuth tokens. They do not grant any additional permission beyond that which the user already has.
X-OAuth-Scopes
lists the scopes your token has authorized.X-Accepted-OAuth-Scopes
lists the scopes that the action checks for.
No comments:
Post a Comment