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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "f6281d3805ce46eebc06df3fb6118e7e",
"project": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54e100-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54e254-6e3f-11f0-88e1-dac18ece668b",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54e2ea-6e3f-11f0-88e1-dac18ece668b",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f54dea8-6e3f-11f0-88e1-dac18ece668b",
"client_type": "public_webapp_client"
}
}
create_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "7f585f92-6e3f-11f0-88e1-dac18ece668b",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "7f586028-6e3f-11f0-88e1-dac18ece668b",
"secret": "abc123"
}
}
create_client_credential
(case="name"
)
{
"credential": {
"name": "7475bcefe4c244d183a316d4da8fe752",
"id": "7f585f92-6e3f-11f0-88e1-dac18ece668b",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "7f586028-6e3f-11f0-88e1-dac18ece668b",
"secret": "abc123"
}
}
create_policy
(case="default"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "7f501eea-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "7f501fc6-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "7f502048-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "7f502110-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "7f502192-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="high_assurance"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "7f50223c-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="not_high_assurance"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "7f5022fa-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="required_mfa"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "7f502386-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "7f502412-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="display_name"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "3e0bd6bb58d14d49bd7acd9a9e622f0d",
"description": "Controls access to Foo",
"id": "7f502502-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="description"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "95ea44951da046979c74ed032fac4de4",
"id": "7f5025de-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="domain_constraints_include"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "7f50267e-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="empty_domain_constraints_include"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "7f50270a-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="no_domain_constraints_include"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "7f50278c-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="domain_constraints_exclude"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "7f50280e-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="empty_domain_constraints_exclude"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "7f5028ae-6e3f-11f0-88e1-dac18ece668b"
}
}
create_policy
(case="no_domain_constraints_exclude"
)
{
"policy": {
"project_id": "7f501daa-6e3f-11f0-88e1-dac18ece668b",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "7f50294e-6e3f-11f0-88e1-dac18ece668b"
}
}
create_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "7f4be0e6-6e3f-11f0-88e1-dac18ece668b",
"admins": {
"identities": [
{
"identity_provider": "7f4be1a4-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4be21c-6e3f-11f0-88e1-dac18ece668b",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"7f4be21c-6e3f-11f0-88e1-dac18ece668b"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "7f4be0e6-6e3f-11f0-88e1-dac18ece668b",
"admins": {
"identities": [],
"groups": [
{
"id": "7f4be294-6e3f-11f0-88e1-dac18ece668b",
"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": [
"7f4be294-6e3f-11f0-88e1-dac18ece668b"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9770-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="client_id_str"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b9842-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b98c4-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b9842-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="client_id_uuid"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b995a-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b99dc-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b995a-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9af4-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "f951b790f9ab4ada99a2ef6039aa0302",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9bc6-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "91865102f70f4b7b843627af32814cb7",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/f9ff8e2bb0ff480a84bf40ec43e668f7",
"allows_refresh_token": true,
"id": "7f5b9c7a-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9d24-6e3f-11f0-88e1-dac18ece668b",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9dce-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9e6e-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": false,
"id": "7f5b9f18-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5b9fae-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5ba03a-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5ba0d0-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
create_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5b966c-6e3f-11f0-88e1-dac18ece668b/manage",
"allows_refresh_token": true,
"id": "7f5ba2b0-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "7f5b966c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": [
{
"scope": "7f5ba15c-6e3f-11f0-88e1-dac18ece668b",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "7f5ba210-6e3f-11f0-88e1-dac18ece668b",
"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": "7f56f1e8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f591cac-6e3f-11f0-88e1-dac18ece668b",
"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": "7f51ecd4-6e3f-11f0-88e1-dac18ece668b",
"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": "7f4d962a-6e3f-11f0-88e1-dac18ece668b",
"admins": {
"identities": [
{
"identity_provider": "7f4d96e8-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4d9760-6e3f-11f0-88e1-dac18ece668b",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"7f4d9760-6e3f-11f0-88e1-dac18ece668b"
],
"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": "7f5d8f62-6e3f-11f0-88e1-dac18ece668b",
"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": "7f52a52a-6e3f-11f0-88e1-dac18ece668b",
"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": "7f52a52a-6e3f-11f0-88e1-dac18ece668b",
"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": "7f579df0-6e3f-11f0-88e1-dac18ece668b",
"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": "7f534d54-6e3f-11f0-88e1-dac18ece668b",
"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": "7f534c82-6e3f-11f0-88e1-dac18ece668b",
"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": "818b0dc8-6e3f-11f0-88e1-dac18ece668b",
"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": "7f4eea20-6e3f-11f0-88e1-dac18ece668b",
"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": "7f4eead4-6e3f-11f0-88e1-dac18ece668b",
"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": "7f4e49a8-6e3f-11f0-88e1-dac18ece668b",
"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": [
"7f4a4a74-6e3f-11f0-88e1-dac18ece668b"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "7f4a4aec-6e3f-11f0-88e1-dac18ece668b",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "7f4a48c6-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4a49e8-6e3f-11f0-88e1-dac18ece668b",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "7f4a48c6-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4a4a74-6e3f-11f0-88e1-dac18ece668b",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects
(case="default"
)
{
"projects": [
{
"admin_ids": [
"7f4b1210-6e3f-11f0-88e1-dac18ece668b"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "7f4b129c-6e3f-11f0-88e1-dac18ece668b",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "7f4b10b2-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4b1210-6e3f-11f0-88e1-dac18ece668b",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"7f4b1210-6e3f-11f0-88e1-dac18ece668b"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "7f4b131e-6e3f-11f0-88e1-dac18ece668b",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "7f4b10b2-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4b118e-6e3f-11f0-88e1-dac18ece668b",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "7f4b10b2-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4b1210-6e3f-11f0-88e1-dac18ece668b",
"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": "7f59c954-6e3f-11f0-88e1-dac18ece668b",
"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": "7f5a9c6c-6e3f-11f0-88e1-dac18ece668b",
"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": "7f5a9d34-6e3f-11f0-88e1-dac18ece668b",
"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": "7f5a9c6c-6e3f-11f0-88e1-dac18ece668b",
"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": "7f5a9d34-6e3f-11f0-88e1-dac18ece668b",
"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": "818b0dc8-6e3f-11f0-88e1-dac18ece668b",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
oauth2_userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "818b0ee0-6e3f-11f0-88e1-dac18ece668b",
"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": "7f5605bc-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "71b54ec9522e4928b17b80b692a49dde",
"id": "7f560724-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "7f5607f6-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "7f560896-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "7f56094a-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "7f5609fe-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "7f560a8a-6e3f-11f0-88e1-dac18ece668b",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "7f560ddc-6e3f-11f0-88e1-dac18ece668b"
}
}
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": "7f560e7c-6e3f-11f0-88e1-dac18ece668b",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "7f560eea-6e3f-11f0-88e1-dac18ece668b"
}
}
update_policy
(case="default"
)
{
"policy": {
"project_id": "7f50ff72-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "52fbd7a2fe214beba52a28e87f2b67a1",
"description": "8928897386574df6a1587cd10e65709a",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "7f51009e-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "e7ce97c18fc34f478bd10776db9a9973",
"description": "47104deb5ce74ca9acb20c1491da0652",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "7f5102a6-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "cfdc3c2866ec4389b6161502e8e79797",
"description": "3376f767fad14254afcb9b93812ec76d",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "7f510418-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "9d5d6ed49487426d9302ced49c3ffdec",
"description": "3238e1a6c3534507bb307d0f2af31d05",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="required_mfa"
)
{
"policy": {
"project_id": "7f5104ea-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "67592a43d6694cb6b3a129df4dc35437",
"description": "c8d66ab2da3741d98428ecdb0fc52419",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="not_required_mfa"
)
{
"policy": {
"project_id": "7f5105c6-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "5f42c8c9b6394e539d652c536065812a",
"description": "4a2aae995ea04cabba6577deb562f747",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="display_name"
)
{
"policy": {
"project_id": "7f5106c0-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "1517f7937ce6439499b30aac59f8ecc7",
"description": "c3a5e1f74718406fa26e7b4a2f59d857",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="description"
)
{
"policy": {
"project_id": "7f5107f6-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "9f0e6d6a56c845368afb75e0c479e542",
"description": "26bd55d2373047ddb0be38ed57731c02",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_include"
)
{
"policy": {
"project_id": "7f5108d2-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "62b2a2db07804deba0ac73de19c9abf0",
"description": "2ceeb48d9a1d43fc9766dec0572603f4",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_include"
)
{
"policy": {
"project_id": "7f5109b8-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "deac79eefab4499d8dc68dd3665b79c7",
"description": "fe33e7f8a9d74ea38db34ef6df962c67",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy
(case="domain_constrants_include"
)
{
"policy": {
"project_id": "7f510a76-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "666641e519bb4498bef914f999279f4f",
"description": "6375b367f89a48e09478645aedd8197b",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_exclude"
)
{
"policy": {
"project_id": "7f510b3e-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f2e168a95bc1492fbac4aef31e0b7f70",
"description": "246697bf66c3462092b950df25290ee4",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_exclude"
)
{
"policy": {
"project_id": "7f510c10-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "a3c7798c9775447499bcc8b6eed045f0",
"description": "84b72c45362641d0be257b08333ab33a",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy
(case="domain_constrants_exclude"
)
{
"policy": {
"project_id": "7f510cf6-6e3f-11f0-88e1-dac18ece668b",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "4ead6873c67a4bfea9dc1656679fd288",
"description": "7ad9757f0e194a269e7e8d3e0231259c",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "7f4cc4ac-6e3f-11f0-88e1-dac18ece668b",
"admins": {
"identities": [
{
"identity_provider": "7f4cc56a-6e3f-11f0-88e1-dac18ece668b",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "7f4cc5ec-6e3f-11f0-88e1-dac18ece668b",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"7f4cc5ec-6e3f-11f0-88e1-dac18ece668b"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "7f4cc4ac-6e3f-11f0-88e1-dac18ece668b",
"admins": {
"identities": [],
"groups": [
{
"id": "7f4cc65a-6e3f-11f0-88e1-dac18ece668b",
"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": [
"7f4cc65a-6e3f-11f0-88e1-dac18ece668b"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cbca4-6e3f-11f0-88e1-dac18ece668b/bd593237881d43dfae953dba26fd3044",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "511c2078469d4aaf96aba97e7c931bf7",
"description": "3cfc7c2517f44ccb913351583a990ac8",
"client": "7f5cbdc6-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cbec0-6e3f-11f0-88e1-dac18ece668b/81ef2f508b7c48c6a252ef068b2be1f8",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "db1594f8020146d4840537c29894bda8",
"description": "85e424a418ea48efaa420f57c46f874a",
"client": "7f5cbf9c-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cc05a-6e3f-11f0-88e1-dac18ece668b/c71d16352d4b46b5b159a4432031e667",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "52c0945d33424a7cbc596bd04a5adfce",
"description": "5c89ba2ea2b946aea6d8d29210892fa3",
"client": "7f5cc122-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cc276-6e3f-11f0-88e1-dac18ece668b/6507b6754a184f64bafbe996c6165d99",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "ed8d544c700749839a798e4561dec8d3",
"description": "2b9cf67a977948548975088664b6805b",
"client": "7f5cc33e-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cc3d4-6e3f-11f0-88e1-dac18ece668b/0dac41dffdc94993bec9776034aeab5c",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "6b85d8fd12e14f9e97cec937f3c2137f",
"description": "74480f5e1ab244a89f8706b2b0ca542c",
"client": "7f5cc4a6-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cc532-6e3f-11f0-88e1-dac18ece668b/8e12a9e335fa4af3ae50388b2d81c57a",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "de5f29fe85a548c29b10c057460880ff",
"description": "730bd34cd9764eaf9e377ac18290ffce",
"client": "7f5cc5fa-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cc686-6e3f-11f0-88e1-dac18ece668b/cf168b806e014ca8bc13bd6f45f60d61",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "2ba2da15bbf547ac9d0a90d67f4e78ff",
"description": "40bc5d506b5b46779eedef093383eb1f",
"client": "7f5cc74e-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cc8fc-6e3f-11f0-88e1-dac18ece668b/23864c75211340c5a1d5a9d283399e14",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "119f4556e91e48c8af5acc205832da08",
"description": "d0b19aa37caa456ea351d27322f3d3f3",
"client": "7f5cc9ce-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": [
{
"scope": "7f5cc7d0-6e3f-11f0-88e1-dac18ece668b",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "7f5cc866-6e3f-11f0-88e1-dac18ece668b",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cca82-6e3f-11f0-88e1-dac18ece668b/fa34be6af9494feaa746584d95333cb9",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": true,
"required_domains": [],
"name": "00c4767f6dbf4f2a981e939f4c39a5f7",
"description": "94286ca5ec034517a6429b2171daa554",
"client": "7f5ccb54-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5ccbe0-6e3f-11f0-88e1-dac18ece668b/d9778231497e4f02b8c2cad5beeb5408",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "5b7ed97c289d47c78b2a8e9776b6be1d",
"description": "8f30230819d24fb7835f3e0e1034cc8c",
"client": "7f5ccca8-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5ccd2a-6e3f-11f0-88e1-dac18ece668b/01d01bbee5bf42b6ab0cf157614c7f7a",
"allows_refresh_token": true,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "82e6ee19870f4b20a045bf65bbdbe249",
"description": "86a57300a8664afa83c2c36f48d20132",
"client": "7f5ccdf2-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
update_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/7f5cce7e-6e3f-11f0-88e1-dac18ece668b/7375bc663aa94fe084b84a0c39872904",
"allows_refresh_token": false,
"id": "7f5ca494-6e3f-11f0-88e1-dac18ece668b",
"advertised": false,
"required_domains": [],
"name": "2509af86e0654f9abe2a0ae012c49f29",
"description": "67f9fb5246084f08a8b1df1e8f23b53a",
"client": "7f5ccf46-6e3f-11f0-88e1-dac18ece668b",
"dependent_scopes": []
}
}
userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "818b0dc8-6e3f-11f0-88e1-dac18ece668b",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "818b0ee0-6e3f-11f0-88e1-dac18ece668b",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}