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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "03e0ab783bdb49e3804037612cb6e10f",
"project": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69ead8-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69eca4-64e7-11f1-bc89-0e06982ac5f9",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69ed76-64e7-11f1-bc89-0e06982ac5f9",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c69e650-64e7-11f1-bc89-0e06982ac5f9",
"client_type": "public_webapp_client"
}
}
create_client_credential (case="default")
{
"credential": {
"name": "foo",
"id": "0c6d99c6-64e7-11f1-bc89-0e06982ac5f9",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "0c6d9a98-64e7-11f1-bc89-0e06982ac5f9",
"secret": "abc123"
}
}
create_client_credential (case="name")
{
"credential": {
"name": "7d807b7a4fc44f63be9de0cd7d221caa",
"id": "0c6d99c6-64e7-11f1-bc89-0e06982ac5f9",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "0c6d9a98-64e7-11f1-bc89-0e06982ac5f9",
"secret": "abc123"
}
}
create_policy (case="default")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "0c649970-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="project_id_str")
{
"policy": {
"project_id": "0c649a4c-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "0c649aec-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="project_id_uuid")
{
"policy": {
"project_id": "0c649bc8-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "0c649c72-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="high_assurance")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "0c649d44-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="not_high_assurance")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "0c649e02-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="required_mfa")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "0c649ec0-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "0c649f7e-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="display_name")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "0a1f51c218f149aea06d809d5aa7a9be",
"description": "Controls access to Foo",
"id": "0c64a0d2-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="description")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "7211866e94c74688bf2f453f1cf80e5c",
"id": "0c64a226-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="domain_constraints_include")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "0c64a2e4-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="empty_domain_constraints_include")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "0c64a3a2-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="no_domain_constraints_include")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "0c64a456-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="domain_constraints_exclude")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "0c64a500-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="empty_domain_constraints_exclude")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "0c64a5aa-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_policy (case="no_domain_constraints_exclude")
{
"policy": {
"project_id": "0c6497f4-64e7-11f1-bc89-0e06982ac5f9",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "0c64a654-64e7-11f1-bc89-0e06982ac5f9"
}
}
create_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "0c60421c-64e7-11f1-bc89-0e06982ac5f9",
"admins": {
"identities": [
{
"identity_provider": "0c604316-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c6043ac-64e7-11f1-bc89-0e06982ac5f9",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"0c6043ac-64e7-11f1-bc89-0e06982ac5f9"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "0c60421c-64e7-11f1-bc89-0e06982ac5f9",
"admins": {
"identities": [],
"groups": [
{
"id": "0c604438-64e7-11f1-bc89-0e06982ac5f9",
"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": [
"0c604438-64e7-11f1-bc89-0e06982ac5f9"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c8814fe-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="client_id_str")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c881620-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c8816ca-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c881620-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="client_id_uuid")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c881788-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c881832-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c881788-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c881a3a-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "7055583a2d8f4ec5a16b46d18fd5a75b",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c881b70-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "1183648e103242f38c423e0617737ff3",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/105eea3bc46840599695c7461ecdd9f5",
"allows_refresh_token": true,
"id": "0c881da0-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c881f3a-64e7-11f1-bc89-0e06982ac5f9",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c8820b6-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c882200-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": false,
"id": "0c88232c-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c882462-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c88257a-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c88264c-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
create_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8813a0-64e7-11f1-bc89-0e06982ac5f9/manage",
"allows_refresh_token": true,
"id": "0c882836-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "0c8813a0-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": [
{
"scope": "0c8826f6-64e7-11f1-bc89-0e06982ac5f9",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "0c8827a0-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c6c1eac-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c852370-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c66b516-64e7-11f1-bc89-0e06982ac5f9",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35,
"required_mfa": false
}
}
delete_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "0c6224ce-64e7-11f1-bc89-0e06982ac5f9",
"admins": {
"identities": [
{
"identity_provider": "0c6225c8-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c622668-64e7-11f1-bc89-0e06982ac5f9",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"0c622668-64e7-11f1-bc89-0e06982ac5f9"
],
"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": "0c8a5c64-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c677456-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c677456-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c6cdda6-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c683152-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c68304e-64e7-11f1-bc89-0e06982ac5f9",
"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": "0eefc228-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c638c06-64e7-11f1-bc89-0e06982ac5f9",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35,
"required_mfa": false
},
{
"high_assurance": true,
"domain_constraints_include": null,
"display_name": "No RedLight domain Policy",
"description": "Disallow access from @redlight.org",
"id": "0c638d00-64e7-11f1-bc89-0e06982ac5f9",
"domain_constraints_exclude": [
"redlight.org"
],
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35,
"required_mfa": false
}
]
}
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": "0c62e08a-64e7-11f1-bc89-0e06982ac5f9",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35,
"required_mfa": false
}
}
get_project (case="default")
{
"project": {
"admin_ids": [
"0c5e8ca6-64e7-11f1-bc89-0e06982ac5f9"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "0c5e8e0e-64e7-11f1-bc89-0e06982ac5f9",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "0c5e8706-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c5e8ac6-64e7-11f1-bc89-0e06982ac5f9",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "0c5e8706-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c5e8ca6-64e7-11f1-bc89-0e06982ac5f9",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects (case="default")
{
"projects": [
{
"admin_ids": [
"0c5f6fae-64e7-11f1-bc89-0e06982ac5f9"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "0c5f704e-64e7-11f1-bc89-0e06982ac5f9",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "0c5f6e1e-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c5f6fae-64e7-11f1-bc89-0e06982ac5f9",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"0c5f6fae-64e7-11f1-bc89-0e06982ac5f9"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "0c5f70da-64e7-11f1-bc89-0e06982ac5f9",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "0c5f6e1e-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c5f6f18-64e7-11f1-bc89-0e06982ac5f9",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "0c5f6e1e-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c5f6fae-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c85fca0-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c86dd3c-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c86de90-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c86dd3c-64e7-11f1-bc89-0e06982ac5f9",
"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": "0c86de90-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
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": "0c6b16f6-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "cfd59dd35e0645898bf4164dc633eb1d",
"id": "0c6b18c2-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "0c6b19a8-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "0c6b1a66-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "0c6b1b7e-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "0c6b1c5a-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "0c6b1d0e-64e7-11f1-bc89-0e06982ac5f9",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "0c6b1d90-64e7-11f1-bc89-0e06982ac5f9"
}
}
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": "0c6b1e30-64e7-11f1-bc89-0e06982ac5f9",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "0c6b1ebc-64e7-11f1-bc89-0e06982ac5f9"
}
}
update_policy (case="default")
{
"policy": {
"project_id": "0c659b18-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "fae8ba94e61349e48ff19cfb4017b119",
"description": "ddfda2e39d0149f283e4cb44aae34cc2",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_str")
{
"policy": {
"project_id": "0c659cf8-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "1d7a8adfc0b04043b081d573246f7678",
"description": "bb30fb2a90c14b38ad747685db689a84",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_uuid")
{
"policy": {
"project_id": "0c659f00-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "d5f30190ca124fed9c7a53bf48d0577d",
"description": "c30a4c214aab4141bbcc7641aa2f02d3",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "0c65a0b8-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "7bc6451f47cf4181912621ce6edd0e88",
"description": "ac0a61bb8d214ad3a692452175f7d0cb",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="required_mfa")
{
"policy": {
"project_id": "0c65a3b0-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "1093f5f0b8894517a8a9fbe97a8a139c",
"description": "81f02c35ff104aeeb281a81c0a58dee1",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="not_required_mfa")
{
"policy": {
"project_id": "0c65a52c-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "ef602da34db54bae85bccf72e10c5f29",
"description": "1cbdc919a9a4416e95a9c0944a67f182",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="display_name")
{
"policy": {
"project_id": "0c65a69e-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "2e0aa97096e248cf83e759527e725175",
"description": "769ed70865554497a440b0a9c267a577",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="description")
{
"policy": {
"project_id": "0c65a810-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "62e14fe7708546a1ac7acd360474a5eb",
"description": "54ff400cb16346a5b1e475d79fe92f19",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_include")
{
"policy": {
"project_id": "0c65a93c-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "8a3688b1f7ea44a680c478d8157ed719",
"description": "63330f9706d24a34a2e78bf54c6203ce",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_include")
{
"policy": {
"project_id": "0c65aa7c-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "1de0828e2fff41dda262e1b14fbb4df1",
"description": "1cc2299af59443cf8a915b716bcf635e",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy (case="domain_constrants_include")
{
"policy": {
"project_id": "0c65ab9e-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "b2044661178b4635a35182709a782db8",
"description": "953aeca8acd247e198f803921ea14c99",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_exclude")
{
"policy": {
"project_id": "0c65acca-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "5361d19f0a954743933cbe9466406083",
"description": "f363cf788f004fc4bfa88026016b42ba",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_exclude")
{
"policy": {
"project_id": "0c65adce-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "90c70778938b4e91ad4ba9d0e2c2145d",
"description": "86483613b7814154af1fab05d3d2c321",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy (case="domain_constrants_exclude")
{
"policy": {
"project_id": "0c65aed2-64e7-11f1-bc89-0e06982ac5f9",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "6b9c887c241b4495aa39212c2dce86fc",
"description": "f95ac3cbdb5340c9bf88bf12743a21f5",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "0c613a8c-64e7-11f1-bc89-0e06982ac5f9",
"admins": {
"identities": [
{
"identity_provider": "0c613b86-64e7-11f1-bc89-0e06982ac5f9",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "0c613c26-64e7-11f1-bc89-0e06982ac5f9",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"0c613c26-64e7-11f1-bc89-0e06982ac5f9"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "0c613a8c-64e7-11f1-bc89-0e06982ac5f9",
"admins": {
"identities": [],
"groups": [
{
"id": "0c613cb2-64e7-11f1-bc89-0e06982ac5f9",
"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": [
"0c613cb2-64e7-11f1-bc89-0e06982ac5f9"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c894806-64e7-11f1-bc89-0e06982ac5f9/74895f9fc77846a48ef375e3813c5241",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "dec618fe43a64510a189d84cedd105d7",
"description": "f257f57907da401286023b53b5e050f0",
"client": "0c89496e-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c894ac2-64e7-11f1-bc89-0e06982ac5f9/d34dca333038420a8d9583ee7e75f11f",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "d2846ac8240a4ca9aa10c8df0f943422",
"description": "695fd4feb4e0492ebd64dd74870520f6",
"client": "0c894bf8-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c894d06-64e7-11f1-bc89-0e06982ac5f9/24f2a487419a42938351ed63a4ce1ed0",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "c3a393b0e5b541019636c5d7fd9a8248",
"description": "cfc7c8ccae6946e481a61fcc0eebf235",
"client": "0c894e14-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c894f0e-64e7-11f1-bc89-0e06982ac5f9/1bdf636739044ed6b67efa1bc21a1544",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "eb3f38fde26d4138bec28197206733ec",
"description": "bd3576a41c134e798e09b091a881b83e",
"client": "0c89501c-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8950e4-64e7-11f1-bc89-0e06982ac5f9/55ae0e9324ae444a9e55304be1b8d4a9",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "2f1bab2e313e46a8b851919da98175cc",
"description": "ce2c38ff2578412bb9ed1e209285add7",
"client": "0c895210-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8952e2-64e7-11f1-bc89-0e06982ac5f9/9b5caeaae7594accb2d86b46db8e5f0a",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "edd2d3f375534ea5ac1c1a3e740436ee",
"description": "fee6539b259b446dadd29df660b8d84c",
"client": "0c8953fa-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c8954c2-64e7-11f1-bc89-0e06982ac5f9/d494aab6230d4838a3a84c76a0b79451",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "ab66601a30db44498734e67b7e587404",
"description": "2b4c11c47b404f608c188ec2c1f26ef8",
"client": "0c895710-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c895990-64e7-11f1-bc89-0e06982ac5f9/3ac1b558d5964fc5b3f1c0bb64d4bb8d",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "45fc436553c947558b780688e348702c",
"description": "def59d1bca0d4c82bb126c8f65a2c71d",
"client": "0c895ac6-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": [
{
"scope": "0c89581e-64e7-11f1-bc89-0e06982ac5f9",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "0c8958d2-64e7-11f1-bc89-0e06982ac5f9",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c895bb6-64e7-11f1-bc89-0e06982ac5f9/f5f7baa8973b49a397c6742d22d95bad",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": true,
"required_domains": [],
"name": "e7996f9657ee4faaa45d90a2fa3178cf",
"description": "164df421dd9d4b7e99f7a0e012a41910",
"client": "0c895cd8-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c895da0-64e7-11f1-bc89-0e06982ac5f9/40e8b5a896704f9d89c883b876141ca6",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "13de03ba257c483c9312344e90255895",
"description": "8c82747bce3a4d8789b89fa164319d0c",
"client": "0c895ea4-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c895f58-64e7-11f1-bc89-0e06982ac5f9/8549e922c9dc403e81befeb8106b44e2",
"allows_refresh_token": true,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "94fa62472c1a40cb8d8b5ada19ae7b8e",
"description": "d24148ea1eb94677bfe395a5952432a3",
"client": "0c89605c-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
update_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/0c896110-64e7-11f1-bc89-0e06982ac5f9/de4223aaeca349dd84d652a2317ac096",
"allows_refresh_token": false,
"id": "0c8946a8-64e7-11f1-bc89-0e06982ac5f9",
"advertised": false,
"required_domains": [],
"name": "027c470572204ef09410b7ef60112808",
"description": "ab1cc92f96634e73bc6db9f0aaa93227",
"client": "0c896214-64e7-11f1-bc89-0e06982ac5f9",
"dependent_scopes": []
}
}
userinfo (case="unauthorized")
{
"errors": [
{
"status": "401",
"id": "0eefc228-64e7-11f1-bc89-0e06982ac5f9",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo (case="forbidden")
{
"errors": [
{
"status": "403",
"id": "0eefc3fe-64e7-11f1-bc89-0e06982ac5f9",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}