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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "8dd1b78da7de46daa24367b97b6a5c82",
    "project": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6f0de-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6f282-6422-11f1-9461-aec6bb413d9f",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6f44e-6422-11f1-9461-aec6bb413d9f",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "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": "57e6ed32-6422-11f1-9461-aec6bb413d9f",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "58007f72-6422-11f1-9461-aec6bb413d9f",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "58008026-6422-11f1-9461-aec6bb413d9f",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "f46213b329604161aa74c199b3b8abe6",
    "id": "58007f72-6422-11f1-9461-aec6bb413d9f",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "58008026-6422-11f1-9461-aec6bb413d9f",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "57e175dc-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "57e176f4-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "57e1779e-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "57e1788e-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "57e17938-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "57e17a00-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "57e17abe-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "57e17b68-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "57e17c1c-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "06b988cfb0ae4be3998d09fb282e5f1d",
    "description": "Controls access to Foo",
    "id": "57e17d70-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "8fc170621abc483695896aadd25875ff",
    "id": "57e17e88-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "57e17f46-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "57e17ffa-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "57e180a4-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "57e1814e-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "57e181ee-6422-11f1-9461-aec6bb413d9f"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "57e1737a-6422-11f1-9461-aec6bb413d9f",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "57e1828e-6422-11f1-9461-aec6bb413d9f"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "57dd00d8-6422-11f1-9461-aec6bb413d9f",
    "admins": {
      "identities": [
        {
          "identity_provider": "57dd01c8-6422-11f1-9461-aec6bb413d9f",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "57dd025e-6422-11f1-9461-aec6bb413d9f",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "57dd025e-6422-11f1-9461-aec6bb413d9f"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "57dd00d8-6422-11f1-9461-aec6bb413d9f",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "57dd02e0-6422-11f1-9461-aec6bb413d9f",
          "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": [
      "57dd02e0-6422-11f1-9461-aec6bb413d9f"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803f38c-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f4d6-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803f56c-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f4d6-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f634-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803f6d4-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f634-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803f814-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "be6afbf8b29f479face0b3db90ad6a4c",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803f92c-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "33281ebfa7c7469bb45ff70729e7e766",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/4a0159ca1a8444e4a7643b12e6f99c36",
    "allows_refresh_token": true,
    "id": "5803fa12-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803fac6-6422-11f1-9461-aec6bb413d9f",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803fba2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803fc74-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": false,
    "id": "5803fd32-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803fde6-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803fea4-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "5803ff4e-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5803f0a8-6422-11f1-9461-aec6bb413d9f/manage",
    "allows_refresh_token": true,
    "id": "58040138-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "5803f0a8-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": [
      {
        "scope": "5803fff8-6422-11f1-9461-aec6bb413d9f",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "580400a2-6422-11f1-9461-aec6bb413d9f",
        "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": "57ff04a8-6422-11f1-9461-aec6bb413d9f",
    "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": "58014fba-6422-11f1-9461-aec6bb413d9f",
    "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": "57e37de6-6422-11f1-9461-aec6bb413d9f",
    "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": "57deedc6-6422-11f1-9461-aec6bb413d9f",
    "admins": {
      "identities": [
        {
          "identity_provider": "57deeede-6422-11f1-9461-aec6bb413d9f",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "57deef74-6422-11f1-9461-aec6bb413d9f",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "57deef74-6422-11f1-9461-aec6bb413d9f"
    ],
    "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": "580634bc-6422-11f1-9461-aec6bb413d9f",
    "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": "57e46738-6422-11f1-9461-aec6bb413d9f",
    "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": "57e46738-6422-11f1-9461-aec6bb413d9f",
    "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": "57ffc460-6422-11f1-9461-aec6bb413d9f",
      "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": "57e51c32-6422-11f1-9461-aec6bb413d9f",
      "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": "57e51b24-6422-11f1-9461-aec6bb413d9f",
      "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": "5a696ee0-6422-11f1-9461-aec6bb413d9f",
      "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": "57e05b8e-6422-11f1-9461-aec6bb413d9f",
      "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": "57e05ca6-6422-11f1-9461-aec6bb413d9f",
      "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": "57dfacc0-6422-11f1-9461-aec6bb413d9f",
    "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": [
      "57db54f4-6422-11f1-9461-aec6bb413d9f"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "57db5580-6422-11f1-9461-aec6bb413d9f",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "57db52ce-6422-11f1-9461-aec6bb413d9f",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "57db5440-6422-11f1-9461-aec6bb413d9f",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "57db52ce-6422-11f1-9461-aec6bb413d9f",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "57db54f4-6422-11f1-9461-aec6bb413d9f",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "57dc2ca8-6422-11f1-9461-aec6bb413d9f"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "57dc2d3e-6422-11f1-9461-aec6bb413d9f",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "57dc2b04-6422-11f1-9461-aec6bb413d9f",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "57dc2ca8-6422-11f1-9461-aec6bb413d9f",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "57dc2ca8-6422-11f1-9461-aec6bb413d9f"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "57dc2dd4-6422-11f1-9461-aec6bb413d9f",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "57dc2b04-6422-11f1-9461-aec6bb413d9f",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "57dc2c08-6422-11f1-9461-aec6bb413d9f",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "57dc2b04-6422-11f1-9461-aec6bb413d9f",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "57dc2ca8-6422-11f1-9461-aec6bb413d9f",
            "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": "580207ca-6422-11f1-9461-aec6bb413d9f",
    "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": "5802d51a-6422-11f1-9461-aec6bb413d9f",
      "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": "5802d60a-6422-11f1-9461-aec6bb413d9f",
      "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": "5802d51a-6422-11f1-9461-aec6bb413d9f",
      "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": "5802d60a-6422-11f1-9461-aec6bb413d9f",
      "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": "57e835a2-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "23c78b549e844a6988293fa0cf683907",
    "id": "57e837e6-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "57e838cc-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "57e8398a-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "57e83a52-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "57e83b38-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "57e83be2-6422-11f1-9461-aec6bb413d9f",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "57e83c64-6422-11f1-9461-aec6bb413d9f"
  }
}
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": "57e83d18-6422-11f1-9461-aec6bb413d9f",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "57e83dae-6422-11f1-9461-aec6bb413d9f"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "57e27d38-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "1e5833cac82d48818deb3d7210c5d9c1",
    "description": "22fadbee224d4e55b583ffb3b12ff79e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "57e27f18-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "787755641abe4a55bc9b3f28be40f46f",
    "description": "bb087cec809047e9b61d5bc3315cccc8",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "57e280ee-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "b3decf2e71c0450ab28826149a368395",
    "description": "41df999006564c6785c36c66c45eebe3",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "57e282c4-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "b1297b47d515431d9e6d19289f8dd91e",
    "description": "f0aedb6a65854ba793aa3151c109bce4",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "57e283fa-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "747769e94c1b4734888d43d5f8716546",
    "description": "77d123d3ec1e4871870be4b19b6d2158",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "57e28526-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "9e06dc9db5554c36863ae440293871a3",
    "description": "5647b34ec1424cf596b08d499968370b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "57e28760-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "77dfda76b71e4d9c8449c6202349de30",
    "description": "e272361d2f9b475896d8e5092ea5e6c1",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "57e289a4-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8db9c7a2898144cfa9ec3ff42b15297d",
    "description": "d1a7dbb2384344bfbedd0ca310ba3365",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "57e28b2a-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "f6dbcc41d9d84261a431a54fe8ab5a32",
    "description": "7defbe691cda432299a729efe40e11f4",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "57e28c42-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "acfd30d9876e47ebb74f741b11f9cab4",
    "description": "74a603bdabaf43448e6dbbce87c666c7",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "57e28d46-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "14166ac19be74dd4b722a11a40c3ee59",
    "description": "af757c3a26044bc7af55d3b71edbcc8e",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "57e28e72-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "cc7402eef7a84830b30b133667233f71",
    "description": "4dc22fd5b83b4f338db2d11cc358695e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "57e28f8a-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0ad0ba1e947a488d8bebc71f631d72fa",
    "description": "a2da1f5fc5f941279692e8662ed41b6b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "57e290a2-6422-11f1-9461-aec6bb413d9f",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "01551edc95a54dd5ba84028dc48357b6",
    "description": "189bf38cef8a4f00a2e21d5055ef127c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "57ddf4f2-6422-11f1-9461-aec6bb413d9f",
    "admins": {
      "identities": [
        {
          "identity_provider": "57ddf6a0-6422-11f1-9461-aec6bb413d9f",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "57ddf74a-6422-11f1-9461-aec6bb413d9f",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "57ddf74a-6422-11f1-9461-aec6bb413d9f"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "57ddf4f2-6422-11f1-9461-aec6bb413d9f",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "57ddf7cc-6422-11f1-9461-aec6bb413d9f",
          "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": [
      "57ddf7cc-6422-11f1-9461-aec6bb413d9f"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/58051910-6422-11f1-9461-aec6bb413d9f/54fafd3e34ba4c56800ffecaf1ba5586",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "cf6387ee00c3433a9276956c6fc4f648",
    "description": "8ea8e4ceff034655ae4622cdbaa73c65",
    "client": "58051a6e-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/58051bb8-6422-11f1-9461-aec6bb413d9f/84ceabf832334a7ab8912cf6923fb68f",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "20db5980118242388438b8b4320f1fb9",
    "description": "cf5e10b0bbf44d42a7ab879c3c4f400b",
    "client": "58051cbc-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/58051dc0-6422-11f1-9461-aec6bb413d9f/2f84e4f50dc948309fa827d0459a789c",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "66f24264d17f4ea28fa5b590835f4be9",
    "description": "f878e3c3f86e4774bc0efb1d043de3e0",
    "client": "58051ec4-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/58051fb4-6422-11f1-9461-aec6bb413d9f/25342fd4a7ad4b96b4bf04c41f43374a",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "8885fcfff0bc4f0286114b80016414c3",
    "description": "81b145cb00b048418724cd8b3455328e",
    "client": "580520ae-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5805216c-6422-11f1-9461-aec6bb413d9f/f451f2edf76f4e0cacfb19b8251fa924",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "fb45a85e30754fcb9f90f1ad4cb09931",
    "description": "65fa7edea4384949b2140f27428ce6e4",
    "client": "58052270-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5805232e-6422-11f1-9461-aec6bb413d9f/4ea7f8e7ce084b46aa52dda95a8ab443",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "569c0a46e4694857bf34a7708b03ff80",
    "description": "2c76daa213e943efa128ff11ab73fce0",
    "client": "58052432-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/580524dc-6422-11f1-9461-aec6bb413d9f/a817df5871f247eba8bd56197227436c",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "7fb06e8cafb14017ab468c7e0267a850",
    "description": "2ff30759692d4dd4ba0908fda6401024",
    "client": "580525ea-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/580527e8-6422-11f1-9461-aec6bb413d9f/3b9ea036697f4a3590692d45ce0dcff7",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "a9637ec12952467ab599f3d7b965d974",
    "description": "c6646c2068c946a098de098980d5e2b2",
    "client": "58052900-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": [
      {
        "scope": "58052694-6422-11f1-9461-aec6bb413d9f",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "5805273e-6422-11f1-9461-aec6bb413d9f",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/58052fd6-6422-11f1-9461-aec6bb413d9f/b5adeb1d0e26425da39f2d8500dcf548",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": true,
    "required_domains": [],
    "name": "3003ae672dc54b80b288b425c161cfda",
    "description": "6d95f3edfa824f8b84d21991c0f70569",
    "client": "58053148-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/58053224-6422-11f1-9461-aec6bb413d9f/025e23c650c54400865c6a777e9cce38",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "0d15da06e5834b46be1aa1f8b1ac99d0",
    "description": "31241ed066094533929abe4a875a68a7",
    "client": "58053332-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/580533e6-6422-11f1-9461-aec6bb413d9f/a546105b9cc543658cf56bfe3dac3d6e",
    "allows_refresh_token": true,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "614097a2b4994c38a57932dbf126d5f4",
    "description": "665233bbd62949029a66c9c0cb8d5a37",
    "client": "580534e0-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/5805358a-6422-11f1-9461-aec6bb413d9f/35a37d563f4b4cd9b29d942d4edf4e9f",
    "allows_refresh_token": false,
    "id": "580517b2-6422-11f1-9461-aec6bb413d9f",
    "advertised": false,
    "required_domains": [],
    "name": "ccb7e237b2894dbcbfed6c9a4cab7fc7",
    "description": "f474940936814c29a116e6f20022a897",
    "client": "5805367a-6422-11f1-9461-aec6bb413d9f",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "5a696ee0-6422-11f1-9461-aec6bb413d9f",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "5a697034-6422-11f1-9461-aec6bb413d9f",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}