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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "6f10e9f9f0e24e5594fcf4d12e903630",
    "project": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "6821164c-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "6821176e-6350-11f0-a435-0af54795a764",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "68211804-6350-11f0-a435-0af54795a764",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "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": "682113f4-6350-11f0-a435-0af54795a764",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "68248f3e-6350-11f0-a435-0af54795a764",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "68248fd4-6350-11f0-a435-0af54795a764",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "3302591e5b134dd9a036489c625ce1d0",
    "id": "68248f3e-6350-11f0-a435-0af54795a764",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "68248fd4-6350-11f0-a435-0af54795a764",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "681c3104-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "681c31cc-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "681c324e-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "681c330c-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "681c338e-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "681c3438-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "681c34ce-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "681c35be-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "681c364a-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "c62e91ae4c8f4180aff7c2599668de51",
    "description": "Controls access to Foo",
    "id": "681c3758-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "f49e872b997b4d65802e241f32989844",
    "id": "681c3816-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "681c38b6-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "681c3960-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "681c39ec-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "681c3a6e-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "681c3afa-6350-11f0-a435-0af54795a764"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "681c2fba-6350-11f0-a435-0af54795a764",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "681c3b90-6350-11f0-a435-0af54795a764"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "6817f2a6-6350-11f0-a435-0af54795a764",
    "admins": {
      "identities": [
        {
          "identity_provider": "6817f364-6350-11f0-a435-0af54795a764",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "6817f3dc-6350-11f0-a435-0af54795a764",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "6817f3dc-6350-11f0-a435-0af54795a764"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "6817f2a6-6350-11f0-a435-0af54795a764",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "6817f44a-6350-11f0-a435-0af54795a764",
          "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": [
      "6817f44a-6350-11f0-a435-0af54795a764"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827de0a-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dedc-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827df5e-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dedc-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dff4-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e076-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dff4-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e166-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "f934b2d2ad874f5482e2d8509c3f574e",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e224-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "dbe408da0d67432f88ec18d8698f1725",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/e2876691279d46a49704e09313877b01",
    "allows_refresh_token": true,
    "id": "6827e2ce-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e35a-6350-11f0-a435-0af54795a764",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e40e-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e4ae-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": false,
    "id": "6827e544-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e5ee-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e684-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e710-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6827dd06-6350-11f0-a435-0af54795a764/manage",
    "allows_refresh_token": true,
    "id": "6827e8a0-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "6827dd06-6350-11f0-a435-0af54795a764",
    "dependent_scopes": [
      {
        "scope": "6827e792-6350-11f0-a435-0af54795a764",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "6827e81e-6350-11f0-a435-0af54795a764",
        "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": "68232b3a-6350-11f0-a435-0af54795a764",
    "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": "6825419a-6350-11f0-a435-0af54795a764",
    "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": "681e0358-6350-11f0-a435-0af54795a764",
    "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": "6819a0e2-6350-11f0-a435-0af54795a764",
    "admins": {
      "identities": [
        {
          "identity_provider": "6819a1a0-6350-11f0-a435-0af54795a764",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "6819a218-6350-11f0-a435-0af54795a764",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "6819a218-6350-11f0-a435-0af54795a764"
    ],
    "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": "6829c706-6350-11f0-a435-0af54795a764",
    "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": "681ed1c0-6350-11f0-a435-0af54795a764",
    "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": "681ed1c0-6350-11f0-a435-0af54795a764",
    "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": "6823d990-6350-11f0-a435-0af54795a764",
      "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": "681f7cec-6350-11f0-a435-0af54795a764",
      "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": "681f7c2e-6350-11f0-a435-0af54795a764",
      "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": "6a5da754-6350-11f0-a435-0af54795a764",
      "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": "681b093c-6350-11f0-a435-0af54795a764",
      "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": "681b09fa-6350-11f0-a435-0af54795a764",
      "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": "681a67ac-6350-11f0-a435-0af54795a764",
    "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": [
      "6816635a-6350-11f0-a435-0af54795a764"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "681663c8-6350-11f0-a435-0af54795a764",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "681661b6-6350-11f0-a435-0af54795a764",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "681662ce-6350-11f0-a435-0af54795a764",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "681661b6-6350-11f0-a435-0af54795a764",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "6816635a-6350-11f0-a435-0af54795a764",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "68171192-6350-11f0-a435-0af54795a764"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "68171214-6350-11f0-a435-0af54795a764",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "6817103e-6350-11f0-a435-0af54795a764",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "68171192-6350-11f0-a435-0af54795a764",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "68171192-6350-11f0-a435-0af54795a764"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "681712b4-6350-11f0-a435-0af54795a764",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "6817103e-6350-11f0-a435-0af54795a764",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "68171110-6350-11f0-a435-0af54795a764",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "6817103e-6350-11f0-a435-0af54795a764",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "68171192-6350-11f0-a435-0af54795a764",
            "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": "682608aa-6350-11f0-a435-0af54795a764",
    "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": "6826cef2-6350-11f0-a435-0af54795a764",
      "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": "6826cfb0-6350-11f0-a435-0af54795a764",
      "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": "6826cef2-6350-11f0-a435-0af54795a764",
      "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": "6826cfb0-6350-11f0-a435-0af54795a764",
      "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": "6a5da754-6350-11f0-a435-0af54795a764",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "6a5da862-6350-11f0-a435-0af54795a764",
      "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": "682242ec-6350-11f0-a435-0af54795a764"
  }
}
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": "74196c0eac8e47e5984b7b217aeaf274",
    "id": "68224472-6350-11f0-a435-0af54795a764"
  }
}
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": "68224512-6350-11f0-a435-0af54795a764"
  }
}
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": "682245a8-6350-11f0-a435-0af54795a764"
  }
}
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": "6822463e-6350-11f0-a435-0af54795a764"
  }
}
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": "682246f2-6350-11f0-a435-0af54795a764"
  }
}
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": "6822477e-6350-11f0-a435-0af54795a764",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "682247e2-6350-11f0-a435-0af54795a764"
  }
}
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": "6822486e-6350-11f0-a435-0af54795a764",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "682248d2-6350-11f0-a435-0af54795a764"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "681d2c80-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "db014042cd344359aff8f2dd9aad644c",
    "description": "9dd8168adcfd4270bdd38a084f248271",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "681d2dc0-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "ae0a0084a6a8478e819128f7552bb055",
    "description": "78f7291a3edc45029e1d2dff50cda85f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "681d2f14-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "6b5816401f634e5f8827b134e36c70fd",
    "description": "30f35fe0648843aa9b273a52d7f3400c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "681d309a-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "b1ddfd83c1fc4c6faa62b9f2243599a4",
    "description": "46eb1cef60ac4eeda5e1f8159b76f75e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "681d3176-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "068adc2220204b5e851f83159446b9f3",
    "description": "9b7ca6715fd14de999c937f74983b0da",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "681d3248-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "3abc4141d83544b7a71c4ad982369dd2",
    "description": "098a0e34fe5342a79f8c825037283775",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "681d3360-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "61fa507cbf54457b9c41c0da593c603d",
    "description": "56fcf2d829894b2a9afdfc0bee7e0e76",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "681d3464-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "cca0d55d1dda410094398c41f2328e04",
    "description": "3c328e4e0489487fbee8a3a549c15fb0",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "681d3540-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "101710189f3447ec84b770965e3f5f9f",
    "description": "d53418497e0949be8ea4303b897873cc",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "681d3626-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0401ad81ddc54bc795811fcc29813c52",
    "description": "ea9680c9c12744a3b0f11895bdbe7758",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "681d36f8-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "f299148b9e6c4a299a8ff7ca2faec3fb",
    "description": "984610093ac14ddc98aedff1fae3f369",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "681d37c0-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8ba919ef73d04a83bcd0058f7eff60f3",
    "description": "f785495bf1004587a5621194aafe2746",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "681d387e-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "d0db6ca572e247a19faf656cf6b4bc29",
    "description": "a56061fc39394b6d9694d3e63a7654a7",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "681d3946-6350-11f0-a435-0af54795a764",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "feb36cc3a586425e95be39780d820c20",
    "description": "8f11dce21df7417392d37646f6f43795",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "6818d37e-6350-11f0-a435-0af54795a764",
    "admins": {
      "identities": [
        {
          "identity_provider": "6818d446-6350-11f0-a435-0af54795a764",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "6818d4be-6350-11f0-a435-0af54795a764",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "6818d4be-6350-11f0-a435-0af54795a764"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "6818d37e-6350-11f0-a435-0af54795a764",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "6818d536-6350-11f0-a435-0af54795a764",
          "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": [
      "6818d536-6350-11f0-a435-0af54795a764"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828e7dc-6350-11f0-a435-0af54795a764/fa8cc1de1f1d4d75a241c520a7dbab61",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "5fab89c957994ae68641e75cbb37c733",
    "description": "52e0a8cb472c4e3ca87198b6e2291945",
    "client": "6828e8f4-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828ec8c-6350-11f0-a435-0af54795a764/4a56384f5d4a4f1da5c19d380657cb6a",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "9ab4f0713a80453fb6c1aee73a483e3f",
    "description": "fad7612f7a3447f1a8bfcb9c36f19fce",
    "client": "6828ed86-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828ee58-6350-11f0-a435-0af54795a764/2c5207272dbc4a809e0c4e5f38642e5c",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "04e42730fb2441f28783a94982a10683",
    "description": "af7caaeee0894ff8b81073f8c26225fb",
    "client": "6828ef34-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828efe8-6350-11f0-a435-0af54795a764/ad10d9c8182844beaf2de7802c70026c",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "8e076f043cd340679e4767ea70d2a884",
    "description": "ee3fbec3cd03433da2189cee12dc8778",
    "client": "6828f0b0-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828f13c-6350-11f0-a435-0af54795a764/a297b6ba8c924aaaa630c32c417cfab5",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "bdc3b69efc0e4788bebf8bb267fae7e5",
    "description": "c33a1684ae9d4079ade46e68238c1883",
    "client": "6828f236-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828f2d6-6350-11f0-a435-0af54795a764/8a5682afb55e41d69bbdac05fc7a6147",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "41b95f03635c4efeb8f6c332b514aaf8",
    "description": "ba5f4aa7e9c442cabda2f5c0db11fe79",
    "client": "6828f3bc-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828f448-6350-11f0-a435-0af54795a764/e4706b8c75a24c96b0a9e68b6dd3f982",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "5e24394e07d748089c1ffdbd00a66a3b",
    "description": "b9c8af3e61a444a8aa4dd16679c12b4b",
    "client": "6828f51a-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828f6d2-6350-11f0-a435-0af54795a764/685ed7664f4742f4bad1c72dfa4ddc73",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "81e566cbd40f4f6a8f2858c1d34fe3cd",
    "description": "94dda592d32f42579264e35b9dd50c01",
    "client": "6828f7b8-6350-11f0-a435-0af54795a764",
    "dependent_scopes": [
      {
        "scope": "6828f5ba-6350-11f0-a435-0af54795a764",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "6828f63c-6350-11f0-a435-0af54795a764",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828f858-6350-11f0-a435-0af54795a764/24b7a5f7ecb54fc4815d87c15555465d",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": true,
    "required_domains": [],
    "name": "2aae9a2ae165447d9202ef37b9e50803",
    "description": "98dcff638b67401a86412b372072b3eb",
    "client": "6828f92a-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828f9de-6350-11f0-a435-0af54795a764/6c3292e6d22e454481f86babe97b194e",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "e78af7311cea47ed8137313a36812150",
    "description": "50fd6adf1f64475788f8e4e8952d62c1",
    "client": "6828faa6-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828fb64-6350-11f0-a435-0af54795a764/4de4189b5543448d836622455b597b2b",
    "allows_refresh_token": true,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "290952b01f774891982fc587cf9acda6",
    "description": "88a2c1d373ee43e4bce97867f3479cab",
    "client": "6828fc40-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/6828fccc-6350-11f0-a435-0af54795a764/440287493d964430b0d80beea614fdd7",
    "allows_refresh_token": false,
    "id": "6828e6e2-6350-11f0-a435-0af54795a764",
    "advertised": false,
    "required_domains": [],
    "name": "f3d8816bcfc644c0b1cc82302a4930cc",
    "description": "bf801a64329a43d98d81a0f9acb95ca9",
    "client": "6828fd8a-6350-11f0-a435-0af54795a764",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "6a5da754-6350-11f0-a435-0af54795a764",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "6a5da862-6350-11f0-a435-0af54795a764",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}