Globus Auth _testing Method List#
globus_sdk.AuthClient#
globus_sdk.AuthClient
has registered responses for the following methods:
create_client
(case="default"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="name"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "f0886f7a9dbc4c6e9024d0de7f3cadd9",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="public_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="private_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": false,
"client_type": "hybrid_confidential_client_resource_server"
}
}
create_client
(case="project_id"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef88d8-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="publicly_visible"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"visibility": "public",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="not_publicly_visible"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"visibility": "private",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="redirect_uris"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [
"https://foo.com"
],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="links"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": "https://boo.org",
"terms_and_conditions": "https://foo.org"
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="required_idp"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": "c4ef8a72-040e-11ef-990b-0242ac110002",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="preselect_idp"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": "c4ef8b26-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="client_type_confidential_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "confidential_client"
}
}
create_client
(case="client_type_public_installed_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "public_installed_client"
}
}
create_client
(case="client_type_client_identity"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "client_identity"
}
}
create_client
(case="client_type_resource_server"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "resource_server"
}
}
create_client
(case="client_type_globus_connect_server"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "globus_connect_server"
}
}
create_client
(case="client_type_hybrid_confidential_client_resource_server"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "hybrid_confidential_client_resource_server"
}
}
create_client
(case="client_type_public_webapp_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "c4ef85cc-040e-11ef-990b-0242ac110002",
"client_type": "public_webapp_client"
}
}
create_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "c4f39860-040e-11ef-990b-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "c4f3990a-040e-11ef-990b-0242ac110002",
"secret": "abc123"
}
}
create_client_credential
(case="name"
)
{
"credential": {
"name": "ba8c93eb79144a90895e0745a591f66a",
"id": "c4f39860-040e-11ef-990b-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "c4f3990a-040e-11ef-990b-0242ac110002",
"secret": "abc123"
}
}
create_policy
(case="default"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "c4e9a8be-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "c4e9a986-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "c4e9aa12-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "c4e9ab16-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "c4e9abac-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="high_assurance"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"id": "c4e9aff8-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="not_high_assurance"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"id": "c4e9b0ca-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "c4e9b174-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="display_name"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "b5c50cde56d3427895af0248e60a07dd",
"description": "Controls access to Foo",
"id": "c4e9b2a0-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="description"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "3743a10f51354b5697acef8467cd0cf7",
"id": "c4e9b39a-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="domain_constraints_include"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "c4e9b458-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="empty_domain_constraints_include"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "c4e9b552-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="no_domain_constraints_include"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "c4e9b606-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="domain_constraints_exclude"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "c4e9b6b0-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="empty_domain_constraints_exclude"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "c4e9b750-040e-11ef-990b-0242ac110002"
}
}
create_policy
(case="no_domain_constraints_exclude"
)
{
"policy": {
"project_id": "c4e9a756-040e-11ef-990b-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "c4e9b80e-040e-11ef-990b-0242ac110002"
}
}
create_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "c4e53658-040e-11ef-990b-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "c4e53734-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e537c0-040e-11ef-990b-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"c4e537c0-040e-11ef-990b-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "c4e53658-040e-11ef-990b-0242ac110002",
"admins": {
"identities": [],
"groups": [
{
"id": "c4e53842-040e-11ef-990b-0242ac110002",
"name": "Guardians of the Galaxy",
"description": "A group of heroes",
"organization": "Guardians of the Galaxy"
}
]
},
"project_name": "Guardians of the Galaxy",
"admin_ids": null,
"admin_group_ids": [
"c4e53842-040e-11ef-990b-0242ac110002"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f754fa-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="client_id_str"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f755fe-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f75694-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f755fe-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="client_id_uuid"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f75770-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f757fc-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f75770-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f7593c-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "b2bcb1624eef4b878b94bd4617b4448a",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f75a36-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "6224d698d890499f8d57e399528d5fbf",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/0b75b5305b624da9b114cfb56755c256",
"allows_refresh_token": true,
"id": "c4f75b30-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f75bf8-040e-11ef-990b-0242ac110002",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f75e96-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f76030-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": false,
"id": "c4f76134-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f76260-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f76364-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f76454-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f753b0-040e-11ef-990b-0242ac110002/manage",
"allows_refresh_token": true,
"id": "c4f76742-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "c4f753b0-040e-11ef-990b-0242ac110002",
"dependent_scopes": [
{
"scope": "c4f7654e-040e-11ef-990b-0242ac110002",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "c4f76666-040e-11ef-990b-0242ac110002",
"optional": false,
"requires_refresh_token": false
}
]
}
}
delete_client
(case="default"
)
{
"client": {
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "c4f2063a-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"globus.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
}
delete_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "c4f47ea6-040e-11ef-990b-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "7dee4432-0297-4989-ad23-a2b672a52b12",
"secret": null
}
}
delete_policy
(case="default"
)
{
"policy": {
"high_assurance": false,
"domain_constraints_include": [
"greenlight.org"
],
"display_name": "GreenLight domain Only Policy",
"description": "Only allow access from @greenlight.org",
"id": "c4ebda6c-040e-11ef-990b-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
}
delete_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "c4e71ebe-040e-11ef-990b-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "c4e71f9a-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e7201c-040e-11ef-990b-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"c4e7201c-040e-11ef-990b-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
delete_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manager",
"allows_refresh_token": false,
"id": "c4f9b6aa-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
}
}
get_client
(case="default"
)
{
"client": {
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "c4ecc36e-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"globus.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
}
get_client
(case="fqdn"
)
{
"client": {
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "c4ecc36e-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"globus.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
}
get_client_credentials
(case="default"
)
{
"credentials": [
{
"name": "foo",
"id": "c4f2cb1a-040e-11ef-990b-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "7dee4432-0297-4989-ad23-a2b672a52b12",
"secret": null
}
]
}
get_clients
(case="default"
)
{
"clients": [
{
"required_idp": null,
"name": "Lessor client of BAR",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "c4ed84ac-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"bar.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
},
{
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "c4ed8344-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"foo.net"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
]
}
get_consents
(case="default"
)
{
"consents": [
{
"created": "2022-09-21T17:10:14.270581+00:00",
"id": 142632,
"status": "approved",
"updated": "2022-09-21T17:10:14.270581+00:00",
"allows_refresh": true,
"dependency_path": [
142632
],
"scope_name": "urn:globus:auth:scope:transfer.api.globus.org:all",
"atomically_revocable": false,
"effective_identity": "8ca28797-3541-4a5d-a264-05b00f91e608",
"auto_approved": false,
"last_used": "2024-03-18T17:34:04.719126+00:00",
"scope": "89ecabba-4acf-4e2e-a98d-ce592ccc2818",
"client": "065db752-2f43-4fe1-a633-2ee68c9da889"
},
{
"created": "2024-03-18T17:32:51.496893+00:00",
"id": 433892,
"status": "approved",
"updated": "2024-03-18T17:32:51.496893+00:00",
"allows_refresh": true,
"dependency_path": [
142632,
433892
],
"scope_name": "https://auth.globus.org/scopes/542a86fc-1766-450d-841f-065488a2ec01/data_access",
"atomically_revocable": true,
"effective_identity": "8ca28797-3541-4a5d-a264-05b00f91e608",
"auto_approved": false,
"last_used": "2024-03-18T17:33:05.178254+00:00",
"scope": "fe334c19-4fe6-4d03-ac73-8992beb231b6",
"client": "2fbdda78-a599-4cb5-ac3d-1fbcfbc6a754"
}
]
}
get_identities
(case="default"
)
{
"identities": [
{
"email": null,
"id": "46bd0f56-e24f-11e5-a510-131bef46955c",
"identity_provider": "7daddf46-70c5-45ee-9f0f-7244fe7c8707",
"name": null,
"organization": null,
"status": "unused",
"username": "globus@globus.org"
}
]
}
get_identities
(case="empty"
)
{
"identities": []
}
get_identities
(case="multiple"
)
{
"identities": [
{
"email": null,
"id": "46bd0f56-e24f-11e5-a510-131bef46955c",
"identity_provider": "7daddf46-70c5-45ee-9f0f-7244fe7c8707",
"name": null,
"organization": null,
"status": "unused",
"username": "globus@globus.org"
},
{
"email": "sirosen@globus.org",
"id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
"identity_provider": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"name": "Stephen Rosen",
"organization": "Globus Team",
"status": "used",
"username": "sirosen@globus.org"
}
]
}
get_identities
(case="globusid"
)
{
"identities": [
{
"email": "support@globus.org",
"id": "00000000-0000-0000-0000-000000000001",
"identity_provider": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
"identity_type": "login",
"name": "Globus Team",
"organization": "University of Chicago",
"status": "used",
"username": "globus@globusid.org"
}
]
}
get_identities
(case="sirosen"
)
{
"identities": [
{
"email": "sirosen@globus.org",
"id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
"identity_provider": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"name": "Stephen Rosen",
"organization": "Globus Team",
"status": "used",
"username": "sirosen@globus.org"
}
]
}
get_identities
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "c7c4f372-040e-11ef-990b-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
get_identity_providers
(case="default"
)
{
"identity_providers": [
{
"short_name": "globusid",
"id": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
"alternative_names": [],
"domains": [
"globusid.org"
],
"name": "Globus ID"
},
{
"short_name": "globus.org",
"id": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"alternative_names": [],
"domains": [
"globus.org"
],
"name": "Globus Staff"
}
]
}
get_identity_providers
(case="globusid"
)
{
"identity_providers": [
{
"short_name": "globusid",
"id": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
"alternative_names": [],
"domains": [
"globusid.org"
],
"name": "Globus ID"
}
]
}
get_identity_providers
(case="globus_staff"
)
{
"identity_providers": [
{
"short_name": "globus.org",
"id": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"alternative_names": [],
"domains": [
"globus.org"
],
"name": "Globus Staff"
}
]
}
get_policies
(case="default"
)
{
"policies": [
{
"high_assurance": false,
"domain_constraints_include": [
"greenlight.org"
],
"display_name": "GreenLight domain Only Policy",
"description": "Only allow access from @greenlight.org",
"id": "c4e8b04e-040e-11ef-990b-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
},
{
"high_assurance": true,
"domain_constraints_include": null,
"display_name": "No RedLight domain Policy",
"description": "Disallow access from @redlight.org",
"id": "c4e8b12a-040e-11ef-990b-0242ac110002",
"domain_constraints_exclude": [
"redlight.org"
],
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
]
}
get_policy
(case="default"
)
{
"policy": {
"high_assurance": false,
"domain_constraints_include": [
"greenlight.org"
],
"display_name": "GreenLight domain Only Policy",
"description": "Only allow access from @greenlight.org",
"id": "c4e7fbea-040e-11ef-990b-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
}
get_project
(case="default"
)
{
"project": {
"admin_ids": [
"c4e37192-040e-11ef-990b-0242ac110002"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "c4e3720a-040e-11ef-990b-0242ac110002",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "c4e36fb2-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e370fc-040e-11ef-990b-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "c4e36fb2-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e37192-040e-11ef-990b-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects
(case="default"
)
{
"projects": [
{
"admin_ids": [
"c4e43910-040e-11ef-990b-0242ac110002"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "c4e439b0-040e-11ef-990b-0242ac110002",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "c4e43758-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e43910-040e-11ef-990b-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"c4e43910-040e-11ef-990b-0242ac110002"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "c4e43a5a-040e-11ef-990b-0242ac110002",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "c4e43758-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e4387a-040e-11ef-990b-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "c4e43758-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e43910-040e-11ef-990b-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
]
}
get_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manager",
"allows_refresh_token": false,
"id": "c4f54462-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
}
}
get_scopes
(case="default"
)
{
"scopes": [
{
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manage",
"allows_refresh_token": false,
"id": "c4f62346-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
},
{
"scope_string": "https://auth.globus.org/scopes/dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6/view",
"allows_refresh_token": false,
"id": "c4f62440-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
get_scopes
(case="id"
)
{
"scopes": [
{
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manage",
"allows_refresh_token": false,
"id": "c4f62346-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
}
]
}
get_scopes
(case="string"
)
{
"scopes": [
{
"scope_string": "https://auth.globus.org/scopes/dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6/view",
"allows_refresh_token": false,
"id": "c4f62440-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
oauth2_userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "c7c4f372-040e-11ef-990b-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
oauth2_userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "c7c4f4c6-040e-11ef-990b-0242ac110002",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
update_client
(case="default"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "c4f0ea2a-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="name"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "32b10e28e55a40ca917de5140db9658a",
"id": "c4f0ec00-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="publicly_visible"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"visibility": "public",
"id": "c4f0ecd2-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="not_publicly_visible"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"visibility": "private",
"id": "c4f0edae-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="redirect_uris"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [
"https://foo.com"
],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "c4f0ee94-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="links"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": "https://boo.org",
"terms_and_conditions": "https://foo.org"
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "c4f0ef5c-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="required_idp"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": "c4f0f006-040e-11ef-990b-0242ac110002",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "c4f0f07e-040e-11ef-990b-0242ac110002"
}
}
update_client
(case="preselect_idp"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": "c4f0f132-040e-11ef-990b-0242ac110002",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "c4f0f1aa-040e-11ef-990b-0242ac110002"
}
}
update_policy
(case="default"
)
{
"policy": {
"project_id": "c4eadb94-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "991dfb6c198d4e008b613eaf1f4f91b3",
"description": "69cd509edb78494f8a5e4d5e87d106a9",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "c4eadd2e-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "1b3a8e2608a9439f8a2f223f4620f787",
"description": "8c7b839853e149fa9b8db96ae6e15ee6",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "c4eadedc-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "c213603847ed46528b47e98d97d20f71",
"description": "e64e93dce0d34547a6deb77001c67264",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "c4eae080-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 9100,
"display_name": "f5b9c04ddc734e44a1745d3aca16975b",
"description": "1d36a70cbc414ed69a4a5a0d31645c05",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="display_name"
)
{
"policy": {
"project_id": "c4eae1d4-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "23d42873fce04b768d65ad3bdf5ef5de",
"description": "7491a4896f42410898804430a44e89f3",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="description"
)
{
"policy": {
"project_id": "c4eae31e-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "cf268fa62f724393acfeb9054c14fb36",
"description": "7b685e43f67e436ea33b75f26274acb7",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_include"
)
{
"policy": {
"project_id": "c4eae436-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "b74759ed825d489a8c31118e2853d4c4",
"description": "7ec4d583e34a4498b1bd163a9b274abc",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_include"
)
{
"policy": {
"project_id": "c4eae594-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "b60ee7bf79ab489d97b2a6fc5adf0a06",
"description": "83fb2b29fec14635884376bd364a6352",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy
(case="domain_constrants_include"
)
{
"policy": {
"project_id": "c4eae6de-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "55750a7eeaea42bdb91cf913dedfdcb8",
"description": "9c733a0f5407422e98a4597dcf9b1d71",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_exclude"
)
{
"policy": {
"project_id": "c4eae7ec-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "cfef48d222d74d148848721daca7f7d3",
"description": "72b62464280d4d62bfd60ce3360ca346",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_exclude"
)
{
"policy": {
"project_id": "c4eae8f0-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "0e06f021e9e14bd9a4cb9a30bc219391",
"description": "c84bb4b856ef486c91c9e171486f0ab2",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy
(case="domain_constrants_exclude"
)
{
"policy": {
"project_id": "c4eaea12-040e-11ef-990b-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "20d8ca36896a43b4b820675afda39393",
"description": "22c3a004b6ca4a1d96e23ba4b0c6b338",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "c4e63972-040e-11ef-990b-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "c4e63b7a-040e-11ef-990b-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "c4e63c1a-040e-11ef-990b-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"c4e63c1a-040e-11ef-990b-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "c4e63972-040e-11ef-990b-0242ac110002",
"admins": {
"identities": [],
"groups": [
{
"id": "c4e63c9c-040e-11ef-990b-0242ac110002",
"name": "Guardians of the Galaxy",
"description": "A group of heroes",
"organization": "Guardians of the Galaxy"
}
]
},
"project_name": "Guardians of the Galaxy",
"admin_ids": null,
"admin_group_ids": [
"c4e63c9c-040e-11ef-990b-0242ac110002"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f8913a-040e-11ef-990b-0242ac110002/b5551d7ecf5b4f7da046b108229187e4",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "914bc321dad442b38abc0576d4c0b549",
"description": "cc8f4d3e1ffc431b8f640c9f1c9480e5",
"client": "c4f8928e-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f893e2-040e-11ef-990b-0242ac110002/8bda14f89c1549c1a05bed3e9dc67d31",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "a61468c95ec54a29b3108ef58912e3e5",
"description": "07b5de2fd23442268bf4c694466db913",
"client": "c4f89504-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f895fe-040e-11ef-990b-0242ac110002/068356c85b8b4c7cb39031c6d0005447",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "6b47683d8a864ffb9ebe04182b718ae0",
"description": "8a2614dc38794c77b9d6b80c4006a2cf",
"client": "c4f8970c-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f897fc-040e-11ef-990b-0242ac110002/26d4a841c11d4396ae074254427017d6",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "05b8f1cda4b24b96838da58e15f1fb88",
"description": "23df339a8ece410197a257051bc1b277",
"client": "c4f8990a-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f899c8-040e-11ef-990b-0242ac110002/8053079f83bf45a382e0c25ac0d4eada",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "a168e81ef5684eb99686c1791facbc76",
"description": "b9c9a0d95f7249bb998281192c9019ff",
"client": "c4f89af4-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f89bb2-040e-11ef-990b-0242ac110002/13d9e3aa0dfa4a278380bdfceec841dc",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "f978f884a862467ab37e1c589186f231",
"description": "3c2a3ddf6fc2412b810426de88f2f4ac",
"client": "c4f89cac-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f89d7e-040e-11ef-990b-0242ac110002/d846cfda91fb457fb9c91a223aed8f6f",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "9bd21b76afbc41df8f6134aa9bdc069f",
"description": "88f040a35edc4925a23f88acb2eaf055",
"client": "c4f89e82-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f8a08a-040e-11ef-990b-0242ac110002/6af7db04ba014c5ab76b879ce048d497",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "698ec0da951340afba4dc72b292a2efd",
"description": "68aae0c3afab4462980a0063d3f023a5",
"client": "c4f8a1a2-040e-11ef-990b-0242ac110002",
"dependent_scopes": [
{
"scope": "c4f89f2c-040e-11ef-990b-0242ac110002",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "c4f89fd6-040e-11ef-990b-0242ac110002",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f8a2a6-040e-11ef-990b-0242ac110002/d01693afddf24f06acd3832f2f55185f",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": true,
"required_domains": [],
"name": "e1acdae0b9cc427fb5672ffd18f5c443",
"description": "7acaeca22f1e4d5b997ad05c730a1b8c",
"client": "c4f8a3aa-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f8a472-040e-11ef-990b-0242ac110002/e8209e70b888440db35ffeeea095461b",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "bf1980a1551d4b5a9ad808199e0b01bf",
"description": "9fb83120141146ccb19ea559ccd91642",
"client": "c4f8a576-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f8a63e-040e-11ef-990b-0242ac110002/162ac9cfaa7047cd98e08e3a50ab53cb",
"allows_refresh_token": true,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "998b33d6b5db494fbe2110cc7e781cb1",
"description": "d1b3d6594df948ea8654559df99fc414",
"client": "c4f8a72e-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/c4f8a7e2-040e-11ef-990b-0242ac110002/36d50364f84e47408b2fc70272d43ea6",
"allows_refresh_token": false,
"id": "c4f89004-040e-11ef-990b-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "26e03afd28324cf5a6b695624d7ad6a6",
"description": "b052db5feaba4eb396062e3072ba4024",
"client": "c4f8a8dc-040e-11ef-990b-0242ac110002",
"dependent_scopes": []
}
}
userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "c7c4f372-040e-11ef-990b-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "c7c4f4c6-040e-11ef-990b-0242ac110002",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}