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": "86237974-da52-11ee-bbf2-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": "943f03242efb4c94acb6b654f35ba705",
    "project": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237c58-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237df2-da52-11ee-bbf2-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "86237974-da52-11ee-bbf2-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": "86237ea6-da52-11ee-bbf2-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-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": "86237974-da52-11ee-bbf2-0242ac110002",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "86275f6c-da52-11ee-bbf2-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "8627600c-da52-11ee-bbf2-0242ac110002",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "aa032b39637c42498e00bfdbb9ae2719",
    "id": "86275f6c-da52-11ee-bbf2-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "8627600c-da52-11ee-bbf2-0242ac110002",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "861dd118-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "861dd1d6-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "861dd262-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "861dd320-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "861dd3b6-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "id": "861dd47e-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "id": "861dd53c-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "861dd5dc-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "209067883b54480c90c15eee9f38c8e4",
    "description": "Controls access to Foo",
    "id": "861dd6fe-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "4d6bf1a6df8c438abef097bc1e977e1f",
    "id": "861dd7f8-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "861dd8c0-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "861dd97e-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "861dda1e-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "861ddac8-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "861ddb72-da52-11ee-bbf2-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "861dcfe2-da52-11ee-bbf2-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "861ddc1c-da52-11ee-bbf2-0242ac110002"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "86196790-da52-11ee-bbf2-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "86196862-da52-11ee-bbf2-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "861968e4-da52-11ee-bbf2-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "861968e4-da52-11ee-bbf2-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "86196790-da52-11ee-bbf2-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "8619695c-da52-11ee-bbf2-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": [
      "8619695c-da52-11ee-bbf2-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b08b0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b0996-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b0a22-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b0996-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b0ad6-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b0b58-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b0ad6-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b0c7a-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "6eaaffd72bda462fbfe2c2308c964433",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b0d6a-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "8c36784d1a5549e1969493393c104df3",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/73edaf7c5d9e4fd39aa88ec4c1b652f7",
    "allows_refresh_token": true,
    "id": "862b0e5a-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b0f0e-da52-11ee-bbf2-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b0fe0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b10a8-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": false,
    "id": "862b115c-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b11fc-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b12a6-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b1350-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862b078e-da52-11ee-bbf2-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "862b156c-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "862b078e-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "862b1418-da52-11ee-bbf2-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "862b14d6-da52-11ee-bbf2-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": "8625d67e-da52-11ee-bbf2-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": "86283e6e-da52-11ee-bbf2-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": "861ff268-da52-11ee-bbf2-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": "861b493e-da52-11ee-bbf2-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "861b4a06-da52-11ee-bbf2-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "861b4a88-da52-11ee-bbf2-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "861b4a88-da52-11ee-bbf2-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": "862d51c4-da52-11ee-bbf2-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": "8620db74-da52-11ee-bbf2-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": "8620db74-da52-11ee-bbf2-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": "86269cf8-da52-11ee-bbf2-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": "8621919a-da52-11ee-bbf2-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": "862190be-da52-11ee-bbf2-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": "88cbb452-da52-11ee-bbf2-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": "861ce0c8-da52-11ee-bbf2-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": "861ce19a-da52-11ee-bbf2-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": "861c3326-da52-11ee-bbf2-0242ac110002",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35
  }
}
get_project (case="default")
{
  "project": {
    "admin_ids": [
      "8617a9d2-da52-11ee-bbf2-0242ac110002"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "8617aa54-da52-11ee-bbf2-0242ac110002",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "8617a7de-da52-11ee-bbf2-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "8617a93c-da52-11ee-bbf2-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "8617a7de-da52-11ee-bbf2-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "8617a9d2-da52-11ee-bbf2-0242ac110002",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "86186f48-da52-11ee-bbf2-0242ac110002"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "86186fde-da52-11ee-bbf2-0242ac110002",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "86186dc2-da52-11ee-bbf2-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "86186f48-da52-11ee-bbf2-0242ac110002",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "86186f48-da52-11ee-bbf2-0242ac110002"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "8618707e-da52-11ee-bbf2-0242ac110002",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "86186dc2-da52-11ee-bbf2-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "86186eb2-da52-11ee-bbf2-0242ac110002",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "86186dc2-da52-11ee-bbf2-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "86186f48-da52-11ee-bbf2-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": "86290344-da52-11ee-bbf2-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": "8629dbd4-da52-11ee-bbf2-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": "8629dc9c-da52-11ee-bbf2-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": "8629dbd4-da52-11ee-bbf2-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": "8629dc9c-da52-11ee-bbf2-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": "88cbb452-da52-11ee-bbf2-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "88cbb574-da52-11ee-bbf2-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": "8624c374-da52-11ee-bbf2-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": "3cb5c7d0e3f442d48d2c6e0243ea83cf",
    "id": "8624c568-da52-11ee-bbf2-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": "8624c63a-da52-11ee-bbf2-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": "8624c6ee-da52-11ee-bbf2-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": "8624c7ca-da52-11ee-bbf2-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": "8624c89c-da52-11ee-bbf2-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": "8624c946-da52-11ee-bbf2-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "8624c9be-da52-11ee-bbf2-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": "8624ca7c-da52-11ee-bbf2-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "8624caf4-da52-11ee-bbf2-0242ac110002"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "861efb42-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "72d5d194b2c54685adfff9013e5d51eb",
    "description": "15971b27cb8c45aab3a22d5ff58eba84",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "861efcc8-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "963f0da64ea0429eba4aef9d39c593f5",
    "description": "ddf23a344ac7441d8f04d151179b0aa7",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "861efe8a-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "c702d8641e394c95a2b0ba0313aa7914",
    "description": "1ef4939428f14353a2a9f3b76474086a",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "861f0042-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 9100,
    "display_name": "6e47a56c79a84f98b0d8ea5dfe3d1bec",
    "description": "9d2504e02648496ead63204084a66361",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "861f01aa-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "5087c45aac1349e1a3eacd337c74bef0",
    "description": "c3fe1617e165446a9edc95f787428244",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "861f0312-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "82ca7308384147da8327fc332a5fa787",
    "description": "621d3a1ace25428297e33d06f5e0f4da",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "861f0416-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "20af7d46fccd4f3b9edd82938c440e5c",
    "description": "7a366a7a5e2c4ad3a10d27b7410ac56f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "861f0538-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "07ee507c397b4fadb64b50c5655dba39",
    "description": "20d00bbf595a4d008c5c42d0e0fd30d1",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "861f0664-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "b306d90ac13b48fab618f7b4bfe5bef9",
    "description": "2ab16c3647cf44b3acf483fbcb66339f",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "861f0786-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "910936354f374a79bf4e6525bc06714f",
    "description": "a628d8d8020a4ab7b5d1408f44ceb722",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "861f08bc-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "9f3fb2bf147b4790b240260579ceb377",
    "description": "8101b0e7bd474637ba250594b6a52303",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "861f09b6-da52-11ee-bbf2-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "28c939b89b474d12b36f117740b62ba9",
    "description": "35ab13fcebcc4ebf89408c9a3f36d650",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "861a5b14-da52-11ee-bbf2-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "861a5be6-da52-11ee-bbf2-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "861a5c72-da52-11ee-bbf2-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "861a5c72-da52-11ee-bbf2-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "861a5b14-da52-11ee-bbf2-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "861a5cea-da52-11ee-bbf2-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": [
      "861a5cea-da52-11ee-bbf2-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c2ee8-da52-11ee-bbf2-0242ac110002/61e2f2c979874d9186aaf08f63ac9478",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "78af79718c4b4e55b98aa96338190ae5",
    "description": "d74984887be54e0287978ff8cf186a09",
    "client": "862c3032-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c315e-da52-11ee-bbf2-0242ac110002/9ab1fefcd9484ddca0434fbe10cfcede",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "4c4df0b76f6e4ca58c0695259deea7b8",
    "description": "fba440ac37c7411fa3490f52efdc12fc",
    "client": "862c326c-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c3366-da52-11ee-bbf2-0242ac110002/4343813f6dd14c25be52aeb19054f2b8",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "b0b7e20a06eb4b519d5b1c1bbe247844",
    "description": "a961aac48fee46a18762535b9af5b33a",
    "client": "862c3460-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c3550-da52-11ee-bbf2-0242ac110002/19f0c543a1c1421bb90f6d598cd471a6",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "cfe7a8ae8b75478b835cca9fe6f51fb5",
    "description": "d95dad4957b049ebad77b32a6774b66e",
    "client": "862c3654-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c36fe-da52-11ee-bbf2-0242ac110002/f50f0bf92f5d462aa8b798a4ca945c4d",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "0ac00ec588c24448acc219ecab1eb1b4",
    "description": "d04250f1986a496b80be03569fb0a6bf",
    "client": "862c380c-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c38d4-da52-11ee-bbf2-0242ac110002/5620ea045d75497292e78b9f4ba8a5ae",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "ba1bc64b47114079afae8e296c67afbc",
    "description": "eed0cdfa391643a580dba698e949d12f",
    "client": "862c39d8-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c3a8c-da52-11ee-bbf2-0242ac110002/c224a649be91477eb6a8c818388d67df",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "6c6395fc36ad46fd98fa653947bf3828",
    "description": "6006e568df1e495198db97c1a8578c7e",
    "client": "862c3b90-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c3d98-da52-11ee-bbf2-0242ac110002/658ff8d10fb44215bb31a45753d94531",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "2f55beb85e22498b8fc75b60fb3467ba",
    "description": "95c7386c25d540d9ad10dce02184b27c",
    "client": "862c3ea6-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "862c3c3a-da52-11ee-bbf2-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "862c3ce4-da52-11ee-bbf2-0242ac110002",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c3f8c-da52-11ee-bbf2-0242ac110002/d6c2645283344ce1b6f33b6b60d6b47f",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "4c8f378252754af7924ed60ad38e1fd8",
    "description": "752eef7e28304e8b99259a4f76642f7c",
    "client": "862c4086-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c4158-da52-11ee-bbf2-0242ac110002/82030e00d0d84823ab00fa9a4fee17f7",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "6724f1bb67d04a8cb0a9cf5e74199d28",
    "description": "90f82513f895447ba2f592e21ba6c9f9",
    "client": "862c4252-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c42fc-da52-11ee-bbf2-0242ac110002/1c83a7f9ea3742528c61e48629315568",
    "allows_refresh_token": true,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "85c2af3ef50e44e2a8ebe8db1eb4b655",
    "description": "c8f07f5c79414156bf4a882fb46244af",
    "client": "862c4400-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/862c44aa-da52-11ee-bbf2-0242ac110002/aac60fefae044956a80d6c15fa8a2367",
    "allows_refresh_token": false,
    "id": "862c2dd0-da52-11ee-bbf2-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "115da465d54f433facaea821a0611be6",
    "description": "ee3d4948f33b402e9ed4464fb5224258",
    "client": "862c459a-da52-11ee-bbf2-0242ac110002",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "88cbb452-da52-11ee-bbf2-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "88cbb574-da52-11ee-bbf2-0242ac110002",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}