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": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="name"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "b1506277c6ef41ed961127f1a9ba7c1b",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="public_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="private_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": false,
"client_type": "hybrid_confidential_client_resource_server"
}
}
create_client
(case="project_id"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61bb0-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="publicly_visible"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"visibility": "public",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="not_publicly_visible"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"visibility": "private",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="redirect_uris"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [
"https://foo.com"
],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="links"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": "https://boo.org",
"terms_and_conditions": "https://foo.org"
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="required_idp"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": "14a61d68-0411-11ef-8810-0242ac110002",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="preselect_idp"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": "14a61e26-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"public_client": true,
"client_type": "public_installed_client"
}
}
create_client
(case="client_type_confidential_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "confidential_client"
}
}
create_client
(case="client_type_public_installed_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "public_installed_client"
}
}
create_client
(case="client_type_client_identity"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "client_identity"
}
}
create_client
(case="client_type_resource_server"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "resource_server"
}
}
create_client
(case="client_type_globus_connect_server"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "globus_connect_server"
}
}
create_client
(case="client_type_hybrid_confidential_client_resource_server"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "hybrid_confidential_client_resource_server"
}
}
create_client
(case="client_type_public_webapp_client"
)
{
"client": {
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token",
"urn:globus:auth:grant_type:dependent_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "14a61872-0411-11ef-8810-0242ac110002",
"client_type": "public_webapp_client"
}
}
create_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "14aa3362-0411-11ef-8810-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "14aa340c-0411-11ef-8810-0242ac110002",
"secret": "abc123"
}
}
create_client_credential
(case="name"
)
{
"credential": {
"name": "04ed4ee651314ca5914292a4294ff3a8",
"id": "14aa3362-0411-11ef-8810-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "14aa340c-0411-11ef-8810-0242ac110002",
"secret": "abc123"
}
}
create_policy
(case="default"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "14a03308-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "14a033da-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "14a03466-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "14a03574-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "14a0360a-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="high_assurance"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"id": "14a03aec-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="not_high_assurance"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"id": "14a03bc8-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "14a03c86-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="display_name"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "bf3b327347d34c9990ac693a1b8ab869",
"description": "Controls access to Foo",
"id": "14a03dbc-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="description"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "918fc48f939446b8a0ec7e95c7d103d7",
"id": "14a03ec0-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="domain_constraints_include"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "14a03f7e-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="empty_domain_constraints_include"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "14a0406e-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="no_domain_constraints_include"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "14a04122-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="domain_constraints_exclude"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "14a041c2-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="empty_domain_constraints_exclude"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "14a0426c-0411-11ef-8810-0242ac110002"
}
}
create_policy
(case="no_domain_constraints_exclude"
)
{
"policy": {
"project_id": "14a031a0-0411-11ef-8810-0242ac110002",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "14a0432a-0411-11ef-8810-0242ac110002"
}
}
create_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "149bac2a-0411-11ef-8810-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "149bad06-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "149bad92-0411-11ef-8810-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"149bad92-0411-11ef-8810-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "149bac2a-0411-11ef-8810-0242ac110002",
"admins": {
"identities": [],
"groups": [
{
"id": "149bae1e-0411-11ef-8810-0242ac110002",
"name": "Guardians of the Galaxy",
"description": "A group of heroes",
"organization": "Guardians of the Galaxy"
}
]
},
"project_name": "Guardians of the Galaxy",
"admin_ids": null,
"admin_group_ids": [
"149bae1e-0411-11ef-8810-0242ac110002"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14adfb0a-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="client_id_str"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adfc0e-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14adfc9a-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adfc0e-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="client_id_uuid"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adfd94-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14adfe20-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adfd94-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14adff6a-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "a0c1fd87446a46b19bbea7d963cea15c",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae0064-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "695dbe468e0e430aa597154a1f5db853",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/c74865e37dd643609832529018442b2a",
"allows_refresh_token": true,
"id": "14ae015e-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae0226-0411-11ef-8810-0242ac110002",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae0302-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae03de-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": false,
"id": "14ae04a6-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae0578-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae0636-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae06ea-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
create_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14adf9c0-0411-11ef-8810-0242ac110002/manage",
"allows_refresh_token": true,
"id": "14ae08fc-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "14adf9c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": [
{
"scope": "14ae0794-0411-11ef-8810-0242ac110002",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "14ae0866-0411-11ef-8810-0242ac110002",
"optional": false,
"requires_refresh_token": false
}
]
}
}
delete_client
(case="default"
)
{
"client": {
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "14a89a5c-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"globus.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
}
delete_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "14ab19f8-0411-11ef-8810-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "7dee4432-0297-4989-ad23-a2b672a52b12",
"secret": null
}
}
delete_policy
(case="default"
)
{
"policy": {
"high_assurance": false,
"domain_constraints_include": [
"greenlight.org"
],
"display_name": "GreenLight domain Only Policy",
"description": "Only allow access from @greenlight.org",
"id": "14a26894-0411-11ef-8810-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
}
delete_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "149d9e72-0411-11ef-8810-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "149d9f4e-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "149d9fda-0411-11ef-8810-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"149d9fda-0411-11ef-8810-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
delete_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manager",
"allows_refresh_token": false,
"id": "14b05828-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
}
}
get_client
(case="default"
)
{
"client": {
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "14a355ec-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"globus.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
}
get_client
(case="fqdn"
)
{
"client": {
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "14a355ec-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"globus.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
}
get_client_credentials
(case="default"
)
{
"credentials": [
{
"name": "foo",
"id": "14a96270-0411-11ef-8810-0242ac110002",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "7dee4432-0297-4989-ad23-a2b672a52b12",
"secret": null
}
]
}
get_clients
(case="default"
)
{
"clients": [
{
"required_idp": null,
"name": "Lessor client of BAR",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "14a41658-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"bar.org"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
},
{
"required_idp": null,
"name": "Great client of FOO",
"redirect_uris": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"scopes": [],
"grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"id": "14a4154a-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": false,
"fqdns": [
"foo.net"
],
"project": "da84e531-1afb-43cb-8c87-135ab580516a",
"client_type": "client_identity",
"visibility": "private",
"parent_client": null,
"userinfo_from_effective_identity": true,
"preselect_idp": null,
"public_client": false
}
]
}
get_consents
(case="default"
)
{
"consents": [
{
"created": "2022-09-21T17:10:14.270581+00:00",
"id": 142632,
"status": "approved",
"updated": "2022-09-21T17:10:14.270581+00:00",
"allows_refresh": true,
"dependency_path": [
142632
],
"scope_name": "urn:globus:auth:scope:transfer.api.globus.org:all",
"atomically_revocable": false,
"effective_identity": "8ca28797-3541-4a5d-a264-05b00f91e608",
"auto_approved": false,
"last_used": "2024-03-18T17:34:04.719126+00:00",
"scope": "89ecabba-4acf-4e2e-a98d-ce592ccc2818",
"client": "065db752-2f43-4fe1-a633-2ee68c9da889"
},
{
"created": "2024-03-18T17:32:51.496893+00:00",
"id": 433892,
"status": "approved",
"updated": "2024-03-18T17:32:51.496893+00:00",
"allows_refresh": true,
"dependency_path": [
142632,
433892
],
"scope_name": "https://auth.globus.org/scopes/542a86fc-1766-450d-841f-065488a2ec01/data_access",
"atomically_revocable": true,
"effective_identity": "8ca28797-3541-4a5d-a264-05b00f91e608",
"auto_approved": false,
"last_used": "2024-03-18T17:33:05.178254+00:00",
"scope": "fe334c19-4fe6-4d03-ac73-8992beb231b6",
"client": "2fbdda78-a599-4cb5-ac3d-1fbcfbc6a754"
}
]
}
get_identities
(case="default"
)
{
"identities": [
{
"email": null,
"id": "46bd0f56-e24f-11e5-a510-131bef46955c",
"identity_provider": "7daddf46-70c5-45ee-9f0f-7244fe7c8707",
"name": null,
"organization": null,
"status": "unused",
"username": "globus@globus.org"
}
]
}
get_identities
(case="empty"
)
{
"identities": []
}
get_identities
(case="multiple"
)
{
"identities": [
{
"email": null,
"id": "46bd0f56-e24f-11e5-a510-131bef46955c",
"identity_provider": "7daddf46-70c5-45ee-9f0f-7244fe7c8707",
"name": null,
"organization": null,
"status": "unused",
"username": "globus@globus.org"
},
{
"email": "sirosen@globus.org",
"id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
"identity_provider": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"name": "Stephen Rosen",
"organization": "Globus Team",
"status": "used",
"username": "sirosen@globus.org"
}
]
}
get_identities
(case="globusid"
)
{
"identities": [
{
"email": "support@globus.org",
"id": "00000000-0000-0000-0000-000000000001",
"identity_provider": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
"identity_type": "login",
"name": "Globus Team",
"organization": "University of Chicago",
"status": "used",
"username": "globus@globusid.org"
}
]
}
get_identities
(case="sirosen"
)
{
"identities": [
{
"email": "sirosen@globus.org",
"id": "ae341a98-d274-11e5-b888-dbae3a8ba545",
"identity_provider": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"name": "Stephen Rosen",
"organization": "Globus Team",
"status": "used",
"username": "sirosen@globus.org"
}
]
}
get_identities
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "1777b7ae-0411-11ef-8810-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
get_identity_providers
(case="default"
)
{
"identity_providers": [
{
"short_name": "globusid",
"id": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
"alternative_names": [],
"domains": [
"globusid.org"
],
"name": "Globus ID"
},
{
"short_name": "globus.org",
"id": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"alternative_names": [],
"domains": [
"globus.org"
],
"name": "Globus Staff"
}
]
}
get_identity_providers
(case="globusid"
)
{
"identity_providers": [
{
"short_name": "globusid",
"id": "41143743-f3c8-4d60-bbdb-eeecaba85bd9",
"alternative_names": [],
"domains": [
"globusid.org"
],
"name": "Globus ID"
}
]
}
get_identity_providers
(case="globus_staff"
)
{
"identity_providers": [
{
"short_name": "globus.org",
"id": "927d7238-f917-4eb2-9ace-c523fa9ba34e",
"alternative_names": [],
"domains": [
"globus.org"
],
"name": "Globus Staff"
}
]
}
get_policies
(case="default"
)
{
"policies": [
{
"high_assurance": false,
"domain_constraints_include": [
"greenlight.org"
],
"display_name": "GreenLight domain Only Policy",
"description": "Only allow access from @greenlight.org",
"id": "149f3854-0411-11ef-8810-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
},
{
"high_assurance": true,
"domain_constraints_include": null,
"display_name": "No RedLight domain Policy",
"description": "Disallow access from @redlight.org",
"id": "149f3930-0411-11ef-8810-0242ac110002",
"domain_constraints_exclude": [
"redlight.org"
],
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
]
}
get_policy
(case="default"
)
{
"policy": {
"high_assurance": false,
"domain_constraints_include": [
"greenlight.org"
],
"display_name": "GreenLight domain Only Policy",
"description": "Only allow access from @greenlight.org",
"id": "149e81a2-0411-11ef-8810-0242ac110002",
"domain_constraints_exclude": null,
"project_id": "da84e531-1afb-43cb-8c87-135ab580516a",
"authentication_assurance_timeout": 35
}
}
get_project
(case="default"
)
{
"project": {
"admin_ids": [
"1499de86-0411-11ef-8810-0242ac110002"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "1499df12-0411-11ef-8810-0242ac110002",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "1499dc1a-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "1499dddc-0411-11ef-8810-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "1499dc1a-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "1499de86-0411-11ef-8810-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects
(case="default"
)
{
"projects": [
{
"admin_ids": [
"149aaa5a-0411-11ef-8810-0242ac110002"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "149aaaf0-0411-11ef-8810-0242ac110002",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "149aa8b6-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "149aaa5a-0411-11ef-8810-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"149aaa5a-0411-11ef-8810-0242ac110002"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "149aabfe-0411-11ef-8810-0242ac110002",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "149aa8b6-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "149aa9c4-0411-11ef-8810-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "149aa8b6-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "149aaa5a-0411-11ef-8810-0242ac110002",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
]
}
get_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manager",
"allows_refresh_token": false,
"id": "14abe2de-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
}
}
get_scopes
(case="default"
)
{
"scopes": [
{
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manage",
"allows_refresh_token": false,
"id": "14acc3e8-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
},
{
"scope_string": "https://auth.globus.org/scopes/dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6/view",
"allows_refresh_token": false,
"id": "14acc4c4-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
get_scopes
(case="id"
)
{
"scopes": [
{
"scope_string": "https://auth.globus.org/scopes/3f33d83f-ec0a-4190-887d-0622e7c4ee9a/manage",
"allows_refresh_token": false,
"id": "14acc3e8-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "3f33d83f-ec0a-4190-887d-0622e7c4ee9a",
"dependent_scopes": []
}
]
}
get_scopes
(case="string"
)
{
"scopes": [
{
"scope_string": "https://auth.globus.org/scopes/dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6/view",
"allows_refresh_token": false,
"id": "14acc4c4-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
oauth2_userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "1777b7ae-0411-11ef-8810-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
oauth2_userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "1777b902-0411-11ef-8810-0242ac110002",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
update_client
(case="default"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "14a7779e-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="name"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "36977c284fb946d6ae1812dacd0dc774",
"id": "14a77988-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="publicly_visible"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"visibility": "public",
"id": "14a77a5a-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="not_publicly_visible"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"visibility": "private",
"id": "14a77b40-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="redirect_uris"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [
"https://foo.com"
],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "14a77c26-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="links"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": "https://boo.org",
"terms_and_conditions": "https://foo.org"
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "14a77cf8-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="required_idp"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": "14a77da2-0411-11ef-8810-0242ac110002",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "14a77e1a-0411-11ef-8810-0242ac110002"
}
}
update_client
(case="preselect_idp"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": "14a77ed8-0411-11ef-8810-0242ac110002",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "14a77f50-0411-11ef-8810-0242ac110002"
}
}
update_policy
(case="default"
)
{
"policy": {
"project_id": "14a165fc-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "ab73a539638046119f660069ec02901b",
"description": "422f6d1da1d048599d5213a46b6aa17d",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "14a167a0-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "781f7438ffba44bf934f2d6a98c59151",
"description": "5481215d6e384edc899e96dcdc0e04d9",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "14a16958-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "be9bbba7d2644e91aaf3152ea9f68689",
"description": "c8bb846c294746079b87bb58bfd02a53",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "14a16b2e-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 9100,
"display_name": "c3f2d77b56054f8ea822256a43064c8d",
"description": "cf2f64084cbc4eeda5c3e455d18afd33",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="display_name"
)
{
"policy": {
"project_id": "14a16c8c-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "674140f9b67043af94c08c058b80575f",
"description": "336cdb75d87543d9a2a3e0dac3ef2295",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="description"
)
{
"policy": {
"project_id": "14a16dea-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "9af93c9de4a448f6a3c73fc80f46639e",
"description": "56b0a75c544b447597e545350fc31413",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_include"
)
{
"policy": {
"project_id": "14a16f0c-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "e92be583995847638f14a572aa96a800",
"description": "24cd950e83b3495384984edaf3c10418",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_include"
)
{
"policy": {
"project_id": "14a170ec-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "b6cae71ba00a42a0a07a2093fd254fd7",
"description": "764df907912a4c018a23caa0b2ff50f8",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy
(case="domain_constrants_include"
)
{
"policy": {
"project_id": "14a1724a-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "22d303d4d65e48b3bf11d7693cd3f561",
"description": "3d4c0d2a9b074b40b615d0c49de2d754",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_exclude"
)
{
"policy": {
"project_id": "14a17362-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "774bb5685b01418696a032d66bc5b7a1",
"description": "852f72b7ec4f4b7e800a2f9ee2211848",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_exclude"
)
{
"policy": {
"project_id": "14a17470-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "24a31687c06e46c882cdafe290f98317",
"description": "a3b8f02d97b842c287f3bb1525601ce0",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy
(case="domain_constrants_exclude"
)
{
"policy": {
"project_id": "14a17592-0411-11ef-8810-0242ac110002",
"high_assurance": true,
"authentication_assurance_timeout": 25,
"display_name": "db1200a17d7549fe9932824e075e7476",
"description": "526fb6012237459da7054940012d07e7",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "149cb5e8-0411-11ef-8810-0242ac110002",
"admins": {
"identities": [
{
"identity_provider": "149cb6c4-0411-11ef-8810-0242ac110002",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "149cb750-0411-11ef-8810-0242ac110002",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"149cb750-0411-11ef-8810-0242ac110002"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "149cb5e8-0411-11ef-8810-0242ac110002",
"admins": {
"identities": [],
"groups": [
{
"id": "149cb7d2-0411-11ef-8810-0242ac110002",
"name": "Guardians of the Galaxy",
"description": "A group of heroes",
"organization": "Guardians of the Galaxy"
}
]
},
"project_name": "Guardians of the Galaxy",
"admin_ids": null,
"admin_group_ids": [
"149cb7d2-0411-11ef-8810-0242ac110002"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af30ec-0411-11ef-8810-0242ac110002/2783bbb760d24c4998ea90f67927e6eb",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "c16dc68910984c66867d1a0dd1844192",
"description": "4c42be4335d84b11a22be61c9fd71fca",
"client": "14af3254-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af33a8-0411-11ef-8810-0242ac110002/b0886e9fa87e405ea910fcf2bc31fe23",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "2fc5d224f896425e98b2d9a9a53b9d14",
"description": "e55ce7ec822a40fba7168c66c9e3bbe4",
"client": "14af34c0-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af35c4-0411-11ef-8810-0242ac110002/96d7a43be58242d0b882d33340c41bb0",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "6835b123cec44d6fac73e78a7443318f",
"description": "b8da19237aae494c81099bbaeceef2ed",
"client": "14af36dc-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af37d6-0411-11ef-8810-0242ac110002/fe0927edae214e9287bdcd6f7f6dfa32",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "b7732da56c4349449a83ff990a93680f",
"description": "8248c19ec2e244a48e36045dfa55bc1d",
"client": "14af38e4-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af39d4-0411-11ef-8810-0242ac110002/03a46b6f30f741c38db1951b3401e3f3",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "b19be50eba394654b89f630ae8145d1f",
"description": "2694901f5090490eb0de4b00750d8ce3",
"client": "14af3aec-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af3ba0-0411-11ef-8810-0242ac110002/d85ecd3c01f24f3c91f6ef4660885236",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "94c03ff0e64346d7b7e360ec1b0a8cf3",
"description": "bca7e8f9c3dc4ff8b8167c088eda633f",
"client": "14af3cae-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af3d80-0411-11ef-8810-0242ac110002/2b8659ce44a0411b9f65620d20de6f31",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "d07d07f47e5548859055ffcbbe7b8095",
"description": "17a9765d9f0f400b9e21a0422800af03",
"client": "14af3e98-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af40b4-0411-11ef-8810-0242ac110002/2505e8535cf24ccabe469c9f896a8fcd",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "a8bfe028e39c4848a63c6aa2a945e308",
"description": "de7d6c3a740b44f1bd9303c70fe98fb0",
"client": "14af41cc-0411-11ef-8810-0242ac110002",
"dependent_scopes": [
{
"scope": "14af3f4c-0411-11ef-8810-0242ac110002",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "14af3ff6-0411-11ef-8810-0242ac110002",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af42d0-0411-11ef-8810-0242ac110002/c094b79a4916406aa90c40bcea54a945",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": true,
"required_domains": [],
"name": "bb213f362a3a4ce281d5445a211e6d8a",
"description": "59a50f24b04c4b0183daae54f973c96d",
"client": "14af43d4-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af449c-0411-11ef-8810-0242ac110002/091adcc490ff4a2086854db0f764a24f",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "62c3aa06b4e841498ffad96f5c526bdb",
"description": "af4ea22495ae4d7583c446a0dfd90a0e",
"client": "14af45aa-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af4672-0411-11ef-8810-0242ac110002/8bde5e7d07f746ce9c7e780c72a9027c",
"allows_refresh_token": true,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "9710cbb41d3c4703974e424ee5c4d37e",
"description": "ccf47e1d53954d3091291f6d97ebcdf6",
"client": "14af4776-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
update_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/14af4820-0411-11ef-8810-0242ac110002/15fdc3a1b3554aa782e03859d0d38810",
"allows_refresh_token": false,
"id": "14af2fac-0411-11ef-8810-0242ac110002",
"advertised": false,
"required_domains": [],
"name": "805ad35d745d4f0ea7daeb70ade84f81",
"description": "652d538f1cf14266b8d61a45301560d1",
"client": "14af4924-0411-11ef-8810-0242ac110002",
"dependent_scopes": []
}
}
userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "1777b7ae-0411-11ef-8810-0242ac110002",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "1777b902-0411-11ef-8810-0242ac110002",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}