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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "cdbcf48e128943c0999f8a0c862300d7",
"project": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb702-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb838-7549-11f0-a196-0a4e865a9c2d",
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb8ce-7549-11f0-a196-0a4e865a9c2d",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"name": "FOO",
"project": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"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": "270fb43c-7549-11f0-a196-0a4e865a9c2d",
"client_type": "public_webapp_client"
}
}
create_client_credential
(case="default"
)
{
"credential": {
"name": "foo",
"id": "27134480-7549-11f0-a196-0a4e865a9c2d",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "27134516-7549-11f0-a196-0a4e865a9c2d",
"secret": "abc123"
}
}
create_client_credential
(case="name"
)
{
"credential": {
"name": "1ac5b08210da45809a6b483bbc5b426f",
"id": "27134480-7549-11f0-a196-0a4e865a9c2d",
"created": "2023-10-21T22:46:15.845937+00:00",
"client": "27134516-7549-11f0-a196-0a4e865a9c2d",
"secret": "abc123"
}
}
create_policy
(case="default"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "26fb1f4a-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "26fb2012-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "26fb20a8-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "26fb2170-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"id": "26fb21fc-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="high_assurance"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 35,
"required_mfa": false,
"id": "26fb229c-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="not_high_assurance"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": false,
"required_mfa": false,
"id": "26fb2332-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="required_mfa"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"high_assurance": true,
"authentication_assurance_timeout": 45,
"required_mfa": true,
"id": "26fb23dc-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"authentication_assurance_timeout": 23,
"id": "26fb2832-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="display_name"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "6cd440646b824654a8fa8173f2b3fced",
"description": "Controls access to Foo",
"id": "26fb2954-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="description"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "1c26a4919f14419c968dac5cf46143c1",
"id": "26fb2a3a-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="domain_constraints_include"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"id": "26fb2ad0-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="empty_domain_constraints_include"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": [],
"id": "26fb2b70-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="no_domain_constraints_include"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_include": null,
"id": "26fb2bfc-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="domain_constraints_exclude"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
],
"id": "26fb2c7e-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="empty_domain_constraints_exclude"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": [],
"id": "26fb2d00-7549-11f0-a196-0a4e865a9c2d"
}
}
create_policy
(case="no_domain_constraints_exclude"
)
{
"policy": {
"project_id": "26fb1e28-7549-11f0-a196-0a4e865a9c2d",
"display_name": "Policy of Foo",
"description": "Controls access to Foo",
"domain_constraints_exclude": null,
"id": "26fb2da0-7549-11f0-a196-0a4e865a9c2d"
}
}
create_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "26f6dd5e-7549-11f0-a196-0a4e865a9c2d",
"admins": {
"identities": [
{
"identity_provider": "26f6de12-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f6e24a-7549-11f0-a196-0a4e865a9c2d",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"26f6e24a-7549-11f0-a196-0a4e865a9c2d"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
create_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "26f6dd5e-7549-11f0-a196-0a4e865a9c2d",
"admins": {
"identities": [],
"groups": [
{
"id": "26f6e2e0-7549-11f0-a196-0a4e865a9c2d",
"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": [
"26f6e2e0-7549-11f0-a196-0a4e865a9c2d"
],
"display_name": "Guardians of the Galaxy"
}
}
create_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168758-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="client_id_str"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/27168820-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "271688a2-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "27168820-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="client_id_uuid"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/27168960-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "271689e2-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "27168960-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168ad2-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "59bd3131cf0c47c49cca15b3eee691ec",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168b9a-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "7c618c317dfa47bd95cd1adcaeedc9cb",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/fac0dd5eddb049d08841b37d68fc5f03",
"allows_refresh_token": true,
"id": "27168c44-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168ce4-7549-11f0-a196-0a4e865a9c2d",
"advertised": true,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168d98-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168e4c-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": false,
"id": "27168ee2-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27168f6e-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27169004-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27169090-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
create_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2716864a-7549-11f0-a196-0a4e865a9c2d/manage",
"allows_refresh_token": true,
"id": "27169284-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client manage scope",
"description": "Manage configuration of this client",
"client": "2716864a-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": [
{
"scope": "27169176-7549-11f0-a196-0a4e865a9c2d",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "2716920c-7549-11f0-a196-0a4e865a9c2d",
"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": "2711c510-7549-11f0-a196-0a4e865a9c2d",
"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": "2713f8b2-7549-11f0-a196-0a4e865a9c2d",
"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": "26fcf4d2-7549-11f0-a196-0a4e865a9c2d",
"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": "26f89806-7549-11f0-a196-0a4e865a9c2d",
"admins": {
"identities": [
{
"identity_provider": "26f898c4-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f8993c-7549-11f0-a196-0a4e865a9c2d",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"26f8993c-7549-11f0-a196-0a4e865a9c2d"
],
"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": "2718907a-7549-11f0-a196-0a4e865a9c2d",
"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": "26fdad14-7549-11f0-a196-0a4e865a9c2d",
"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": "26fdad14-7549-11f0-a196-0a4e865a9c2d",
"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": "27128c2a-7549-11f0-a196-0a4e865a9c2d",
"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": "26fe55de-7549-11f0-a196-0a4e865a9c2d",
"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": "26fe5520-7549-11f0-a196-0a4e865a9c2d",
"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": "2909a0cc-7549-11f0-a196-0a4e865a9c2d",
"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": "26f9fb06-7549-11f0-a196-0a4e865a9c2d",
"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": "26f9fbc4-7549-11f0-a196-0a4e865a9c2d",
"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": "26f9465c-7549-11f0-a196-0a4e865a9c2d",
"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": [
"26f56280-7549-11f0-a196-0a4e865a9c2d"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "26f56302-7549-11f0-a196-0a4e865a9c2d",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "26f5605a-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f561ea-7549-11f0-a196-0a4e865a9c2d",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "26f5605a-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f56280-7549-11f0-a196-0a4e865a9c2d",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
}
}
get_projects
(case="default"
)
{
"projects": [
{
"admin_ids": [
"26f61356-7549-11f0-a196-0a4e865a9c2d"
],
"contact_email": "eviltestproject@guardians.galaxy",
"display_name": "Evil Test Project Full of Evil",
"admin_group_ids": null,
"id": "26f613d8-7549-11f0-a196-0a4e865a9c2d",
"project_name": "Evil Test Project Full of Evil",
"admins": {
"identities": [
{
"identity_provider": "26f61216-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f61356-7549-11f0-a196-0a4e865a9c2d",
"name": "Rocket",
"username": "rocket@guardians.galaxy",
"email": "star.lord@guardians.galaxy"
}
],
"groups": []
}
},
{
"admin_ids": [
"26f61356-7549-11f0-a196-0a4e865a9c2d"
],
"contact_email": "support@guardians.galaxy",
"display_name": "Guardians of the Galaxy Portal",
"admin_group_ids": null,
"id": "26f6145a-7549-11f0-a196-0a4e865a9c2d",
"project_name": "Guardians of the Galaxy Portal",
"admins": {
"identities": [
{
"identity_provider": "26f61216-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f612d4-7549-11f0-a196-0a4e865a9c2d",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
},
{
"identity_provider": "26f61216-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f61356-7549-11f0-a196-0a4e865a9c2d",
"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": "2714bf40-7549-11f0-a196-0a4e865a9c2d",
"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": "2715866e-7549-11f0-a196-0a4e865a9c2d",
"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": "2715872c-7549-11f0-a196-0a4e865a9c2d",
"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": "2715866e-7549-11f0-a196-0a4e865a9c2d",
"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": "2715872c-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "Client view scope",
"description": "View configuration of this client",
"client": "dfc9a6d3-3373-4a6d-b0a1-b7026d1559d6",
"dependent_scopes": []
}
]
}
update_client
(case="default"
)
{
"client": {
"client_type": "public_installed_client",
"grant_types": [
"authorization_code",
"refresh_token"
],
"fqdns": [],
"links": {
"privacy_policy": null,
"terms_and_conditions": null
},
"parent_client": null,
"preselect_idp": null,
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "2710efa0-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "d05f8ff0c1a04c469ae8d163d5350d91",
"id": "2710f0f4-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "2710f194-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "2710f22a-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "2710f2ca-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "2710f360-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "2710f3ec-7549-11f0-a196-0a4e865a9c2d",
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "2710f464-7549-11f0-a196-0a4e865a9c2d"
}
}
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": "2710f4e6-7549-11f0-a196-0a4e865a9c2d",
"prompt_for_named_grant": true,
"redirect_uris": [],
"required_idp": null,
"scopes": [],
"userinfo_from_effective_identity": true,
"id": "2710f554-7549-11f0-a196-0a4e865a9c2d"
}
}
update_policy
(case="default"
)
{
"policy": {
"project_id": "26fc07ac-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "bb0381eb404a415fa13a5fd1adcc9e59",
"description": "0d9a8adf970940189168b9d204541a17",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_str"
)
{
"policy": {
"project_id": "26fc0914-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "c3faf184039a4752a1dc65e2587a3b9d",
"description": "a4994813a7c9491e99517259e1690de0",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="project_id_uuid"
)
{
"policy": {
"project_id": "26fc0a7c-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f4029f77b34c45d0b514a91ca9593c2a",
"description": "9d46627bf62e437da866ccf1c6766a48",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="authentication_assurance_timeout"
)
{
"policy": {
"project_id": "26fc0bda-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 9100,
"display_name": "2d906c8e0f584e23bd2a104994dbab80",
"description": "da24bf3303b64d99af12b2a752a9eb3b",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="required_mfa"
)
{
"policy": {
"project_id": "26fc0cac-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": true,
"authentication_assurance_timeout": 25,
"display_name": "5b7ba830e6a54e31bd96c9ab74abfbeb",
"description": "d4e3c5876fd049ea8e5bc6ba80ee5c87",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="not_required_mfa"
)
{
"policy": {
"project_id": "26fc0d92-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "81469892b67f4630ae9b5b695af4d334",
"description": "cdc41e2cc1884e48811869309229a03c",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="display_name"
)
{
"policy": {
"project_id": "26fc109e-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "3dc7b2fc4b41497daedde3acc253e813",
"description": "f9e96e62b58b4a25b97d8f26be631dd6",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="description"
)
{
"policy": {
"project_id": "26fc11de-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f0c67eebbe044b3ab442af6660efdd0d",
"description": "38a86ab36ee84b428993324a153dac94",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_include"
)
{
"policy": {
"project_id": "26fc12c4-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "303ce914a4a045d8ab73c84e750eaaf8",
"description": "e14f77d8d6af451c935028ff7d3112f0",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_include"
)
{
"policy": {
"project_id": "26fc1396-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "f5132f25aff543ab94f54e95c4431dc7",
"description": "e4ee3242f70f4d1d9171b565cb9d0230",
"domain_constraints_include": [],
"domain_constraints_exclude": null
}
}
update_policy
(case="domain_constrants_include"
)
{
"policy": {
"project_id": "26fc1472-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "3e7fa51c3a5d4f5cb37046aff1336e7f",
"description": "3c244a6058cd41899b212610f64e139d",
"domain_constraints_include": [
"globus.org",
"uchicago.edu"
],
"domain_constraints_exclude": null
}
}
update_policy
(case="no_domain_constrants_exclude"
)
{
"policy": {
"project_id": "26fc153a-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "d149af34d5224bb5b1ecfcc07bdfad4a",
"description": "6071763d4ad24379a7240e15ac8ca645",
"domain_constraints_include": null,
"domain_constraints_exclude": null
}
}
update_policy
(case="empty_domain_constrants_exclude"
)
{
"policy": {
"project_id": "26fc1602-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "fff409b6a8fe4090810f6ccb39f6d84f",
"description": "97e5b61b1cf54c208e9a508acd12e3f8",
"domain_constraints_include": null,
"domain_constraints_exclude": []
}
}
update_policy
(case="domain_constrants_exclude"
)
{
"policy": {
"project_id": "26fc16f2-7549-11f0-a196-0a4e865a9c2d",
"high_assurance": true,
"required_mfa": false,
"authentication_assurance_timeout": 25,
"display_name": "25d2e748fcdf4a88a72350d7e81cad50",
"description": "74a6256e6b3d4c3aaf2c91dbedb9d8bf",
"domain_constraints_include": null,
"domain_constraints_exclude": [
"globus.org",
"uchicago.edu"
]
}
}
update_project
(case="default"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "26f7d8d0-7549-11f0-a196-0a4e865a9c2d",
"admins": {
"identities": [
{
"identity_provider": "26f7d984-7549-11f0-a196-0a4e865a9c2d",
"identity_type": "login",
"organization": "Guardians of the Galaxy",
"status": "used",
"id": "26f7d9fc-7549-11f0-a196-0a4e865a9c2d",
"name": "Star Lord",
"username": "star.lord@guardians.galaxy",
"email": "star.lord2@guardians.galaxy"
}
],
"groups": []
},
"project_name": "Guardians of the Galaxy",
"admin_ids": [
"26f7d9fc-7549-11f0-a196-0a4e865a9c2d"
],
"admin_group_ids": null,
"display_name": "Guardians of the Galaxy"
}
}
update_project
(case="admin_group"
)
{
"project": {
"contact_email": "support@globus.org",
"id": "26f7d8d0-7549-11f0-a196-0a4e865a9c2d",
"admins": {
"identities": [],
"groups": [
{
"id": "26f7da74-7549-11f0-a196-0a4e865a9c2d",
"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": [
"26f7da74-7549-11f0-a196-0a4e865a9c2d"
],
"display_name": "Guardians of the Galaxy"
}
}
update_scope
(case="default"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717afde-7549-11f0-a196-0a4e865a9c2d/6eca246fe491400d853e1c9eb5b984c6",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "2563d3f26ef34e1192474a93417926ac",
"description": "1e5631e3f53c4bf784b5ae965245338b",
"client": "2717b0f6-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="name"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717b1fa-7549-11f0-a196-0a4e865a9c2d/c65456e8fb874472a5ebae4617977a9f",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "b8f9ba4d3e634c5090e70e4461ea8eef",
"description": "80ab3566d3ac4b2eb397a15b2fdf58f7",
"client": "2717b2d6-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="description"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717b39e-7549-11f0-a196-0a4e865a9c2d/c65f56293d42447bb49d020fee2c6625",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "1c2d5b19b4a74f0e84121fa48e550ad0",
"description": "f0e651a183914079808be5e6295cbc65",
"client": "2717b470-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="scope_suffix"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717b880-7549-11f0-a196-0a4e865a9c2d/5ffde3a7937f42ada15ab53a85f67d2f",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "1e391d9e8782468dbcd8807edd05e5d3",
"description": "aaa11bfeb8414c139a2cd6827b90cdea",
"client": "2717b952-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="no_required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717b9e8-7549-11f0-a196-0a4e865a9c2d/d9f85145347942e4ad39d40524385813",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "ec726dd1e46f45f7b89bbea77ebef34f",
"description": "6c015e360aa8496288b9a14439a949f4",
"client": "2717bab0-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="required_domains"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717bb46-7549-11f0-a196-0a4e865a9c2d/9eb2b01fc8484883b8e32b76acd08b74",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [
"globus.org",
"uchicago.edu"
],
"name": "bdf226e8cf5d4eb59b9a240be2bb674d",
"description": "5ea512361da949edb6a927727b282836",
"client": "2717bc18-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="no_dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717bca4-7549-11f0-a196-0a4e865a9c2d/11cef1b400df48878d9c820c1f229cbc",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "e8a431884f2e4736a140317d82949a74",
"description": "4226401579194bf69a8a39ab411c16c0",
"client": "2717bd76-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="dependent_scopes"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717bf10-7549-11f0-a196-0a4e865a9c2d/6ebfa8c77d7542dbbf1e509341f575a4",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "e3bb4a906302465cb4f18d75f211da53",
"description": "ebb7a6dbd14f4a978c2b78a888e7f815",
"client": "2717bfec-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": [
{
"scope": "2717be02-7549-11f0-a196-0a4e865a9c2d",
"optional": true,
"requires_refresh_token": true
},
{
"scope": "2717be7a-7549-11f0-a196-0a4e865a9c2d",
"optional": false,
"requires_refresh_token": false
}
]
}
}
update_scope
(case="advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717c096-7549-11f0-a196-0a4e865a9c2d/d1e8decb93a447cd8e17b4545738c683",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": true,
"required_domains": [],
"name": "62e8f813c4624bb89487a6ff70b31fd7",
"description": "75a0344264974df184bd04d526f6e59d",
"client": "2717c15e-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="not_advertised"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717c1f4-7549-11f0-a196-0a4e865a9c2d/01740f07718f48559731dd20d65ebc4c",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "fa19d752ff104c71aa11910de4733f4a",
"description": "fb63715216fc4615a38dd6b84046ce5a",
"client": "2717c2d0-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="allows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717c35c-7549-11f0-a196-0a4e865a9c2d/7f78650b358e4322a200e5f792f95157",
"allows_refresh_token": true,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "6279b6b2e792475ab74db20b6c3e6a94",
"description": "9fc4623245aa404eb273c47da06701af",
"client": "2717c424-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
update_scope
(case="disallows_refresh_token"
)
{
"scope": {
"scope_string": "https://auth.globus.org/scopes/2717c4a6-7549-11f0-a196-0a4e865a9c2d/c0f1de7de0694b12b8afa82bc5b9b27e",
"allows_refresh_token": false,
"id": "2717aee4-7549-11f0-a196-0a4e865a9c2d",
"advertised": false,
"required_domains": [],
"name": "4c71536e8533431f949301f9b917fe35",
"description": "290dfeb1d7064b60a6658cde5a4fbbd7",
"client": "2717c56e-7549-11f0-a196-0a4e865a9c2d",
"dependent_scopes": []
}
}
userinfo
(case="unauthorized"
)
{
"errors": [
{
"status": "401",
"id": "2909a0cc-7549-11f0-a196-0a4e865a9c2d",
"code": "UNAUTHORIZED",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}
userinfo
(case="forbidden"
)
{
"errors": [
{
"status": "403",
"id": "2909a1e4-7549-11f0-a196-0a4e865a9c2d",
"code": "FORBIDDEN",
"detail": "Call must be authenticated",
"title": "Unauthorized"
}
],
"error_description": "Unauthorized",
"error": "unauthorized"
}