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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "a4e876924e524ce68b846065fe1afe54",
"project": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2feae-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd30052-84ee-11f1-a2e1-a66132a41a8a",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd30110-84ee-11f1-a2e1-a66132a41a8a",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd2fb66-84ee-11f1-a2e1-a66132a41a8a",
"client_type": "public_webapp_client"
}
}
create_client_credential (case="default")
{
"credential": {
"name": "foo",
"id": "ffd68d6c-84ee-11f1-a2e1-a66132a41a8a",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "ffd68e20-84ee-11f1-a2e1-a66132a41a8a",
"secret": "abc123"
}
}
create_client_credential (case="name")
{
"credential": {
"name": "19f952b407624259b70e2965dc22833e",
"id": "ffd68d6c-84ee-11f1-a2e1-a66132a41a8a",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "ffd68e20-84ee-11f1-a2e1-a66132a41a8a",
"secret": "abc123"
}
}
create_policy (case="default")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "ffbc5686-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="project_id_str")
{
"policy": {
"project_id": "ffbc5758-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "ffbc57ee-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="project_id_uuid")
{
"policy": {
"project_id": "ffbc58c0-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "ffbc5960-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="high_assurance")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "ffbc5a28-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="not_high_assurance")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "ffbc5bc2-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="required_mfa")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "ffbc5d20-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "ffbc5de8-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="display_name")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "8f66f0834aa149aeabfa3c7949e80817",
"description": "Controls access to Foo",
"id": "ffbc5f14-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="description")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "be3e0dd2d4534dd483a53099e1eb92c8",
"id": "ffbc6018-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="domain_constraints_include")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "ffbc60d6-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="empty_domain_constraints_include")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "ffbc6194-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="no_domain_constraints_include")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "ffbc623e-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="domain_constraints_exclude")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "ffbc62e8-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="empty_domain_constraints_exclude")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "ffbc6388-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_policy (case="no_domain_constraints_exclude")
{
"policy": {
"project_id": "ffbc5546-84ee-11f1-a2e1-a66132a41a8a",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "ffbc641e-84ee-11f1-a2e1-a66132a41a8a"
}
}
create_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "ffb830c4-84ee-11f1-a2e1-a66132a41a8a",
"admins": {
"identities": [
{
"identity_provider": "ffb831a0-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb83236-84ee-11f1-a2e1-a66132a41a8a",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"ffb83236-84ee-11f1-a2e1-a66132a41a8a"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "ffb830c4-84ee-11f1-a2e1-a66132a41a8a",
"admins": {
"identities": [],
"groups": [
{
"id": "ffb832b8-84ee-11f1-a2e1-a66132a41a8a",
"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": [
"ffb832b8-84ee-11f1-a2e1-a66132a41a8a"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffd9fc54-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="client_id_str")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fd4e-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffd9fde4-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fd4e-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="client_id_uuid")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fea2-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffd9ff38-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fea2-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda0064-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "a7386aa6cd824d6ba3d82340c11d195a",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda0154-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "699af8b9ac78446ab7f029a98696d50a",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/a2ab97788cb845f1ada115fcc4ae840f",
"allows_refresh_token": true,
"id": "ffda023a-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda02ee-84ee-11f1-a2e1-a66132a41a8a",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda03c0-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda0492-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": false,
"id": "ffda0546-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda05f0-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda06a4-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda074e-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
create_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffd9fb14-84ee-11f1-a2e1-a66132a41a8a/manage",
"allows_refresh_token": true,
"id": "ffda0938-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "ffd9fb14-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": [
{
"scope": "ffda07ee-84ee-11f1-a2e1-a66132a41a8a",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "ffda0884-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd5236e-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd76084-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffbf0b38-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffb9fed6-84ee-11f1-a2e1-a66132a41a8a",
"admins": {
"identities": [
{
"identity_provider": "ffb9ffbc-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffba0052-84ee-11f1-a2e1-a66132a41a8a",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"ffba0052-84ee-11f1-a2e1-a66132a41a8a"
],
"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": "ffdc1d0e-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffc01a82-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffc01a82-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd5da7a-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffc0cb12-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffc0ca04-84ee-11f1-a2e1-a66132a41a8a",
"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": "02cbaaa2-84ef-11f1-a2e1-a66132a41a8a",
"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": "ffbb598e-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffbb5a74-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffbab754-84ee-11f1-a2e1-a66132a41a8a",
"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": [
"ffb69ab6-84ee-11f1-a2e1-a66132a41a8a"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "ffb69b42-84ee-11f1-a2e1-a66132a41a8a",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "ffb6987c-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb69a02-84ee-11f1-a2e1-a66132a41a8a",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "ffb6987c-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb69ab6-84ee-11f1-a2e1-a66132a41a8a",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects (case="default")
{
"projects": [
{
"admin_ids": [
"ffb76522-84ee-11f1-a2e1-a66132a41a8a"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "ffb765b8-84ee-11f1-a2e1-a66132a41a8a",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "ffb7639c-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb76522-84ee-11f1-a2e1-a66132a41a8a",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"ffb76522-84ee-11f1-a2e1-a66132a41a8a"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "ffb76644-84ee-11f1-a2e1-a66132a41a8a",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "ffb7639c-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb7648c-84ee-11f1-a2e1-a66132a41a8a",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "ffb7639c-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb76522-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd81b8c-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd8eaee-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd8ebde-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd8eaee-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd8ebde-84ee-11f1-a2e1-a66132a41a8a",
"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": "ffd42306-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "043c0d76b211401ab7d0ecb0cc34e73c",
"id": "ffd424b4-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "ffd4259a-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "ffd4266c-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "ffd42734-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "ffd427fc-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "ffd429a0-84ee-11f1-a2e1-a66132a41a8a",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "ffd42ac2-84ee-11f1-a2e1-a66132a41a8a"
}
}
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": "ffd42be4-84ee-11f1-a2e1-a66132a41a8a",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "ffd42c70-84ee-11f1-a2e1-a66132a41a8a"
}
}
update_policy (case="default")
{
"policy": {
"project_id": "ffbd9b0e-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "358c13b198804af489405f097b106b2b",
"description": "bba005b0f3274725ba7f4b81ad074d5d",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_str")
{
"policy": {
"project_id": "ffbd9d48-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "56c2efc0bb3348079317e2eb07b41a2d",
"description": "130e39f8eaea4b0db393342af3c82cdd",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_uuid")
{
"policy": {
"project_id": "ffbd9ffa-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "93ea893e106a424fb3c0e13c54a50f8e",
"description": "b54da7d1cb874d9aa3ec81a73b786d71",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "ffbda2a2-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "d07174eb2d044cc2865f004e7317e391",
"description": "a4e7785f31f64ef98ee2bafb45cfef88",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="required_mfa")
{
"policy": {
"project_id": "ffbda464-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "0b8eae820654411abcea21a61f2b0300",
"description": "3d99df0da02c49de9815d570f4837654",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="not_required_mfa")
{
"policy": {
"project_id": "ffbda644-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "734bce4271374a799901fcbe7c98c9a5",
"description": "62c95ea464004902872c182d63bd66e2",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="display_name")
{
"policy": {
"project_id": "ffbda84c-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "cca6d301a5f54b548fb325c919c7de8d",
"description": "8dfd399845784f1b88cf3bcd110df70e",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="description")
{
"policy": {
"project_id": "ffbdaa36-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "412a57ed6c6e49d7a66444d938acde13",
"description": "ebc6c20ad1ed4b9d9ed0e1f81fa2a6f6",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_include")
{
"policy": {
"project_id": "ffbdabbc-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "1913d381b3454765bb5250336c53245c",
"description": "73bf8c96ff994488a206b184baf675fe",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_include")
{
"policy": {
"project_id": "ffbdad6a-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f7c49e85c72246b299790ed0cfaa4da2",
"description": "1a071d51c62f41758f40633c30b2659c",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy (case="domain_constrants_include")
{
"policy": {
"project_id": "ffbdaf04-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "accce685f07f4131b0d99538442b539d",
"description": "94d1c7503a1141b99431be22cf3a809c",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_exclude")
{
"policy": {
"project_id": "ffbdb0bc-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "dbe08868ae784562aec1026885d001a6",
"description": "23c0304b315342f4ad137a4fa9ef29f8",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_exclude")
{
"policy": {
"project_id": "ffbdb260-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "2ced752285f647fba6607788f95b355e",
"description": "57baf652ba93415fb5f47e400cca9fd7",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy (case="domain_constrants_exclude")
{
"policy": {
"project_id": "ffbdb3d2-84ee-11f1-a2e1-a66132a41a8a",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4fd06a8a993442e7a4eb24a77f52d2f0",
"description": "5139588e3cf444eea9c63866e84bd35e",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "ffb91430-84ee-11f1-a2e1-a66132a41a8a",
"admins": {
"identities": [
{
"identity_provider": "ffb9150c-84ee-11f1-a2e1-a66132a41a8a",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "ffb915a2-84ee-11f1-a2e1-a66132a41a8a",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"ffb915a2-84ee-11f1-a2e1-a66132a41a8a"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "ffb91430-84ee-11f1-a2e1-a66132a41a8a",
"admins": {
"identities": [],
"groups": [
{
"id": "ffb9162e-84ee-11f1-a2e1-a66132a41a8a",
"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": [
"ffb9162e-84ee-11f1-a2e1-a66132a41a8a"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb0c20-84ee-11f1-a2e1-a66132a41a8a/0e6470bc633b44bebc73964243fc7a47",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "d829445a3d5743e49135bb08a8c77498",
"description": "51a1e54d6b6d46ed9ea4b22e8cdcd2e2",
"client": "ffdb0d74-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb0eb4-84ee-11f1-a2e1-a66132a41a8a/08818ce2fdc84690be27a5e6095ddb99",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "f5c4ae4850ff486987d3a72c980e2a7f",
"description": "bd15b58646d544b693acc05480c2eb35",
"client": "ffdb0fcc-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb10c6-84ee-11f1-a2e1-a66132a41a8a/b577eb54e4ec449392769bc4e4714a34",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "8533a17015e1400092d607b75a1227c2",
"description": "cd371753c9394651b63958782abc0626",
"client": "ffdb11ca-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb12b0-84ee-11f1-a2e1-a66132a41a8a/7be53d7b149842eb87a3ad89db627f68",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "2fcf428bd17a48ab90ea8eed69134a3f",
"description": "c46187557fef455da19c11f2f7c7c40d",
"client": "ffdb13aa-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb145e-84ee-11f1-a2e1-a66132a41a8a/bb3828b96f56433b85a8e3114f855fe7",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "fb082cc327ca4c23973f8041ee34363a",
"description": "22c51a2abf5e4742a1ad4303503a276d",
"client": "ffdb1562-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb163e-84ee-11f1-a2e1-a66132a41a8a/5b19d594076b475b9950ef0c319728af",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "d7738334b3cf4a0d87f527f681b2f887",
"description": "1075cfcbbf6946eb81b21178da84b064",
"client": "ffdb174c-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb17f6-84ee-11f1-a2e1-a66132a41a8a/dd081c8302964ea78f281470d03176e1",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "5ae34bc488c446ccb083cce806871a47",
"description": "b3b3b52d91914a77b2376c1ecb4b8695",
"client": "ffdb18fa-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb1ad0-84ee-11f1-a2e1-a66132a41a8a/59dee0c0b66b409abeca0fb68bcb4695",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "beb4223fb31d449bb7a3c8575f0765f0",
"description": "e2c6fb9ab6544a2e8d7871b540ed0a60",
"client": "ffdb1bde-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": [
{
"scope": "ffdb199a-84ee-11f1-a2e1-a66132a41a8a",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "ffdb1a30-84ee-11f1-a2e1-a66132a41a8a",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb1cb0-84ee-11f1-a2e1-a66132a41a8a/11d90fd63a174fe99e0fcc0fa1380051",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": true,
"required_domains": [],
"name": "bb2702bb44574cb4a32b931785ebccba",
"description": "620ee96191764b04bf05fc48b2b95d5c",
"client": "ffdb1db4-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb1e86-84ee-11f1-a2e1-a66132a41a8a/cf695a305fe8439fb09f59db9cf7bcdd",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "905999e661d94fefa24fd43e3fdeab1f",
"description": "e890b1fadb3e430ca6265f3cdcf80939",
"client": "ffdb1f80-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb202a-84ee-11f1-a2e1-a66132a41a8a/f3a3228ce71146618408c5e8d5c37308",
"allows_refresh_token": true,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "5cef4b5b431e47afb48c0338eaffb3e7",
"description": "7ce7668778ad4c7e98b05b8bf143637a",
"client": "ffdb211a-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
update_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/ffdb21c4-84ee-11f1-a2e1-a66132a41a8a/68c58e84bd5a48aca1ad26fa16138eec",
"allows_refresh_token": false,
"id": "ffdb0aea-84ee-11f1-a2e1-a66132a41a8a",
"advertised": false,
"required_domains": [],
"name": "619ed1d5e07e488ab639d2d0b762f3ec",
"description": "99edfa8d44374b90a3da52a952c5fd18",
"client": "ffdb22b4-84ee-11f1-a2e1-a66132a41a8a",
"dependent_scopes": []
}
}
userinfo (case="unauthorized")
{
"errors": [
{
"status": "401",
"id": "02cbaaa2-84ef-11f1-a2e1-a66132a41a8a",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo (case="forbidden")
{
"errors": [
{
"status": "403",
"id": "02cbaca0-84ef-11f1-a2e1-a66132a41a8a",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}