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": "c18d91e2-fb46-11ee-bcea-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": "054cdfbeb27b4baaba2d3f76ac24ebfc",
    "project": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d94da-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d96a6-fb46-11ee-bcea-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "c18d91e2-fb46-11ee-bcea-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": "c18d975a-fb46-11ee-bcea-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-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": "c18d91e2-fb46-11ee-bcea-0242ac110002",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "c191b6be-fb46-11ee-bcea-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "c191b768-fb46-11ee-bcea-0242ac110002",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "2c0d881cc41a4f299373b22fe3dfe291",
    "id": "c191b6be-fb46-11ee-bcea-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "c191b768-fb46-11ee-bcea-0242ac110002",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "c187bb78-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "c187bc4a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "c187bcd6-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "c187bda8-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "c187be3e-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "id": "c187bf06-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "id": "c187bfc4-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "c187c078-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "6e9bef8f9da449328f1e13152dd70b41",
    "description": "Controls access to Foo",
    "id": "c187c19a-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "c186618a28ea491f8483cdf5468d375c",
    "id": "c187c29e-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "c187c352-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "c187c410-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "c187c4ba-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "c187c56e-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "c187c618-fb46-11ee-bcea-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "c187ba1a-fb46-11ee-bcea-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "c187c6b8-fb46-11ee-bcea-0242ac110002"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c182f9f8-fb46-11ee-bcea-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "c182fae8-fb46-11ee-bcea-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c182fb7e-fb46-11ee-bcea-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "c182fb7e-fb46-11ee-bcea-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c182f9f8-fb46-11ee-bcea-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "c182fc00-fb46-11ee-bcea-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": [
      "c182fc00-fb46-11ee-bcea-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c19593e2-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c19594f0-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c1959586-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c19594f0-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959644-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c19596d0-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959644-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c1959806-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "adefb49f67184243b846fb1a1526ec9f",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c19599fa-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "fed57275f25b4b5b99a3ff3bbf349147",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/c4a6ddf42ff84680b6464c8ccfd42d09",
    "allows_refresh_token": true,
    "id": "c1959b80-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c1959c52-fb46-11ee-bcea-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c1959d42-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c1959e14-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": false,
    "id": "c1959ed2-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c1959fa4-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c195a062-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c195a116-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c1959298-fb46-11ee-bcea-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c195a33c-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c1959298-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "c195a1c0-fb46-11ee-bcea-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "c195a29c-fb46-11ee-bcea-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": "c1901840-fb46-11ee-bcea-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": "c1929fca-fb46-11ee-bcea-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": "c189da52-fb46-11ee-bcea-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": "c1850eaa-fb46-11ee-bcea-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "c1850f90-fb46-11ee-bcea-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c1851012-fb46-11ee-bcea-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "c1851012-fb46-11ee-bcea-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": "c197ff24-fb46-11ee-bcea-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": "c18ace08-fb46-11ee-bcea-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": "c18ace08-fb46-11ee-bcea-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": "c190e504-fb46-11ee-bcea-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": "c18b94f0-fb46-11ee-bcea-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": "c18b9400-fb46-11ee-bcea-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": "c45b6fca-fb46-11ee-bcea-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": "c1869dc4-fb46-11ee-bcea-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": "c1869ea0-fb46-11ee-bcea-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": "c185e690-fb46-11ee-bcea-0242ac110002",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35
  }
}
get_project (case="default")
{
  "project": {
    "admin_ids": [
      "c18122ea-fb46-11ee-bcea-0242ac110002"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "c1812376-fb46-11ee-bcea-0242ac110002",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "c181210a-fb46-11ee-bcea-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c181224a-fb46-11ee-bcea-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "c181210a-fb46-11ee-bcea-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c18122ea-fb46-11ee-bcea-0242ac110002",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "c1820f0c-fb46-11ee-bcea-0242ac110002"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "c1820fb6-fb46-11ee-bcea-0242ac110002",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "c1820d7c-fb46-11ee-bcea-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "c1820f0c-fb46-11ee-bcea-0242ac110002",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "c1820f0c-fb46-11ee-bcea-0242ac110002"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "c182104c-fb46-11ee-bcea-0242ac110002",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "c1820d7c-fb46-11ee-bcea-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "c1820e76-fb46-11ee-bcea-0242ac110002",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "c1820d7c-fb46-11ee-bcea-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "c1820f0c-fb46-11ee-bcea-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": "c1936bd0-fb46-11ee-bcea-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": "c1944f6e-fb46-11ee-bcea-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": "c1945054-fb46-11ee-bcea-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": "c1944f6e-fb46-11ee-bcea-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": "c1945054-fb46-11ee-bcea-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": "c45b6fca-fb46-11ee-bcea-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "c45b7240-fb46-11ee-bcea-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": "c18ef08c-fb46-11ee-bcea-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": "6129d3d194434941956fb1bca1310045",
    "id": "c18ef294-fb46-11ee-bcea-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": "c18ef370-fb46-11ee-bcea-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": "c18ef49c-fb46-11ee-bcea-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": "c18ef5a0-fb46-11ee-bcea-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": "c18ef690-fb46-11ee-bcea-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": "c18ef73a-fb46-11ee-bcea-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "c18ef7b2-fb46-11ee-bcea-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": "c18ef852-fb46-11ee-bcea-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "c18ef8de-fb46-11ee-bcea-0242ac110002"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "c188d97c-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "d05e8fb8b37b4469a21236b72cb43b25",
    "description": "407d04ebd073427ba923b0fe704ec113",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "c188db20-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "7ced346fcafc42b7b79605f40a992050",
    "description": "a38d530e672e4333935c501db6dcb5e1",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "c188dcd8-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "4ed4115a21bf4263889e596d24d415df",
    "description": "11d79d593fc54f5dabb6f30596d98591",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "c188de9a-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 9100,
    "display_name": "4b114b5b4d664ace87fc677d6d8dba2e",
    "description": "a018854f6aa74b19bbf2b0eb7963fa37",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "c188e048-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "8f8f71908ebe4d96b625c0c24aa55cdd",
    "description": "03eaaf3150a84c428226929219bc6206",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "c188e1a6-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "13ef653f99204b16af7f66ac36bbe7f1",
    "description": "86e865d6f7ea4ebf99b3982ab9ff7287",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "c188e2be-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "1a7af3a1826f48249155a4cfbabdaaac",
    "description": "c5dc1daf87404b0e95522e3afc24970d",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "c188e3f4-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "1ea58c6a9b354a698aeaafc8bdd6ebf9",
    "description": "e08ccf76b96345a3924a3dcc16ee5a34",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "c188e52a-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "568e7ed17cc24df38065c29a645d8165",
    "description": "8380d379120d49e090bba43b4420d032",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "c188e660-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "42bffd2e291d466a9ec49ea034724d7e",
    "description": "966b5d5104024fa59c05cb16f5b3f429",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "c188e7a0-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "260203db78ff4fe896c06512b7c2cbae",
    "description": "8b8b86b993744567b3c38e2692259b8b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "c188e8a4-fb46-11ee-bcea-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "a1fc19021e884ca3ac921ffcd6941d05",
    "description": "422aabe09ea3456dae274ef88a73d66c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c18405dc-fb46-11ee-bcea-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "c18406c2-fb46-11ee-bcea-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c184074e-fb46-11ee-bcea-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "c184074e-fb46-11ee-bcea-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c18405dc-fb46-11ee-bcea-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "c18407c6-fb46-11ee-bcea-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": [
      "c18407c6-fb46-11ee-bcea-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196d2de-fb46-11ee-bcea-0242ac110002/2811023a0ae84706b5b9a8a517c08d28",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "1b57d318d8d14279aa7bd382b5237e15",
    "description": "904b0ff09f5d407bb18b115dac66162a",
    "client": "c196d45a-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196d5b8-fb46-11ee-bcea-0242ac110002/454b465d53d1498fb79deb801317b5e5",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "5644c957cc354100b8a247de40ff71c5",
    "description": "224532c0edf74f32a0dcd0f8d4c093e9",
    "client": "c196d6d0-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196d7fc-fb46-11ee-bcea-0242ac110002/cc580c2b56eb4baeb1a03154d15a8847",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "34c2254d29ba4cc595b0dec38cc51b02",
    "description": "856d878c5dd6490f809b6aa513f8f967",
    "client": "c196d928-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196da18-fb46-11ee-bcea-0242ac110002/9011d1a2dcf747b5b3801db78379f416",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "6d4a3432851743239e1687988157f6d0",
    "description": "3a01f7f51ac149858652a2633de3b8d1",
    "client": "c196db26-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196dbe4-fb46-11ee-bcea-0242ac110002/ff96c2adad77454ca8eecf14d41eb08f",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "eaf506d83a7f4979a9a3ae802e76dc5c",
    "description": "9b5442e5d62b4f0eb151cbfda288c71d",
    "client": "c196dcf2-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196dda6-fb46-11ee-bcea-0242ac110002/aca03b1a94bb453aa897a1ddc9702bbe",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "c0e5e299582c43c5a7aaac360bf5c47f",
    "description": "223b93110f464826888c31cfd39f5775",
    "client": "c196deaa-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196df5e-fb46-11ee-bcea-0242ac110002/7a49640f9f1f4f97b5181403404d2faa",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "00738f289777416782d722cbbb51efc6",
    "description": "090830bd1f624108a2b4588da62000aa",
    "client": "c196e08a-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196e71a-fb46-11ee-bcea-0242ac110002/ee91ee0e7c1b488c9360c655fd4c8b5f",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "4aa8dad8bd774ec8b4eebc9185d3312c",
    "description": "908861ba3b98422080723af54885c311",
    "client": "c196e850-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "c196e15c-fb46-11ee-bcea-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "c196e210-fb46-11ee-bcea-0242ac110002",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196e954-fb46-11ee-bcea-0242ac110002/bf326e7efd4541158fb98966d2f6010c",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "acf33ca35d754fdaa4299d6ce458db5d",
    "description": "7acb0b06c7df4d288d3764ffe027da6a",
    "client": "c196ea62-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196eb52-fb46-11ee-bcea-0242ac110002/1cfadd08d1cd462ab2d6647e32c77166",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "2d824f1849314cff9a7fd8e983e2f41f",
    "description": "60d2d04ba6484d6bac680eb88c862890",
    "client": "c196ec60-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196ed0a-fb46-11ee-bcea-0242ac110002/8926463781714a568cae31347f9360ba",
    "allows_refresh_token": true,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "13258db88cbf422aac88046d21bff5e7",
    "description": "9e20638028e94fd3b8898518ca546c1f",
    "client": "c196ee0e-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c196eec2-fb46-11ee-bcea-0242ac110002/48c280124e914fbcb90bbdc146f80b6d",
    "allows_refresh_token": false,
    "id": "c196d0ae-fb46-11ee-bcea-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "d7062be5d87144c88920957c0d45b03f",
    "description": "e44d6c25206245b78796951f07abbee3",
    "client": "c196efc6-fb46-11ee-bcea-0242ac110002",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "c45b6fca-fb46-11ee-bcea-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "c45b7240-fb46-11ee-bcea-0242ac110002",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}