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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "656ba7b671224aa2be7139984b86cfd1",
"project": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbea06-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbeb82-69a4-11f1-9dc4-e2341c9f98d8",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbec36-69a4-11f1-9dc4-e2341c9f98d8",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdbe768-69a4-11f1-9dc4-e2341c9f98d8",
"client_type": "public_webapp_client"
}
}
create_client_credential (case="default")
{
"credential": {
"name": "foo",
"id": "5fe00a50-69a4-11f1-9dc4-e2341c9f98d8",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "5fe00b0e-69a4-11f1-9dc4-e2341c9f98d8",
"secret": "abc123"
}
}
create_client_credential (case="name")
{
"credential": {
"name": "45a97ed46d4b406ebc18e0a48475f056",
"id": "5fe00a50-69a4-11f1-9dc4-e2341c9f98d8",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "5fe00b0e-69a4-11f1-9dc4-e2341c9f98d8",
"secret": "abc123"
}
}
create_policy (case="default")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "5fd6c71a-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="project_id_str")
{
"policy": {
"project_id": "5fd6c864-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "5fd6c90e-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="project_id_uuid")
{
"policy": {
"project_id": "5fd6c9fe-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "5fd6ca9e-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="high_assurance")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "5fd6cb7a-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="not_high_assurance")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "5fd6cc38-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="required_mfa")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "5fd6cce2-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "5fd6cd8c-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="display_name")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "1455bb0d9d57400f923b70ddf2beba7d",
"description": "Controls access to Foo",
"id": "5fd6ceb8-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="description")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "34f823c2652a4c638be91f9f6f4e37f3",
"id": "5fd6cfb2-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="domain_constraints_include")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "5fd6d07a-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="empty_domain_constraints_include")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "5fd6d124-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="no_domain_constraints_include")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "5fd6d1ce-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="domain_constraints_exclude")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "5fd6d26e-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="empty_domain_constraints_exclude")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "5fd6d30e-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_policy (case="no_domain_constraints_exclude")
{
"policy": {
"project_id": "5fd6c4a4-69a4-11f1-9dc4-e2341c9f98d8",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "5fd6d3ae-69a4-11f1-9dc4-e2341c9f98d8"
}
}
create_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "5fd263a0-69a4-11f1-9dc4-e2341c9f98d8",
"admins": {
"identities": [
{
"identity_provider": "5fd26486-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd26512-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"5fd26512-69a4-11f1-9dc4-e2341c9f98d8"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "5fd263a0-69a4-11f1-9dc4-e2341c9f98d8",
"admins": {
"identities": [],
"groups": [
{
"id": "5fd26594-69a4-11f1-9dc4-e2341c9f98d8",
"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": [
"5fd26594-69a4-11f1-9dc4-e2341c9f98d8"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff65d32-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="client_id_str")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65ef4-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff65fb2-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65ef4-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="client_id_uuid")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff6607a-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66138-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff6607a-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66296-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "46d7ecf2084b48678105b929e3a49368",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff663a4-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "452f533f2fa04e74a627947bcf6909e7",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/a47a3e64ab564a14b74bab5327a6f9c3",
"allows_refresh_token": true,
"id": "5ff6649e-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff6655c-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66638-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66700-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": false,
"id": "5ff667b4-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66872-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66930-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff669e4-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
create_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff65a94-69a4-11f1-9dc4-e2341c9f98d8/manage",
"allows_refresh_token": true,
"id": "5ff66bc4-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "5ff65a94-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": [
{
"scope": "5ff66a84-69a4-11f1-9dc4-e2341c9f98d8",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "5ff66b2e-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fde8c2a-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5ff3aa06-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd8ce16-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd44bd4-69a4-11f1-9dc4-e2341c9f98d8",
"admins": {
"identities": [
{
"identity_provider": "5fd44cec-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd44d82-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"5fd44d82-69a4-11f1-9dc4-e2341c9f98d8"
],
"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": "5ff88eb8-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd9895a-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd9895a-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdf4750-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fda3c74-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fda3b84-69a4-11f1-9dc4-e2341c9f98d8",
"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": "6252bf8a-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd5b7e4-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd5b8d4-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fd50790-69a4-11f1-9dc4-e2341c9f98d8",
"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": [
"5fd0b49c-69a4-11f1-9dc4-e2341c9f98d8"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "5fd0b564-69a4-11f1-9dc4-e2341c9f98d8",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "5fd0b136-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd0b3ac-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "5fd0b136-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd0b49c-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects (case="default")
{
"projects": [
{
"admin_ids": [
"5fd193b2-69a4-11f1-9dc4-e2341c9f98d8"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "5fd19448-69a4-11f1-9dc4-e2341c9f98d8",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "5fd1922c-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd193b2-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"5fd193b2-69a4-11f1-9dc4-e2341c9f98d8"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "5fd194e8-69a4-11f1-9dc4-e2341c9f98d8",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "5fd1922c-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd1931c-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "5fd1922c-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd193b2-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5ff4736e-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5ff546b8-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5ff547d0-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5ff546b8-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5ff547d0-69a4-11f1-9dc4-e2341c9f98d8",
"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": "5fdd82b2-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "6d0fb63b39184cfa9d43eca363e4ee05",
"id": "5fdd8474-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "5fdd8578-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "5fdd862c-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "5fdd86f4-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "5fdd87b2-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "5fdd885c-69a4-11f1-9dc4-e2341c9f98d8",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "5fdd88d4-69a4-11f1-9dc4-e2341c9f98d8"
}
}
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": "5fdd8974-69a4-11f1-9dc4-e2341c9f98d8",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "5fdd8a0a-69a4-11f1-9dc4-e2341c9f98d8"
}
}
update_policy (case="default")
{
"policy": {
"project_id": "5fd7c67e-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "d0add59f3ad34c5fa17504e0bb6fb144",
"description": "489353cb9de144649fb7cde4b02c5eeb",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_str")
{
"policy": {
"project_id": "5fd7c7f0-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "16126837609143eea35a25d63de308f8",
"description": "0dd46eec2c2a4e99ad7d734c3b4babb0",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_uuid")
{
"policy": {
"project_id": "5fd7c9a8-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "57be5216ce2d4398a19694a738803dc7",
"description": "206d7f10e1d04f2dbcd119c67872d973",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "5fd7cb4c-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "e2767b2b225944ae856570f0d2ab0c35",
"description": "6159907b473341f5bc788349a6f5be24",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="required_mfa")
{
"policy": {
"project_id": "5fd7cc5a-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "57d7535b4f0c4637b1e49df0a1ad2281",
"description": "25a156862d96499faf7c0ad289c78ce5",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="not_required_mfa")
{
"policy": {
"project_id": "5fd7cd90-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "02a65c0a2c7c4b6d8e76cd313f3412bd",
"description": "8840c99def4445e5aa365a5df94b9cde",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="display_name")
{
"policy": {
"project_id": "5fd7cef8-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "53fa63b72adb4d6d955d485eef55eae1",
"description": "4a0b2e1fbf81441f951fb18f0073840b",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="description")
{
"policy": {
"project_id": "5fd7d04c-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "ef3498b3dab24975a86b9d8a3f9d9837",
"description": "ec58c65976de477b9b179022fe550ae2",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_include")
{
"policy": {
"project_id": "5fd7d164-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "aa67c845ae594246a583dcc4ff33cdb6",
"description": "ad09278f97444c40a086efd118f3b078",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_include")
{
"policy": {
"project_id": "5fd7d25e-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "c16831e5a246426d9b321b299d20bdd3",
"description": "48ff20882d544a45813b3253aeee0e4a",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy (case="domain_constrants_include")
{
"policy": {
"project_id": "5fd7d376-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "0f2ca9b82b6941c6bc89f3853c33f6a2",
"description": "d2d7476a1aec48ed8b2178571a20f582",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_exclude")
{
"policy": {
"project_id": "5fd7d498-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4810dd074bfa42c6a86f4f8c9efe306f",
"description": "66e09166f3f34648b23aa74c03dbf285",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_exclude")
{
"policy": {
"project_id": "5fd7d592-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "366f70058e224e309342cb20bbcc1937",
"description": "6ed31ece4ef0433dae68bb3460f1781a",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy (case="domain_constrants_exclude")
{
"policy": {
"project_id": "5fd7d6a0-69a4-11f1-9dc4-e2341c9f98d8",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "e7c28070b1ea42499db5c6e35d8bb53b",
"description": "cc8c34462107473c9fa64483ce8b40d6",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "5fd35fb2-69a4-11f1-9dc4-e2341c9f98d8",
"admins": {
"identities": [
{
"identity_provider": "5fd3608e-69a4-11f1-9dc4-e2341c9f98d8",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "5fd3612e-69a4-11f1-9dc4-e2341c9f98d8",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"5fd3612e-69a4-11f1-9dc4-e2341c9f98d8"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "5fd35fb2-69a4-11f1-9dc4-e2341c9f98d8",
"admins": {
"identities": [],
"groups": [
{
"id": "5fd361b0-69a4-11f1-9dc4-e2341c9f98d8",
"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": [
"5fd361b0-69a4-11f1-9dc4-e2341c9f98d8"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff77834-69a4-11f1-9dc4-e2341c9f98d8/707884c0508142b69d8128772d33c26f",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "b105392a206549a3af06cdaed4da7023",
"description": "a32a75e7b1534a258cecec5bf603f346",
"client": "5ff77992-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff77af0-69a4-11f1-9dc4-e2341c9f98d8/0796b9c28a174ba99e33b61b333c5c25",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "10a257bc73de497d8f1ec6697f228e64",
"description": "4e0449c52e0b4a0faee31af8552777db",
"client": "5ff77c08-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff77d0c-69a4-11f1-9dc4-e2341c9f98d8/424b6ba64c164ebe8444a868c60fe154",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "6ce0aaea3af842339b558a93d00fa47b",
"description": "fd7f4ae12fcd4892b83e2a52589f33f0",
"client": "5ff77e1a-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff77f0a-69a4-11f1-9dc4-e2341c9f98d8/0bb2c0afa8524c69b37eb4f317773221",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "e6f654c583924605a58af2673eb90664",
"description": "ab6366aec08d47b0800e8a70f9db0260",
"client": "5ff78004-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff780c2-69a4-11f1-9dc4-e2341c9f98d8/4a610682e5144ff9986b7467a18ff1db",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "afbb6fbd4b9e40bd8d9556e69d67a905",
"description": "d24e4a0b694549869b9d03939ddb729d",
"client": "5ff781c6-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff7827a-69a4-11f1-9dc4-e2341c9f98d8/c61c3f4ebeef4dc19afd40b18b6b3dff",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "c90fb382fb874b55b9245f74ad48c6fe",
"description": "1a717ced35c14562b4da177011bb910b",
"client": "5ff7837e-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff7843c-69a4-11f1-9dc4-e2341c9f98d8/f974a791252a4a48ba3760cd3eb33432",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "a9140c3c038840658a6423d6e7bfcb4a",
"description": "ce271659bc67428dbb73a20a3d6492a1",
"client": "5ff78536-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff7872a-69a4-11f1-9dc4-e2341c9f98d8/ed8607fd223f4ef796cbf0be85321ae7",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "b4df69a6a2f641b4aabc78a8e87cb444",
"description": "68de82d60bbd4345b134096e611c29a6",
"client": "5ff78838-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": [
{
"scope": "5ff785e0-69a4-11f1-9dc4-e2341c9f98d8",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "5ff78680-69a4-11f1-9dc4-e2341c9f98d8",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff7890a-69a4-11f1-9dc4-e2341c9f98d8/b38d6c6251cb42c29c7bb510c4904e88",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": true,
"required_domains": [],
"name": "566939de8d854eb09ede7a5c603c68d7",
"description": "408a0badd12841879b8ee84ee8874175",
"client": "5ff78a22-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff78ad6-69a4-11f1-9dc4-e2341c9f98d8/e44a94a3426b480393eff04812820de5",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "9960701799464902b1936c5f4b16e02f",
"description": "6f225537e39144b5a80650c0225fa1b5",
"client": "5ff78bd0-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff78c7a-69a4-11f1-9dc4-e2341c9f98d8/d6d245adf1af407e9e4da6da3799a36a",
"allows_refresh_token": true,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "a26a16779b104bf8a98a47999685f9c0",
"description": "dde32fbd29474a3f9ec90e8e4829da70",
"client": "5ff78d74-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
update_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/5ff78e1e-69a4-11f1-9dc4-e2341c9f98d8/bb705352d2ae475a99d54b74098acdb7",
"allows_refresh_token": false,
"id": "5ff776d6-69a4-11f1-9dc4-e2341c9f98d8",
"advertised": false,
"required_domains": [],
"name": "4b19bd5680c1476795240cd6686b8ccc",
"description": "9d352bd4b908408ab278103b5351362b",
"client": "5ff78f18-69a4-11f1-9dc4-e2341c9f98d8",
"dependent_scopes": []
}
}
userinfo (case="unauthorized")
{
"errors": [
{
"status": "401",
"id": "6252bf8a-69a4-11f1-9dc4-e2341c9f98d8",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo (case="forbidden")
{
"errors": [
{
"status": "403",
"id": "6252c0d4-69a4-11f1-9dc4-e2341c9f98d8",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}