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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "338d832a7ada4b28842fcc464d2ed0d9",
    "project": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da6b0-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da7fa-4b99-11f0-9a01-ae35546ab0ca",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da890-4b99-11f0-9a01-ae35546ab0ca",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3da48a-4b99-11f0-9a01-ae35546ab0ca",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "da412aba-4b99-11f0-9a01-ae35546ab0ca",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "da412b50-4b99-11f0-9a01-ae35546ab0ca",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "cd3c9774ec43436e8f938bc3e424bb7f",
    "id": "da412aba-4b99-11f0-9a01-ae35546ab0ca",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "da412b50-4b99-11f0-9a01-ae35546ab0ca",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "da38e468-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "da38e530-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "da38e5b2-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "da38e670-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "da38e6fc-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "da38e79c-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "da38e832-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "da38e8c8-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "da38e95e-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "cb58d25621e64deea7c1568d622dd3e0",
    "description": "Controls access to Foo",
    "id": "da38ea58-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "08e0d17103934658807156c59225ed21",
    "id": "da38eb16-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "da38ebb6-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "da38ec42-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "da38ecce-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "da38ed5a-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "da38ede6-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "da38e332-4b99-11f0-9a01-ae35546ab0ca",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "da38ee72-4b99-11f0-9a01-ae35546ab0ca"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "da34a45c-4b99-11f0-9a01-ae35546ab0ca",
    "admins": {
      "identities": [
        {
          "identity_provider": "da34a51a-4b99-11f0-9a01-ae35546ab0ca",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "da34a592-4b99-11f0-9a01-ae35546ab0ca",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "da34a592-4b99-11f0-9a01-ae35546ab0ca"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "da34a45c-4b99-11f0-9a01-ae35546ab0ca",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "da34a60a-4b99-11f0-9a01-ae35546ab0ca",
          "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": [
      "da34a60a-4b99-11f0-9a01-ae35546ab0ca"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da4450be-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da445186-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445208-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da445186-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da44529e-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445320-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da44529e-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445424-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "f91273e6fcfb41a391ed9d94601bd95e",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da4454d8-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "abcd6432f4ea48e0be932d4baaa1d207",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/499576608fa84aaa953d77e5412d0cd6",
    "allows_refresh_token": true,
    "id": "da44585c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da4458f2-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da4459a6-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445a46-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": false,
    "id": "da445adc-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445b68-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445c12-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445c9e-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da444fc4-4b99-11f0-9a01-ae35546ab0ca/manage",
    "allows_refresh_token": true,
    "id": "da445e38-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "da444fc4-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": [
      {
        "scope": "da445d2a-4b99-11f0-9a01-ae35546ab0ca",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "da445dc0-4b99-11f0-9a01-ae35546ab0ca",
        "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": "da3fbd10-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da41dbe0-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3aaad2-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da36546e-4b99-11f0-9a01-ae35546ab0ca",
    "admins": {
      "identities": [
        {
          "identity_provider": "da365522-4b99-11f0-9a01-ae35546ab0ca",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "da3655a4-4b99-11f0-9a01-ae35546ab0ca",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "da3655a4-4b99-11f0-9a01-ae35546ab0ca"
    ],
    "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": "da465026-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3b6918-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da3b6918-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da4078cc-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da3c0d46-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da3c0c7e-4b99-11f0-9a01-ae35546ab0ca",
      "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": "dc5d40b8-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da37bb24-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da37bbe2-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da370026-4b99-11f0-9a01-ae35546ab0ca",
    "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": [
      "da333130-4b99-11f0-9a01-ae35546ab0ca"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "da3331a8-4b99-11f0-9a01-ae35546ab0ca",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "da332f96-4b99-11f0-9a01-ae35546ab0ca",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "da3330a4-4b99-11f0-9a01-ae35546ab0ca",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "da332f96-4b99-11f0-9a01-ae35546ab0ca",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "da333130-4b99-11f0-9a01-ae35546ab0ca",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "da33dc66-4b99-11f0-9a01-ae35546ab0ca"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "da33dcf2-4b99-11f0-9a01-ae35546ab0ca",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "da33db26-4b99-11f0-9a01-ae35546ab0ca",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "da33dc66-4b99-11f0-9a01-ae35546ab0ca",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "da33dc66-4b99-11f0-9a01-ae35546ab0ca"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "da33dd74-4b99-11f0-9a01-ae35546ab0ca",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "da33db26-4b99-11f0-9a01-ae35546ab0ca",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "da33dbe4-4b99-11f0-9a01-ae35546ab0ca",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "da33db26-4b99-11f0-9a01-ae35546ab0ca",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "da33dc66-4b99-11f0-9a01-ae35546ab0ca",
            "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": "da429bfc-4b99-11f0-9a01-ae35546ab0ca",
    "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": "da435a92-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da435b5a-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da435a92-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da435b5a-4b99-11f0-9a01-ae35546ab0ca",
      "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": "dc5d40b8-4b99-11f0-9a01-ae35546ab0ca",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "dc5d41c6-4b99-11f0-9a01-ae35546ab0ca",
      "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": "da3ee4a8-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "40b7b63f7b934fbd8c0e871369fb4df3",
    "id": "da3ee69c-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "da3ee746-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "da3ee80e-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "da3ee8ae-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "da3ee962-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "da3ee9f8-4b99-11f0-9a01-ae35546ab0ca",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "da3eea66-4b99-11f0-9a01-ae35546ab0ca"
  }
}
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": "da3eeaf2-4b99-11f0-9a01-ae35546ab0ca",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "da3eeb56-4b99-11f0-9a01-ae35546ab0ca"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "da39c054-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "ddb6c31e1576438ea50dc6ae3efab0eb",
    "description": "58f1f937b60a435ba93efce5a05a92fb",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "da39c180-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "d04c11c5b7c448fb80d5e73f7a1ff50a",
    "description": "a702a2d2827746699445b18d2fab0d73",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "da39c2d4-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "c043c526d3b9419ea2952c8e9ac2b9e0",
    "description": "e3ae40a41ab844aca031da0ff942112e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "da39c428-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "7ef222c782a6416a9cf3e86d85133357",
    "description": "3e89cd426c8c4a58823ad1adc7cd660f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "da39c504-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "61a45afc9c88460ca41e36e2a08eb7f5",
    "description": "8d87cea66ca44f77a58d6299f3e49d4d",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "da39c5d6-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "df9ee6e4e9334ad4b24acfbfcff541d2",
    "description": "890f4199f54e4b389bd1fc9fc61cb411",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "da39c6c6-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2bdcbf9cc7c74503b936e5a87eb0f2ae",
    "description": "d2d8217a642b49a5a8a559f145b73329",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "da39c7ca-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "d989844d4cae4043a706d6e5843ecbe8",
    "description": "d51bf0f940e54d56b9493f24c606d15c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "da39c8a6-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "6c66b9f1021c4fb388d65e44febde1d6",
    "description": "340aa20d790443a89a2d1244cfefdd76",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "da39c96e-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "b4eb482895024883bb5587595fac1f56",
    "description": "30e42b4407c34741b2a2ff8f5b61d55d",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "da39ca2c-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "d01dd56d5c864bfa896539eed1f6d7be",
    "description": "a2fcfe6be39b4153a584e85532a3d90c",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "da39caf4-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "5cf8a9f105ba48d784bcd70f2bc52d28",
    "description": "e48d08a7defa4664b3f762891e477c46",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "da39cbbc-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "6ef0c3444e74447e861222f63dc435f3",
    "description": "2f48907abc6b4b26904a3ee637bd913b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "da39cc7a-4b99-11f0-9a01-ae35546ab0ca",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "22c7c34c3f634a4fb244c64c1a4ff3ae",
    "description": "89a87b738ff14b428cd51e160cb1dbd5",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "da3593bc-4b99-11f0-9a01-ae35546ab0ca",
    "admins": {
      "identities": [
        {
          "identity_provider": "da35947a-4b99-11f0-9a01-ae35546ab0ca",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "da3594fc-4b99-11f0-9a01-ae35546ab0ca",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "da3594fc-4b99-11f0-9a01-ae35546ab0ca"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "da3593bc-4b99-11f0-9a01-ae35546ab0ca",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "da35956a-4b99-11f0-9a01-ae35546ab0ca",
          "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": [
      "da35956a-4b99-11f0-9a01-ae35546ab0ca"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da456f26-4b99-11f0-9a01-ae35546ab0ca/8fc517e696d2434e9d2866dfc5540a85",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "001f3e5c40cc4df5a3033bf7b31f4eef",
    "description": "eae114c8fa6e4f19b9299a424953e212",
    "client": "da45703e-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da457160-4b99-11f0-9a01-ae35546ab0ca/c80481f66f12445e9050a9f6bd599f15",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "68e3467c4bb340b099818137ad3bf7c5",
    "description": "30de4c6ac7024a1fbfcf447d13f99dbf",
    "client": "da457232-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da4572f0-4b99-11f0-9a01-ae35546ab0ca/8e1706c0f8524fddbbbf5648b4fa7db2",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "be31094761ab41bf9f88f95fcad64b9e",
    "description": "408c22578ba249de9947d5b9f9d7c54d",
    "client": "da4573c2-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da45746c-4b99-11f0-9a01-ae35546ab0ca/d290f1b668c64896b8e97cb8b18f7d9b",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "6f962a9291e94a49966c9f1976553db3",
    "description": "1fbfdb5c60e9485d9acd9a1292664b9d",
    "client": "da457534-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da457660-4b99-11f0-9a01-ae35546ab0ca/3c223e92fc6743cb9c3f04315524c556",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "edf907261524480383cf75f6b96d6aa4",
    "description": "a55eff4e20d849b59e7126229504443e",
    "client": "da457728-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da4577b4-4b99-11f0-9a01-ae35546ab0ca/96d42afd6d854312bd9bc32acbc7188c",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "29a9f967be33439aab6c9c79e09d6d5d",
    "description": "86712da051ed482ea82343fe3c9a423b",
    "client": "da45789a-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da457926-4b99-11f0-9a01-ae35546ab0ca/27c5e896acdd44d3a7463e8150249fea",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "cd942d40a5cd4e52be58ca04c9c8eae0",
    "description": "a36c7d8877374acfaa68d92c7c844df3",
    "client": "da4579ee-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da457b9c-4b99-11f0-9a01-ae35546ab0ca/bf7d7eab6fbe46809418ab727e64f414",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "0449fa515aa84f1e80d52e4425667b2c",
    "description": "dfe7917c29cc42f684f40dcf9711650a",
    "client": "da457fca-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": [
      {
        "scope": "da457a8e-4b99-11f0-9a01-ae35546ab0ca",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "da457b06-4b99-11f0-9a01-ae35546ab0ca",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da458074-4b99-11f0-9a01-ae35546ab0ca/165ce82a589546e1b31cfe804a3b122a",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": true,
    "required_domains": [],
    "name": "100fa04f344049ccb077b97851935450",
    "description": "ec0ad27c117640a8b7d9f51b24ad17c4",
    "client": "da45813c-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da4581d2-4b99-11f0-9a01-ae35546ab0ca/3c589106ede647b29d4ad1c3a15ec9b5",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "5046db4101004b10940e92fdb14c621c",
    "description": "369b8f21415e4e0f8f2e917088875039",
    "client": "da458290-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da458312-4b99-11f0-9a01-ae35546ab0ca/489ad6cbf7de4ad3beedb6553aebb2bd",
    "allows_refresh_token": true,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "0cdb650337af414d83e4ee704ba6851f",
    "description": "0aeb664733cb447d867f68f2a1e24d5f",
    "client": "da4583da-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/da45845c-4b99-11f0-9a01-ae35546ab0ca/530d67e6c47d42009016ea441fc383a6",
    "allows_refresh_token": false,
    "id": "da456e2c-4b99-11f0-9a01-ae35546ab0ca",
    "advertised": false,
    "required_domains": [],
    "name": "8bdc7c099b4b4c0a980dcab24cef5b19",
    "description": "0cedc0522d0c4742a1ac6e28492f35db",
    "client": "da458524-4b99-11f0-9a01-ae35546ab0ca",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "dc5d40b8-4b99-11f0-9a01-ae35546ab0ca",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "dc5d41c6-4b99-11f0-9a01-ae35546ab0ca",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}