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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "11c9d5ba7a3341a09fc3bae4155d1ff6",
"project": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b8051a68-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b8051ba8-26e2-11f1-9338-069b55602861",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b8051c48-26e2-11f1-9338-069b55602861",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"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": "b805181a-26e2-11f1-9338-069b55602861",
"client_type": "public_webapp_client"
}
}
create_client_credential (case="default")
{
"credential": {
"name": "foo",
"id": "b8093a62-26e2-11f1-9338-069b55602861",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "b8093b02-26e2-11f1-9338-069b55602861",
"secret": "abc123"
}
}
create_client_credential (case="name")
{
"credential": {
"name": "6617b4e6c94f4bf0b8fd7a13b97207ba",
"id": "b8093a62-26e2-11f1-9338-069b55602861",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "b8093b02-26e2-11f1-9338-069b55602861",
"secret": "abc123"
}
}
create_policy (case="default")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "b7efc366-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="project_id_str")
{
"policy": {
"project_id": "b7efc442-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "b7efc4e2-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="project_id_uuid")
{
"policy": {
"project_id": "b7efc5aa-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "b7efc636-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="high_assurance")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "b7efc6e0-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="not_high_assurance")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "b7efc780-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="required_mfa")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "b7efc816-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "b7efc8a2-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="display_name")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "0cc49c98d92e4c6ea34622f8e5b69877",
"description": "Controls access to Foo",
"id": "b7efc9ba-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="description")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "8ab7a0a2bd694b7b8439e0fbb06c2d41",
"id": "b7efcaa0-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="domain_constraints_include")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "b7efcb4a-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="empty_domain_constraints_include")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "b7efcbe0-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="no_domain_constraints_include")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "b7efcc8a-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="domain_constraints_exclude")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "b7efcd34-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="empty_domain_constraints_exclude")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "b7efcdca-26e2-11f1-9338-069b55602861"
}
}
create_policy (case="no_domain_constraints_exclude")
{
"policy": {
"project_id": "b7efc21c-26e2-11f1-9338-069b55602861",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "b7efce56-26e2-11f1-9338-069b55602861"
}
}
create_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "b7eaf8fe-26e2-11f1-9338-069b55602861",
"admins": {
"identities": [
{
"identity_provider": "b7eaf9c6-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7eafa48-26e2-11f1-9338-069b55602861",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"b7eafa48-26e2-11f1-9338-069b55602861"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "b7eaf8fe-26e2-11f1-9338-069b55602861",
"admins": {
"identities": [],
"groups": [
{
"id": "b7eafce6-26e2-11f1-9338-069b55602861",
"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": [
"b7eafce6-26e2-11f1-9338-069b55602861"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d3be4-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="client_id_str")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3cc0-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d3d42-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3cc0-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="client_id_uuid")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3de2-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d3e6e-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3de2-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d3f68-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "886fea69a94346c48576acc19b61cdb6",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d4030-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "841fd5f8f90b4534bac086c98aed066d",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/a94c6e0d0148442ca98354114d591b1f",
"allows_refresh_token": true,
"id": "b80d40ee-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d417a-26e2-11f1-9338-069b55602861",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d422e-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d42d8-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": false,
"id": "b80d4378-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d440e-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d44cc-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d4562-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
create_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80d3ab8-26e2-11f1-9338-069b55602861/manage",
"allows_refresh_token": true,
"id": "b80d471a-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "b80d3ab8-26e2-11f1-9338-069b55602861",
"dependent_scopes": [
{
"scope": "b80d45f8-26e2-11f1-9338-069b55602861",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "b80d4698-26e2-11f1-9338-069b55602861",
"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": "b8077c5e-26e2-11f1-9338-069b55602861",
"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": "b80a335e-26e2-11f1-9338-069b55602861",
"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": "b801c354-26e2-11f1-9338-069b55602861",
"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": "b7ecf44c-26e2-11f1-9338-069b55602861",
"admins": {
"identities": [
{
"identity_provider": "b7ecf50a-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7ecf596-26e2-11f1-9338-069b55602861",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"b7ecf596-26e2-11f1-9338-069b55602861"
],
"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": "b80f902e-26e2-11f1-9338-069b55602861",
"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": "b802b8fe-26e2-11f1-9338-069b55602861",
"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": "b802b8fe-26e2-11f1-9338-069b55602861",
"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": "b8085b2e-26e2-11f1-9338-069b55602861",
"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": "b80367d6-26e2-11f1-9338-069b55602861",
"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": "b803645c-26e2-11f1-9338-069b55602861",
"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": "ba12e8d0-26e2-11f1-9338-069b55602861",
"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": "b7ee7f6a-26e2-11f1-9338-069b55602861",
"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": "b7ee8032-26e2-11f1-9338-069b55602861",
"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": "b7eddda8-26e2-11f1-9338-069b55602861",
"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": [
"b7e939a6-26e2-11f1-9338-069b55602861"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "b7e93a6e-26e2-11f1-9338-069b55602861",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "b7e9374e-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7e93906-26e2-11f1-9338-069b55602861",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "b7e9374e-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7e939a6-26e2-11f1-9338-069b55602861",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects (case="default")
{
"projects": [
{
"admin_ids": [
"b7e9f0da-26e2-11f1-9338-069b55602861"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "b7e9f18e-26e2-11f1-9338-069b55602861",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "b7e9ef7c-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7e9f0da-26e2-11f1-9338-069b55602861",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"b7e9f0da-26e2-11f1-9338-069b55602861"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "b7e9f21a-26e2-11f1-9338-069b55602861",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "b7e9ef7c-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7e9f04e-26e2-11f1-9338-069b55602861",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "b7e9ef7c-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7e9f0da-26e2-11f1-9338-069b55602861",
"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": "b80b0e46-26e2-11f1-9338-069b55602861",
"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": "b80c0292-26e2-11f1-9338-069b55602861",
"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": "b80c035a-26e2-11f1-9338-069b55602861",
"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": "b80c0292-26e2-11f1-9338-069b55602861",
"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": "b80c035a-26e2-11f1-9338-069b55602861",
"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": "b806621a-26e2-11f1-9338-069b55602861"
}
}
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": "2ec62211880b4e87b28aaf3b52e5a231",
"id": "b8066382-26e2-11f1-9338-069b55602861"
}
}
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": "b8066440-26e2-11f1-9338-069b55602861"
}
}
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": "b80664e0-26e2-11f1-9338-069b55602861"
}
}
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": "b8066580-26e2-11f1-9338-069b55602861"
}
}
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": "b806662a-26e2-11f1-9338-069b55602861"
}
}
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": "b80666b6-26e2-11f1-9338-069b55602861",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "b806672e-26e2-11f1-9338-069b55602861"
}
}
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": "b80667ba-26e2-11f1-9338-069b55602861",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "b8066832-26e2-11f1-9338-069b55602861"
}
}
update_policy (case="default")
{
"policy": {
"project_id": "b800ba36-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "9909ede5341c4eada7d5d342ce31583b",
"description": "8e09e87176854409b6db2e4840fd5dd1",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_str")
{
"policy": {
"project_id": "b800bbc6-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "529e8bd850424ed3b520f208d87e0c5c",
"description": "7f19e78fcbc747089b0b710fdafd6e6e",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_uuid")
{
"policy": {
"project_id": "b800bd4c-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "3d0f3f0bd1434c07b45a2bd5040acccf",
"description": "8d03400b665e4b7a8552183dd6331b6a",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "b800bec8-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "9eb6772b73074addbc1ff1506a9af79f",
"description": "ca35ed2d6c8449f4ab2a86b8110e991b",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="required_mfa")
{
"policy": {
"project_id": "b800bfae-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "103648ca56464663afaf1583eaa89694",
"description": "c577733b70704db69f25da5bc3d05692",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="not_required_mfa")
{
"policy": {
"project_id": "b800c094-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4738121ad42843099678a0282e8dad45",
"description": "4473fbfbfe8744bd91042b64560b6f5d",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="display_name")
{
"policy": {
"project_id": "b800c1a2-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "21349130550b4f9b8a881d35a83a4983",
"description": "17e777ad57594cdd825e76294264ebba",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="description")
{
"policy": {
"project_id": "b800c2c4-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "85f734c174d44a57ac8f13f349de8319",
"description": "38468addd0414b80b455a971cca4dbe4",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_include")
{
"policy": {
"project_id": "b800c3b4-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "55a0f1d4d2054cc5943203662375c190",
"description": "d90e82228622475db7d4b434358bde54",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_include")
{
"policy": {
"project_id": "b800c490-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "be3117f4f1f54661ac220ba6720ae5b5",
"description": "30b0fcd3246b45ad929dd74f6ca534da",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy (case="domain_constrants_include")
{
"policy": {
"project_id": "b800c562-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "31ca9eb7b2e74d3d92a01fbc0d3f6d4e",
"description": "fd43b28e690b4e48b0aaa3129d84dcba",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_exclude")
{
"policy": {
"project_id": "b800c63e-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "9405fb2d427b44adaf777055cd5309d7",
"description": "244d0d751dd94896b44f0887e2326d66",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_exclude")
{
"policy": {
"project_id": "b800c710-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "6279458c74904a9a8d16367698018d86",
"description": "cccf8c9887744a57afecb8ae3c6dc542",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy (case="domain_constrants_exclude")
{
"policy": {
"project_id": "b800c7ec-26e2-11f1-9338-069b55602861",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4e3cf0a76cf2429fafec48153d5e1bc1",
"description": "210852670ff2404c8ef3de5001cda362",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "b7ec03ca-26e2-11f1-9338-069b55602861",
"admins": {
"identities": [
{
"identity_provider": "b7ec0492-26e2-11f1-9338-069b55602861",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "b7ec051e-26e2-11f1-9338-069b55602861",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"b7ec051e-26e2-11f1-9338-069b55602861"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "b7ec03ca-26e2-11f1-9338-069b55602861",
"admins": {
"identities": [],
"groups": [
{
"id": "b7ec0596-26e2-11f1-9338-069b55602861",
"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": [
"b7ec0596-26e2-11f1-9338-069b55602861"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e71e4-26e2-11f1-9338-069b55602861/d903868fee63444bb3ee805441c85590",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "841a7d4ef8cc4149a408cb60795ec051",
"description": "73c0e0c928d44ba588c5e1b0b2abedb0",
"client": "b80e72fc-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e740a-26e2-11f1-9338-069b55602861/26daee770172487690ed3590706498a9",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "d97aa35ba8eb4bc79193245409ee7bc6",
"description": "271246c7b29949ec868bb1f70a397196",
"client": "b80e74f0-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e75ae-26e2-11f1-9338-069b55602861/0338573d1bae43638768969c74e1b335",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "f22af43af09742a39e09bff7994c6631",
"description": "f3d7dcdee0624d79b6b8ecba55835fbd",
"client": "b80e7694-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e7748-26e2-11f1-9338-069b55602861/c2a028b76362467f9b859547bb3fdc69",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "fbf6f7a1736240e3876c821257939ac3",
"description": "0324c36831064ab7a25a016addf33884",
"client": "b80e782e-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e78c4-26e2-11f1-9338-069b55602861/8bda5100a91f484e9bf62b7081560ec7",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "3c4d75805fc942ba854dc809da5b654e",
"description": "3dba8d00a5f741aebda616ead3034572",
"client": "b80e79a0-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e7a5e-26e2-11f1-9338-069b55602861/1ee252d228514c099961ef60a34004cb",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "1de0ee753ade4c8f94dd4d8e01c3297f",
"description": "e6a518f4548f4f0ab5c630f53cc1bd76",
"client": "b80e7b30-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e7bc6-26e2-11f1-9338-069b55602861/a7342faf73614ceca8ba469d87daa138",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "bdc735807110482f8df56b2663f06ecd",
"description": "4f9f9d2778e44f0a81c55d6ab0d8bb30",
"client": "b80e7c98-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e7e3c-26e2-11f1-9338-069b55602861/cf8934f3e75a454fb2b117db2d994da9",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "c39778edf80f46418ee8fda0b732096d",
"description": "54d1ede9428847afb52caec27d913100",
"client": "b80e7f2c-26e2-11f1-9338-069b55602861",
"dependent_scopes": [
{
"scope": "b80e7d24-26e2-11f1-9338-069b55602861",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "b80e7da6-26e2-11f1-9338-069b55602861",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e7fcc-26e2-11f1-9338-069b55602861/3a259026d9054c759026eab5ea952b07",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": true,
"required_domains": [],
"name": "cb1b69a632534d10a078e6e71bff51c2",
"description": "10b45427904c4e8b89f050267461f25a",
"client": "b80e80a8-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e8152-26e2-11f1-9338-069b55602861/f59ccb84a7d648968f69404a41f9070c",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "a948a3356b784d74ac92800e68c1587c",
"description": "59d83ccc05644b9ab216ff5368c19e8c",
"client": "b80e8224-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e8314-26e2-11f1-9338-069b55602861/7972809805e5462dbc89ca3df1f62912",
"allows_refresh_token": true,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "d217f6224c8f422b9f9782aac5249687",
"description": "99818ac3087442a888afffb070e55bdb",
"client": "b80e83fa-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
update_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/b80e8490-26e2-11f1-9338-069b55602861/7ceeef4362914e35b718f39211be53e5",
"allows_refresh_token": false,
"id": "b80e70e0-26e2-11f1-9338-069b55602861",
"advertised": false,
"required_domains": [],
"name": "66296865ec1444f09e66f4750f08f81b",
"description": "913fb71ca2374cb996be126687736376",
"client": "b80e8562-26e2-11f1-9338-069b55602861",
"dependent_scopes": []
}
}
userinfo (case="unauthorized")
{
"errors": [
{
"status": "401",
"id": "ba12e8d0-26e2-11f1-9338-069b55602861",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo (case="forbidden")
{
"errors": [
{
"status": "403",
"id": "ba12e9f2-26e2-11f1-9338-069b55602861",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}