mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 13:01:15 +00:00
4eb8d8c496
- `CheckOAuthAccessToken` returns both user ID and additional scopes - `grantAdditionalScopes` returns AccessTokenScope ready string (grantScopes) compiled from requested additional scopes by the client - `userIDFromToken` sets returned grantScopes (if any) instead of default `all` |
||
---|---|---|
.. | ||
security | ||
account.go | ||
account_test.go | ||
adopt.go | ||
applications.go | ||
blocked_users.go | ||
keys.go | ||
main_test.go | ||
oauth2.go | ||
oauth2_common.go | ||
packages.go | ||
profile.go | ||
runner.go | ||
webhooks.go |