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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "fd1f80fc51994097bb89038542bdba66",
    "project": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f6ac-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f7f6-51f3-11f0-b2c3-1695673a3ead",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f8a0-51f3-11f0-b2c3-1695673a3ead",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e5f468-51f3-11f0-b2c3-1695673a3ead",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "26e9852e-51f3-11f0-b2c3-1695673a3ead",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "26e985ba-51f3-11f0-b2c3-1695673a3ead",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "03f8b3c83d2c4e9daef37caaba4e15de",
    "id": "26e9852e-51f3-11f0-b2c3-1695673a3ead",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "26e985ba-51f3-11f0-b2c3-1695673a3ead",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "26e12dac-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "26e12e88-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "26e12f0a-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "26e12fd2-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "26e13054-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "26e13108-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "26e1319e-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "26e13234-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "26e132ca-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "e3017e52fa43430eb9850cafaf3de6c5",
    "description": "Controls access to Foo",
    "id": "26e133c4-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "54c2bc386fae4e709aa382a4119d9de9",
    "id": "26e1348c-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "26e13522-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "26e135ae-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "26e13644-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "26e136d0-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "26e1375c-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "26e12c80-51f3-11f0-b2c3-1695673a3ead",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "26e13b3a-51f3-11f0-b2c3-1695673a3ead"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "26dcebca-51f3-11f0-b2c3-1695673a3ead",
    "admins": {
      "identities": [
        {
          "identity_provider": "26dcec88-51f3-11f0-b2c3-1695673a3ead",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "26dced00-51f3-11f0-b2c3-1695673a3ead",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "26dced00-51f3-11f0-b2c3-1695673a3ead"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "26dcebca-51f3-11f0-b2c3-1695673a3ead",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "26dced82-51f3-11f0-b2c3-1695673a3ead",
          "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": [
      "26dced82-51f3-11f0-b2c3-1695673a3ead"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecb9d8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecbabe-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecbb40-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecbabe-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecbbd6-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecbc58-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecbbd6-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecbd48-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "131bfdf1bb044eb89cc95cf4cd45f67b",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecbe2e-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "f84541a4a73a4c268a7a9a0da87b77cf",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/bf8bc62c33254e678dbd2ecfeafa84f9",
    "allows_refresh_token": true,
    "id": "26ecbeec-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc00e-51f3-11f0-b2c3-1695673a3ead",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc0e0-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc18a-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": false,
    "id": "26ecc216-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc2a2-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc32e-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc3c4-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ecb8ca-51f3-11f0-b2c3-1695673a3ead/manage",
    "allows_refresh_token": true,
    "id": "26ecc586-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "26ecb8ca-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": [
      {
        "scope": "26ecc478-51f3-11f0-b2c3-1695673a3ead",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "26ecc50e-51f3-11f0-b2c3-1695673a3ead",
        "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": "26e81950-51f3-11f0-b2c3-1695673a3ead",
    "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": "26ea404a-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e2fc36-51f3-11f0-b2c3-1695673a3ead",
    "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": "26dea398-51f3-11f0-b2c3-1695673a3ead",
    "admins": {
      "identities": [
        {
          "identity_provider": "26dea456-51f3-11f0-b2c3-1695673a3ead",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "26dea4ce-51f3-11f0-b2c3-1695673a3ead",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "26dea4ce-51f3-11f0-b2c3-1695673a3ead"
    ],
    "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": "26eec228-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e3b838-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e3b838-51f3-11f0-b2c3-1695673a3ead",
    "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": "26e8da34-51f3-11f0-b2c3-1695673a3ead",
      "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": "26e47214-51f3-11f0-b2c3-1695673a3ead",
      "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": "26e47156-51f3-11f0-b2c3-1695673a3ead",
      "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": "290fc5de-51f3-11f0-b2c3-1695673a3ead",
      "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": "26e002ec-51f3-11f0-b2c3-1695673a3ead",
      "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": "26e003aa-51f3-11f0-b2c3-1695673a3ead",
      "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": "26df4e60-51f3-11f0-b2c3-1695673a3ead",
    "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": [
      "26db6944-51f3-11f0-b2c3-1695673a3ead"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "26db69bc-51f3-11f0-b2c3-1695673a3ead",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "26db675a-51f3-11f0-b2c3-1695673a3ead",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "26db68a4-51f3-11f0-b2c3-1695673a3ead",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "26db675a-51f3-11f0-b2c3-1695673a3ead",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "26db6944-51f3-11f0-b2c3-1695673a3ead",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "26dc1b78-51f3-11f0-b2c3-1695673a3ead"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "26dc1c04-51f3-11f0-b2c3-1695673a3ead",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "26dc1a2e-51f3-11f0-b2c3-1695673a3ead",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "26dc1b78-51f3-11f0-b2c3-1695673a3ead",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "26dc1b78-51f3-11f0-b2c3-1695673a3ead"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "26dc1c86-51f3-11f0-b2c3-1695673a3ead",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "26dc1a2e-51f3-11f0-b2c3-1695673a3ead",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "26dc1af6-51f3-11f0-b2c3-1695673a3ead",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "26dc1a2e-51f3-11f0-b2c3-1695673a3ead",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "26dc1b78-51f3-11f0-b2c3-1695673a3ead",
            "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": "26eafab2-51f3-11f0-b2c3-1695673a3ead",
    "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": "26ebc0dc-51f3-11f0-b2c3-1695673a3ead",
      "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": "26ebc1ae-51f3-11f0-b2c3-1695673a3ead",
      "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": "26ebc0dc-51f3-11f0-b2c3-1695673a3ead",
      "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": "26ebc1ae-51f3-11f0-b2c3-1695673a3ead",
      "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": "290fc5de-51f3-11f0-b2c3-1695673a3ead",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "290fc7c8-51f3-11f0-b2c3-1695673a3ead",
      "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": "26e735bc-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "5075bada7a404bbdab2c9fa367cb6895",
    "id": "26e7371a-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "26e737c4-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "26e73850-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "26e738e6-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "26e73986-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "26e73a08-51f3-11f0-b2c3-1695673a3ead",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "26e73a76-51f3-11f0-b2c3-1695673a3ead"
  }
}
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": "26e73b02-51f3-11f0-b2c3-1695673a3ead",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "26e73b70-51f3-11f0-b2c3-1695673a3ead"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "26e223c4-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "505c680f9e7d4f389518a5dc5de5c5d0",
    "description": "cc5017b7a37248c08e04877a6d43fbf9",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "26e224fa-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "23a880eac9084c3d8579be4ab90b0c41",
    "description": "5ddce148a77f47ffa48b52af2ad5540b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "26e2266c-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "a0985f93ec4d4619afb6575eb55bcd1f",
    "description": "4f10a963134342a1ae0ac4ccb728fa51",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "26e2281a-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "3b358c64fa5741ac9094d02397d35eeb",
    "description": "1adb5d3c29b44b258e38607049b8b859",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "26e228e2-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "87fb666d7f0249acb263c7bcaf9dccfd",
    "description": "82027a57e3654a6ebfcc1830980fbee0",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "26e229c8-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "205ea406c2de42429220bb88986324a4",
    "description": "227f895cd681438683bd4cba2b6a7302",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "26e22ac2-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "ef2504204fbb41a6a5ee5e36384e196c",
    "description": "52e33c9356af4075b0898993aa5f59ac",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "26e22bd0-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2c71d5c5e91d41c1b9551fa9f44cb50c",
    "description": "0f0ab2e73d0449f8b293ac13e831c055",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "26e22cac-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "4516dbff3b76471daca99b24c6e0c758",
    "description": "4b0205f12f024f45bdcd6cb43f7b264d",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "26e22d74-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "87e03cb95285467696fae0c7e60fba08",
    "description": "2f02ad40d46b41688df66a1cfb3149e3",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "26e22e3c-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2b128dfc33354022970f9f3934ab3e6f",
    "description": "39d619b7c38447a4bacac2981a47bf16",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "26e22f04-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "a98d92bd98184980bde592a2d8c36567",
    "description": "52f6d843b77249edaa5f904217f9b20e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "26e22fcc-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "cba5f8ae98a34b1a8ae418219b310bc3",
    "description": "6b7669dc8e54455381bb41e625d276c3",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "26e2308a-51f3-11f0-b2c3-1695673a3ead",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2d117928c7eb44a79f003c9f5448ee42",
    "description": "52141217a58140149caf626393d3b721",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "26ddda76-51f3-11f0-b2c3-1695673a3ead",
    "admins": {
      "identities": [
        {
          "identity_provider": "26dddb34-51f3-11f0-b2c3-1695673a3ead",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "26dddbb6-51f3-11f0-b2c3-1695673a3ead",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "26dddbb6-51f3-11f0-b2c3-1695673a3ead"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "26ddda76-51f3-11f0-b2c3-1695673a3ead",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "26dddc24-51f3-11f0-b2c3-1695673a3ead",
          "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": [
      "26dddc24-51f3-11f0-b2c3-1695673a3ead"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edddc2-51f3-11f0-b2c3-1695673a3ead/f98465c0e239433983c6086344d251db",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "e14a9959a9b140c0bea427fc635d6af6",
    "description": "f5013e5dea534dfdb5e45b2e2dd45ad1",
    "client": "26eddeda-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ede2b8-51f3-11f0-b2c3-1695673a3ead/0e323eae74ff48809dbd1542d3af6b87",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "76bae51de8ce4c5682cd22c24f0049d9",
    "description": "b2409b55cfdb46f6bc5026b4afb35be0",
    "client": "26ede39e-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ede484-51f3-11f0-b2c3-1695673a3ead/dae8d2cdf7a246549c02725bea77b023",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "970bf4939954424984c50629e39981c3",
    "description": "4b9f46700cb3424ab7793502a1292f72",
    "client": "26ede556-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ede60a-51f3-11f0-b2c3-1695673a3ead/201f8d23c0e24f3f99de56842058fcba",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "294fcb12ada84d5eab7d0805efa1cd85",
    "description": "d352af8600ae4849ae5a9c9f9dbda764",
    "client": "26ede6dc-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ede768-51f3-11f0-b2c3-1695673a3ead/552051d1ac9049ab8171c8d63777519c",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "10df1ef1084e4cb0811c84e7ee3618a3",
    "description": "48e0ff34ebf142fca5ac3a9ff299fe47",
    "client": "26ede830-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26ede8da-51f3-11f0-b2c3-1695673a3ead/cadcb2f5a9f24e2ab9096b2effb03f19",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "f669e9f5103e49628f9726aa07b0da89",
    "description": "1a65fa5746ab4416ae1aa80938c84147",
    "client": "26ede9a2-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edea38-51f3-11f0-b2c3-1695673a3ead/2bc88a9dfbd7464eb59b8f5dd86ff81b",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "821ca2f8072a4d3596bda66901bf3aeb",
    "description": "c2642a533ae64eeeb2223dfeb9d3d269",
    "client": "26edeb00-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edecb8-51f3-11f0-b2c3-1695673a3ead/b306d358d7c44ff48eacffcc13cb3b15",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "29ee6ad9b1424acbb720e1d59155b7a1",
    "description": "61c481341c8c4a1d98f1a405f7189945",
    "client": "26eded9e-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": [
      {
        "scope": "26edebaa-51f3-11f0-b2c3-1695673a3ead",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "26edec2c-51f3-11f0-b2c3-1695673a3ead",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edee48-51f3-11f0-b2c3-1695673a3ead/896b32f12ae841b698c25c5394e5d125",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": true,
    "required_domains": [],
    "name": "39b75edc03f348f391cc221ca8446f55",
    "description": "c9eba2f6e5e84d23b5d5d08fbf4feddf",
    "client": "26edef24-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edefb0-51f3-11f0-b2c3-1695673a3ead/8f3d3c98c85f46629c6eca049f7d2da0",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "54ec7feaa9ba4aa2a16e7ed46f4e96a9",
    "description": "e07251849ae34ab8a0eca16f2e63073f",
    "client": "26edf078-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edf10e-51f3-11f0-b2c3-1695673a3ead/4254c07862774d5399d2e0342d24b164",
    "allows_refresh_token": true,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "bcc1552391cf40cf95546e68b40f2cdb",
    "description": "4c247b1d2b2343fe824d7acdd143a523",
    "client": "26edf1f4-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/26edf280-51f3-11f0-b2c3-1695673a3ead/59b5059f7c7348cf9f3cf7ebde4d6d5d",
    "allows_refresh_token": false,
    "id": "26eddcc8-51f3-11f0-b2c3-1695673a3ead",
    "advertised": false,
    "required_domains": [],
    "name": "f4037091b46b4f2aa86867e7799c32fb",
    "description": "a5a75ed126094f35948038c4a97b1908",
    "client": "26edf348-51f3-11f0-b2c3-1695673a3ead",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "290fc5de-51f3-11f0-b2c3-1695673a3ead",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "290fc7c8-51f3-11f0-b2c3-1695673a3ead",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}