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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "ba9a4a6ff4f74431802d602eb60a4157",
"project": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad79aa-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7b76-a473-11f0-ad27-56b50dee9dae",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7c66-a473-11f0-ad27-56b50dee9dae",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"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": "6fad7680-a473-11f0-ad27-56b50dee9dae",
"client_type": "public_webapp_client"
}
}
create_client_credential (case="default")
{
"credential": {
"name": "foo",
"id": "6fb1da04-a473-11f0-ad27-56b50dee9dae",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "6fb1dac2-a473-11f0-ad27-56b50dee9dae",
"secret": "abc123"
}
}
create_client_credential (case="name")
{
"credential": {
"name": "ef7e33d45d804b42ab2c33f82d7ea3b1",
"id": "6fb1da04-a473-11f0-ad27-56b50dee9dae",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "6fb1dac2-a473-11f0-ad27-56b50dee9dae",
"secret": "abc123"
}
}
create_policy (case="default")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "6fa74c88-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="project_id_str")
{
"policy": {
"project_id": "6fa74dbe-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "6fa74e5e-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="project_id_uuid")
{
"policy": {
"project_id": "6fa74f4e-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "6fa74ff8-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="high_assurance")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "6fa750c0-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="not_high_assurance")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "6fa75192-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="required_mfa")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "6fa75250-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "6fa7532c-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="display_name")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "6be1c06d969c46ca9036421731ae51e9",
"description": "Controls access to Foo",
"id": "6fa754a8-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="description")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "6bb8a936b0254c57979808757c86ba00",
"id": "6fa755b6-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="domain_constraints_include")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "6fa75674-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="empty_domain_constraints_include")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "6fa75750-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="no_domain_constraints_include")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "6fa75818-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="domain_constraints_exclude")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "6fa758c2-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="empty_domain_constraints_exclude")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "6fa7596c-a473-11f0-ad27-56b50dee9dae"
}
}
create_policy (case="no_domain_constraints_exclude")
{
"policy": {
"project_id": "6fa74aee-a473-11f0-ad27-56b50dee9dae",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "6fa75a3e-a473-11f0-ad27-56b50dee9dae"
}
}
create_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "6fa1f896-a473-11f0-ad27-56b50dee9dae",
"admins": {
"identities": [
{
"identity_provider": "6fa1f972-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa1f9fe-a473-11f0-ad27-56b50dee9dae",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"6fa1f9fe-a473-11f0-ad27-56b50dee9dae"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "6fa1f896-a473-11f0-ad27-56b50dee9dae",
"admins": {
"identities": [],
"groups": [
{
"id": "6fa1fa8a-a473-11f0-ad27-56b50dee9dae",
"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": [
"6fa1fa8a-a473-11f0-ad27-56b50dee9dae"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5e4aa-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="client_id_str")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e5ae-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5e64e-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e5ae-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="client_id_uuid")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e70c-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5e7ac-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e70c-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5e964-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "cd07127cc25d47188ea5400aaa3d8065",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5eaae-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "b82ba932bf074927a8b840a1e98cfbd5",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/f4508aaa430d4781ae730daa90eb7bcd",
"allows_refresh_token": true,
"id": "6fb5ebd0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5ec98-a473-11f0-ad27-56b50dee9dae",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5edb0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5ee82-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": false,
"id": "6fb5ef72-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5f058-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5f116-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5f1d4-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
create_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb5e356-a473-11f0-ad27-56b50dee9dae/manage",
"allows_refresh_token": true,
"id": "6fb5f3f0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "6fb5e356-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": [
{
"scope": "6fb5f27e-a473-11f0-ad27-56b50dee9dae",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "6fb5f35a-a473-11f0-ad27-56b50dee9dae",
"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": "6fb00fb2-a473-11f0-ad27-56b50dee9dae",
"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": "6fb2c3d8-a473-11f0-ad27-56b50dee9dae",
"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": "6fa9b130-a473-11f0-ad27-56b50dee9dae",
"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": "6fa4213e-a473-11f0-ad27-56b50dee9dae",
"admins": {
"identities": [
{
"identity_provider": "6fa42224-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa422ba-a473-11f0-ad27-56b50dee9dae",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"6fa422ba-a473-11f0-ad27-56b50dee9dae"
],
"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": "6fb86a90-a473-11f0-ad27-56b50dee9dae",
"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": "6faaa13a-a473-11f0-ad27-56b50dee9dae",
"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": "6faaa13a-a473-11f0-ad27-56b50dee9dae",
"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": "6fb0fb34-a473-11f0-ad27-56b50dee9dae",
"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": "6fab871c-a473-11f0-ad27-56b50dee9dae",
"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": "6fab8622-a473-11f0-ad27-56b50dee9dae",
"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": "7277b646-a473-11f0-ad27-56b50dee9dae",
"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": "6fa5dc9a-a473-11f0-ad27-56b50dee9dae",
"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": "6fa5dd8a-a473-11f0-ad27-56b50dee9dae",
"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": "6fa50194-a473-11f0-ad27-56b50dee9dae",
"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": [
"6fa011c0-a473-11f0-ad27-56b50dee9dae"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "6fa0124c-a473-11f0-ad27-56b50dee9dae",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "6fa00ee6-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa0110c-a473-11f0-ad27-56b50dee9dae",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "6fa00ee6-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa011c0-a473-11f0-ad27-56b50dee9dae",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects (case="default")
{
"projects": [
{
"admin_ids": [
"6fa0e5c8-a473-11f0-ad27-56b50dee9dae"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "6fa0e668-a473-11f0-ad27-56b50dee9dae",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "6fa0e42e-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa0e5c8-a473-11f0-ad27-56b50dee9dae",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"6fa0e5c8-a473-11f0-ad27-56b50dee9dae"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "6fa0e6f4-a473-11f0-ad27-56b50dee9dae",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "6fa0e42e-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa0e532-a473-11f0-ad27-56b50dee9dae",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "6fa0e42e-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa0e5c8-a473-11f0-ad27-56b50dee9dae",
"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": "6fb3aeec-a473-11f0-ad27-56b50dee9dae",
"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": "6fb4a540-a473-11f0-ad27-56b50dee9dae",
"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": "6fb4a630-a473-11f0-ad27-56b50dee9dae",
"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": "6fb4a540-a473-11f0-ad27-56b50dee9dae",
"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": "6fb4a630-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
oauth2_userinfo (case="unauthorized")
{
"errors": [
{
"status": "401",
"id": "7277b646-a473-11f0-ad27-56b50dee9dae",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
oauth2_userinfo (case="forbidden")
{
"errors": [
{
"status": "403",
"id": "7277b77c-a473-11f0-ad27-56b50dee9dae",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
update_client (case="default")
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "6faf0414-a473-11f0-ad27-56b50dee9dae"
}
}
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": "5bbc4a578b4949ba8db5f8cd35bbfad7",
"id": "6faf05cc-a473-11f0-ad27-56b50dee9dae"
}
}
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": "6faf06b2-a473-11f0-ad27-56b50dee9dae"
}
}
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": "6faf0766-a473-11f0-ad27-56b50dee9dae"
}
}
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": "6faf082e-a473-11f0-ad27-56b50dee9dae"
}
}
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": "6faf0900-a473-11f0-ad27-56b50dee9dae"
}
}
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": "6faf09aa-a473-11f0-ad27-56b50dee9dae",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "6faf0a2c-a473-11f0-ad27-56b50dee9dae"
}
}
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": "6faf0acc-a473-11f0-ad27-56b50dee9dae",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "6faf0b44-a473-11f0-ad27-56b50dee9dae"
}
}
update_policy (case="default")
{
"policy": {
"project_id": "6fa8a51a-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4b0523a385044a8cb7f27782a439a91e",
"description": "0f5d227d907c4f6f8aa9d38d19d3db6d",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_str")
{
"policy": {
"project_id": "6fa8a6dc-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "6150949b00a04e63967a208e6a2b1ed9",
"description": "f59ce7016643415892c6d61180b53b2c",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="project_id_uuid")
{
"policy": {
"project_id": "6fa8a89e-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f26b20bfa11d44d6a0271ec85162ac0f",
"description": "137b70f081dd4a21a40aff3098aacf01",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="authentication_assurance_timeout")
{
"policy": {
"project_id": "6fa8aa4c-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "8d2d29175f8f43a7aeb4151b0d9892ef",
"description": "813bef1d4fe2454a9d7656780fe6df8c",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="required_mfa")
{
"policy": {
"project_id": "6fa8ab5a-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "e6ee78857c0e4eea80b8dd118231dc6b",
"description": "f0b41dcc7edb4cf78cef12f4a4bebbb4",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="not_required_mfa")
{
"policy": {
"project_id": "6fa8ac5e-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "7603dcdba03a483c85df18d9684a0705",
"description": "b60aff0ac7884645b6ed59e836145366",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="display_name")
{
"policy": {
"project_id": "6fa8ad8a-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "2bebfbb8606541d687bb7d42a81e360c",
"description": "6875049459364a5b9ba9388b5a451d4b",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="description")
{
"policy": {
"project_id": "6fa8af10-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "5b655b552549472d85b6495f274f8fa2",
"description": "addec4a421964a708bd842a4106f7d2c",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_include")
{
"policy": {
"project_id": "6fa8b046-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4a7d39de1c7549639de3cb982fcaf903",
"description": "831e21e91c414cbaa20120dd0752cf04",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_include")
{
"policy": {
"project_id": "6fa8b154-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "89281deab0e64b8bb1df4a40abbd45a0",
"description": "e2fcd523f11d4701af43b8c37105a352",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy (case="domain_constrants_include")
{
"policy": {
"project_id": "6fa8b258-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "32d22f8371d24709be31eca1ca9d0948",
"description": "1a7aa5d30ab047028776f76a21368ffb",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy (case="no_domain_constrants_exclude")
{
"policy": {
"project_id": "6fa8b35c-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "94d461aca4d54f6f8e3ac1cccf772716",
"description": "c9862e62b413416aae673fad7ee6280d",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy (case="empty_domain_constrants_exclude")
{
"policy": {
"project_id": "6fa8b442-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "a88eb5841beb472ab77f422488166a99",
"description": "f095d5850e2249859bdcac7f81334183",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy (case="domain_constrants_exclude")
{
"policy": {
"project_id": "6fa8b532-a473-11f0-ad27-56b50dee9dae",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "0394000f648e4e95a15da41ab9994dad",
"description": "766b2838bd1e4b9b8347b685db79b4bf",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project (case="default")
{
"project": {
"contact_email": "support@globus.org",
"id": "6fa32e8c-a473-11f0-ad27-56b50dee9dae",
"admins": {
"identities": [
{
"identity_provider": "6fa32f72-a473-11f0-ad27-56b50dee9dae",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "6fa33008-a473-11f0-ad27-56b50dee9dae",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"6fa33008-a473-11f0-ad27-56b50dee9dae"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project (case="admin_group")
{
"project": {
"contact_email": "support@globus.org",
"id": "6fa32e8c-a473-11f0-ad27-56b50dee9dae",
"admins": {
"identities": [],
"groups": [
{
"id": "6fa3308a-a473-11f0-ad27-56b50dee9dae",
"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": [
"6fa3308a-a473-11f0-ad27-56b50dee9dae"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope (case="default")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb752d6-a473-11f0-ad27-56b50dee9dae/7bcb1627ce7148d8b1de8cd36ed04613",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "c2d579f5870145dea7785209b36e7f3f",
"description": "c42cfc1ea75d4b0b82072af2aa7c84f4",
"client": "6fb75416-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="name")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb7557e-a473-11f0-ad27-56b50dee9dae/510b1bd11a5c4b01977e33ec6efc5e27",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "a3814a80efdc46fc96de6717709a82c6",
"description": "df642e24670f4b4fb7fb6d40fcf05a34",
"client": "6fb756a0-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="description")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb75aec-a473-11f0-ad27-56b50dee9dae/538d34d5b5d84ef9aac815ef74929002",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "cfe98c399ae8494fa9128f9954e4015f",
"description": "aecf2c57138e486aba77d7f7c42179e9",
"client": "6fb75bf0-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="scope_suffix")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb75cea-a473-11f0-ad27-56b50dee9dae/b80ebb8bc5ed430b8888b0dd0043a6e6",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "7e5b926e8b0242c48c1bd1e02f6557c6",
"description": "fd71e8a5ba764a4fb1b21d70f8effe6a",
"client": "6fb75de4-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="no_required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb75ea2-a473-11f0-ad27-56b50dee9dae/5c1f9a41a51c47d9975ae37f02c35f88",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "0e0061f0ddf144dba3a12a052bc099c1",
"description": "9459a6ec635642b3a5ac5f7f7e919c68",
"client": "6fb75fa6-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="required_domains")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb76082-a473-11f0-ad27-56b50dee9dae/408d031853994665a61a71020b1c0d75",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "984d6892197648899b780f6be52b2d02",
"description": "9929b0b0580548328c3cedd6ba240023",
"client": "6fb76190-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="no_dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb7624e-a473-11f0-ad27-56b50dee9dae/61156f18577e40fe828ffb1975e48b72",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "0ebc4b079ac743e5a591e31b717914be",
"description": "cc6f186f16344ef9ab8a273c5e9f6f7f",
"client": "6fb76352-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="dependent_scopes")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb76596-a473-11f0-ad27-56b50dee9dae/a550fe7ce3d9405c931cd6358330c542",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "cd8b7495f6c64082b94b7d10871c9c18",
"description": "d541e61f49f04405a084744a9b768691",
"client": "6fb766a4-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": [
{
"scope": "6fb76424-a473-11f0-ad27-56b50dee9dae",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "6fb764e2-a473-11f0-ad27-56b50dee9dae",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope (case="advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb76794-a473-11f0-ad27-56b50dee9dae/c0cd126053ca4164ae417c2567ccf567",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": true,
"required_domains": [],
"name": "463b2a9ca0324391a88928fba2e18d9b",
"description": "4dca9e3cc1f24623bf61dae55849142d",
"client": "6fb76b04-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="not_advertised")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb76c1c-a473-11f0-ad27-56b50dee9dae/018590d4a85a4475b0f5ce1a2ca091f3",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "eff2682a19754744a159e3a0db209adc",
"description": "745606e355344cb786d4cb1ef026e291",
"client": "6fb76d2a-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="allows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb76de8-a473-11f0-ad27-56b50dee9dae/9fb27cf340f4440a897c3da6fc6965af",
"allows_refresh_token": true,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "ad24f8f08f3448c78e1a1c3e0854ffe5",
"description": "8fd39b03ed084ef1bc32f925973ecf80",
"client": "6fb76ed8-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
update_scope (case="disallows_refresh_token")
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/6fb76f8c-a473-11f0-ad27-56b50dee9dae/c64528cefe134074b6ced9e044d9abd5",
"allows_refresh_token": false,
"id": "6fb751a0-a473-11f0-ad27-56b50dee9dae",
"advertised": false,
"required_domains": [],
"name": "5c1f816195324aaa802ff22a71317135",
"description": "53f378bd88be4aa68a979799190a2398",
"client": "6fb7707c-a473-11f0-ad27-56b50dee9dae",
"dependent_scopes": []
}
}
userinfo (case="unauthorized")
{
"errors": [
{
"status": "401",
"id": "7277b646-a473-11f0-ad27-56b50dee9dae",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo (case="forbidden")
{
"errors": [
{
"status": "403",
"id": "7277b77c-a473-11f0-ad27-56b50dee9dae",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}