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": "846e36f4-abe6-11ee-89d0-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": "305c8579477f4751b89a43a64b7e14f7",
"project": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e3f3c-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e4108-abe6-11ee-89d0-0242ac110002",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "846e36f4-abe6-11ee-89d0-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": "846e41c6-abe6-11ee-89d0-0242ac110002",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-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": "846e36f4-abe6-11ee-89d0-0242ac110002",
"client_type": "public_webapp_client"
}
}
create_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "8472601c-abe6-11ee-89d0-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "847260d0-abe6-11ee-89d0-0242ac110002",
"secret": "abc123"
}
}
create_client_credential
(case="name"
)
{
"credential": {
"name": "a920f611395541d5966c778ed6ea6b67",
"id": "8472601c-abe6-11ee-89d0-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "847260d0-abe6-11ee-89d0-0242ac110002",
"secret": "abc123"
}
}
create_policy
(case="default"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "8468546e-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "84685590-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "8468561c-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "846856d0-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "84685770-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="high_assurance"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "8468582e-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="not_high_assurance"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "846858ec-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 23,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "84685996-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="display_name"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "eb2ab6e72f094ce8b73e8664af55ed3d",
"description": "Controls access to Foo",
"id": "84685ad6-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="description"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "73f8b4b69ed8475a95e3a46bc8bd49a6",
"id": "84685bda-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="domain_constraints_include"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "84685ca2-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="empty_domain_constraints_include"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "84685d56-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="no_domain_constraints_include"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "84685e0a-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="domain_constraints_exclude"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "84685ebe-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="empty_domain_constraints_exclude"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "84685f68-abe6-11ee-89d0-0242ac110002"
}
}
create_policy
(case="no_domain_constraints_exclude"
)
{
"policy": {
"project_id": "84685298-abe6-11ee-89d0-0242ac110002",
"high_assurance": false,
"authentication_assurance_timeout": 35,
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "84686008-abe6-11ee-89d0-0242ac110002"
}
}
create_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "8463d088-abe6-11ee-89d0-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "8463d1a0-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "8463d222-abe6-11ee-89d0-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"8463d222-abe6-11ee-89d0-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "8463d088-abe6-11ee-89d0-0242ac110002",
"admins": {
"identities": [],
"groups": [
{
"id": "8463d2a4-abe6-11ee-89d0-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": [
"8463d2a4-abe6-11ee-89d0-0242ac110002"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760140-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="client_id_str"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8476024e-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "847602e4-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8476024e-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="client_id_uuid"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/847603a2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "8476042e-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "847603a2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760596-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "09d4a3faf7414db7883092ab7259f3f9",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "8476069a-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "b86defe07fd748bd8e383bb0baa0e800",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/43b2a62e5c06495a81b3067bdfa293ff",
"allows_refresh_token": true,
"id": "847607a8-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760870-abe6-11ee-89d0-0242ac110002",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "8476094c-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760a32-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": false,
"id": "84760af0-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760bae-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760c62-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760d2a-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/8475ffe2-abe6-11ee-89d0-0242ac110002/manage",
"allows_refresh_token": true,
"id": "84760f46-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "8475ffe2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": [
{
"scope": "84760dde-abe6-11ee-89d0-0242ac110002",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "84760eba-abe6-11ee-89d0-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": "8470b2da-abe6-11ee-89d0-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": "847327b8-abe6-11ee-89d0-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": "846a8fea-abe6-11ee-89d0-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": "8465c596-abe6-11ee-89d0-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "8465c67c-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "8465c708-abe6-11ee-89d0-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"8465c708-abe6-11ee-89d0-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": "84785490-abe6-11ee-89d0-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": "846b63ca-abe6-11ee-89d0-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": "846b63ca-abe6-11ee-89d0-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": "84717972-abe6-11ee-89d0-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": "846c2f08-abe6-11ee-89d0-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": "846c2e18-abe6-11ee-89d0-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_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": "8705122a-abe6-11ee-89d0-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": "84673fca-abe6-11ee-89d0-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": "8467409c-abe6-11ee-89d0-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": "84668c92-abe6-11ee-89d0-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
}
get_project
(case="default"
)
{
"project": {
"admin_ids": [
"84573e36-abe6-11ee-89d0-0242ac110002"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "84573ec2-abe6-11ee-89d0-0242ac110002",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "84573ba2-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "84573d8c-abe6-11ee-89d0-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "84573ba2-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "84573e36-abe6-11ee-89d0-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects
(case="default"
)
{
"projects": [
{
"admin_ids": [
"84581fa4-abe6-11ee-89d0-0242ac110002"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "8458203a-abe6-11ee-89d0-0242ac110002",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "84581e00-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "84581fa4-abe6-11ee-89d0-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"84581fa4-abe6-11ee-89d0-0242ac110002"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "845820d0-abe6-11ee-89d0-0242ac110002",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "84581e00-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "84581f04-abe6-11ee-89d0-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "84581e00-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "84581fa4-abe6-11ee-89d0-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": "8473f364-abe6-11ee-89d0-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": "8474d414-abe6-11ee-89d0-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": "8474d504-abe6-11ee-89d0-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": "8474d414-abe6-11ee-89d0-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": "8474d504-abe6-11ee-89d0-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": "8705122a-abe6-11ee-89d0-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
oauth2_userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "87051374-abe6-11ee-89d0-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": "846f8d9c-abe6-11ee-89d0-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": "f2d60d63197642ff8d675028bff12662",
"id": "846f8fa4-abe6-11ee-89d0-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": "846f909e-abe6-11ee-89d0-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": "846f9152-abe6-11ee-89d0-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": "846f9210-abe6-11ee-89d0-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": "846f92e2-abe6-11ee-89d0-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": "846f93c8-abe6-11ee-89d0-0242ac110002",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "846f9440-abe6-11ee-89d0-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": "846f94e0-abe6-11ee-89d0-0242ac110002",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "846f9558-abe6-11ee-89d0-0242ac110002"
}
}
update_policy
(case="default"
)
{
"policy": {
"project_id": "84696f34-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "d5cb37bcba5b45b2b0a5ef03c38b13aa",
"description": "8f8b98f1bf8f4c1a859179bc6f5b4b30",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "846970d8-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "f6925784704144148616aff06e1070e9",
"description": "8009ff7b68074f7698a7320a60fa03fb",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "8469729a-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "2c7015a16e1f4edca381e00fbec13603",
"description": "5c5ce2439ccb48498520b79918f26e78",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "84697470-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 9100,
"display_name": "4898f243c83547038c8673404802ed7d",
"description": "b3cb1f982f7c448391281436b86ee0cc",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="display_name"
)
{
"policy": {
"project_id": "846975ce-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "cbe7d28b9a6447c8ae432ca923590ff5",
"description": "182649e8bf284b0b83936be73c3676c1",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="description"
)
{
"policy": {
"project_id": "8469772c-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "a00f009ee4a94a50bc4895b6d7bff301",
"description": "fd57282e81354ebbb385e393501a8c41",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_include"
)
{
"policy": {
"project_id": "84697844-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "c33d57508b4940b98190dfe2337523e1",
"description": "f2668ad76b754abe80f62e84e3c7f80f",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_include"
)
{
"policy": {
"project_id": "8469797a-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "b1b83bc55f174e7cbd0813d66527ba14",
"description": "7697b9a2f6584c309eb6ea7164b8e59b",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy
(case="domain_constrants_include"
)
{
"policy": {
"project_id": "84697ab0-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "cc211d1f805a46409f0a3bdf12dd07a7",
"description": "e60c2e8711d746f6b49aa851888ad9e6",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_exclude"
)
{
"policy": {
"project_id": "84697bc8-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "b90d306beff745099e4e4922f72e170a",
"description": "3d29000252cb4334bad9dfda78b69fd2",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_exclude"
)
{
"policy": {
"project_id": "84697cd6-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "f932117f405d46d9891261cac5805c0a",
"description": "61016f044de84db4b4c9f2021faad432",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy
(case="domain_constrants_exclude"
)
{
"policy": {
"project_id": "84697dee-abe6-11ee-89d0-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "4fde29e9fe5a450bad42605176c22a16",
"description": "0fdca4d0c6364a11bc736b6f8a01d94a",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "8464cfe2-abe6-11ee-89d0-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "8464d0d2-abe6-11ee-89d0-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "8464d15e-abe6-11ee-89d0-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"8464d15e-abe6-11ee-89d0-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "8464cfe2-abe6-11ee-89d0-0242ac110002",
"admins": {
"identities": [],
"groups": [
{
"id": "8464d1e0-abe6-11ee-89d0-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": [
"8464d1e0-abe6-11ee-89d0-0242ac110002"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/847731fa-abe6-11ee-89d0-0242ac110002/ab4d3a67462e47f3a029f21ad47f6b45",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "b86b8b63709846ba863ec298ac562eac",
"description": "f15b1025961d4a6380e3f0118ea90262",
"client": "8477336c-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/847734fc-abe6-11ee-89d0-0242ac110002/452f4327debb46b1894f7d39163f906e",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "1478410f12b1447fb4ba0b4ae2cf0c35",
"description": "382d3f66555945f7b199e78dd4556995",
"client": "8477361e-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84773722-abe6-11ee-89d0-0242ac110002/a47eecc8df3d41a399eecef84d72f77a",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "a24786216b1349658a6514cbc87aa87f",
"description": "1bdd156ccb9a4c8f8a3572e56710eda2",
"client": "84773830-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84773948-abe6-11ee-89d0-0242ac110002/4a86fa56a064486db5f32c1729162445",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "2aa834d4ae0a4b3f95eda68a2c5553bf",
"description": "ca9b929d827c401e9882499d5b634a61",
"client": "84773a56-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84773b0a-abe6-11ee-89d0-0242ac110002/8758c7c16f384d218da0e0c4799faf13",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "6a19e4c462924c2f9db0c3bdf0d6215c",
"description": "88d217793a9d46c0b0d6a797db984a78",
"client": "84773c22-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84773cd6-abe6-11ee-89d0-0242ac110002/c8571293852c40b4882759625a46db80",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "211afe8f036a44f2b63376e7b4d2973d",
"description": "f29b12ebbabe4a58a578c0c4b6164872",
"client": "84773de4-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84773e98-abe6-11ee-89d0-0242ac110002/b6eaa069e13d40b790627a01128eee66",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "1973af9821cf4152b76aee8a7a7ace4e",
"description": "29867354118846c79112ae1ec74aa079",
"client": "84773fc4-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/847741ea-abe6-11ee-89d0-0242ac110002/449589a1e36e4aafbca1781999843846",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "3231da253ae943d38cf13eb88c6fbe09",
"description": "b5c9929d2aef4e7a82ad17a252f85ae1",
"client": "8477430c-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": [
{
"scope": "8477406e-abe6-11ee-89d0-0242ac110002",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "84774122-abe6-11ee-89d0-0242ac110002",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/847743fc-abe6-11ee-89d0-0242ac110002/7d100c6ceb0f4b58bf4e494d6cad9b43",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": true,
"required_domains": [],
"name": "d1246c61e6fe406088ff0f322393e794",
"description": "b287ac46e0d84559b44a1d14a567b9c5",
"client": "8477451e-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/847745dc-abe6-11ee-89d0-0242ac110002/84eaab7940614916b9a1cc416f83faf9",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "a0c1fcca07b641b2ac663b71de479182",
"description": "e691abfccf9746d4bcea288cdc24b2ae",
"client": "847746e0-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84774794-abe6-11ee-89d0-0242ac110002/47929d5516b34b2fb9a9180fa79537b3",
"allows_refresh_token": true,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "087a00ec55d94147a08b5d3c332c1ca5",
"description": "278adef96adc4460b0bad7dc636ceac6",
"client": "847748a2-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/84774974-abe6-11ee-89d0-0242ac110002/6f54579d76f34b7f9139e2b2754b0dc4",
"allows_refresh_token": false,
"id": "847730a6-abe6-11ee-89d0-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "cd2a1b0418e942399d547fd57e55844a",
"description": "e052bdc8bb694111ab90f12d0baf6ee8",
"client": "84774a78-abe6-11ee-89d0-0242ac110002",
"dependent_scopes": []
}
}
userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "8705122a-abe6-11ee-89d0-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "87051374-abe6-11ee-89d0-0242ac110002",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}