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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "bed97af7431c4572913de4cd9f97546e",
    "project": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "496714fc-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "496716be-c107-11f1-997f-6eeae9693066",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671786-c107-11f1-997f-6eeae9693066",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "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": "49671178-c107-11f1-997f-6eeae9693066",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "497f969e-c107-11f1-997f-6eeae9693066",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "497f975c-c107-11f1-997f-6eeae9693066",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "3fcd20f3d0904f939db0c44976136a7e",
    "id": "497f969e-c107-11f1-997f-6eeae9693066",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "497f975c-c107-11f1-997f-6eeae9693066",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "4961e13a-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "4961e20c-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "4961e2a2-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "4961e388-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "4961e432-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "4961e4fa-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "4961e5c2-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "4961e676-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "4961e720-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "20e7c554107b4ab395791af129f92bab",
    "description": "Controls access to Foo",
    "id": "4961e842-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "c04c3c03709c40ac89dea0fd4a595fcc",
    "id": "4961e93c-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "4961ea40-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "4961eafe-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "4961ebb2-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "4961ec5c-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "4961ed2e-c107-11f1-997f-6eeae9693066"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "4961dfbe-c107-11f1-997f-6eeae9693066",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "4961ede2-c107-11f1-997f-6eeae9693066"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "495da8a4-c107-11f1-997f-6eeae9693066",
    "admins": {
      "identities": [
        {
          "identity_provider": "495da98a-c107-11f1-997f-6eeae9693066",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "495daa20-c107-11f1-997f-6eeae9693066",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "495daa20-c107-11f1-997f-6eeae9693066"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "495da8a4-c107-11f1-997f-6eeae9693066",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "495daaa2-c107-11f1-997f-6eeae9693066",
          "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": [
      "495daaa2-c107-11f1-997f-6eeae9693066"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "4982fe92-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982ff96-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "49830040-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982ff96-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49830108-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "498301a8-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "49830108-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "498302fc-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "d9ba4ae5891742958f587255ef8802f9",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "49830414-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "7612b2ff8755487bba62ac9c1557bd17",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/1e35ebfcb04548fa8e7b07f478d79cd8",
    "allows_refresh_token": true,
    "id": "49830504-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "498305d6-c107-11f1-997f-6eeae9693066",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "498306bc-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "49830798-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": false,
    "id": "4983086a-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "49830928-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "498309fa-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "49830aae-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4982fd2a-c107-11f1-997f-6eeae9693066/manage",
    "allows_refresh_token": true,
    "id": "49830ca2-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "4982fd2a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": [
      {
        "scope": "49830b58-c107-11f1-997f-6eeae9693066",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "49830c02-c107-11f1-997f-6eeae9693066",
        "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": "497e0f22-c107-11f1-997f-6eeae9693066",
    "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": "498057f0-c107-11f1-997f-6eeae9693066",
    "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": "4963ec1e-c107-11f1-997f-6eeae9693066",
    "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": "495f78fa-c107-11f1-997f-6eeae9693066",
    "admins": {
      "identities": [
        {
          "identity_provider": "495f79e0-c107-11f1-997f-6eeae9693066",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "495f7a76-c107-11f1-997f-6eeae9693066",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "495f7a76-c107-11f1-997f-6eeae9693066"
    ],
    "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": "498521a4-c107-11f1-997f-6eeae9693066",
    "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": "4964b0b8-c107-11f1-997f-6eeae9693066",
    "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": "4964b0b8-c107-11f1-997f-6eeae9693066",
    "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": "497ec7c8-c107-11f1-997f-6eeae9693066",
      "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": "4965660c-c107-11f1-997f-6eeae9693066",
      "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": "49656512-c107-11f1-997f-6eeae9693066",
      "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": "4be1c6c8-c107-11f1-997f-6eeae9693066",
      "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": "4960da10-c107-11f1-997f-6eeae9693066",
      "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": "4960db28-c107-11f1-997f-6eeae9693066",
      "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": "49602fb6-c107-11f1-997f-6eeae9693066",
    "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": [
      "495c13a4-c107-11f1-997f-6eeae9693066"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "495c144e-c107-11f1-997f-6eeae9693066",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "495c1016-c107-11f1-997f-6eeae9693066",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "495c12dc-c107-11f1-997f-6eeae9693066",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "495c1016-c107-11f1-997f-6eeae9693066",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "495c13a4-c107-11f1-997f-6eeae9693066",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "495cd276-c107-11f1-997f-6eeae9693066"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "495cd30c-c107-11f1-997f-6eeae9693066",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "495cd0dc-c107-11f1-997f-6eeae9693066",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "495cd276-c107-11f1-997f-6eeae9693066",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "495cd276-c107-11f1-997f-6eeae9693066"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "495cd4a6-c107-11f1-997f-6eeae9693066",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "495cd0dc-c107-11f1-997f-6eeae9693066",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "495cd1cc-c107-11f1-997f-6eeae9693066",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "495cd0dc-c107-11f1-997f-6eeae9693066",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "495cd276-c107-11f1-997f-6eeae9693066",
            "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": "498119ba-c107-11f1-997f-6eeae9693066",
    "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": "49820744-c107-11f1-997f-6eeae9693066",
      "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": "4982082a-c107-11f1-997f-6eeae9693066",
      "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": "49820744-c107-11f1-997f-6eeae9693066",
      "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": "4982082a-c107-11f1-997f-6eeae9693066",
      "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": "4968402a-c107-11f1-997f-6eeae9693066"
  }
}
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": "7e830dbc1a674920bba9731cc96f2786",
    "id": "496841ce-c107-11f1-997f-6eeae9693066"
  }
}
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": "496842a0-c107-11f1-997f-6eeae9693066"
  }
}
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": "49684368-c107-11f1-997f-6eeae9693066"
  }
}
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": "4968443a-c107-11f1-997f-6eeae9693066"
  }
}
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": "49684502-c107-11f1-997f-6eeae9693066"
  }
}
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": "496846f6-c107-11f1-997f-6eeae9693066",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "496847fa-c107-11f1-997f-6eeae9693066"
  }
}
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": "49684908-c107-11f1-997f-6eeae9693066",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "49684994-c107-11f1-997f-6eeae9693066"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "4962e332-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "e76d2f981529437e8b5f333fa414972d",
    "description": "1db8bb99cb8c46dbb59c0d76d4c9697f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "4962e4b8-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "200b8a49f195460aafa73a82c4e04c2c",
    "description": "c04d807c309f448a8acbce5e45ec0fa7",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "4962e6b6-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "be3ce0fdd0634eef85a7150b614ef59d",
    "description": "9ea7f7fd58004a9caa876f5dfe285d16",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "4962e8aa-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "5a2a86ab842449df8bee4c5cced87801",
    "description": "95f723afef9c4cf188b75ba500c7968c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "4962e9d6-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "13144cc8efcb44cebe78be02707eabd2",
    "description": "36dbc935be2b4f30ac523621e33d6c58",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "4962eaf8-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "a4746f72549547c28b2d733fb16f5910",
    "description": "cd59a7b599cf40e5882b845f314ad0e2",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "4962ec7e-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "ce912a21efee4436a54d871823284f97",
    "description": "2748ac0bdcf34dedbd7fc3b3d7a6a8fa",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "4962edc8-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "7967dee84ffe417da4f51b1629574b68",
    "description": "34e5fc29cd2e4463a2f309881b29d29f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "4962f052-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "106ba3c923104480910b5b708427fc20",
    "description": "f8a075039831457782f7e980bfdad82e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "4962f188-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "c28b4b9e633f4cafb07bd01b7d3929e7",
    "description": "347fa42bade24ae4b3deaecf003a2565",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "4962f2dc-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "85a775825c674e70a9b77aaccdcfdc9f",
    "description": "80a2f96f90ac461693dc0384be62a72e",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "4962f3f4-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "161c7322c4744d148f72dac270db38ec",
    "description": "0424bf9d29a84183aff173b06cc32f81",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "4962f4f8-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "4258e057790e44f58cb8a9f886b38462",
    "description": "abeec4a250cf4a3780517def82569c12",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "4962f624-c107-11f1-997f-6eeae9693066",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "116feafa41a44329b4f50aeac03e0f4f",
    "description": "5927b91d4f19448b967700edc86bda8c",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "495eaab0-c107-11f1-997f-6eeae9693066",
    "admins": {
      "identities": [
        {
          "identity_provider": "495eabaa-c107-11f1-997f-6eeae9693066",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "495eac4a-c107-11f1-997f-6eeae9693066",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "495eac4a-c107-11f1-997f-6eeae9693066"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "495eaab0-c107-11f1-997f-6eeae9693066",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "495eacd6-c107-11f1-997f-6eeae9693066",
          "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": [
      "495eacd6-c107-11f1-997f-6eeae9693066"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/498413c2-c107-11f1-997f-6eeae9693066/b03e2404fd004f3e93adccd8d7d08b07",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "4867b35383624c0d9e83e84bd38723c6",
    "description": "6e750c03289e497bb3c2c4afb367d835",
    "client": "4984150c-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49841656-c107-11f1-997f-6eeae9693066/8bcf41cc2cf04bcd81e3e92e37673325",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "ad4183ec34744f6896eb85e0e606372d",
    "description": "cf720da05617469b8aef315483b0770e",
    "client": "4984176e-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4984187c-c107-11f1-997f-6eeae9693066/13fe05660ab94c9c85ac8192c86b5d3b",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "208822ace3a34f3b80685e3ef84e3aa7",
    "description": "1bd36cca8e2c4896ab9f1a60c12afac3",
    "client": "49841980-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49841a66-c107-11f1-997f-6eeae9693066/4737d49a39384dea8356c412e5579907",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "7ef1dddfd48c4a6baa31989ee8d0a50b",
    "description": "4f27d615bf9f4dfcbef636e493f86ee3",
    "client": "49841b56-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49841c14-c107-11f1-997f-6eeae9693066/f181e05d33014bf39319215a4e335997",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "bb7a35f913a24692a9ed901e9ccac08c",
    "description": "eefb064f2e9549cbab00cf305d49dd8b",
    "client": "49841d22-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49841e12-c107-11f1-997f-6eeae9693066/1e4934e895ae406f939d7d939a982cb6",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "5bde8b268c1845e89300436a9e21fc2f",
    "description": "ae162f916bf74a06b1581cd175c9d0f4",
    "client": "49841f20-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49841fde-c107-11f1-997f-6eeae9693066/55eb80371c2846ee85c2e195fc213767",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "d7c8ffe8f377402286dd86da58d6b7df",
    "description": "b855a36f26ba4c6cadd8f4c749b1ba8f",
    "client": "498420e2-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/498422d6-c107-11f1-997f-6eeae9693066/df0e8c10c11944a98f46fffe621dd233",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "ea6f943d54d948778bfae872fdfb89e8",
    "description": "0a7c58573e724bdd93383d58a5323408",
    "client": "498423f8-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": [
      {
        "scope": "49842196-c107-11f1-997f-6eeae9693066",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "49842222-c107-11f1-997f-6eeae9693066",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/498424de-c107-11f1-997f-6eeae9693066/5c57c94191c64a3e88a83a330f546ab6",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": true,
    "required_domains": [],
    "name": "e0b8c99fa21f495a8e862169b14bfde8",
    "description": "71cea1e8413846ae89dd470aba661d0e",
    "client": "498425f6-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/498426c8-c107-11f1-997f-6eeae9693066/1e5297252cdc49ac804ae9fe1c9a0227",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "4e0773e59bd44021a144d133087c4e5d",
    "description": "ae34571a10f34de0a5c18f57bba0f709",
    "client": "498427d6-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/4984288a-c107-11f1-997f-6eeae9693066/3bf155b3e5064e50bd44639453aedea8",
    "allows_refresh_token": true,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "9e2531624ed147b8b34d1a59ef4422cf",
    "description": "15f336087c0e4907819d8e2a526fad50",
    "client": "4984297a-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/49842a2e-c107-11f1-997f-6eeae9693066/5ade696633f44527b04b7c20645e0081",
    "allows_refresh_token": false,
    "id": "49841282-c107-11f1-997f-6eeae9693066",
    "advertised": false,
    "required_domains": [],
    "name": "f0ce3df38e584ec89e04e0f38674fb7d",
    "description": "7dd9b32f72a64c9eac17cc336de7d81d",
    "client": "49842b28-c107-11f1-997f-6eeae9693066",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "4be1c6c8-c107-11f1-997f-6eeae9693066",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "4be1c812-c107-11f1-997f-6eeae9693066",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}