| 1 |
Scopes and Consents |
| 2 |
=================== |
| 3 |
|
| 4 |
Globus uses OAuth2 scopes to control access to different APIs and allow |
| 5 |
applications provide a least-privilege security guarantee to their users. |
| 6 |
|
| 7 |
Overview |
| 8 |
-------- |
| 9 |
|
| 10 |
A "Consent" is a record, in Globus Auth, that an application is allowed to take |
| 11 |
some action on behalf of a user. A "Scope" is the name of some action or set of |
| 12 |
actions. |
| 13 |
|
| 14 |
For example, ``urn:globus:auth:scope:groups.api.globus.org:all`` is a scope |
| 15 |
which gives full access to Globus Groups. Users _consent_ to allow applications, |
| 16 |
like the Globus CLI, to get credentials which are "valid for this scope", and |
| 17 |
thereby to view and manipulate their group memberships. |
| 18 |
|
| 19 |
For more information, see |
| 20 |
`this docs.globus.org explanation of scopes and consents |
| 21 |
<https://docs.globus.org/guides/overviews/clients-scopes-and-consents/>`_. |
| 22 |
|
| 23 |
Reference |
| 24 |
--------- |
| 25 |
|
| 26 |
Within the Globus SDK, Scopes and Consents are modeled using several objects |
| 27 |
which make learning about and manipulating these data easier. |
| 28 |
|
| 29 |
.. toctree:: |
| 30 |
:maxdepth: 1 |
| 31 |
|
| 32 |
scopes |
| 33 |
scope_collections |
| 34 |
consents |
| 35 |
scope_parsing |