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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "5ad7cc760bc24b558e7f33cad57368bf",
"project": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "94846940-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "94846a8a-6342-11f0-91ba-4e341266ecbe",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "94846b20-6342-11f0-91ba-4e341266ecbe",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"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": "948466fc-6342-11f0-91ba-4e341266ecbe",
"client_type": "public_webapp_client"
}
}
create_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "9487eb60-6342-11f0-91ba-4e341266ecbe",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "9487ebf6-6342-11f0-91ba-4e341266ecbe",
"secret": "abc123"
}
}
create_client_credential
(case="name"
)
{
"credential": {
"name": "c148863640964e09a0aabca9301df9cc",
"id": "9487eb60-6342-11f0-91ba-4e341266ecbe",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "9487ebf6-6342-11f0-91ba-4e341266ecbe",
"secret": "abc123"
}
}
create_policy
(case="default"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "947f807e-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "947f8146-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "947f81dc-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "947f829a-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "947f831c-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="high_assurance"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "947f83d0-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="not_high_assurance"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "947f8470-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="required_mfa"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "947f84fc-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "947f8588-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="display_name"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "f1984678e4c34eed819414da074e8a29",
"description": "Controls access to Foo",
"id": "947f86b4-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="description"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "282647b4712f46c6b752b7944e0da8ca",
"id": "947f877c-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="domain_constraints_include"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "947f8812-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="empty_domain_constraints_include"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "947f889e-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="no_domain_constraints_include"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "947f892a-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="domain_constraints_exclude"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "947f89c0-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="empty_domain_constraints_exclude"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "947f8a42-6342-11f0-91ba-4e341266ecbe"
}
}
create_policy
(case="no_domain_constraints_exclude"
)
{
"policy": {
"project_id": "947f7f02-6342-11f0-91ba-4e341266ecbe",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "947f8ad8-6342-11f0-91ba-4e341266ecbe"
}
}
create_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "947b36c2-6342-11f0-91ba-4e341266ecbe",
"admins": {
"identities": [
{
"identity_provider": "947b3780-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947b37f8-6342-11f0-91ba-4e341266ecbe",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"947b37f8-6342-11f0-91ba-4e341266ecbe"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "947b36c2-6342-11f0-91ba-4e341266ecbe",
"admins": {
"identities": [],
"groups": [
{
"id": "947b3866-6342-11f0-91ba-4e341266ecbe",
"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": [
"947b3866-6342-11f0-91ba-4e341266ecbe"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b3e64-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="client_id_str"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3f40-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b3fc2-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3f40-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="client_id_uuid"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b404e-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b40d0-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b404e-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b41b6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "1764c46b28084462bcb5c8c9e7f8021e",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b4274-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "191bc7f6e4384f849892c7862d8aee8c",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/8f0f3db88f9c44fa83a56b9f4d29dfed",
"allows_refresh_token": true,
"id": "948b431e-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b43aa-6342-11f0-91ba-4e341266ecbe",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b4486-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b485a-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": false,
"id": "948b48f0-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b4986-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b4a08-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b4a94-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
create_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948b3d4c-6342-11f0-91ba-4e341266ecbe/manage",
"allows_refresh_token": true,
"id": "948b4c24-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "948b3d4c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": [
{
"scope": "948b4b16-6342-11f0-91ba-4e341266ecbe",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "948b4bac-6342-11f0-91ba-4e341266ecbe",
"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": "94868130-6342-11f0-91ba-4e341266ecbe",
"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": "9488b48c-6342-11f0-91ba-4e341266ecbe",
"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": "9481512e-6342-11f0-91ba-4e341266ecbe",
"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": "947ce508-6342-11f0-91ba-4e341266ecbe",
"admins": {
"identities": [
{
"identity_provider": "947ce6e8-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947ce76a-6342-11f0-91ba-4e341266ecbe",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"947ce76a-6342-11f0-91ba-4e341266ecbe"
],
"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": "948d2f94-6342-11f0-91ba-4e341266ecbe",
"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": "9482241e-6342-11f0-91ba-4e341266ecbe",
"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": "9482241e-6342-11f0-91ba-4e341266ecbe",
"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": "9487358a-6342-11f0-91ba-4e341266ecbe",
"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": "9482cad6-6342-11f0-91ba-4e341266ecbe",
"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": "9482ca0e-6342-11f0-91ba-4e341266ecbe",
"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": "96c129c8-6342-11f0-91ba-4e341266ecbe",
"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": "947e4e20-6342-11f0-91ba-4e341266ecbe",
"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": "947e4ede-6342-11f0-91ba-4e341266ecbe",
"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": "947dadc6-6342-11f0-91ba-4e341266ecbe",
"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": [
"94799754-6342-11f0-91ba-4e341266ecbe"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "947997cc-6342-11f0-91ba-4e341266ecbe",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "94799538-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947996be-6342-11f0-91ba-4e341266ecbe",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "94799538-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "94799754-6342-11f0-91ba-4e341266ecbe",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects
(case="default"
)
{
"projects": [
{
"admin_ids": [
"947a4fc8-6342-11f0-91ba-4e341266ecbe"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "947a5040-6342-11f0-91ba-4e341266ecbe",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "947a4e74-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947a4fc8-6342-11f0-91ba-4e341266ecbe",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"947a4fc8-6342-11f0-91ba-4e341266ecbe"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "947a50c2-6342-11f0-91ba-4e341266ecbe",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "947a4e74-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947a4f46-6342-11f0-91ba-4e341266ecbe",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "947a4e74-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947a4fc8-6342-11f0-91ba-4e341266ecbe",
"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": "948969d6-6342-11f0-91ba-4e341266ecbe",
"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": "948a2ace-6342-11f0-91ba-4e341266ecbe",
"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": "948a2b8c-6342-11f0-91ba-4e341266ecbe",
"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": "948a2ace-6342-11f0-91ba-4e341266ecbe",
"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": "948a2b8c-6342-11f0-91ba-4e341266ecbe",
"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": "96c129c8-6342-11f0-91ba-4e341266ecbe",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
oauth2_userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "96c12ad6-6342-11f0-91ba-4e341266ecbe",
"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": "948593ec-6342-11f0-91ba-4e341266ecbe"
}
}
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": "78c09144682c4446a21a5e5c50cafba3",
"id": "94859554-6342-11f0-91ba-4e341266ecbe"
}
}
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": "948595f4-6342-11f0-91ba-4e341266ecbe"
}
}
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": "94859680-6342-11f0-91ba-4e341266ecbe"
}
}
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": "94859720-6342-11f0-91ba-4e341266ecbe"
}
}
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": "948597de-6342-11f0-91ba-4e341266ecbe"
}
}
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": "94859860-6342-11f0-91ba-4e341266ecbe",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "948598ce-6342-11f0-91ba-4e341266ecbe"
}
}
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": "94859950-6342-11f0-91ba-4e341266ecbe",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "948599b4-6342-11f0-91ba-4e341266ecbe"
}
}
update_policy
(case="default"
)
{
"policy": {
"project_id": "9480759c-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "9c3780026c80466c89294f63beadd59d",
"description": "3748f6b391c341e2bdd67c9c787eb842",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "948076d2-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f931e1683b52481590179adcdc3e0719",
"description": "26a7efb26a824562b1aea5a24c483fe5",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "94807858-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "e491a83d24aa4ad7aa0c256411e0c193",
"description": "731f4b9d842445b9a2543d446718ffa9",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "948079c0-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "b19c055aa1c1452ba3530d8c6974c4ef",
"description": "18411aff4e084d779daf93bcc6964a78",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="required_mfa"
)
{
"policy": {
"project_id": "94807a92-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "c4f3abd5e75c4513aede7b64fb5b9762",
"description": "d3f0304e5f904989b2f97ab78bcf1711",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="not_required_mfa"
)
{
"policy": {
"project_id": "94807b5a-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "6f005494f8d043638ad4d97af5d6ad52",
"description": "aeb4bc474c3145b5a1841553cd1e5af8",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="display_name"
)
{
"policy": {
"project_id": "94807ce0-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "69af55887457485298d29bdcc0ab3662",
"description": "fb4dff4d7fc44048b6fd8153b993dd61",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="description"
)
{
"policy": {
"project_id": "94807e02-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "247456a84bc14736b3c7ba3c5c72e6f6",
"description": "d471f95f98a842c69018bfabe77a54aa",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_include"
)
{
"policy": {
"project_id": "94807ef2-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "fcfdc58fbf9142b7a1826d52a1af31ba",
"description": "1ebed884682f4daf876b6c8aa1e891a3",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_include"
)
{
"policy": {
"project_id": "94807fd8-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f35956cad9744c228a5d79c7ce33515b",
"description": "9270ac3e97d74c6fb666134b2eda399e",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy
(case="domain_constrants_include"
)
{
"policy": {
"project_id": "948080a0-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "2a3b86880fe34023a607b78762dd2ee0",
"description": "553670b04f3e42f5ac3b7445ce57cf08",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_exclude"
)
{
"policy": {
"project_id": "9480815e-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f8c2f48370a14e9fa48c1c200828524a",
"description": "5061597dabf84327a911b8987ce4d096",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_exclude"
)
{
"policy": {
"project_id": "9480823a-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "d24cd23b42cd4807bd2c93a474511746",
"description": "8a6bb9d5cd514228a55c3149a32bfa34",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy
(case="domain_constrants_exclude"
)
{
"policy": {
"project_id": "9480830c-6342-11f0-91ba-4e341266ecbe",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "e9b27ec50f174dcd83bd03af7857ed8b",
"description": "101abff832d14a37a4da24e06d03113f",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "947c1f88-6342-11f0-91ba-4e341266ecbe",
"admins": {
"identities": [
{
"identity_provider": "947c2046-6342-11f0-91ba-4e341266ecbe",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "947c20c8-6342-11f0-91ba-4e341266ecbe",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"947c20c8-6342-11f0-91ba-4e341266ecbe"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "947c1f88-6342-11f0-91ba-4e341266ecbe",
"admins": {
"identities": [],
"groups": [
{
"id": "947c2136-6342-11f0-91ba-4e341266ecbe",
"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": [
"947c2136-6342-11f0-91ba-4e341266ecbe"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c4fc0-6342-11f0-91ba-4e341266ecbe/ae5c37f0d73c4147936f0592bd8e0f34",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "7157d633d5684fcf9b658313ac76e4b7",
"description": "46279c023ea14f79a634bb2796c33261",
"client": "948c50c4-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c51be-6342-11f0-91ba-4e341266ecbe/bfcb68b5b711447a9da91afaea04dbe8",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "d4e77659314a4652921fc1348cba10e1",
"description": "a0fdd4da469e42468a7a9a1501e96712",
"client": "948c529a-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c5358-6342-11f0-91ba-4e341266ecbe/39b7e5e10af549f4ae3ef04aea3549f9",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "7a9b8150f49f4915963727630ec9c03a",
"description": "2482f9016ef1466b996cff3432ccff1c",
"client": "948c542a-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c54d4-6342-11f0-91ba-4e341266ecbe/211f5ddc32b7484085df8f21d7278a3e",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "1599ee09f272466b961719150a651f46",
"description": "8d6576f4c01f490ebd7a80fd9823e09f",
"client": "948c559c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c5646-6342-11f0-91ba-4e341266ecbe/7c2904fbb340454dbbf00979ae107120",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "44b5a285f2654fc881dba3b8d60f194f",
"description": "31d366e59b2440b4be545cdca462f207",
"client": "948c572c-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c57b8-6342-11f0-91ba-4e341266ecbe/20a48459342d49c8bc047a6060a64a10",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "6c55cefa2f424f149d26d41b877009bd",
"description": "0a3fe5eeb21440fab0646a319d3fb3df",
"client": "948c588a-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c590c-6342-11f0-91ba-4e341266ecbe/6a769096935e4a0e867fab980bfd7f74",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "8c45b7b0a065437bb6b3f5ab4efc711e",
"description": "fb76d9260ec84ca19133222f33ce4d55",
"client": "948c59d4-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c5b64-6342-11f0-91ba-4e341266ecbe/9b650fbe2c7e4c0593c2916fa124e6e6",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "3865de647e1343bf9bf2c8559331335c",
"description": "c0f0ba2bf8764301b1c6058897f662f0",
"client": "948c5c40-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": [
{
"scope": "948c5a60-6342-11f0-91ba-4e341266ecbe",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "948c5ad8-6342-11f0-91ba-4e341266ecbe",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c5cfe-6342-11f0-91ba-4e341266ecbe/693c297202594658aa0226a44f39277d",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": true,
"required_domains": [],
"name": "52adcad1964547ebb17d9894f778abf9",
"description": "2b98a6fdd32d4b55937c45b65924afe4",
"client": "948c5dda-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c5e70-6342-11f0-91ba-4e341266ecbe/39f1f5e1df894883811d1b811d0fb402",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "ee5d172bad1a4668afad149876fa9d8f",
"description": "bbf349d03e184becaf9cdbdc5b70d365",
"client": "948c5f2e-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c5fb0-6342-11f0-91ba-4e341266ecbe/fdc17a129b7d4090b2e9256173c4fe50",
"allows_refresh_token": true,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "a8dad95a7a00464ab1487f746f778657",
"description": "679e6b621a484f9786b3b2f3db21be4c",
"client": "948c60a0-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
update_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/948c612c-6342-11f0-91ba-4e341266ecbe/6e7f4fd344ca4dfca4aa5c0a745253e3",
"allows_refresh_token": false,
"id": "948c4ec6-6342-11f0-91ba-4e341266ecbe",
"advertised": false,
"required_domains": [],
"name": "71ef357b0a534d43838b56d42e592ad3",
"description": "384b24b1db84432ab52675f77945db0d",
"client": "948c61f4-6342-11f0-91ba-4e341266ecbe",
"dependent_scopes": []
}
}
userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "96c129c8-6342-11f0-91ba-4e341266ecbe",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "96c12ad6-6342-11f0-91ba-4e341266ecbe",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}