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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "e3430dc26f294e40adcc31d4c2a9743f",
    "project": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2d54-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2f02-64e8-11f1-a135-d61b73c89ef7",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2fc0-64e8-11f1-a135-d61b73c89ef7",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "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": "72cb2ade-64e8-11f1-a135-d61b73c89ef7",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "72cec1da-64e8-11f1-a135-d61b73c89ef7",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "72cec284-64e8-11f1-a135-d61b73c89ef7",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "122ca458238747d7a7dcf27c6895babd",
    "id": "72cec1da-64e8-11f1-a135-d61b73c89ef7",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "72cec284-64e8-11f1-a135-d61b73c89ef7",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "72c6185a-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "72c61936-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "72c619d6-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "72c61ab2-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "72c61b70-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "72c61c38-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "72c61cf6-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "72c61da0-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "72c61e4a-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "b0c908af315a48679794ebcbafeae63d",
    "description": "Controls access to Foo",
    "id": "72c61f6c-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "617956bd72b94fd8aa536a494c964416",
    "id": "72c62098-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "72c62156-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "72c62200-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "72c622aa-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "72c6234a-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "72c623e0-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "72c61666-64e8-11f1-a135-d61b73c89ef7",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "72c62480-64e8-11f1-a135-d61b73c89ef7"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "72c1db0a-64e8-11f1-a135-d61b73c89ef7",
    "admins": {
      "identities": [
        {
          "identity_provider": "72c1dbe6-64e8-11f1-a135-d61b73c89ef7",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "72c1dc72-64e8-11f1-a135-d61b73c89ef7",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "72c1dc72-64e8-11f1-a135-d61b73c89ef7"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "72c1db0a-64e8-11f1-a135-d61b73c89ef7",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "72c1dcf4-64e8-11f1-a135-d61b73c89ef7",
          "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": [
      "72c1dcf4-64e8-11f1-a135-d61b73c89ef7"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3e416-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e506-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3e5a6-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e506-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e65a-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3e6fa-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e65a-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3e830-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "5a4c7fc9c7e541f69907bcbaf56c67d0",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3e92a-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "acaaf6d182af4ab2b728d7bdfa1607a6",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/8d49595c8a804ef581f8076be697fba6",
    "allows_refresh_token": true,
    "id": "72e3ea1a-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3eace-64e8-11f1-a135-d61b73c89ef7",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3eba0-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3ec5e-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": false,
    "id": "72e3ed12-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3edbc-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3ee66-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3ef10-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e3e2d6-64e8-11f1-a135-d61b73c89ef7/manage",
    "allows_refresh_token": true,
    "id": "72e3f0e6-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "72e3e2d6-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": [
      {
        "scope": "72e3efb0-64e8-11f1-a135-d61b73c89ef7",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "72e3f050-64e8-11f1-a135-d61b73c89ef7",
        "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": "72cd5304-64e8-11f1-a135-d61b73c89ef7",
    "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": "72e15fac-64e8-11f1-a135-d61b73c89ef7",
    "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": "72c81e20-64e8-11f1-a135-d61b73c89ef7",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35,
    "required_mfa": false
  }
}
delete_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "72c3a5fc-64e8-11f1-a135-d61b73c89ef7",
    "admins": {
      "identities": [
        {
          "identity_provider": "72c3a796-64e8-11f1-a135-d61b73c89ef7",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "72c3a82c-64e8-11f1-a135-d61b73c89ef7",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "72c3a82c-64e8-11f1-a135-d61b73c89ef7"
    ],
    "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": "72e5f300-64e8-11f1-a135-d61b73c89ef7",
    "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": "72c8d48c-64e8-11f1-a135-d61b73c89ef7",
    "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": "72c8d48c-64e8-11f1-a135-d61b73c89ef7",
    "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": "72ce0cae-64e8-11f1-a135-d61b73c89ef7",
      "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": "72c98508-64e8-11f1-a135-d61b73c89ef7",
      "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": "72c98422-64e8-11f1-a135-d61b73c89ef7",
      "prompt_for_named_grant": false,
      "fqdns": [
        "foo.net"
      ],
      "project": "da84e531-1afb-43cb-8c87-135ab580516a",
      "client_type": "client_identity",
      "visibility": "private",
      "parent_client": null,
      "userinfo_from_effective_identity": true,
      "preselect_idp": null,
      "public_client": false
    }
  ]
}
get_consents (case="default")
{
  "consents": [
    {
      "created": "2022-09-21T17:10:14.270581+00:00",
      "id": 142632,
      "status": "approved",
      "updated": "2022-09-21T17:10:14.270581+00:00",
      "allows_refresh": true,
      "dependency_path": [
        142632
      ],
      "scope_name": "urn:globus:auth:scope:transfer.api.globus.org:all",
      "atomically_revocable": false,
      "effective_identity": "8ca28797-3541-4a5d-a264-05b00f91e608",
      "auto_approved": false,
      "last_used": "2024-03-18T17:34:04.719126+00:00",
      "scope": "89ecabba-4acf-4e2e-a98d-ce592ccc2818",
      "client": "065db752-2f43-4fe1-a633-2ee68c9da889"
    },
    {
      "created": "2024-03-18T17:32:51.496893+00:00",
      "id": 433892,
      "status": "approved",
      "updated": "2024-03-18T17:32:51.496893+00:00",
      "allows_refresh": true,
      "dependency_path": [
        142632,
        433892
      ],
      "scope_name": "https://auth.globus.org/scopes/542a86fc-1766-450d-841f-065488a2ec01/data_access",
      "atomically_revocable": true,
      "effective_identity": "8ca28797-3541-4a5d-a264-05b00f91e608",
      "auto_approved": false,
      "last_used": "2024-03-18T17:33:05.178254+00:00",
      "scope": "fe334c19-4fe6-4d03-ac73-8992beb231b6",
      "client": "2fbdda78-a599-4cb5-ac3d-1fbcfbc6a754"
    }
  ]
}
get_identities (case="default")
{
  "identities": [
    {
      "email": null,
      "id": "46bd0f56-e24f-11e5-a510-131bef46955c",
      "identity_provider": "7daddf46-70c5-45ee-9f0f-7244fe7c8707",
      "name": null,
      "organization": null,
      "status": "unused",
      "username": "globus@globus.org"
    }
  ]
}
get_identities (case="empty")
{
  "identities": []
}
get_identities (case="multiple")
{
  "identities": [
    {
      "email": null,
      "id": "46bd0f56-e24f-11e5-a510-131bef46955c",
      "identity_provider": "7daddf46-70c5-45ee-9f0f-7244fe7c8707",
      "name": null,
      "organization": null,
      "status": "unused",
      "username": "globus@globus.org"
    },
    {
      "email": "sirosen@globus.org",
      "id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
      "identity_provider": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
      "name": "Stephen Rosen",
      "organization": "Globus Team",
      "status": "used",
      "username": "sirosen@globus.org"
    }
  ]
}
get_identities (case="globusid")
{
  "identities": [
    {
      "email": "support@globus.org",
      "id": "00000000-0000-0000-0000-000000000001",
      "identity_provider": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
      "identity_type": "login",
      "name": "Globus Team",
      "organization": "University of Chicago",
      "status": "used",
      "username": "globus@globusid.org"
    }
  ]
}
get_identities (case="sirosen")
{
  "identities": [
    {
      "email": "sirosen@globus.org",
      "id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
      "identity_provider": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
      "name": "Stephen Rosen",
      "organization": "Globus Team",
      "status": "used",
      "username": "sirosen@globus.org"
    }
  ]
}
get_identities (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "752eb0d4-64e8-11f1-a135-d61b73c89ef7",
      "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": "72c50c58-64e8-11f1-a135-d61b73c89ef7",
      "domain_constraints_exclude": null,
      "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
      "authentication_assurance_timeout": 35,
      "required_mfa": false
    },
    {
      "high_assurance": true,
      "domain_constraints_include": null,
      "display_name": "No RedLight domain Policy",
      "description": "Disallow access from @redlight.org",
      "id": "72c50d34-64e8-11f1-a135-d61b73c89ef7",
      "domain_constraints_exclude": [
        "redlight.org"
      ],
      "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
      "authentication_assurance_timeout": 35,
      "required_mfa": false
    }
  ]
}
get_policy (case="default")
{
  "policy": {
    "high_assurance": false,
    "domain_constraints_include": [
      "greenlight.org"
    ],
    "display_name": "GreenLight domain Only Policy",
    "description": "Only allow access from @greenlight.org",
    "id": "72c4671c-64e8-11f1-a135-d61b73c89ef7",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35,
    "required_mfa": false
  }
}
get_project (case="default")
{
  "project": {
    "admin_ids": [
      "72c03b4c-64e8-11f1-a135-d61b73c89ef7"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "72c03be2-64e8-11f1-a135-d61b73c89ef7",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "72c03930-64e8-11f1-a135-d61b73c89ef7",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "72c03a98-64e8-11f1-a135-d61b73c89ef7",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "72c03930-64e8-11f1-a135-d61b73c89ef7",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "72c03b4c-64e8-11f1-a135-d61b73c89ef7",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "72c10f0e-64e8-11f1-a135-d61b73c89ef7"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "72c10f9a-64e8-11f1-a135-d61b73c89ef7",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "72c10d88-64e8-11f1-a135-d61b73c89ef7",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "72c10f0e-64e8-11f1-a135-d61b73c89ef7",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "72c10f0e-64e8-11f1-a135-d61b73c89ef7"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "72c11026-64e8-11f1-a135-d61b73c89ef7",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "72c10d88-64e8-11f1-a135-d61b73c89ef7",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "72c10e6e-64e8-11f1-a135-d61b73c89ef7",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "72c10d88-64e8-11f1-a135-d61b73c89ef7",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "72c10f0e-64e8-11f1-a135-d61b73c89ef7",
            "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": "72e21b4a-64e8-11f1-a135-d61b73c89ef7",
    "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": "72e2e0e8-64e8-11f1-a135-d61b73c89ef7",
      "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": "72e2e1ce-64e8-11f1-a135-d61b73c89ef7",
      "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": "72e2e0e8-64e8-11f1-a135-d61b73c89ef7",
      "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": "72e2e1ce-64e8-11f1-a135-d61b73c89ef7",
      "advertised": false,
      "required_domains": [],
      "name": "Client view scope",
      "description": "View configuration of this client",
      "client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
      "dependent_scopes": []
    }
  ]
}
update_client (case="default")
{
  "client": {
    "client_type": "public_installed_client",
    "grant_types": [
      "authorization_code",
      "refresh_token"
    ],
    "fqdns": [],
    "links": {
      "privacy_policy": null,
      "terms_and_conditions": null
    },
    "parent_client": null,
    "preselect_idp": null,
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "72cc567a-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "f0fa09452949474588de2d77733df9aa",
    "id": "72cc58d2-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "72cc59e0-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "72cc5a9e-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "72cc5b98-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "72cc5c56-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "72cc5d00-64e8-11f1-a135-d61b73c89ef7",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "72cc5d78-64e8-11f1-a135-d61b73c89ef7"
  }
}
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": "72cc5e0e-64e8-11f1-a135-d61b73c89ef7",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "72cc5e86-64e8-11f1-a135-d61b73c89ef7"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "72c714d0-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "efa27360d1ff47048a9e1976a09b2209",
    "description": "08e8706dc55446f18b5b9ce354a0294a",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "72c7164c-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0817249f90eb4fde8083536e8d5937f2",
    "description": "0cb135192de849ef8475f4b35f8879cd",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "72c71836-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "9b00dc59accf48bdb1f89ed76f46892f",
    "description": "b0b23fd7bdbe4381a129124765f7200e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "72c719e4-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "730ff5052da643e4849ffd3387de74f9",
    "description": "c12945a5d36d42bfbcae84bf6ed63460",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "72c71ae8-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "7e679adf0fa244ebadd4fce444a46eaf",
    "description": "0d37fb7e5b8d474aa768258cae1f7075",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "72c71c46-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "dce230fa5062418ea9c0d3b4fe6be84a",
    "description": "be6863bc364544389acfe23a1db3b1ff",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "72c71da4-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "9a0b534acd1840018ca1980252d91b36",
    "description": "30e5aff2b6144042b7c2f70faf07c823",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "72c71eee-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "717f9796aec7427780b6040f7687a420",
    "description": "357d8c7f9238412dae617be40254cac3",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "72c72006-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "f19b76780668410c9dfb5f08ce72cca9",
    "description": "feb6410a22734cb193b82095bb0d6cc1",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "72c7210a-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "a239c102c358491d8a8f4da97890d880",
    "description": "759db58ed2e64bc980af352b87acb412",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "72c72204-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "7f270eb1bdc144f095abafc325a406de",
    "description": "214a8b49b3d340a18d02a1714d552588",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "72c724a2-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2d6a2b52b32440f8949c3b8a70864973",
    "description": "7b2b63fa2da04a3ea7543a01b1863d25",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "72c725f6-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "e1827776435c41d989df21f69c57917c",
    "description": "7ce7a80b4d944fa185ccef7d99cd82a3",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "72c726f0-64e8-11f1-a135-d61b73c89ef7",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "c1f15953dc1448afb5fa701322180ddb",
    "description": "7450c98ee7de4b79881107a5d46b5416",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "72c2c61e-64e8-11f1-a135-d61b73c89ef7",
    "admins": {
      "identities": [
        {
          "identity_provider": "72c2c6fa-64e8-11f1-a135-d61b73c89ef7",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "72c2c786-64e8-11f1-a135-d61b73c89ef7",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "72c2c786-64e8-11f1-a135-d61b73c89ef7"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "72c2c61e-64e8-11f1-a135-d61b73c89ef7",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "72c2c812-64e8-11f1-a135-d61b73c89ef7",
          "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": [
      "72c2c812-64e8-11f1-a135-d61b73c89ef7"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4eeec-64e8-11f1-a135-d61b73c89ef7/6fc49cd828734635b68ff83c53893ebc",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "b302e6657226479f8883df63dd87b4fc",
    "description": "980c7c7973924ff8b894e3fa1d1d4e35",
    "client": "72e4f036-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4f180-64e8-11f1-a135-d61b73c89ef7/8359eb0a1d734719ad12c908802ddd35",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "477ba45bfd744493848b999cb653cb5e",
    "description": "94f1a1d678be428da66203d149333ed5",
    "client": "72e4f284-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4f388-64e8-11f1-a135-d61b73c89ef7/85a8a4fcf13a4418814bb9581c63efc2",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "915b1c3e796348a9a4aac62375766ca2",
    "description": "91a9fd507e484a2e84386cdf87d24848",
    "client": "72e4f482-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4f55e-64e8-11f1-a135-d61b73c89ef7/bb73f2d86ec34bf498a030b50817d36a",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "b83d8c77d5b2457ab85c5b0ea4f232b9",
    "description": "bd11de2857084e4b8b05703b6dfbaf9c",
    "client": "72e4f658-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4f70c-64e8-11f1-a135-d61b73c89ef7/cad3feb8a921499caa7b0598238c2758",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "cbff515f0141418d94ab7ec7a31cffce",
    "description": "e6af431f7d9346fa92a10115275fa1a7",
    "client": "72e4f806-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4f8c4-64e8-11f1-a135-d61b73c89ef7/cf9f682875804c4d8f81f16482b0016b",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "e4211d6297eb479a8861c80ae765bb9b",
    "description": "0c4d0078b66940ecb2d01655ccf7127d",
    "client": "72e4f9be-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4fa72-64e8-11f1-a135-d61b73c89ef7/cc40f08d806a4b7790ceb98551026a4f",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "462daa70a4e144a7a5c7c95d21ec4156",
    "description": "5f6310fc734143bca5b33a5cb3a0e4ad",
    "client": "72e4fb6c-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4fd4c-64e8-11f1-a135-d61b73c89ef7/9bef5e4e85de4280b916fc0d5baba719",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "89ec76702b344fc28c3d2a0cd05c09d4",
    "description": "345e614f96704a538bd4738803079cbf",
    "client": "72e4fe5a-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": [
      {
        "scope": "72e4fc16-64e8-11f1-a135-d61b73c89ef7",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "72e4fca2-64e8-11f1-a135-d61b73c89ef7",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e4ff36-64e8-11f1-a135-d61b73c89ef7/591caad570ba4a28920dd3ed39cfed06",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": true,
    "required_domains": [],
    "name": "fef221daabaa418f91aaa3a9b54f5db0",
    "description": "707710f71dcf4241930edd28416dd988",
    "client": "72e50030-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e500e4-64e8-11f1-a135-d61b73c89ef7/b78c6de812364e15abc62b9b3a74ed2f",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "4c63907d11194933a556348e0f4cc5f5",
    "description": "a2871db33fab4f57b4f49c3a285de0a0",
    "client": "72e501d4-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e5027e-64e8-11f1-a135-d61b73c89ef7/2d9c27b9e9bc4b9b9552fb6a8c1cf593",
    "allows_refresh_token": true,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "c33dd5e33138451a9232f98d4c011df1",
    "description": "27bbc3d1f0744770b0804301f7ff3a5f",
    "client": "72e50378-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/72e50422-64e8-11f1-a135-d61b73c89ef7/7b3e65cc268b4976928491a41a8307ec",
    "allows_refresh_token": false,
    "id": "72e4edac-64e8-11f1-a135-d61b73c89ef7",
    "advertised": false,
    "required_domains": [],
    "name": "147ba041b5a046958ce435b4060cf931",
    "description": "a60be29e38f1496caa950acff369bc36",
    "client": "72e50512-64e8-11f1-a135-d61b73c89ef7",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "752eb0d4-64e8-11f1-a135-d61b73c89ef7",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "752eb214-64e8-11f1-a135-d61b73c89ef7",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}