| 1 |
from ..collection import StaticScopeCollection, _urn_scope |
| 2 |
from ..representation import Scope |
| 3 |
|
| 4 |
|
| 5 |
class _AuthScopes(StaticScopeCollection): |
| 6 |
resource_server = "auth.globus.org" |
| 7 |
|
| 8 |
openid = Scope("openid") |
| 9 |
email = Scope("email") |
| 10 |
profile = Scope("profile") |
| 11 |
|
| 12 |
manage_projects = _urn_scope(resource_server, "manage_projects") |
| 13 |
view_authentications = _urn_scope(resource_server, "view_authentications") |
| 14 |
view_clients = _urn_scope(resource_server, "view_clients") |
| 15 |
view_clients_and_scopes = _urn_scope(resource_server, "view_clients_and_scopes") |
| 16 |
view_consents = _urn_scope(resource_server, "view_consents") |
| 17 |
view_identities = _urn_scope(resource_server, "view_identities") |
| 18 |
view_identity_set = _urn_scope(resource_server, "view_identity_set") |
| 19 |
|
| 20 |
|
| 21 |
AuthScopes = _AuthScopes() |