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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "93fe1abaf63248918351f37f76f1bb26",
    "project": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505ec24-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505ee0e-f1a4-11f0-b6b6-fe11899d00fb",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505eee0-f1a4-11f0-b6b6-fe11899d00fb",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2505e9ae-f1a4-11f0-b6b6-fe11899d00fb",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "250ae526-f1a4-11f0-b6b6-fe11899d00fb",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "250ae5e4-f1a4-11f0-b6b6-fe11899d00fb",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "176ef6ae5e4f4a3f9431f36b57035bcd",
    "id": "250ae526-f1a4-11f0-b6b6-fe11899d00fb",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "250ae5e4-f1a4-11f0-b6b6-fe11899d00fb",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "24ff47d4-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "24ff48ec-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "24ff4996-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "24ff4b9e-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "24ff4ca2-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "24ff4d92-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "24ff4e5a-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "24ff4f0e-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "24ff4fae-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "22d24bb5751b40bd9d96dd787a48cfd8",
    "description": "Controls access to Foo",
    "id": "24ff50da-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "60f8ea4855ac4c949bf58647550abb63",
    "id": "24ff51d4-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "24ff5288-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "24ff5332-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "24ff53dc-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "24ff547c-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "24ff551c-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "24ff4676-f1a4-11f0-b6b6-fe11899d00fb",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "24ff55c6-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "24f9610c-f1a4-11f0-b6b6-fe11899d00fb",
    "admins": {
      "identities": [
        {
          "identity_provider": "24f961f2-f1a4-11f0-b6b6-fe11899d00fb",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "24f96288-f1a4-11f0-b6b6-fe11899d00fb",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "24f96288-f1a4-11f0-b6b6-fe11899d00fb"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "24f9610c-f1a4-11f0-b6b6-fe11899d00fb",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "24f96314-f1a4-11f0-b6b6-fe11899d00fb",
          "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": [
      "24f96314-f1a4-11f0-b6b6-fe11899d00fb"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210298-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210464-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "2521050e-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210464-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/252105d6-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210676-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "252105d6-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "252107b6-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "ba1b764c6c31492aaf696617322745f9",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "252108b0-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "43197f9f3dae4b609b8f09423928f620",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/86d6a0b538b34c30b0d3f6de49d07aea",
    "allows_refresh_token": true,
    "id": "25210996-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210a4a-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210b26-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210c02-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": false,
    "id": "25210cc0-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210d7e-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210e32-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "25210edc-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25210130-f1a4-11f0-b6b6-fe11899d00fb/manage",
    "allows_refresh_token": true,
    "id": "252110c6-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "25210130-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": [
      {
        "scope": "25210f86-f1a4-11f0-b6b6-fe11899d00fb",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "25211026-f1a4-11f0-b6b6-fe11899d00fb",
        "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": "2508d1be-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "251d4914-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2501d7b0-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "24fbe2ec-f1a4-11f0-b6b6-fe11899d00fb",
    "admins": {
      "identities": [
        {
          "identity_provider": "24fbe3c8-f1a4-11f0-b6b6-fe11899d00fb",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "24fbe45e-f1a4-11f0-b6b6-fe11899d00fb",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "24fbe45e-f1a4-11f0-b6b6-fe11899d00fb"
    ],
    "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": "2523e36e-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2502fb86-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2502fb86-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "2509d442-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "2503cf48-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "2503cd90-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "279f43f4-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "24fda992-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "24fdaaaa-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "24fce480-f1a4-11f0-b6b6-fe11899d00fb",
    "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": [
      "24f74dd6-f1a4-11f0-b6b6-fe11899d00fb"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "24f74e8a-f1a4-11f0-b6b6-fe11899d00fb",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "24f74ad4-f1a4-11f0-b6b6-fe11899d00fb",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "24f74ce6-f1a4-11f0-b6b6-fe11899d00fb",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "24f74ad4-f1a4-11f0-b6b6-fe11899d00fb",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "24f74dd6-f1a4-11f0-b6b6-fe11899d00fb",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "24f82800-f1a4-11f0-b6b6-fe11899d00fb"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "24f82896-f1a4-11f0-b6b6-fe11899d00fb",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "24f82666-f1a4-11f0-b6b6-fe11899d00fb",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "24f82800-f1a4-11f0-b6b6-fe11899d00fb",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "24f82800-f1a4-11f0-b6b6-fe11899d00fb"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "24f8292c-f1a4-11f0-b6b6-fe11899d00fb",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "24f82666-f1a4-11f0-b6b6-fe11899d00fb",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "24f82760-f1a4-11f0-b6b6-fe11899d00fb",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "24f82666-f1a4-11f0-b6b6-fe11899d00fb",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "24f82800-f1a4-11f0-b6b6-fe11899d00fb",
            "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": "251e5dea-f1a4-11f0-b6b6-fe11899d00fb",
    "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": "251f9d7c-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "251f9e76-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "251f9d7c-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "251f9e76-f1a4-11f0-b6b6-fe11899d00fb",
      "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": "25078372-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "3468116caf104eb6b58dcf0bee2e6402",
    "id": "25078516-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "25078624-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "250786ec-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "250788cc-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "25078a70-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "25078b4c-f1a4-11f0-b6b6-fe11899d00fb",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "25078be2-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
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": "25078c8c-f1a4-11f0-b6b6-fe11899d00fb",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "25078d04-f1a4-11f0-b6b6-fe11899d00fb"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "25008a22-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8c29d16fe017407585e748cb1af2e0a4",
    "description": "da4a98f25bb746bba47bf39d3f7a5a2e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "25008b9e-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "3a5ea8e97c7746b8911515f29e2d7b39",
    "description": "1665ce361b2a447781e4f3cb5a9fd0c3",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "25008d4c-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "72013a1fc32a4fd8b3710115716db551",
    "description": "047aeda3d26a4ff88f4cb3fff1cd846f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "25008f04-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "c1539be141714c65aced11a47de024cb",
    "description": "04b4dcc06bf34673b8b91d2f0f8f93e7",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "25009012-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "eaae478e96104639b958f1e083588e43",
    "description": "1cc6b968e07f49f8b1dcca5de6bc022d",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "25009166-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2b3815a5a2b24ed2aa628389f11e7ceb",
    "description": "25740b2a1bb54502abcc16472f2f08ef",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "250092e2-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "70640acc713045e0b6dc353382039b42",
    "description": "dfe9cb78b3064c7ca5d127d89a948d92",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "2500977e-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0eff5f2145d540a289919f74b2e8e61a",
    "description": "0a14224b13094f5c9d7d0431dc0cbdf2",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "250098b4-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8321871e8c6a4af69a1241744349f0d5",
    "description": "663b0d2377534fa687ecf8d77ce6f75d",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "250099c2-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2b78acf6d88845d0a8d7cb54ec9797e7",
    "description": "4a5ea713f0d54beeb270c96d50a08784",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "25009ab2-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "448127af6f6b464e9b2bb4e23798c1ef",
    "description": "8c2eb235ad7f4593b0ae07ece1e54dea",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "25009bac-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2269d03eede74c539b19d65df3c72072",
    "description": "f0aab335fc344004ba875e2603baff63",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "25009c9c-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "74a0740093504e7abec2b49ffbf16dc9",
    "description": "f65519f7ecaf408abde4f3ee2151df67",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "25009db4-f1a4-11f0-b6b6-fe11899d00fb",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "7d03c7f5832743a0b805a5b6f27e96a6",
    "description": "15c44e42b9384604a5cc2e498217d9b8",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "24faa8d2-f1a4-11f0-b6b6-fe11899d00fb",
    "admins": {
      "identities": [
        {
          "identity_provider": "24faa9ea-f1a4-11f0-b6b6-fe11899d00fb",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "24faaa8a-f1a4-11f0-b6b6-fe11899d00fb",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "24faaa8a-f1a4-11f0-b6b6-fe11899d00fb"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "24faa8d2-f1a4-11f0-b6b6-fe11899d00fb",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "24faab20-f1a4-11f0-b6b6-fe11899d00fb",
          "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": [
      "24faab20-f1a4-11f0-b6b6-fe11899d00fb"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/2522824e-f1a4-11f0-b6b6-fe11899d00fb/5871b50d4ecb4801aacf768a064d42d7",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "ecfd3b556b6d4790b311ec98b0b44d18",
    "description": "f83e7ee4251b423a9f43f7224235c346",
    "client": "2522838e-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/252284ba-f1a4-11f0-b6b6-fe11899d00fb/6f1e74bb78694031b324ba7f6a081e28",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "ba832c58841f464385be7cb2b926aade",
    "description": "df64e1dbd2874dbe900ac73fca081b16",
    "client": "252285be-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/252286b8-f1a4-11f0-b6b6-fe11899d00fb/2c45d0e848da4982acde6398b5dde597",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "3dd67e040f0949f28f2bf315adc90bfa",
    "description": "46e99566a7014721adad8629f1dc3ff3",
    "client": "252287b2-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25228898-f1a4-11f0-b6b6-fe11899d00fb/8aecaa9035364d63906a858311e67759",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "d4dcdd1b001747f79d16914610d2cb9a",
    "description": "501cca50adf14a0e834a773b1b118acf",
    "client": "25228a46-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25228b40-f1a4-11f0-b6b6-fe11899d00fb/818330c224d94a23a00be46339718a54",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "249a2f0be9444279b9af54bceb515491",
    "description": "4b5242f4e8e7486ebe5f0453ad11ac2a",
    "client": "25228c44-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25228d0c-f1a4-11f0-b6b6-fe11899d00fb/9732e426e7f34f149271b2bb4821848e",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "0134dbd6a9944d8ea154dbcb97e2e861",
    "description": "1d198660b17440e39c9a64aff9ada36f",
    "client": "25228e10-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25228f0a-f1a4-11f0-b6b6-fe11899d00fb/9832e5b1d79f4d0a9784a0c0c5b7a750",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "9ee88cf9fc0145bdb6f2a6327de31ed1",
    "description": "1cb5e4a4e7f546eb9dd91071852337d3",
    "client": "2522900e-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/2522920c-f1a4-11f0-b6b6-fe11899d00fb/bdbfca0b6dc74a498ab521fdeec2ed79",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "6b44930c099a43df9530a7ed2900bec8",
    "description": "64e0e9dd622f41a685d12f5e73b9093a",
    "client": "2522931a-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": [
      {
        "scope": "252290c2-f1a4-11f0-b6b6-fe11899d00fb",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "25229162-f1a4-11f0-b6b6-fe11899d00fb",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25229400-f1a4-11f0-b6b6-fe11899d00fb/fe35bf3f8c1e4965a386d3ed4ba6cf7e",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": true,
    "required_domains": [],
    "name": "a745ec7c320d4489aa67cd3ecac597fe",
    "description": "f481d07d29874f04b7112c77ce50ac71",
    "client": "252294fa-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/252295ae-f1a4-11f0-b6b6-fe11899d00fb/60939a6567ea4f23b97fe555fe746440",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "ce132d7cdeaf4bb197f80a140503eda5",
    "description": "16f6c9cd91ab44dbaad36aaebf4492fb",
    "client": "2522969e-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/25229748-f1a4-11f0-b6b6-fe11899d00fb/69009fb1ac684139b51d86e74264818a",
    "allows_refresh_token": true,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "5645638813474911b8eb81f153bfdba1",
    "description": "4d8920b9eb3645eb820866eaecd1097f",
    "client": "25229838-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/252298e2-f1a4-11f0-b6b6-fe11899d00fb/9e2a19cb2290435aa9db3ae64c5f93a4",
    "allows_refresh_token": false,
    "id": "25228104-f1a4-11f0-b6b6-fe11899d00fb",
    "advertised": false,
    "required_domains": [],
    "name": "faffe887a12a4bd5b9facf38510e55a0",
    "description": "43f5761461494100b979f1b2363979ca",
    "client": "252299c8-f1a4-11f0-b6b6-fe11899d00fb",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "279f43f4-f1a4-11f0-b6b6-fe11899d00fb",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "279f4548-f1a4-11f0-b6b6-fe11899d00fb",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}