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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "d8ccef271e044e70903e77a7ace980b2",
    "project": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c43c-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c54a-69a1-11f1-9b34-5690dda43b03",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c5ae-69a1-11f1-9b34-5690dda43b03",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "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": "e412c202-69a1-11f1-9b34-5690dda43b03",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "e415e6e4-69a1-11f1-9b34-5690dda43b03",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "e415e752-69a1-11f1-9b34-5690dda43b03",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "705d308c26cb44e4af428f11d21007da",
    "id": "e415e6e4-69a1-11f1-9b34-5690dda43b03",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "e415e752-69a1-11f1-9b34-5690dda43b03",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "e40e44fc-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "e40e457e-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "e40e45ce-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "e40e465a-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "e40e46be-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "e40e4736-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "e40e47a4-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "e40e4808-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "e40e4862-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "1f12175c061f459dbcdaf277fe4991c6",
    "description": "Controls access to Foo",
    "id": "e40e493e-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "2c5c75c74f9a4dd689eb383fe28cfecd",
    "id": "e40e4a88-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "e40e4b28-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "e40e4b8c-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "e40e4bf0-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "e40e4c4a-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "e40e4ca4-69a1-11f1-9b34-5690dda43b03"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "e40e43f8-69a1-11f1-9b34-5690dda43b03",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "e40e4d44-69a1-11f1-9b34-5690dda43b03"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "e40ab6d4-69a1-11f1-9b34-5690dda43b03",
    "admins": {
      "identities": [
        {
          "identity_provider": "e40ab77e-69a1-11f1-9b34-5690dda43b03",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "e40ab7ce-69a1-11f1-9b34-5690dda43b03",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "e40ab7ce-69a1-11f1-9b34-5690dda43b03"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "e40ab6d4-69a1-11f1-9b34-5690dda43b03",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "e40ab814-69a1-11f1-9b34-5690dda43b03",
          "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": [
      "e40ab814-69a1-11f1-9b34-5690dda43b03"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264340-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e42643f4-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e426444e-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e42643f4-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e42644b2-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e426450c-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e42644b2-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e42645e8-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "28e4534fd6aa4bf88eb13062b70cfb3a",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264674-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "79936907c9d24b4d96da0fab05ce1a16",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/f7468b3124ef470f912a50cf86de9932",
    "allows_refresh_token": true,
    "id": "e4264700-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264764-69a1-11f1-9b34-5690dda43b03",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e42647fa-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264872-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": false,
    "id": "e42648d6-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264944-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e42649a8-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264a02-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e426423c-69a1-11f1-9b34-5690dda43b03/manage",
    "allows_refresh_token": true,
    "id": "e4264b1a-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "e426423c-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": [
      {
        "scope": "e4264a66-69a1-11f1-9b34-5690dda43b03",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "e4264ac0-69a1-11f1-9b34-5690dda43b03",
        "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": "e414a50e-69a1-11f1-9b34-5690dda43b03",
    "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": "e423ff68-69a1-11f1-9b34-5690dda43b03",
    "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": "e41004fe-69a1-11f1-9b34-5690dda43b03",
    "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": "e40c4058-69a1-11f1-9b34-5690dda43b03",
    "admins": {
      "identities": [
        {
          "identity_provider": "e40c410c-69a1-11f1-9b34-5690dda43b03",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "e40c4152-69a1-11f1-9b34-5690dda43b03",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "e40c4152-69a1-11f1-9b34-5690dda43b03"
    ],
    "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": "e427fe56-69a1-11f1-9b34-5690dda43b03",
    "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": "e410ac92-69a1-11f1-9b34-5690dda43b03",
    "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": "e410ac92-69a1-11f1-9b34-5690dda43b03",
    "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": "e415434c-69a1-11f1-9b34-5690dda43b03",
      "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": "e41144b8-69a1-11f1-9b34-5690dda43b03",
      "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": "e4114404-69a1-11f1-9b34-5690dda43b03",
      "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": "e619e21a-69a1-11f1-9b34-5690dda43b03",
      "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": "e40d63b6-69a1-11f1-9b34-5690dda43b03",
      "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": "e40d6460-69a1-11f1-9b34-5690dda43b03",
      "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": "e40cdb58-69a1-11f1-9b34-5690dda43b03",
    "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": [
      "e40941a0-69a1-11f1-9b34-5690dda43b03"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "e409422c-69a1-11f1-9b34-5690dda43b03",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "e4093f8e-69a1-11f1-9b34-5690dda43b03",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "e409407e-69a1-11f1-9b34-5690dda43b03",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "e4093f8e-69a1-11f1-9b34-5690dda43b03",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "e40941a0-69a1-11f1-9b34-5690dda43b03",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "e409fc8a-69a1-11f1-9b34-5690dda43b03"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "e409fce4-69a1-11f1-9b34-5690dda43b03",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "e409fb72-69a1-11f1-9b34-5690dda43b03",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "e409fc8a-69a1-11f1-9b34-5690dda43b03",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "e409fc8a-69a1-11f1-9b34-5690dda43b03"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "e409fd48-69a1-11f1-9b34-5690dda43b03",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "e409fb72-69a1-11f1-9b34-5690dda43b03",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "e409fc30-69a1-11f1-9b34-5690dda43b03",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "e409fb72-69a1-11f1-9b34-5690dda43b03",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "e409fc8a-69a1-11f1-9b34-5690dda43b03",
            "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": "e4249fb8-69a1-11f1-9b34-5690dda43b03",
    "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": "e4255642-69a1-11f1-9b34-5690dda43b03",
      "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": "e4255714-69a1-11f1-9b34-5690dda43b03",
      "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": "e4255642-69a1-11f1-9b34-5690dda43b03",
      "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": "e4255714-69a1-11f1-9b34-5690dda43b03",
      "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": "e413c508-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "f877b970701245f1b636a8d79e623143",
    "id": "e413c648-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "e413c6d4-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "e413c724-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "e413c792-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "e413c7f6-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "e413c954-69a1-11f1-9b34-5690dda43b03",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "e413c9b8-69a1-11f1-9b34-5690dda43b03"
  }
}
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": "e413ca08-69a1-11f1-9b34-5690dda43b03",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "e413ca58-69a1-11f1-9b34-5690dda43b03"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "e40f19fe-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "eacd9ad0f4c144c7a4f1443cd65c5e6c",
    "description": "66ed45eca32f48719502d2955ffaf5d7",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "e40f1b20-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "c56fcddbca8b4e5982f217d1dbe20cf0",
    "description": "3bdd5571234d4b7683a0ef6a34da826a",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "e40f1c10-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "c35bda36efd24d61a9a9d3476c994ce5",
    "description": "082a09905d1746e3aa4e3d8e0eb07437",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "e40f1d0a-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "00d405bacb0e4545aabf16fae60dc783",
    "description": "22e38bc606f646029b9348911fa784a2",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "e40f1db4-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "71ff308eb6e14b42a939773163ac4b5c",
    "description": "5cf8a02943164bf5b01804fe62eaa7d9",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "e40f1e72-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "7d4d45f32d83449aad1c4df8c601df85",
    "description": "79a9b06683194237ad25278518f701c9",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "e40f1f44-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "f7cf6427cd94475a86175cca7ce008ba",
    "description": "93c6a987be3642f8bc50db516fd9dae9",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "e40f2016-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0ef9ff0ceed4411690d51a9104b3cdd7",
    "description": "be210006ef8e474eb7446fd1e93cc33f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "e40f20ca-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "a824ab4280ea476c89b8e70296f3d657",
    "description": "4635563b65a24446bc9eb1a564db37b2",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "e40f216a-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "6c10a2d91d7049d89686d8313dfd5fc6",
    "description": "ca6bc8beacbf4947a7bc8ca9bd703c09",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "e40f220a-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "ddffe658e5964321bc69c85fbb02ad6b",
    "description": "4d2093787c414258b8ead71d5db8e5eb",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "e40f22aa-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2e9d980631f64a40acae48a4fbce9317",
    "description": "e283ae5154ac4485864161883e235e1b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "e40f2340-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8c413e1ce0c244be8b521bb1b5552ddb",
    "description": "628fe75e40864cad933ed678c350638b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "e40f23e0-69a1-11f1-9b34-5690dda43b03",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "899b8f7a05bf4fc2bffcbb48ae6de4a7",
    "description": "f08e8b90479e45989f56f5bb945127e1",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "e40b7c36-69a1-11f1-9b34-5690dda43b03",
    "admins": {
      "identities": [
        {
          "identity_provider": "e40b7ce0-69a1-11f1-9b34-5690dda43b03",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "e40b7d3a-69a1-11f1-9b34-5690dda43b03",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "e40b7d3a-69a1-11f1-9b34-5690dda43b03"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "e40b7c36-69a1-11f1-9b34-5690dda43b03",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "e40b7d80-69a1-11f1-9b34-5690dda43b03",
          "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": [
      "e40b7d80-69a1-11f1-9b34-5690dda43b03"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4272288-69a1-11f1-9b34-5690dda43b03/67ffbe82711f48f881813c332a508901",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "d2c5318cdd604b2dad0eefd4276209e8",
    "description": "ded88acb87254924964ed9b617d569af",
    "client": "e427236e-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e427244a-69a1-11f1-9b34-5690dda43b03/bc2382b62438463296bbaf12b16bed95",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "113d43cf51534e8b9889c05108b318fe",
    "description": "bfbe41d862fa4da39fa2936203bb2655",
    "client": "e42724fe-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4272594-69a1-11f1-9b34-5690dda43b03/de06c1282a574e62b0d9a45e90c63fd6",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "79cd90319816431c932a722d73fa4024",
    "description": "3f38e3cf11594260a5b089ca24c8e899",
    "client": "e4272634-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e42726c0-69a1-11f1-9b34-5690dda43b03/5574b54508a8400ea4dcde4294c0328f",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "cc4b2e5135804a6785d5fa5135f208fd",
    "description": "6ac24cd2d5684c979cdca62ca9811f72",
    "client": "e427276a-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e42727ce-69a1-11f1-9b34-5690dda43b03/24f6942b9b0249c18c3565fc6380b457",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "5b320ca10e1a413fbcfb0010ff9e0fa1",
    "description": "faff3929d1c74e63873f39d498e4c25c",
    "client": "e427286e-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e42728d2-69a1-11f1-9b34-5690dda43b03/c51ace96d7214fcab121f691b72f6408",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "19b275e0f0d34a82954a38ac85e249ef",
    "description": "626e7fc3c4d44b539dc1885d4e7db2f2",
    "client": "e4272a9e-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4272b16-69a1-11f1-9b34-5690dda43b03/3a830454aa514257a64f4849de54b4ba",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "758453b68487489485b04a0130b4fa2a",
    "description": "290ce8c5d4a749f18788da3ea7a1801d",
    "client": "e4272bb6-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4272cd8-69a1-11f1-9b34-5690dda43b03/a56037d853004634b97923cf82f2ff51",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "2e75e70b66d546be938c81241942aef3",
    "description": "f23e0390df1e42fd8203b0daa0ee0354",
    "client": "e4272d82-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": [
      {
        "scope": "e4272c10-69a1-11f1-9b34-5690dda43b03",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "e4272c6a-69a1-11f1-9b34-5690dda43b03",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4272e0e-69a1-11f1-9b34-5690dda43b03/12088565e5e04172b5ad0046a0bca038",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": true,
    "required_domains": [],
    "name": "2eaae53552544ed2bae35cf253cc4828",
    "description": "2ade7052eef94ee1aa573a3a78b5a417",
    "client": "e4272eae-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4272f26-69a1-11f1-9b34-5690dda43b03/80a7b4b1ddc84d17a556461042cb90eb",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "499dae710e2746f0bef5f7f5057a25d0",
    "description": "bb825da40a1e4b7d9cb097cb3e091fc9",
    "client": "e4272fbc-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e4273016-69a1-11f1-9b34-5690dda43b03/244f6a96484b401ea6c1fdf9979ea628",
    "allows_refresh_token": true,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "8f3a191c2a73498b9920ca90f246bb36",
    "description": "c90fe4c46a4a4d468c34069fd7043e86",
    "client": "e42730b6-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/e427311a-69a1-11f1-9b34-5690dda43b03/8eb01e32f88f489e850e8e1df7fbd75a",
    "allows_refresh_token": false,
    "id": "e4272198-69a1-11f1-9b34-5690dda43b03",
    "advertised": false,
    "required_domains": [],
    "name": "2c1308a248984bc3b4ed55354618fd8f",
    "description": "4a51ff72783342779b35701ada1fd762",
    "client": "e42731ba-69a1-11f1-9b34-5690dda43b03",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "e619e21a-69a1-11f1-9b34-5690dda43b03",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "e619e30a-69a1-11f1-9b34-5690dda43b03",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}