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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "3b719e4564d14f9a9de4c4c2d599e757",
    "project": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72cfa8-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72d192-94f2-11f1-8c24-9a30a7b9ccbf",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72d26e-94f2-11f1-8c24-9a30a7b9ccbf",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "name": "FOO",
    "project": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea72ccba-94f2-11f1-8c24-9a30a7b9ccbf",
    "client_type": "public_webapp_client"
  }
}
create_client_credential (case="default")
{
  "credential": {
    "name": "foo",
    "id": "ea76a56a-94f2-11f1-8c24-9a30a7b9ccbf",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "ea76a632-94f2-11f1-8c24-9a30a7b9ccbf",
    "secret": "abc123"
  }
}
create_client_credential (case="name")
{
  "credential": {
    "name": "f06b6a2dbe7e465c9f0ed9912fde8235",
    "id": "ea76a56a-94f2-11f1-8c24-9a30a7b9ccbf",
    "created": "2023-10-21T22:46:15.845937+00:00",
    "client": "ea76a632-94f2-11f1-8c24-9a30a7b9ccbf",
    "secret": "abc123"
  }
}
create_policy (case="default")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "ea6d9b78-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="project_id_str")
{
  "policy": {
    "project_id": "ea6d9c54-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "ea6d9cfe-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "ea6d9de4-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "id": "ea6d9e84-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="high_assurance")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 35,
    "required_mfa": false,
    "id": "ea6d9f56-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="not_high_assurance")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": false,
    "required_mfa": false,
    "id": "ea6da00a-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="required_mfa")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "high_assurance": true,
    "authentication_assurance_timeout": 45,
    "required_mfa": true,
    "id": "ea6da0be-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "authentication_assurance_timeout": 23,
    "id": "ea6da168-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="display_name")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "2eb2dfd75e97499883366b7202a2780a",
    "description": "Controls access to Foo",
    "id": "ea6da2a8-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="description")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "61a9bdd5f4eb42aab829988f49c29e0d",
    "id": "ea6da3a2-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="domain_constraints_include")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "ea6da460-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="empty_domain_constraints_include")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": [],
    "id": "ea6da582-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="no_domain_constraints_include")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_include": null,
    "id": "ea6da64a-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="domain_constraints_exclude")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ],
    "id": "ea6da6f4-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="empty_domain_constraints_exclude")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": [],
    "id": "ea6da79e-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_policy (case="no_domain_constraints_exclude")
{
  "policy": {
    "project_id": "ea6d9a10-94f2-11f1-8c24-9a30a7b9ccbf",
    "display_name": "Policy of Foo",
    "description": "Controls access to Foo",
    "domain_constraints_exclude": null,
    "id": "ea6da83e-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
create_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "ea5451e0-94f2-11f1-8c24-9a30a7b9ccbf",
    "admins": {
      "identities": [
        {
          "identity_provider": "ea5452bc-94f2-11f1-8c24-9a30a7b9ccbf",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "ea545348-94f2-11f1-8c24-9a30a7b9ccbf",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "ea545348-94f2-11f1-8c24-9a30a7b9ccbf"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
create_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "ea5451e0-94f2-11f1-8c24-9a30a7b9ccbf",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "ea5453d4-94f2-11f1-8c24-9a30a7b9ccbf",
          "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": [
      "ea5453d4-94f2-11f1-8c24-9a30a7b9ccbf"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
create_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a124a-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_str")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a1376-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1416-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a1376-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="client_id_uuid")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a1510-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a15ba-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a1510-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1718-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "275b5f9b016449488953581e1d6ecfd2",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a181c-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "9931d0e595d2483a911ff5b9a79f4971",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/b33833c3b4804042b78df896cbdf2ea7",
    "allows_refresh_token": true,
    "id": "ea7a1916-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1a1a-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": true,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1b0a-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1bdc-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": false,
    "id": "ea7a1c9a-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1d3a-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1e16-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a1ede-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
create_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf/manage",
    "allows_refresh_token": true,
    "id": "ea7a20be-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "Client manage scope",
    "description": "Manage configuration of this client",
    "client": "ea7a10a6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": [
      {
        "scope": "ea7a1f88-94f2-11f1-8c24-9a30a7b9ccbf",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "ea7a2032-94f2-11f1-8c24-9a30a7b9ccbf",
        "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": "ea750192-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea776c5c-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea6f9e14-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea6b2816-94f2-11f1-8c24-9a30a7b9ccbf",
    "admins": {
      "identities": [
        {
          "identity_provider": "ea6b2906-94f2-11f1-8c24-9a30a7b9ccbf",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "ea6b29a6-94f2-11f1-8c24-9a30a7b9ccbf",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "ea6b29a6-94f2-11f1-8c24-9a30a7b9ccbf"
    ],
    "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": "ea7c474a-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea706524-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea706524-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea75e2c4-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea713102-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea712f86-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ece0e9e6-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea6ca0ec-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea6ca1e6-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea6bf660-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": [
      "ea52a020-94f2-11f1-8c24-9a30a7b9ccbf"
    ],
    "contact_email": "support@guardians.galaxy",
    "display_name": "Guardians of the Galaxy Portal",
    "admin_group_ids": null,
    "id": "ea52a0b6-94f2-11f1-8c24-9a30a7b9ccbf",
    "project_name": "Guardians of the Galaxy Portal",
    "admins": {
      "identities": [
        {
          "identity_provider": "ea529d50-94f2-11f1-8c24-9a30a7b9ccbf",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "ea529f58-94f2-11f1-8c24-9a30a7b9ccbf",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        },
        {
          "identity_provider": "ea529d50-94f2-11f1-8c24-9a30a7b9ccbf",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "ea52a020-94f2-11f1-8c24-9a30a7b9ccbf",
          "name": "Rocket",
          "username": "rocket@guardians.galaxy",
          "email": "star.lord@guardians.galaxy"
        }
      ],
      "groups": []
    }
  }
}
get_projects (case="default")
{
  "projects": [
    {
      "admin_ids": [
        "ea53691a-94f2-11f1-8c24-9a30a7b9ccbf"
      ],
      "contact_email": "eviltestproject@guardians.galaxy",
      "display_name": "Evil Test Project Full of Evil",
      "admin_group_ids": null,
      "id": "ea5369b0-94f2-11f1-8c24-9a30a7b9ccbf",
      "project_name": "Evil Test Project Full of Evil",
      "admins": {
        "identities": [
          {
            "identity_provider": "ea53678a-94f2-11f1-8c24-9a30a7b9ccbf",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "ea53691a-94f2-11f1-8c24-9a30a7b9ccbf",
            "name": "Rocket",
            "username": "rocket@guardians.galaxy",
            "email": "star.lord@guardians.galaxy"
          }
        ],
        "groups": []
      }
    },
    {
      "admin_ids": [
        "ea53691a-94f2-11f1-8c24-9a30a7b9ccbf"
      ],
      "contact_email": "support@guardians.galaxy",
      "display_name": "Guardians of the Galaxy Portal",
      "admin_group_ids": null,
      "id": "ea536a46-94f2-11f1-8c24-9a30a7b9ccbf",
      "project_name": "Guardians of the Galaxy Portal",
      "admins": {
        "identities": [
          {
            "identity_provider": "ea53678a-94f2-11f1-8c24-9a30a7b9ccbf",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "ea536884-94f2-11f1-8c24-9a30a7b9ccbf",
            "name": "Star Lord",
            "username": "star.lord@guardians.galaxy",
            "email": "star.lord2@guardians.galaxy"
          },
          {
            "identity_provider": "ea53678a-94f2-11f1-8c24-9a30a7b9ccbf",
            "identity_type": "login",
            "organization": "Guardians of the Galaxy",
            "status": "used",
            "id": "ea53691a-94f2-11f1-8c24-9a30a7b9ccbf",
            "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": "ea784884-94f2-11f1-8c24-9a30a7b9ccbf",
    "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": "ea790ddc-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea790ecc-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea790ddc-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea790ecc-94f2-11f1-8c24-9a30a7b9ccbf",
      "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": "ea7412fa-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "89d10574fbd6480abaf89a572c584786",
    "id": "ea7414b2-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "ea74171e-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "ea741822-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "ea7418f4-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "ea7419c6-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "ea741a70-94f2-11f1-8c24-9a30a7b9ccbf",
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "ea741af2-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
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": "ea741b92-94f2-11f1-8c24-9a30a7b9ccbf",
    "prompt_for_named_grant": true,
    "redirect_uris": [],
    "required_idp": null,
    "scopes": [],
    "userinfo_from_effective_identity": true,
    "id": "ea741c3c-94f2-11f1-8c24-9a30a7b9ccbf"
  }
}
update_policy (case="default")
{
  "policy": {
    "project_id": "ea6eb120-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "3b4e41c458e14d1799cfed65dc082408",
    "description": "b17b07096b8541c2b596a6d3259e0f50",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_str")
{
  "policy": {
    "project_id": "ea6eb2b0-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "78eb729c82c647b7824e8cb7bc2f88cf",
    "description": "7c2817fb2ceb4159b4758a51164a0558",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="project_id_uuid")
{
  "policy": {
    "project_id": "ea6eb47c-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "e10d215162384f049873724f889c562b",
    "description": "f78d94a6c8b6458fbc63f5375a41ae2b",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="authentication_assurance_timeout")
{
  "policy": {
    "project_id": "ea6eb620-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 9100,
    "display_name": "c772e7e238cd4230a7876143d13fe93f",
    "description": "70007b733092406b9c6ca732bf22ba34",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="required_mfa")
{
  "policy": {
    "project_id": "ea6eb742-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": true,
    "authentication_assurance_timeout": 25,
    "display_name": "95586a1926c647d0a1dc7fc6921f2263",
    "description": "24faabfb3e4e463ead12af3978d4d6dd",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="not_required_mfa")
{
  "policy": {
    "project_id": "ea6eb85a-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "30650548f9d34ab0ad0b229bb2021e0b",
    "description": "e714807b0ca54bb59d17d5f8792491ef",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="display_name")
{
  "policy": {
    "project_id": "ea6eb990-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "bdac1a27b0434c0493240fae94373c65",
    "description": "48f4c10151d747bd9f8d1766b62d0318",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="description")
{
  "policy": {
    "project_id": "ea6ebada-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "0200b9920ac74ab19eb7f17382a28777",
    "description": "f4190c8f96ac4e358dbfd5310e17ddd8",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_include")
{
  "policy": {
    "project_id": "ea6ebbfc-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "e8815108c6cc4917b5f700c1a166cd89",
    "description": "d5677b91c7ec4771b5071dfce454a693",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_include")
{
  "policy": {
    "project_id": "ea6ebd0a-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "8008c8252b22450ebb7bcde0797df17f",
    "description": "d73619f39f8e48d1aa0caec1e6882629",
    "domain_constraints_include": [],
    "domain_constraints_exclude": null
  }
}
update_policy (case="domain_constrants_include")
{
  "policy": {
    "project_id": "ea6ebf44-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "2eded44423cc415981764f4ab155489e",
    "description": "751324bda8814d0c979bad6529ba72a1",
    "domain_constraints_include": [
      "globus.org",
      "uchicago.edu"
    ],
    "domain_constraints_exclude": null
  }
}
update_policy (case="no_domain_constrants_exclude")
{
  "policy": {
    "project_id": "ea6ec0a2-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "b4210cf25f6c4e94a23c4db18d1b37eb",
    "description": "d5a3ac3d5f204d449b85aed48ce68358",
    "domain_constraints_include": null,
    "domain_constraints_exclude": null
  }
}
update_policy (case="empty_domain_constrants_exclude")
{
  "policy": {
    "project_id": "ea6ec1b0-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "702c9cdac5214c229236f57c41628e78",
    "description": "33a06ecdd6474bc2a2c318dfacf42462",
    "domain_constraints_include": null,
    "domain_constraints_exclude": []
  }
}
update_policy (case="domain_constrants_exclude")
{
  "policy": {
    "project_id": "ea6ec2b4-94f2-11f1-8c24-9a30a7b9ccbf",
    "high_assurance": true,
    "required_mfa": false,
    "authentication_assurance_timeout": 25,
    "display_name": "d356ed57efb249bcb24e1ee498ddc099",
    "description": "4ba2bfdb326c4e21967f8bb9200b5168",
    "domain_constraints_include": null,
    "domain_constraints_exclude": [
      "globus.org",
      "uchicago.edu"
    ]
  }
}
update_project (case="default")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "ea6a4eaa-94f2-11f1-8c24-9a30a7b9ccbf",
    "admins": {
      "identities": [
        {
          "identity_provider": "ea6a4fcc-94f2-11f1-8c24-9a30a7b9ccbf",
          "identity_type": "login",
          "organization": "Guardians of the Galaxy",
          "status": "used",
          "id": "ea6a506c-94f2-11f1-8c24-9a30a7b9ccbf",
          "name": "Star Lord",
          "username": "star.lord@guardians.galaxy",
          "email": "star.lord2@guardians.galaxy"
        }
      ],
      "groups": []
    },
    "project_name": "Guardians of the Galaxy",
    "admin_ids": [
      "ea6a506c-94f2-11f1-8c24-9a30a7b9ccbf"
    ],
    "admin_group_ids": null,
    "display_name": "Guardians of the Galaxy"
  }
}
update_project (case="admin_group")
{
  "project": {
    "contact_email": "support@globus.org",
    "id": "ea6a4eaa-94f2-11f1-8c24-9a30a7b9ccbf",
    "admins": {
      "identities": [],
      "groups": [
        {
          "id": "ea6a51f2-94f2-11f1-8c24-9a30a7b9ccbf",
          "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": [
      "ea6a51f2-94f2-11f1-8c24-9a30a7b9ccbf"
    ],
    "display_name": "Guardians of the Galaxy"
  }
}
update_scope (case="default")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b50ec-94f2-11f1-8c24-9a30a7b9ccbf/2c33a0bd371a4eeeb0a2ff08ff64c222",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "0f1b6304b5ef46a2a5ee0d53fad1c654",
    "description": "43dac556ece7419a96acb40f31a08d8f",
    "client": "ea7b524a-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="name")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b5394-94f2-11f1-8c24-9a30a7b9ccbf/4ac43f9895d243c895eace5d96c0df11",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "44568711a08b4dee9167097ab03c06cb",
    "description": "ed5f78ff929e49fcb60d0c1e82302ae3",
    "client": "ea7b54a2-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="description")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b559c-94f2-11f1-8c24-9a30a7b9ccbf/d074dc31fce3474f824f73b382063e94",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "a810112d76bf4f21a008a571d3c47304",
    "description": "2969bffb5ce64fb18e76004b87559c1a",
    "client": "ea7b5718-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="scope_suffix")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b583a-94f2-11f1-8c24-9a30a7b9ccbf/d1603293602b421c86bfb70b3e3176c7",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "142099a225ee4cf984731b20d7c8d669",
    "description": "6f0da1fbd88046ed826f231adbf66ac6",
    "client": "ea7b5948-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="no_required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b5a06-94f2-11f1-8c24-9a30a7b9ccbf/12f1d4303ba54bbb8456823a319469f6",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "37e35258f112496ba857628bae91e5de",
    "description": "350ce56d78a14043875e1bd819564526",
    "client": "ea7b5b0a-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="required_domains")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b5bbe-94f2-11f1-8c24-9a30a7b9ccbf/a23b23cf29324ff5a37465c2330b9f20",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [
      "globus.org",
      "uchicago.edu"
    ],
    "name": "9dc6c2817a0a43d195581d3ee56014b4",
    "description": "e042cda8344345e0b57ac8e017368011",
    "client": "ea7b5cb8-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="no_dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b5d62-94f2-11f1-8c24-9a30a7b9ccbf/6f4f44799f3242b5b87748c96f0a198a",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "b41ffc4d94c4418d80efd412f6ef70e8",
    "description": "ddfdb96f33a843a78a5e28988ef5e7a5",
    "client": "ea7b5e52-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="dependent_scopes")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b6032-94f2-11f1-8c24-9a30a7b9ccbf/a8950bc50d744468a64e31ca80563d5c",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "eac211964cbc4318867bb8017b17d318",
    "description": "8ac10dce3945498d9556b6a95d9a7f72",
    "client": "ea7b6154-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": [
      {
        "scope": "ea7b5ef2-94f2-11f1-8c24-9a30a7b9ccbf",
        "optional": true,
        "requires_refresh_token": true
      },
      {
        "scope": "ea7b5f92-94f2-11f1-8c24-9a30a7b9ccbf",
        "optional": false,
        "requires_refresh_token": false
      }
    ]
  }
}
update_scope (case="advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b626c-94f2-11f1-8c24-9a30a7b9ccbf/fe2c80a48daa49ea87327bcde03d30f3",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": true,
    "required_domains": [],
    "name": "dd74cfa0434340f4b15fa849c1314082",
    "description": "c4d751a4c5a947a2b632905e09092038",
    "client": "ea7b637a-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="not_advertised")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b6438-94f2-11f1-8c24-9a30a7b9ccbf/a1b89e006265467b9aaca0833390228b",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "31bfba17df644cce8cd0ca70422628d5",
    "description": "687d76a453d24bba98325eb6e5495749",
    "client": "ea7b6532-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="allows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b65e6-94f2-11f1-8c24-9a30a7b9ccbf/8235d9a3be96430f8dd4bdf531ed7660",
    "allows_refresh_token": true,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "919deca76096461ca97da3cfa65be74d",
    "description": "99c5a5235bed4963945f5aaf872d0304",
    "client": "ea7b66d6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
update_scope (case="disallows_refresh_token")
{
  "scope": {
    "scope_string": "https://auth.globus.org/scopes/ea7b6780-94f2-11f1-8c24-9a30a7b9ccbf/d94fe3ba113c44778c58ab21c70ca9b1",
    "allows_refresh_token": false,
    "id": "ea7b4fac-94f2-11f1-8c24-9a30a7b9ccbf",
    "advertised": false,
    "required_domains": [],
    "name": "50ad8e97a9494c9ab6596bfb62ab05ca",
    "description": "7b50acd2dd5444538fcd88a9f0012264",
    "client": "ea7b69f6-94f2-11f1-8c24-9a30a7b9ccbf",
    "dependent_scopes": []
  }
}
userinfo (case="unauthorized")
{
  "errors": [
    {
      "status": "401",
      "id": "ece0e9e6-94f2-11f1-8c24-9a30a7b9ccbf",
      "code": "UNAUTHORIZED",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}
userinfo (case="forbidden")
{
  "errors": [
    {
      "status": "403",
      "id": "ece0eb30-94f2-11f1-8c24-9a30a7b9ccbf",
      "code": "FORBIDDEN",
      "detail": "Call must be authenticated",
      "title": "Unauthorized"
    }
  ],
  "error_description": "Unauthorized",
  "error": "unauthorized"
}