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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "186e5108fba249388100330b13e00482",
    "project": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d412-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d5de-755e-11f1-acfc-52a0a0307482",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d6b0-755e-11f1-acfc-52a0a0307482",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "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": "0c78d0ca-755e-11f1-acfc-52a0a0307482",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "0c7c8530-755e-11f1-acfc-52a0a0307482",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "0c7c85e4-755e-11f1-acfc-52a0a0307482",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "3490cc9854764200b595edc46b8616a0",
    "id": "0c7c8530-755e-11f1-acfc-52a0a0307482",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "0c7c85e4-755e-11f1-acfc-52a0a0307482",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "0c5fd084-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "0c5fd14c-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "0c5fd228-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "0c5fd30e-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "0c5fd3b8-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "0c5fd48a-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "0c5fd548-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "0c5fd5fc-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "0c5fd6a6-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "eba4e062b5544d86a731da241d3f5b23",
    "description": "Controls access to Foo",
    "id": "0c5fd822-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "7e5c35c027c04421b0f555f180e4f26f",
    "id": "0c5fd958-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "0c5fda20-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "0c5fdad4-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "0c5fdb7e-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "0c5fdc3c-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "0c5fdce6-755e-11f1-acfc-52a0a0307482"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "0c5fcf26-755e-11f1-acfc-52a0a0307482",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "0c5fdd7c-755e-11f1-acfc-52a0a0307482"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "0c5bae78-755e-11f1-acfc-52a0a0307482",
    "admins": {
      "identities": [
        {
          "identity_provider": "0c5baf5e-755e-11f1-acfc-52a0a0307482",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "0c5bafea-755e-11f1-acfc-52a0a0307482",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "0c5bafea-755e-11f1-acfc-52a0a0307482"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "0c5bae78-755e-11f1-acfc-52a0a0307482",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "0c5bb076-755e-11f1-acfc-52a0a0307482",
          "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": [
      "0c5bb076-755e-11f1-acfc-52a0a0307482"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fe46e-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe57c-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fe61c-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe57c-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe6da-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fe784-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe6da-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fe8c4-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "f72c26c1e7874151afff89ae0dc04b37",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fe9c8-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "09e9750e213c4905a7da7ac0c87049e4",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/ee10a3b486b74a7f874dc912035c2a13",
    "allows_refresh_token": true,
    "id": "0c7feac2-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7feb80-755e-11f1-acfc-52a0a0307482",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fec5c-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fed2e-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": false,
    "id": "0c7fedec-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7feeaa-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7fef68-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7ff01c-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c7fe324-755e-11f1-acfc-52a0a0307482/manage",
    "allows_refresh_token": true,
    "id": "0c7ff206-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "0c7fe324-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": [
      {
        "scope": "0c7ff0c6-755e-11f1-acfc-52a0a0307482",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "0c7ff170-755e-11f1-acfc-52a0a0307482",
        "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": "0c7b03cc-755e-11f1-acfc-52a0a0307482",
    "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": "0c7d4420-755e-11f1-acfc-52a0a0307482",
    "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": "0c7596c6-755e-11f1-acfc-52a0a0307482",
    "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": "0c5d640c-755e-11f1-acfc-52a0a0307482",
    "admins": {
      "identities": [
        {
          "identity_provider": "0c5d64f2-755e-11f1-acfc-52a0a0307482",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "0c5d6588-755e-11f1-acfc-52a0a0307482",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "0c5d6588-755e-11f1-acfc-52a0a0307482"
    ],
    "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": "0c820a8c-755e-11f1-acfc-52a0a0307482",
    "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": "0c76627c-755e-11f1-acfc-52a0a0307482",
    "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": "0c76627c-755e-11f1-acfc-52a0a0307482",
    "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": "0c7bcfdc-755e-11f1-acfc-52a0a0307482",
      "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": "0c773260-755e-11f1-acfc-52a0a0307482",
      "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": "0c773152-755e-11f1-acfc-52a0a0307482",
      "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": "0ee921c0-755e-11f1-acfc-52a0a0307482",
      "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": "0c5edc92-755e-11f1-acfc-52a0a0307482",
      "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": "0c5edd78-755e-11f1-acfc-52a0a0307482",
      "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": "0c5e2c84-755e-11f1-acfc-52a0a0307482",
    "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": [
      "0c59f830-755e-11f1-acfc-52a0a0307482"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "0c59f8c6-755e-11f1-acfc-52a0a0307482",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "0c59f5e2-755e-11f1-acfc-52a0a0307482",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "0c59f772-755e-11f1-acfc-52a0a0307482",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "0c59f5e2-755e-11f1-acfc-52a0a0307482",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "0c59f830-755e-11f1-acfc-52a0a0307482",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "0c5ab914-755e-11f1-acfc-52a0a0307482"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "0c5ab9fa-755e-11f1-acfc-52a0a0307482",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "0c5ab608-755e-11f1-acfc-52a0a0307482",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "0c5ab914-755e-11f1-acfc-52a0a0307482",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "0c5ab914-755e-11f1-acfc-52a0a0307482"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "0c5aba90-755e-11f1-acfc-52a0a0307482",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "0c5ab608-755e-11f1-acfc-52a0a0307482",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "0c5ab6f8-755e-11f1-acfc-52a0a0307482",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "0c5ab608-755e-11f1-acfc-52a0a0307482",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "0c5ab914-755e-11f1-acfc-52a0a0307482",
            "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": "0c7e1814-755e-11f1-acfc-52a0a0307482",
    "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": "0c7eded4-755e-11f1-acfc-52a0a0307482",
      "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": "0c7edfba-755e-11f1-acfc-52a0a0307482",
      "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": "0c7eded4-755e-11f1-acfc-52a0a0307482",
      "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": "0c7edfba-755e-11f1-acfc-52a0a0307482",
      "advertised": false,
      "required_domains": [],
      "name": "Client view scope",
      "description": "View configuration of this client",
      "client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
      "dependent_scopes": []
    }
  ]
}
update_client (case="default")
{
  "client": {
    "client_type": "public_installed_client",
    "grant_types": [
      "authorization_code",
      "refresh_token"
    ],
    "fqdns": [],
    "links": {
      "privacy_policy": null,
      "terms_and_conditions": null
    },
    "parent_client": null,
    "preselect_idp": null,
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "0c7a139a-755e-11f1-acfc-52a0a0307482"
  }
}
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": "ffecb34599fb4233a345446b27c8b208",
    "id": "0c7a1566-755e-11f1-acfc-52a0a0307482"
  }
}
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": "0c7a164c-755e-11f1-acfc-52a0a0307482"
  }
}
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": "0c7a1a70-755e-11f1-acfc-52a0a0307482"
  }
}
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": "0c7a1b4c-755e-11f1-acfc-52a0a0307482"
  }
}
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": "0c7a1c14-755e-11f1-acfc-52a0a0307482"
  }
}
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": "0c7a1cc8-755e-11f1-acfc-52a0a0307482",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "0c7a1d4a-755e-11f1-acfc-52a0a0307482"
  }
}
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": "0c7a1dea-755e-11f1-acfc-52a0a0307482",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "0c7a1e62-755e-11f1-acfc-52a0a0307482"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "0c748e8e-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8eb6a9bef73442898b899d8927d290bf",
    "description": "18bdc966fd7d4873b422fc38bf4d1ac5",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "0c749064-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0e167f121c254d58b940112842c6deb3",
    "description": "8a849e40168b45c788032bc49cc8d14c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "0c74924e-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "e82a8f2a66ce42c596d5486f50df8174",
    "description": "1d65943f26c942b98dae46157762de9b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "0c74941a-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "c46fa2465cc74c36baa71a0a3744cf92",
    "description": "8207859be47e4699bf3aeca88c53cf61",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "0c74953c-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "a050389e7f00414da19562a72f802916",
    "description": "336fd6e510cd468ebbe03259476ecbd5",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "0c749654-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "1f725155426b4442b021011c25933387",
    "description": "1724300e2fe44787a200d2dcfddc15bb",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "0c74978a-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "d8a2eeaa0f964594855eee305c984192",
    "description": "90f3efdc6e3b47969152ff5969904d4a",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "0c7498de-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "28f4d904530c40db92706909faa5c2cc",
    "description": "99c46c9c22e847dc8e0bdbd39d54e80b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "0c749a14-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "664b739fbfc84886a5646a1005dee523",
    "description": "572124566e524c75af671882265b5cc6",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "0c749b36-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "f13390b2673b4c19abaf316ed65d9d99",
    "description": "f3e4b261621e4a59ab0a53de33e815a4",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "0c749c4e-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "e37e6d6be0b243bba293f7b52eb10efe",
    "description": "b1d60d85507e46fcb684f998850a52e0",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "0c749d5c-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "aac53414c4ce4774836975850914d7ba",
    "description": "d18b78307c564651a42addbac4fb2c61",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "0c749e60-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "3cf2984c3f804535a66e7f9c0364d91c",
    "description": "7741497900574c82a36f957c33d97b0f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "0c749f64-755e-11f1-acfc-52a0a0307482",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "9ed6eff118ea48a0b141a71676173a82",
    "description": "f904f979a5994e3d9b47438ee2ebaef3",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "0c5c9022-755e-11f1-acfc-52a0a0307482",
    "admins": {
      "identities": [
        {
          "identity_provider": "0c5c9108-755e-11f1-acfc-52a0a0307482",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "0c5c91a8-755e-11f1-acfc-52a0a0307482",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "0c5c91a8-755e-11f1-acfc-52a0a0307482"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "0c5c9022-755e-11f1-acfc-52a0a0307482",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "0c5c922a-755e-11f1-acfc-52a0a0307482",
          "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": [
      "0c5c922a-755e-11f1-acfc-52a0a0307482"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c8117bc-755e-11f1-acfc-52a0a0307482/327856bd5f024ee3b2fbcfbb6d688bed",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "4be5a96529324bcc8a56ab7f2ab951cf",
    "description": "293d09738ae5418a9eeb74f4b85a11db",
    "client": "0c811910-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c811a46-755e-11f1-acfc-52a0a0307482/bd47615f9ddf4b32894f1834d96912c5",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "03d7adf39c5e48bab0e622874d372601",
    "description": "416af5a117534a44ad483d0c3202dc3a",
    "client": "0c811b4a-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c811c4e-755e-11f1-acfc-52a0a0307482/5eb70e8359d34332bd8dd5332c780e04",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "d692897253c5418e9bfca86c815871e6",
    "description": "7432bb0e81d34a5381c0e2ee6929ad21",
    "client": "0c811d48-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c811e38-755e-11f1-acfc-52a0a0307482/7b6ff25eed064570b78f1307772a11ef",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "f37013bb9c2846249682b298a53f32bd",
    "description": "11d5aa433b964e0eaa72101bf06cf813",
    "client": "0c811f32-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c811ffa-755e-11f1-acfc-52a0a0307482/1032d4b165604dec9d9d1df59ef0f4c1",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "1881b2ec87124caa8b278ce3b8d2fb8c",
    "description": "df17ff3e6a8a4bfca03c8af23280b62a",
    "client": "0c8120f4-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c8121bc-755e-11f1-acfc-52a0a0307482/b3fbfa87e9864e7aa7f8f3f08e0b814f",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "6f346ec0b1604c518858ce67ffbbde5b",
    "description": "6c2fec2b982340d88d38ef1f1c37cebd",
    "client": "0c8122c0-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c81237e-755e-11f1-acfc-52a0a0307482/c43920bc701f4f72935d15abe16d1292",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "8de74ae279f54bc4a7a9ea0c313b954b",
    "description": "38437987159a47d08082cde1ffab816b",
    "client": "0c812482-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c81268a-755e-11f1-acfc-52a0a0307482/c7b621304ce1445dbdcf86a44da294af",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "e7fff848a7b547de98390b05a38f2015",
    "description": "ce9a841a6af04f5783e89630c833133e",
    "client": "0c812798-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": [
      {
        "scope": "0c812536-755e-11f1-acfc-52a0a0307482",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "0c8125d6-755e-11f1-acfc-52a0a0307482",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c81287e-755e-11f1-acfc-52a0a0307482/1421001424ac48d7bf88c7cf24a28e8a",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": true,
    "required_domains": [],
    "name": "e01a9a803ae048b593f21ed4fc2745fd",
    "description": "e80125ad27794d0dbcbdd8e892aa4eaa",
    "client": "0c812982-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c812a40-755e-11f1-acfc-52a0a0307482/eca7d031a40b4f8691ce43cdf561b289",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "71fa3a6fc2324cc190bd26135676ef67",
    "description": "04e3ffd0a6ae4b8bb0c7b6f3c2b69306",
    "client": "0c812c84-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c812d88-755e-11f1-acfc-52a0a0307482/15f78b1ff4ae4e708d5c383d0dc5a994",
    "allows_refresh_token": true,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "3ee6ef0102e2475ea0ee9f07c69d6664",
    "description": "537d3cbf9baf46c0859d1743e5760c9e",
    "client": "0c812e8c-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/0c812f4a-755e-11f1-acfc-52a0a0307482/d43ff9430057449590e2fb4ff0569da7",
    "allows_refresh_token": false,
    "id": "0c811686-755e-11f1-acfc-52a0a0307482",
    "advertised": false,
    "required_domains": [],
    "name": "bd6dceb4e39640039bace1df881e6658",
    "description": "b446b4ec344b474397c6f78da589ebf0",
    "client": "0c813044-755e-11f1-acfc-52a0a0307482",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "0ee921c0-755e-11f1-acfc-52a0a0307482",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "0ee9230a-755e-11f1-acfc-52a0a0307482",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}