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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "2b9fffcc35a24756ab6222656f431922",
    "project": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c24351f8-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2435388-08b6-11ef-9d3f-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2435432-08b6-11ef-9d3f-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "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": "c2434ee2-08b6-11ef-9d3f-0242ac110002",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "c2477cec-08b6-11ef-9d3f-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "c2477da0-08b6-11ef-9d3f-0242ac110002",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "6895510b16d7412fb6c4fe37c9e8eccb",
    "id": "c2477cec-08b6-11ef-9d3f-0242ac110002",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "c2477da0-08b6-11ef-9d3f-0242ac110002",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "c23d45ba-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "c23d468c-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "c23d4718-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "c23d47fe-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "c23d48b2-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "id": "c23d497a-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "id": "c23d4a38-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "c23d4f88-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "addf276372bd4df8b7d00ea3ae6ff324",
    "description": "Controls access to Foo",
    "id": "c23d50d2-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "e6da5fc8b56b491284e828ff1e224164",
    "id": "c23d51cc-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "c23d5280-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "c23d5334-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "c23d53f2-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "c23d549c-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "c23d5546-08b6-11ef-9d3f-0242ac110002"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "c23d4452-08b6-11ef-9d3f-0242ac110002",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "c23d55e6-08b6-11ef-9d3f-0242ac110002"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c238af6e-08b6-11ef-9d3f-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "c238b068-08b6-11ef-9d3f-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c238b0ea-08b6-11ef-9d3f-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "c238b0ea-08b6-11ef-9d3f-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c238af6e-08b6-11ef-9d3f-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "c238b16c-08b6-11ef-9d3f-0242ac110002",
          "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": [
      "c238b16c-08b6-11ef-9d3f-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b51d2-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b52e0-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b536c-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b52e0-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b545c-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b54de-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b545c-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b5632-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "02f1a3f1f2c54b2eb3670f7da6a11a59",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b572c-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "45973f7de29c4c4194309fe42bbdf41e",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/e3c955f3656e49348cc8856be1153f35",
    "allows_refresh_token": true,
    "id": "c24b5826-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b58e4-08b6-11ef-9d3f-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b59ca-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b5a9c-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": false,
    "id": "c24b5b64-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b5c0e-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b5cc2-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b5d80-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24b5088-08b6-11ef-9d3f-0242ac110002/manage",
    "allows_refresh_token": true,
    "id": "c24b5f88-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "c24b5088-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "c24b5e20-08b6-11ef-9d3f-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "c24b5ef2-08b6-11ef-9d3f-0242ac110002",
        "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": "c245d34c-08b6-11ef-9d3f-0242ac110002",
    "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": "c2486292-08b6-11ef-9d3f-0242ac110002",
    "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": "c23f8c1c-08b6-11ef-9d3f-0242ac110002",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35
  }
}
delete_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c23ac984-08b6-11ef-9d3f-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "c23aca6a-08b6-11ef-9d3f-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c23acaec-08b6-11ef-9d3f-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "c23acaec-08b6-11ef-9d3f-0242ac110002"
    ],
    "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": "c24db102-08b6-11ef-9d3f-0242ac110002",
    "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": "c2408798-08b6-11ef-9d3f-0242ac110002",
    "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": "c2408798-08b6-11ef-9d3f-0242ac110002",
    "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": "c246a7f4-08b6-11ef-9d3f-0242ac110002",
      "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": "c2414afc-08b6-11ef-9d3f-0242ac110002",
      "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": "c24149f8-08b6-11ef-9d3f-0242ac110002",
      "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": "c524bb32-08b6-11ef-9d3f-0242ac110002",
      "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": "c23c4480-08b6-11ef-9d3f-0242ac110002",
      "domain_constraints_exclude": null,
      "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
      "authentication_assurance_timeout": 35
    },
    {
      "high_assurance": true,
      "domain_constraints_include": null,
      "display_name": "No RedLight domain Policy",
      "description": "Disallow access from @redlight.org",
      "id": "c23c455c-08b6-11ef-9d3f-0242ac110002",
      "domain_constraints_exclude": [
        "redlight.org"
      ],
      "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
      "authentication_assurance_timeout": 35
    }
  ]
}
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": "c23b908a-08b6-11ef-9d3f-0242ac110002",
    "domain_constraints_exclude": null,
    "project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
    "authentication_assurance_timeout": 35
  }
}
get_project (case="default")
{
  "project": {
    "admin_ids": [
      "c236d784-08b6-11ef-9d3f-0242ac110002"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "c236d810-08b6-11ef-9d3f-0242ac110002",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "c236d5a4-08b6-11ef-9d3f-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c236d6e4-08b6-11ef-9d3f-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "c236d5a4-08b6-11ef-9d3f-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c236d784-08b6-11ef-9d3f-0242ac110002",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "c237ab78-08b6-11ef-9d3f-0242ac110002"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "c237ac18-08b6-11ef-9d3f-0242ac110002",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "c237a9ca-08b6-11ef-9d3f-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "c237ab78-08b6-11ef-9d3f-0242ac110002",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "c237ab78-08b6-11ef-9d3f-0242ac110002"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "c237accc-08b6-11ef-9d3f-0242ac110002",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "c237a9ca-08b6-11ef-9d3f-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "c237aaec-08b6-11ef-9d3f-0242ac110002",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "c237a9ca-08b6-11ef-9d3f-0242ac110002",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "c237ab78-08b6-11ef-9d3f-0242ac110002",
            "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": "c2492e7a-08b6-11ef-9d3f-0242ac110002",
    "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": "c24a1ec0-08b6-11ef-9d3f-0242ac110002",
      "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": "c24a1f92-08b6-11ef-9d3f-0242ac110002",
      "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": "c24a1ec0-08b6-11ef-9d3f-0242ac110002",
      "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": "c24a1f92-08b6-11ef-9d3f-0242ac110002",
      "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": "c524bb32-08b6-11ef-9d3f-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "c524bc72-08b6-11ef-9d3f-0242ac110002",
      "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": "c244ab48-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "f100b7fc5aed41ad844f16181d6c135f",
    "id": "c244ad3c-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "c244ae22-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "c244aeea-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "c244afbc-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "c244b084-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "c244b160-08b6-11ef-9d3f-0242ac110002",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "c244b1d8-08b6-11ef-9d3f-0242ac110002"
  }
}
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": "c244b278-08b6-11ef-9d3f-0242ac110002",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "c244b2e6-08b6-11ef-9d3f-0242ac110002"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "c23e81f0-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "ae5da344234d4d2bb3b26d8d48ac4a4a",
    "description": "d194f1440e5a4881bf3cc6c043b8c465",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "c23e83a8-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "8b8053cae870427ba5ab27e7771aff26",
    "description": "1d70658c389b49edbb3f78032edc5335",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "c23e856a-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "bcf4aefde35d4c1dba108abd1eb83b55",
    "description": "4b279699259a4138909c08b931937ed7",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "c23e8722-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 9100,
    "display_name": "4a4c02edfdf348b49e5b413f30dd7414",
    "description": "2c0c83db8a68456699f369b41de0195b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "c23e889e-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "ec020d7e8c9c405ab155ab1c64518eeb",
    "description": "dfb62c4e58d54c53a78ec0c928ae5186",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "c23e89fc-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "5581dd44f0a3485a99cf01b60703bb34",
    "description": "86454f3b8f294878b6da370e0f11e56f",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "c23e8b14-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "5f2c129334c742469573152ed2b6c207",
    "description": "aff7f1ef4691473aa37292d9440bc613",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "c23e8c40-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "5be3feb703f9420daefa6df569349080",
    "description": "31eae16c0805430492b6aff8f3e47e1c",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "c23e8d80-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "63cd06ab8f31413c873abe772872e02c",
    "description": "8c6f636f09b74a74b7838ae93e3d2249",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "c23e8eac-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "d4c1e63616904dcba5d696b27ea5a374",
    "description": "079871493a0749eb857b90e448c45dbd",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "c23e8fc4-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "94ff09b1eeca41f5a3c04a3d7c8b9f43",
    "description": "c4751b15a14f4039b53ce5b748a4b307",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "c23e90d2-08b6-11ef-9d3f-0242ac110002",
    "high_assurance": true,
    "authentication_assurance_timeout": 25,
    "display_name": "76a03c5e72314142a21a7a9853506e52",
    "description": "05844421c941433992f1cf50dc65534e",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c239bc7e-08b6-11ef-9d3f-0242ac110002",
    "admins": {
      "identities": [
        {
          "identity_provider": "c239bd64-08b6-11ef-9d3f-0242ac110002",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "c239bdf0-08b6-11ef-9d3f-0242ac110002",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "c239bdf0-08b6-11ef-9d3f-0242ac110002"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "c239bc7e-08b6-11ef-9d3f-0242ac110002",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "c239be68-08b6-11ef-9d3f-0242ac110002",
          "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": [
      "c239be68-08b6-11ef-9d3f-0242ac110002"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c87fa-08b6-11ef-9d3f-0242ac110002/986b9b98a9494fbaaa9c9085f927d983",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "ee58b466249b40e98a40a8aad34724c9",
    "description": "e5c18d8a811c4c3389c28e4dabeaac4f",
    "client": "c24c8958-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c8ab6-08b6-11ef-9d3f-0242ac110002/a095416e93d640e3b5795fc92c1f3d69",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "0b30219ee54f4e72bbc04931823c2a8c",
    "description": "d503b2ac51ee40889efdf6846c757b88",
    "client": "c24c8bc4-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c8ce6-08b6-11ef-9d3f-0242ac110002/39e69c364e324b0eb68b360d94eeb880",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "03b61f8205fa4e9785aa788acf636402",
    "description": "1e28f2e085004e95bf043404fc47b5c1",
    "client": "c24c8e08-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c8ef8-08b6-11ef-9d3f-0242ac110002/4913dc60545645318ecd57c09b272974",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "d4edd7f437344b08baa51b84cf5ea296",
    "description": "084735a027b7422d80e2e937d311db24",
    "client": "c24c9006-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c90ba-08b6-11ef-9d3f-0242ac110002/4602984f948b44f5838ade1ec68dfefe",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "e92901214312490196fb2b99c610cc01",
    "description": "0974e5d0f07d40bca79a36ff64d51e09",
    "client": "c24c91d2-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c927c-08b6-11ef-9d3f-0242ac110002/a3ed02632b6b4591bd117ae8a29ca5a4",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "6d3ed8a4175f4791a46730d92ec611de",
    "description": "7e61e8b70bfd4ebf9607241c6ba99960",
    "client": "c24c9380-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c9452-08b6-11ef-9d3f-0242ac110002/569f21a06c8d4e3fb863876ee84afc7c",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "9be19605a317486284f030c647e26e00",
    "description": "8a93f5e1b46c4c6d9be3d8a2db89eb4b",
    "client": "c24c9556-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c9786-08b6-11ef-9d3f-0242ac110002/a357fbf39f1c4e078b3ac6c5ac8b0c1c",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "a4b7d45a547c43059bc3cf0f4488e793",
    "description": "bafbb0b3475d4298b329a509e472955f",
    "client": "c24c9894-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": [
      {
        "scope": "c24c9600-08b6-11ef-9d3f-0242ac110002",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "c24c96d2-08b6-11ef-9d3f-0242ac110002",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c99ac-08b6-11ef-9d3f-0242ac110002/c8190906d9084232b3593a770ce0cdcc",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": true,
    "required_domains": [],
    "name": "3b5c57dad74b43789c4a59a1e2ad7695",
    "description": "97560fe0c3ab4302a0211776a58cacd7",
    "client": "c24c9aa6-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c9b5a-08b6-11ef-9d3f-0242ac110002/5aead213ea0440a696a19c8cfe96384f",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "5a465f19bf674f74a7dde2b394525c3e",
    "description": "f9ec0578c2a84687b2c27692030f4bdc",
    "client": "c24c9c68-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c9d12-08b6-11ef-9d3f-0242ac110002/412cd271aeca4bb0b967f4eddaf08e7c",
    "allows_refresh_token": true,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "cfa3ccbf03d749db9e88734e70ddc60d",
    "description": "bea169bfe7b248cdb46ad2fc2bdd8d2f",
    "client": "c24c9e0c-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/c24c9eac-08b6-11ef-9d3f-0242ac110002/7d30ecd7b23442999afb7b8d92e4fb64",
    "allows_refresh_token": false,
    "id": "c24c86ba-08b6-11ef-9d3f-0242ac110002",
    "advertised": false,
    "required_domains": [],
    "name": "9af0b15ab1cf41f28007f1312e2bd481",
    "description": "a76725745ec34d2f96fc220d617257ea",
    "client": "c24c9f9c-08b6-11ef-9d3f-0242ac110002",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "c524bb32-08b6-11ef-9d3f-0242ac110002",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "c524bc72-08b6-11ef-9d3f-0242ac110002",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}