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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "1fb6abecdafb4ff99bcac32b61254a84",
    "project": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137810-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "731380f8-93ae-11ee-8452-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73138260-93ae-11ee-8452-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "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": "73137342-93ae-11ee-8452-0242ac110002",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "731a6954-93ae-11ee-8452-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "731a6a44-93ae-11ee-8452-0242ac110002",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "b11e85a5daf34f7aa7e74a733c96ee24",
    "id": "731a6954-93ae-11ee-8452-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "731a6a44-93ae-11ee-8452-0242ac110002",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "730abcf2-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "730abe00-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "730abea0-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "730abf4a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "730abfea-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "730ac0b2-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "730ac166-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 23,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "730ac24c-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "2f467a3b763b4dc7b6f2318ddd1e747c",
    "description": "Controls access to Foo",
    "id": "730ac382-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "7b722aba023c4a509d1bdd5eb8945106",
    "id": "730ac486-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "730ac53a-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "730ac5ee-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "730ac698-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "730ac774-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "730ac81e-93ae-11ee-8452-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "730abb8a-93ae-11ee-8452-0242ac110002",
    "high_assurance": false,
    "authentication_assurance_timeout": 35,
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "730ac8c8-93ae-11ee-8452-0242ac110002"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "7305b87e-93ae-11ee-8452-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "7305b96e-93ae-11ee-8452-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "7305baf4-93ae-11ee-8452-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "7305baf4-93ae-11ee-8452-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "7305b87e-93ae-11ee-8452-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "7305bbd0-93ae-11ee-8452-0242ac110002",
          "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": [
      "7305bbd0-93ae-11ee-8452-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320b3cc-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b520-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320b5e8-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b520-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b6d8-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320b796-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b6d8-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320b958-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "7e3a16e442b941cda5b1836bdb81c476",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320baa2-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "334b4658f4da4c7797263675820cbbe5",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/e47b908bffd5426eb83eaedaf5cd1478",
    "allows_refresh_token": true,
    "id": "7320bc46-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320bdc2-93ae-11ee-8452-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320bf52-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320c0d8-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": false,
    "id": "7320c222-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320c3b2-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320c4fc-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320c63c-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7320b1ec-93ae-11ee-8452-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "7320c9de-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "7320b1ec-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "7320c772-93ae-11ee-8452-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "7320c8da-93ae-11ee-8452-0242ac110002",
        "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": "73177d98-93ae-11ee-8452-0242ac110002",
    "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": "731bd776-93ae-11ee-8452-0242ac110002",
    "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": "730d3f0e-93ae-11ee-8452-0242ac110002",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35
  }
}
delete_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "730808a4-93ae-11ee-8452-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "7308098a-93ae-11ee-8452-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "73080a20-93ae-11ee-8452-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "73080a20-93ae-11ee-8452-0242ac110002"
    ],
    "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": "7324d100-93ae-11ee-8452-0242ac110002",
    "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": "730eb06e-93ae-11ee-8452-0242ac110002",
    "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": "730eb06e-93ae-11ee-8452-0242ac110002",
    "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": "7318d684-93ae-11ee-8452-0242ac110002",
      "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": "730fe7c2-93ae-11ee-8452-0242ac110002",
      "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": "730fe678-93ae-11ee-8452-0242ac110002",
      "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_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": "766195c4-93ae-11ee-8452-0242ac110002",
      "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": "7309b596-93ae-11ee-8452-0242ac110002",
      "domain_constraints_exclude": null,
      "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
      "authentication_assurance_timeout": 35
    },
    {
      "high_assurance": true,
      "domain_constraints_include": null,
      "display_name": "No RedLight domain Policy",
      "description": "Disallow access from @redlight.org",
      "id": "7309b686-93ae-11ee-8452-0242ac110002",
      "domain_constraints_exclude": [
        "redlight.org"
      ],
      "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
      "authentication_assurance_timeout": 35
    }
  ]
}
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": "7308dd10-93ae-11ee-8452-0242ac110002",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35
  }
}
get_project (case="default")
{
  "project": {
    "admin_ids": [
      "7303b7d6-93ae-11ee-8452-0242ac110002"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "7303b86c-93ae-11ee-8452-0242ac110002",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "7303b5ec-93ae-11ee-8452-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "7303b736-93ae-11ee-8452-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "7303b5ec-93ae-11ee-8452-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "7303b7d6-93ae-11ee-8452-0242ac110002",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "73049aac-93ae-11ee-8452-0242ac110002"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "73049b42-93ae-11ee-8452-0242ac110002",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "73049908-93ae-11ee-8452-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "73049aac-93ae-11ee-8452-0242ac110002",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "73049aac-93ae-11ee-8452-0242ac110002"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "73049be2-93ae-11ee-8452-0242ac110002",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "73049908-93ae-11ee-8452-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "73049a0c-93ae-11ee-8452-0242ac110002",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "73049908-93ae-11ee-8452-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "73049aac-93ae-11ee-8452-0242ac110002",
            "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": "731d3904-93ae-11ee-8452-0242ac110002",
    "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": "731ee2e0-93ae-11ee-8452-0242ac110002",
      "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": "731ee416-93ae-11ee-8452-0242ac110002",
      "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": "731ee2e0-93ae-11ee-8452-0242ac110002",
      "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": "731ee416-93ae-11ee-8452-0242ac110002",
      "advertised": false,
      "required_domains": [],
      "name": "Client view scope",
      "description": "View configuration of this client",
      "client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
      "dependent_scopes": []
    }
  ]
}
oauth2_userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "766195c4-93ae-11ee-8452-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "76619704-93ae-11ee-8452-0242ac110002",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
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": "7315e7ee-93ae-11ee-8452-0242ac110002"
  }
}
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": "faed8e5e95b94fe78fae2cd8c44257b7",
    "id": "7315ea8c-93ae-11ee-8452-0242ac110002"
  }
}
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": "7315ebb8-93ae-11ee-8452-0242ac110002"
  }
}
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": "7315ecc6-93ae-11ee-8452-0242ac110002"
  }
}
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": "7315edf2-93ae-11ee-8452-0242ac110002"
  }
}
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": "7315ef1e-93ae-11ee-8452-0242ac110002"
  }
}
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": "7315f022-93ae-11ee-8452-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "7315f0e0-93ae-11ee-8452-0242ac110002"
  }
}
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": "7315f1da-93ae-11ee-8452-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "7315f28e-93ae-11ee-8452-0242ac110002"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "730beb54-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "eb1c325b987c4b9ea8190b1f43850516",
    "description": "0b8952b394654faea010a39ff2570e8e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "730bed02-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "959092d678b9442d98f3543a22891e6f",
    "description": "717ab42027a543658b549839b813016a",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "730beec4-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "10bd29353f304cb99b6b48250d5f5faa",
    "description": "f2a1c5358fc04dbebe87cc1f1e0e76da",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "730bf0ae-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 9100,
    "display_name": "35145a5099dc4eaeb7d5c2335e6a24d6",
    "description": "f2b7599d4d3042f39a4e338c41eaf470",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "730bf22a-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "b819640a0c714661bb6db2d6b664b35f",
    "description": "05fee471eba44fc1996c5d352cdab63e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "730bf3a6-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "410ddc41903f40c884d010440a27d4a6",
    "description": "9ea33268fc9d492eab61ef513eed476b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "730bf4be-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "30bdcc134be64b6faf66c95c44f137e7",
    "description": "27bf3e60a9314a36b65ae2365203e28c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "730bf5fe-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "4d077861205441278ae06e6c5ab58c64",
    "description": "954d3aaa3a8e4c56bc277c1c80e3cbff",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "730bf72a-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "81f6d434dc3c43bf8ed2ed6d1cbe34c2",
    "description": "d20c4f7e8cca4975810318db6cfa126e",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "730bf86a-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "fbee2da0e5f64e83af1a82181f227d6d",
    "description": "084ead1476d74a4fb0fd02ccae1300bb",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "730bf98c-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "0de83dd57b584a73ab020211335518e9",
    "description": "8efee133417e4cfd9ad390fffec288e5",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "730bfacc-93ae-11ee-8452-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "4d3a517707dc404aabb2633639edd13b",
    "description": "ae09a381d098422ea48b3622054fbf7d",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "73071a48-93ae-11ee-8452-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "73071b2e-93ae-11ee-8452-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "73071bba-93ae-11ee-8452-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "73071bba-93ae-11ee-8452-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "73071a48-93ae-11ee-8452-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "73071c3c-93ae-11ee-8452-0242ac110002",
          "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": [
      "73071c3c-93ae-11ee-8452-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7322f7cc-93ae-11ee-8452-0242ac110002/97bb0dff6a68470db47c6f4737fc1afd",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "3af142073cb1452f857e3828a3846436",
    "description": "83ab6a175a3a47469e61ac4cacbf106b",
    "client": "7322fa1a-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7322fc22-93ae-11ee-8452-0242ac110002/d2bcc2df02784feb839809b9b3995e3a",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "762b1b8d2f484b48bee63ea3ba4aab7e",
    "description": "594d4fe012ab48f38f9eb3b11f42ffdc",
    "client": "7322fdee-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/7322ff74-93ae-11ee-8452-0242ac110002/ba6de67815ed4d66a30414b48e50bc83",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "33e2e130ea1b4ca280694ea052a58b59",
    "description": "2f3f20f237e24e27b138e3873ec97d80",
    "client": "7323012c-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/732302bc-93ae-11ee-8452-0242ac110002/b2b241462fb04bdba5da5a3f153dd470",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "6cb92fe79b0c4522ad79a6a6b61a0602",
    "description": "827c8e17a3f04234ade76e097bfd59f6",
    "client": "7323047e-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/732305aa-93ae-11ee-8452-0242ac110002/693c0ce8a4724f619f3aca60e534ffef",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "ae80360e5aa64dfa913c09f42e67a453",
    "description": "f0519c17bec44f0b99e18247021e4a0e",
    "client": "73230906-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73230a3c-93ae-11ee-8452-0242ac110002/96ae9809d73741598794959e62484dca",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "89776558cf0245079bb851393ceb9782",
    "description": "f57c768830844f26a968560718e31d35",
    "client": "73230bf4-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73230d16-93ae-11ee-8452-0242ac110002/74ede1b9d5164cac9115254c272f022e",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "852c055d8a9946b185bfa33107bc9000",
    "description": "5655456d4758453d905a43b5467accc5",
    "client": "73230ed8-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73231248-93ae-11ee-8452-0242ac110002/87a5be988a6c49cdbcd8015b02fc1cbc",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "29bd9c068d0a4fc8a0b1254d92ced7e7",
    "description": "2d81b7d3c6cb469a97423b11130e45b7",
    "client": "7323140a-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "73231022-93ae-11ee-8452-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "7323113a-93ae-11ee-8452-0242ac110002",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73231572-93ae-11ee-8452-0242ac110002/79280e32e1e54c7dbc837016f8b326f9",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "6723f3757271454dadbdab94b7376819",
    "description": "1681be6488844ad395d6455744f96f71",
    "client": "73231720-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73231842-93ae-11ee-8452-0242ac110002/c3c15b8b1f584215938438e29beacb81",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "0d1cf2cdd416467097aa9743b0704524",
    "description": "9156e87082a94d2a8f5eef7634c8c6cc",
    "client": "73231a18-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73231b30-93ae-11ee-8452-0242ac110002/8ce0853f7def411da07be0ef0306e81c",
    "allows_refresh_token": true,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "09d1075a901044269bb3cdc45fee23f1",
    "description": "6dec0408e6784064926b23d62d658f2a",
    "client": "73231cd4-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/73231e14-93ae-11ee-8452-0242ac110002/a39986c13c6e455a97a5173377c2e624",
    "allows_refresh_token": false,
    "id": "7322f5c4-93ae-11ee-8452-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "19c19e45d28b4b919700789ddc0fca25",
    "description": "5fe1bd09dbdd4fcb8594f29cbc1e2beb",
    "client": "73231fb8-93ae-11ee-8452-0242ac110002",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "766195c4-93ae-11ee-8452-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "76619704-93ae-11ee-8452-0242ac110002",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}