auth0 6.2.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.fern/metadata.json +3 -3
- data/.fern/replay.lock +7 -1
- data/.version +1 -1
- data/CHANGELOG.md +7 -0
- data/EXAMPLES.md +44 -0
- data/examples/ruby-api/Gemfile.lock +1 -1
- data/lib/auth0/actions/client.rb +47 -6
- data/lib/auth0/actions/executions/client.rb +4 -1
- data/lib/auth0/actions/modules/client.rb +40 -6
- data/lib/auth0/actions/modules/versions/client.rb +19 -3
- data/lib/auth0/actions/triggers/bindings/client.rb +12 -2
- data/lib/auth0/actions/triggers/client.rb +4 -1
- data/lib/auth0/actions/versions/client.rb +27 -4
- data/lib/auth0/agents/client.rb +22 -4
- data/lib/auth0/anomaly/blocks/client.rb +6 -0
- data/lib/auth0/api/authentication_endpoints.rb +40 -0
- data/lib/auth0/attack_protection/bot_detection/client.rb +8 -2
- data/lib/auth0/attack_protection/breached_password_detection/client.rb +8 -2
- data/lib/auth0/attack_protection/brute_force_protection/client.rb +8 -2
- data/lib/auth0/attack_protection/captcha/client.rb +8 -2
- data/lib/auth0/attack_protection/phone_provider_protection/client.rb +8 -2
- data/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb +8 -2
- data/lib/auth0/branding/client.rb +8 -2
- data/lib/auth0/branding/phone/providers/client.rb +31 -5
- data/lib/auth0/branding/phone/templates/client.rb +39 -7
- data/lib/auth0/branding/templates/client.rb +10 -1
- data/lib/auth0/branding/themes/client.rb +162 -4
- data/lib/auth0/client.rb +8 -8
- data/lib/auth0/client_grants/client.rb +28 -4
- data/lib/auth0/client_grants/organizations/client.rb +9 -1
- data/lib/auth0/clients/client.rb +46 -7
- data/lib/auth0/clients/connections/client.rb +11 -1
- data/lib/auth0/clients/credentials/client.rb +36 -7
- data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
- data/lib/auth0/clients/types/update_client_request_content.rb +2 -0
- data/lib/auth0/connection_profiles/client.rb +30 -6
- data/lib/auth0/connections/client.rb +37 -4
- data/lib/auth0/connections/clients/client.rb +21 -2
- data/lib/auth0/connections/directory_provisioning/client.rb +73 -8
- data/lib/auth0/connections/directory_provisioning/synchronizations/client.rb +4 -1
- data/lib/auth0/connections/keys/client.rb +31 -8
- data/lib/auth0/connections/scim_configuration/client.rb +37 -6
- data/lib/auth0/connections/scim_configuration/tokens/client.rb +14 -2
- data/lib/auth0/connections/users/client.rb +6 -0
- data/lib/auth0/custom_domains/client.rb +43 -8
- data/lib/auth0/device_credentials/client.rb +25 -2
- data/lib/auth0/email_templates/client.rb +19 -4
- data/lib/auth0/emails/provider/client.rb +23 -3
- data/lib/auth0/event_streams/client.rb +38 -5
- data/lib/auth0/event_streams/deliveries/client.rb +19 -2
- data/lib/auth0/event_streams/redeliveries/client.rb +10 -1
- data/lib/auth0/events/client.rb +7 -0
- data/lib/auth0/experimentation/client.rb +19 -0
- data/lib/auth0/experimentation/experiments/client.rb +63 -0
- data/lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb +15 -0
- data/lib/auth0/flows/client.rb +28 -4
- data/lib/auth0/flows/executions/client.rb +23 -2
- data/lib/auth0/flows/vault/connections/client.rb +31 -4
- data/lib/auth0/forms/client.rb +27 -4
- data/lib/auth0/groups/client.rb +21 -2
- data/lib/auth0/groups/members/client.rb +10 -1
- data/lib/auth0/groups/roles/client.rb +20 -1
- data/lib/auth0/guardian/client.rb +77 -0
- data/lib/auth0/guardian/enrollments/client.rb +11 -2
- data/lib/auth0/guardian/factors/client.rb +21 -5
- data/lib/auth0/guardian/factors/duo/settings/client.rb +12 -3
- data/lib/auth0/guardian/factors/email/client.rb +93 -0
- data/lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb +17 -0
- data/lib/auth0/guardian/factors/phone/client.rb +110 -8
- data/lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb +17 -0
- data/lib/auth0/guardian/factors/push_notification/client.rb +48 -12
- data/lib/auth0/guardian/factors/sms/client.rb +32 -9
- data/lib/auth0/guardian/policies/client.rb +8 -2
- data/lib/auth0/guardian/types/set_guardian_settings_request_content.rb +17 -0
- data/lib/auth0/hooks/client.rb +33 -4
- data/lib/auth0/hooks/secrets/client.rb +38 -4
- data/lib/auth0/jobs/client.rb +4 -1
- data/lib/auth0/jobs/errors/client.rb +9 -4
- data/lib/auth0/jobs/users_exports/client.rb +4 -1
- data/lib/auth0/jobs/users_imports/client.rb +14 -6
- data/lib/auth0/jobs/verification_email/client.rb +4 -1
- data/lib/auth0/keys/custom_signing/client.rb +13 -2
- data/lib/auth0/keys/encryption/client.rb +33 -5
- data/lib/auth0/keys/network_acls/client.rb +19 -3
- data/lib/auth0/keys/signing/client.rb +21 -7
- data/lib/auth0/log_streams/client.rb +29 -7
- data/lib/auth0/logs/client.rb +16 -2
- data/lib/auth0/network_acls/client.rb +41 -4
- data/lib/auth0/organizations/client.rb +109 -5
- data/lib/auth0/organizations/client_grants/client.rb +25 -2
- data/lib/auth0/organizations/clients/client.rb +38 -4
- data/lib/auth0/organizations/connections/client.rb +37 -4
- data/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb +2 -0
- data/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb +2 -0
- data/lib/auth0/organizations/discovery_domains/client.rb +42 -5
- data/lib/auth0/organizations/enabled_connections/client.rb +36 -4
- data/lib/auth0/organizations/groups/client.rb +8 -1
- data/lib/auth0/organizations/groups/roles/client.rb +23 -1
- data/lib/auth0/organizations/invitations/client.rb +40 -3
- data/lib/auth0/organizations/members/client.rb +23 -1
- data/lib/auth0/organizations/members/effective_roles/client.rb +9 -1
- data/lib/auth0/organizations/members/effective_roles/sources/groups/client.rb +10 -1
- data/lib/auth0/organizations/members/roles/client.rb +24 -1
- data/lib/auth0/organizations/organization_template/client.rb +16 -1
- data/lib/auth0/organizations/roles/groups/client.rb +9 -1
- data/lib/auth0/organizations/roles/members/client.rb +11 -1
- data/lib/auth0/organizations/types/search_organizations_request_parameters.rb +19 -0
- data/lib/auth0/prompts/client.rb +8 -2
- data/lib/auth0/prompts/custom_text/client.rb +20 -2
- data/lib/auth0/prompts/partials/client.rb +16 -2
- data/lib/auth0/prompts/rendering/client.rb +34 -4
- data/lib/auth0/rate_limit_policies/client.rb +37 -4
- data/lib/auth0/refresh_tokens/client.rb +25 -3
- data/lib/auth0/resource_servers/client.rb +102 -4
- data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +4 -0
- data/lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb +23 -0
- data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +4 -0
- data/lib/auth0/risk_assessments/settings/client.rb +8 -2
- data/lib/auth0/risk_assessments/settings/new_device/client.rb +8 -2
- data/lib/auth0/roles/client.rb +26 -4
- data/lib/auth0/roles/groups/client.rb +20 -1
- data/lib/auth0/roles/permissions/client.rb +27 -1
- data/lib/auth0/roles/users/client.rb +15 -1
- data/lib/auth0/rules/client.rb +33 -4
- data/lib/auth0/rules_configs/client.rb +19 -5
- data/lib/auth0/self_service_profiles/client.rb +23 -4
- data/lib/auth0/self_service_profiles/custom_text/client.rb +23 -3
- data/lib/auth0/self_service_profiles/sso_ticket/client.rb +10 -1
- data/lib/auth0/sessions/client.rb +14 -2
- data/lib/auth0/stats/client.rb +16 -5
- data/lib/auth0/supplemental_signals/client.rb +8 -2
- data/lib/auth0/tenants/settings/client.rb +11 -2
- data/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb +2 -0
- data/lib/auth0/tickets/client.rb +8 -2
- data/lib/auth0/token_exchange_profiles/client.rb +26 -3
- data/lib/auth0/types/advance_ramp_response_content.rb +15 -0
- data/lib/auth0/types/anonymous_sessions.rb +10 -0
- data/lib/auth0/types/client.rb +6 -0
- data/lib/auth0/types/client_my_organization_patch_configuration.rb +4 -0
- data/lib/auth0/types/client_my_organization_post_configuration.rb +4 -0
- data/lib/auth0/types/client_my_organization_response_configuration.rb +4 -0
- data/lib/auth0/types/connection_identity_provider_enum.rb +4 -13
- data/lib/auth0/types/connection_options_ad.rb +2 -0
- data/lib/auth0/types/connection_options_adfs.rb +2 -0
- data/lib/auth0/types/connection_options_azure_ad.rb +2 -0
- data/lib/auth0/types/connection_options_common_saml.rb +2 -0
- data/lib/auth0/types/connection_options_ping_federate.rb +2 -0
- data/lib/auth0/types/connection_options_saml.rb +2 -0
- data/lib/auth0/types/connection_properties_options.rb +4 -0
- data/lib/auth0/types/connection_strategy_enum.rb +4 -13
- data/lib/auth0/types/connection_thumbprints_sha384.rb +23 -0
- data/lib/auth0/types/connection_thumbprints_sha384ad.rb +23 -0
- data/lib/auth0/types/connection_thumbprints_sha384saml.rb +23 -0
- data/lib/auth0/types/create_anonymous_sessions.rb +10 -0
- data/lib/auth0/types/create_client_response_content.rb +6 -0
- data/lib/auth0/types/create_organization_all_connection_response_content.rb +2 -0
- data/lib/auth0/types/create_resource_server_response_content.rb +4 -0
- data/lib/auth0/types/get_client_response_content.rb +6 -0
- data/lib/auth0/types/get_email_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/get_guardian_settings_response_content.rb +15 -0
- data/lib/auth0/types/get_organization_all_connection_response_content.rb +2 -0
- data/lib/auth0/types/get_phone_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/get_resource_server_response_content.rb +4 -0
- data/lib/auth0/types/get_tenant_settings_response_content.rb +2 -0
- data/lib/auth0/types/oauth_scope.rb +1 -2
- data/lib/auth0/types/organization_all_connection_post.rb +2 -0
- data/lib/auth0/types/organization_member_access_level_enum.rb +14 -0
- data/lib/auth0/types/organization_member_access_level_enum_with_null.rb +14 -0
- data/lib/auth0/types/organization_sort_field_enum.rb +13 -0
- data/lib/auth0/types/resource_server.rb +4 -0
- data/lib/auth0/types/resource_server_access_token.rb +10 -0
- data/lib/auth0/types/resource_server_access_token_claims_mapping.rb +10 -0
- data/lib/auth0/types/resource_server_access_token_custom_claims_mapping.rb +23 -0
- data/lib/auth0/types/resource_server_access_token_custom_claims_mapping_rule.rb +11 -0
- data/lib/auth0/types/resource_server_search_response.rb +53 -0
- data/lib/auth0/types/resource_server_sort_field_enum.rb +13 -0
- data/lib/auth0/types/resource_server_subject_type_authorization.rb +2 -0
- data/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb +10 -0
- data/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb +12 -0
- data/lib/auth0/types/rotate_client_secret_response_content.rb +6 -0
- data/lib/auth0/types/search_organization.rb +23 -0
- data/lib/auth0/types/{list_template_organizations_paginated_response_content.rb → search_organizations_paginated_response_content.rb} +3 -3
- data/lib/auth0/types/search_parser_enum.rb +12 -0
- data/lib/auth0/types/search_resource_servers_response_content.rb +11 -0
- data/lib/auth0/types/set_email_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/set_guardian_settings_response_content.rb +15 -0
- data/lib/auth0/types/set_phone_factor_settings_response_content.rb +11 -0
- data/lib/auth0/types/tenant_settings_sessions.rb +2 -0
- data/lib/auth0/types/tenant_settings_sessions_anonymous.rb +12 -0
- data/lib/auth0/types/update_anonymous_sessions.rb +10 -0
- data/lib/auth0/types/update_client_response_content.rb +6 -0
- data/lib/auth0/types/update_connection_options.rb +4 -0
- data/lib/auth0/types/update_organization_all_connection_response_content.rb +2 -0
- data/lib/auth0/types/update_resource_server_response_content.rb +4 -0
- data/lib/auth0/types/update_tenant_settings_response_content.rb +2 -0
- data/lib/auth0/user_attribute_profiles/client.rb +40 -6
- data/lib/auth0/user_blocks/client.rb +20 -2
- data/lib/auth0/user_grants/client.rb +17 -1
- data/lib/auth0/users/authentication_methods/client.rb +57 -9
- data/lib/auth0/users/authenticators/client.rb +3 -0
- data/lib/auth0/users/client.rb +54 -9
- data/lib/auth0/users/connected_accounts/client.rb +8 -1
- data/lib/auth0/users/effective_permissions/client.rb +9 -1
- data/lib/auth0/users/effective_permissions/sources/roles/client.rb +10 -1
- data/lib/auth0/users/effective_roles/client.rb +8 -1
- data/lib/auth0/users/effective_roles/sources/groups/client.rb +9 -1
- data/lib/auth0/users/enrollments/client.rb +9 -4
- data/lib/auth0/users/groups/client.rb +11 -1
- data/lib/auth0/users/identities/client.rb +17 -5
- data/lib/auth0/users/logs/client.rb +10 -1
- data/lib/auth0/users/multifactor/client.rb +9 -0
- data/lib/auth0/users/organizations/client.rb +9 -1
- data/lib/auth0/users/permissions/client.rb +27 -1
- data/lib/auth0/users/refresh_token/client.rb +12 -1
- data/lib/auth0/users/risk_assessments/client.rb +7 -0
- data/lib/auth0/users/roles/client.rb +21 -1
- data/lib/auth0/users/sessions/client.rb +12 -1
- data/lib/auth0/verifiable_credentials/verification/templates/client.rb +32 -4
- data/lib/auth0/version.rb +1 -1
- data/lib/auth0.rb +46 -16
- data/wiremock/wiremock-mappings.json +333 -191
- metadata +40 -10
- data/lib/auth0/organization_templates/client.rb +0 -220
- data/lib/auth0/organization_templates/types/create_organization_template_request_content.rb +0 -35
- data/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb +0 -13
- data/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb +0 -15
- data/lib/auth0/organization_templates/types/update_organization_template_request_content.rb +0 -37
- data/lib/auth0/types/list_organization_templates_paginated_response_content.rb +0 -11
- data/lib/auth0/types/organization_template_assigned_organization.rb +0 -10
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: auth0
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Auth0
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -276,6 +276,9 @@ files:
|
|
|
276
276
|
- lib/auth0/events/client.rb
|
|
277
277
|
- lib/auth0/events/types/subscribe_events_request_parameters.rb
|
|
278
278
|
- lib/auth0/exception.rb
|
|
279
|
+
- lib/auth0/experimentation/client.rb
|
|
280
|
+
- lib/auth0/experimentation/experiments/client.rb
|
|
281
|
+
- lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb
|
|
279
282
|
- lib/auth0/flows/client.rb
|
|
280
283
|
- lib/auth0/flows/executions/client.rb
|
|
281
284
|
- lib/auth0/flows/executions/types/get_flow_execution_request_parameters.rb
|
|
@@ -309,11 +312,14 @@ files:
|
|
|
309
312
|
- lib/auth0/guardian/factors/duo/settings/client.rb
|
|
310
313
|
- lib/auth0/guardian/factors/duo/settings/types/set_guardian_factor_duo_settings_request_content.rb
|
|
311
314
|
- lib/auth0/guardian/factors/duo/settings/types/update_guardian_factor_duo_settings_request_content.rb
|
|
315
|
+
- lib/auth0/guardian/factors/email/client.rb
|
|
316
|
+
- lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb
|
|
312
317
|
- lib/auth0/guardian/factors/phone/client.rb
|
|
313
318
|
- lib/auth0/guardian/factors/phone/types/set_guardian_factor_phone_message_types_request_content.rb
|
|
314
319
|
- lib/auth0/guardian/factors/phone/types/set_guardian_factor_phone_templates_request_content.rb
|
|
315
320
|
- lib/auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_request_content.rb
|
|
316
321
|
- lib/auth0/guardian/factors/phone/types/set_guardian_factors_provider_phone_twilio_request_content.rb
|
|
322
|
+
- lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb
|
|
317
323
|
- lib/auth0/guardian/factors/push_notification/client.rb
|
|
318
324
|
- lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_apns_request_content.rb
|
|
319
325
|
- lib/auth0/guardian/factors/push_notification/types/set_guardian_factors_provider_push_notification_fcm_request_content.rb
|
|
@@ -330,6 +336,7 @@ files:
|
|
|
330
336
|
- lib/auth0/guardian/factors/sms/types/set_guardian_factors_provider_sms_twilio_request_content.rb
|
|
331
337
|
- lib/auth0/guardian/factors/types/set_guardian_factor_request_content.rb
|
|
332
338
|
- lib/auth0/guardian/policies/client.rb
|
|
339
|
+
- lib/auth0/guardian/types/set_guardian_settings_request_content.rb
|
|
333
340
|
- lib/auth0/hooks/client.rb
|
|
334
341
|
- lib/auth0/hooks/secrets/client.rb
|
|
335
342
|
- lib/auth0/hooks/types/create_hook_request_content.rb
|
|
@@ -398,11 +405,6 @@ files:
|
|
|
398
405
|
- lib/auth0/network_acls/types/list_network_acls_request_parameters.rb
|
|
399
406
|
- lib/auth0/network_acls/types/set_network_acl_request_content.rb
|
|
400
407
|
- lib/auth0/network_acls/types/update_network_acl_request_content.rb
|
|
401
|
-
- lib/auth0/organization_templates/client.rb
|
|
402
|
-
- lib/auth0/organization_templates/types/create_organization_template_request_content.rb
|
|
403
|
-
- lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb
|
|
404
|
-
- lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb
|
|
405
|
-
- lib/auth0/organization_templates/types/update_organization_template_request_content.rb
|
|
406
408
|
- lib/auth0/organizations/client.rb
|
|
407
409
|
- lib/auth0/organizations/client_grants/client.rb
|
|
408
410
|
- lib/auth0/organizations/client_grants/types/associate_organization_client_grant_request_content.rb
|
|
@@ -455,6 +457,7 @@ files:
|
|
|
455
457
|
- lib/auth0/organizations/roles/members/types/list_organization_role_members_request_parameters.rb
|
|
456
458
|
- lib/auth0/organizations/types/create_organization_request_content.rb
|
|
457
459
|
- lib/auth0/organizations/types/list_organizations_request_parameters.rb
|
|
460
|
+
- lib/auth0/organizations/types/search_organizations_request_parameters.rb
|
|
458
461
|
- lib/auth0/organizations/types/update_organization_request_content.rb
|
|
459
462
|
- lib/auth0/prompts/client.rb
|
|
460
463
|
- lib/auth0/prompts/custom_text/client.rb
|
|
@@ -476,6 +479,7 @@ files:
|
|
|
476
479
|
- lib/auth0/resource_servers/types/create_resource_server_request_content.rb
|
|
477
480
|
- lib/auth0/resource_servers/types/get_resource_server_request_parameters.rb
|
|
478
481
|
- lib/auth0/resource_servers/types/list_resource_server_request_parameters.rb
|
|
482
|
+
- lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb
|
|
479
483
|
- lib/auth0/resource_servers/types/update_resource_server_request_content.rb
|
|
480
484
|
- lib/auth0/risk_assessments/client.rb
|
|
481
485
|
- lib/auth0/risk_assessments/settings/client.rb
|
|
@@ -581,9 +585,11 @@ files:
|
|
|
581
585
|
- lib/auth0/types/acul_organization_metadata.rb
|
|
582
586
|
- lib/auth0/types/acul_rendering_mode_enum.rb
|
|
583
587
|
- lib/auth0/types/add_organization_connection_response_content.rb
|
|
588
|
+
- lib/auth0/types/advance_ramp_response_content.rb
|
|
584
589
|
- lib/auth0/types/agent_metadata.rb
|
|
585
590
|
- lib/auth0/types/agent_response_content.rb
|
|
586
591
|
- lib/auth0/types/anomaly_ip_format.rb
|
|
592
|
+
- lib/auth0/types/anonymous_sessions.rb
|
|
587
593
|
- lib/auth0/types/app_metadata.rb
|
|
588
594
|
- lib/auth0/types/assessors_type_enum.rb
|
|
589
595
|
- lib/auth0/types/associate_organization_client_grant_response_content.rb
|
|
@@ -1273,6 +1279,9 @@ files:
|
|
|
1273
1279
|
- lib/auth0/types/connection_thumbprints.rb
|
|
1274
1280
|
- lib/auth0/types/connection_thumbprints_ad.rb
|
|
1275
1281
|
- lib/auth0/types/connection_thumbprints_saml.rb
|
|
1282
|
+
- lib/auth0/types/connection_thumbprints_sha384.rb
|
|
1283
|
+
- lib/auth0/types/connection_thumbprints_sha384ad.rb
|
|
1284
|
+
- lib/auth0/types/connection_thumbprints_sha384saml.rb
|
|
1276
1285
|
- lib/auth0/types/connection_token_endpoint.rb
|
|
1277
1286
|
- lib/auth0/types/connection_token_endpoint_auth_method_enum.rb
|
|
1278
1287
|
- lib/auth0/types/connection_token_endpoint_auth_methods_supported.rb
|
|
@@ -1319,6 +1328,7 @@ files:
|
|
|
1319
1328
|
- lib/auth0/types/create_action_module_response_content.rb
|
|
1320
1329
|
- lib/auth0/types/create_action_module_version_response_content.rb
|
|
1321
1330
|
- lib/auth0/types/create_action_response_content.rb
|
|
1331
|
+
- lib/auth0/types/create_anonymous_sessions.rb
|
|
1322
1332
|
- lib/auth0/types/create_branding_phone_provider_response_content.rb
|
|
1323
1333
|
- lib/auth0/types/create_branding_theme_response_content.rb
|
|
1324
1334
|
- lib/auth0/types/create_client_authentication_method_self_signed_tls_client_auth.rb
|
|
@@ -3573,6 +3583,7 @@ files:
|
|
|
3573
3583
|
- lib/auth0/types/get_default_domain_response_content.rb
|
|
3574
3584
|
- lib/auth0/types/get_directory_provisioning_default_mapping_response_content.rb
|
|
3575
3585
|
- lib/auth0/types/get_directory_provisioning_response_content.rb
|
|
3586
|
+
- lib/auth0/types/get_email_factor_settings_response_content.rb
|
|
3576
3587
|
- lib/auth0/types/get_email_provider_response_content.rb
|
|
3577
3588
|
- lib/auth0/types/get_email_template_response_content.rb
|
|
3578
3589
|
- lib/auth0/types/get_encryption_key_response_content.rb
|
|
@@ -3598,6 +3609,7 @@ files:
|
|
|
3598
3609
|
- lib/auth0/types/get_guardian_factors_provider_sms_response_content.rb
|
|
3599
3610
|
- lib/auth0/types/get_guardian_factors_provider_sms_twilio_response_content.rb
|
|
3600
3611
|
- lib/auth0/types/get_guardian_factors_provider_sns_response_content.rb
|
|
3612
|
+
- lib/auth0/types/get_guardian_settings_response_content.rb
|
|
3601
3613
|
- lib/auth0/types/get_hook_response_content.rb
|
|
3602
3614
|
- lib/auth0/types/get_hook_secret_response_content.rb
|
|
3603
3615
|
- lib/auth0/types/get_job_error_response_content.rb
|
|
@@ -3618,6 +3630,7 @@ files:
|
|
|
3618
3630
|
- lib/auth0/types/get_organization_invitation_response_content.rb
|
|
3619
3631
|
- lib/auth0/types/get_organization_response_content.rb
|
|
3620
3632
|
- lib/auth0/types/get_partials_response_content.rb
|
|
3633
|
+
- lib/auth0/types/get_phone_factor_settings_response_content.rb
|
|
3621
3634
|
- lib/auth0/types/get_phone_provider_protection_response_content.rb
|
|
3622
3635
|
- lib/auth0/types/get_phone_template_response_content.rb
|
|
3623
3636
|
- lib/auth0/types/get_rate_limit_policy_response_content.rb
|
|
@@ -3724,7 +3737,6 @@ files:
|
|
|
3724
3737
|
- lib/auth0/types/list_organization_members_paginated_response_content.rb
|
|
3725
3738
|
- lib/auth0/types/list_organization_role_groups_response_content.rb
|
|
3726
3739
|
- lib/auth0/types/list_organization_role_members_response_content.rb
|
|
3727
|
-
- lib/auth0/types/list_organization_templates_paginated_response_content.rb
|
|
3728
3740
|
- lib/auth0/types/list_organizations_paginated_response_content.rb
|
|
3729
3741
|
- lib/auth0/types/list_phone_templates_response_content.rb
|
|
3730
3742
|
- lib/auth0/types/list_rate_limit_policies_paginated_response_content.rb
|
|
@@ -3739,7 +3751,6 @@ files:
|
|
|
3739
3751
|
- lib/auth0/types/list_self_service_profile_custom_text_response_content.rb
|
|
3740
3752
|
- lib/auth0/types/list_self_service_profiles_paginated_response_content.rb
|
|
3741
3753
|
- lib/auth0/types/list_synchronized_groups_response_content.rb
|
|
3742
|
-
- lib/auth0/types/list_template_organizations_paginated_response_content.rb
|
|
3743
3754
|
- lib/auth0/types/list_token_exchange_profile_response_content.rb
|
|
3744
3755
|
- lib/auth0/types/list_user_attribute_profile_template_response_content.rb
|
|
3745
3756
|
- lib/auth0/types/list_user_attribute_profiles_paginated_response_content.rb
|
|
@@ -3862,13 +3873,15 @@ files:
|
|
|
3862
3873
|
- lib/auth0/types/organization_invitation_invitee.rb
|
|
3863
3874
|
- lib/auth0/types/organization_invitation_inviter.rb
|
|
3864
3875
|
- lib/auth0/types/organization_member.rb
|
|
3876
|
+
- lib/auth0/types/organization_member_access_level_enum.rb
|
|
3877
|
+
- lib/auth0/types/organization_member_access_level_enum_with_null.rb
|
|
3865
3878
|
- lib/auth0/types/organization_member_effective_role.rb
|
|
3866
3879
|
- lib/auth0/types/organization_member_effective_role_source.rb
|
|
3867
3880
|
- lib/auth0/types/organization_member_role.rb
|
|
3868
3881
|
- lib/auth0/types/organization_metadata.rb
|
|
3882
|
+
- lib/auth0/types/organization_sort_field_enum.rb
|
|
3869
3883
|
- lib/auth0/types/organization_template.rb
|
|
3870
3884
|
- lib/auth0/types/organization_template_allowed_strategy_enum.rb
|
|
3871
|
-
- lib/auth0/types/organization_template_assigned_organization.rb
|
|
3872
3885
|
- lib/auth0/types/organization_template_role_visibility_enum.rb
|
|
3873
3886
|
- lib/auth0/types/organization_template_role_visibility_override.rb
|
|
3874
3887
|
- lib/auth0/types/organization_template_role_visibility_policy.rb
|
|
@@ -3944,13 +3957,21 @@ files:
|
|
|
3944
3957
|
- lib/auth0/types/reset_phone_template_request_content.rb
|
|
3945
3958
|
- lib/auth0/types/reset_phone_template_response_content.rb
|
|
3946
3959
|
- lib/auth0/types/resource_server.rb
|
|
3960
|
+
- lib/auth0/types/resource_server_access_token.rb
|
|
3961
|
+
- lib/auth0/types/resource_server_access_token_claims_mapping.rb
|
|
3962
|
+
- lib/auth0/types/resource_server_access_token_custom_claims_mapping.rb
|
|
3963
|
+
- lib/auth0/types/resource_server_access_token_custom_claims_mapping_rule.rb
|
|
3947
3964
|
- lib/auth0/types/resource_server_authorization_policy.rb
|
|
3948
3965
|
- lib/auth0/types/resource_server_consent_policy_enum.rb
|
|
3949
3966
|
- lib/auth0/types/resource_server_proof_of_possession.rb
|
|
3950
3967
|
- lib/auth0/types/resource_server_proof_of_possession_mechanism_enum.rb
|
|
3951
3968
|
- lib/auth0/types/resource_server_proof_of_possession_required_for_enum.rb
|
|
3952
3969
|
- lib/auth0/types/resource_server_scope.rb
|
|
3970
|
+
- lib/auth0/types/resource_server_search_response.rb
|
|
3971
|
+
- lib/auth0/types/resource_server_sort_field_enum.rb
|
|
3953
3972
|
- lib/auth0/types/resource_server_subject_type_authorization.rb
|
|
3973
|
+
- lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb
|
|
3974
|
+
- lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb
|
|
3954
3975
|
- lib/auth0/types/resource_server_subject_type_authorization_client.rb
|
|
3955
3976
|
- lib/auth0/types/resource_server_subject_type_authorization_client_policy_enum.rb
|
|
3956
3977
|
- lib/auth0/types/resource_server_subject_type_authorization_user.rb
|
|
@@ -3981,6 +4002,10 @@ files:
|
|
|
3981
4002
|
- lib/auth0/types/scim_token_item.rb
|
|
3982
4003
|
- lib/auth0/types/screen_group_name_enum.rb
|
|
3983
4004
|
- lib/auth0/types/search_engine_versions_enum.rb
|
|
4005
|
+
- lib/auth0/types/search_organization.rb
|
|
4006
|
+
- lib/auth0/types/search_organizations_paginated_response_content.rb
|
|
4007
|
+
- lib/auth0/types/search_parser_enum.rb
|
|
4008
|
+
- lib/auth0/types/search_resource_servers_response_content.rb
|
|
3984
4009
|
- lib/auth0/types/self_service_profile.rb
|
|
3985
4010
|
- lib/auth0/types/self_service_profile_allowed_strategy_enum.rb
|
|
3986
4011
|
- lib/auth0/types/self_service_profile_branding.rb
|
|
@@ -4017,6 +4042,7 @@ files:
|
|
|
4017
4042
|
- lib/auth0/types/session_metadata.rb
|
|
4018
4043
|
- lib/auth0/types/session_response_content.rb
|
|
4019
4044
|
- lib/auth0/types/set_custom_signing_keys_response_content.rb
|
|
4045
|
+
- lib/auth0/types/set_email_factor_settings_response_content.rb
|
|
4020
4046
|
- lib/auth0/types/set_email_template_response_content.rb
|
|
4021
4047
|
- lib/auth0/types/set_guardian_factor_duo_settings_response_content.rb
|
|
4022
4048
|
- lib/auth0/types/set_guardian_factor_phone_message_types_response_content.rb
|
|
@@ -4034,8 +4060,10 @@ files:
|
|
|
4034
4060
|
- lib/auth0/types/set_guardian_factors_provider_sms_twilio_response_content.rb
|
|
4035
4061
|
- lib/auth0/types/set_guardian_policies_request_content.rb
|
|
4036
4062
|
- lib/auth0/types/set_guardian_policies_response_content.rb
|
|
4063
|
+
- lib/auth0/types/set_guardian_settings_response_content.rb
|
|
4037
4064
|
- lib/auth0/types/set_network_acls_response_content.rb
|
|
4038
4065
|
- lib/auth0/types/set_partials_request_content.rb
|
|
4066
|
+
- lib/auth0/types/set_phone_factor_settings_response_content.rb
|
|
4039
4067
|
- lib/auth0/types/set_rules_config_response_content.rb
|
|
4040
4068
|
- lib/auth0/types/set_self_service_profile_custom_text_request_content.rb
|
|
4041
4069
|
- lib/auth0/types/set_self_service_profile_custom_text_response_content.rb
|
|
@@ -4077,6 +4105,7 @@ files:
|
|
|
4077
4105
|
- lib/auth0/types/tenant_settings_password_page.rb
|
|
4078
4106
|
- lib/auth0/types/tenant_settings_resource_parameter_profile.rb
|
|
4079
4107
|
- lib/auth0/types/tenant_settings_sessions.rb
|
|
4108
|
+
- lib/auth0/types/tenant_settings_sessions_anonymous.rb
|
|
4080
4109
|
- lib/auth0/types/tenant_settings_supported_locales_enum.rb
|
|
4081
4110
|
- lib/auth0/types/test_action_payload.rb
|
|
4082
4111
|
- lib/auth0/types/test_action_response_content.rb
|
|
@@ -4105,6 +4134,7 @@ files:
|
|
|
4105
4134
|
- lib/auth0/types/update_action_module_response_content.rb
|
|
4106
4135
|
- lib/auth0/types/update_action_response_content.rb
|
|
4107
4136
|
- lib/auth0/types/update_acul_response_content.rb
|
|
4137
|
+
- lib/auth0/types/update_anonymous_sessions.rb
|
|
4108
4138
|
- lib/auth0/types/update_attack_protection_captcha_response_content.rb
|
|
4109
4139
|
- lib/auth0/types/update_bot_detection_settings_response_content.rb
|
|
4110
4140
|
- lib/auth0/types/update_branding_colors.rb
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module OrganizationTemplates
|
|
5
|
-
class Client
|
|
6
|
-
# @param client [Auth0::Internal::Http::RawClient]
|
|
7
|
-
#
|
|
8
|
-
# @return [void]
|
|
9
|
-
def initialize(client:)
|
|
10
|
-
@client = client
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
# Retrieve a list of Organization Templates. This endpoint supports Checkpoint pagination. Results are returned in
|
|
14
|
-
# a stable order, sorted by their identifier (`id`) in ascending order.
|
|
15
|
-
#
|
|
16
|
-
# @param request_options [Hash]
|
|
17
|
-
# @param params [Hash]
|
|
18
|
-
# @option request_options [String] :base_url
|
|
19
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
20
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
21
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
22
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
23
|
-
# @option params [String, nil] :from
|
|
24
|
-
# @option params [Integer, nil] :take
|
|
25
|
-
#
|
|
26
|
-
# @return [Auth0::Types::ListOrganizationTemplatesPaginatedResponseContent]
|
|
27
|
-
def list(request_options: {}, **params)
|
|
28
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
29
|
-
query_params = {}
|
|
30
|
-
query_params["from"] = params[:from] if params.key?(:from)
|
|
31
|
-
query_params["take"] = params.fetch(:take, 5)
|
|
32
|
-
|
|
33
|
-
Auth0::Internal::CursorItemIterator.new(
|
|
34
|
-
cursor_field: :next_,
|
|
35
|
-
item_field: :organization_templates,
|
|
36
|
-
initial_cursor: query_params["from"]
|
|
37
|
-
) do |next_cursor|
|
|
38
|
-
query_params["from"] = next_cursor
|
|
39
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
40
|
-
base_url: request_options[:base_url],
|
|
41
|
-
method: "GET",
|
|
42
|
-
path: "organization-templates",
|
|
43
|
-
query: query_params,
|
|
44
|
-
request_options: request_options
|
|
45
|
-
)
|
|
46
|
-
begin
|
|
47
|
-
response = @client.send(request)
|
|
48
|
-
rescue Net::HTTPRequestTimeout
|
|
49
|
-
raise Auth0::Errors::TimeoutError
|
|
50
|
-
end
|
|
51
|
-
code = response.code.to_i
|
|
52
|
-
if code.between?(200, 299)
|
|
53
|
-
parsed_response = Auth0::Types::ListOrganizationTemplatesPaginatedResponseContent.load(response.body)
|
|
54
|
-
[parsed_response, response]
|
|
55
|
-
else
|
|
56
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
57
|
-
raise error_class.new(response.body, code: code)
|
|
58
|
-
end
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
# Create an Organization Template.
|
|
63
|
-
#
|
|
64
|
-
# @param request_options [Hash]
|
|
65
|
-
# @param params [Auth0::OrganizationTemplates::Types::CreateOrganizationTemplateRequestContent]
|
|
66
|
-
# @option request_options [String] :base_url
|
|
67
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
68
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
69
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
70
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
71
|
-
#
|
|
72
|
-
# @return [Auth0::Types::OrganizationTemplate]
|
|
73
|
-
def create(request_options: {}, **params)
|
|
74
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
75
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
76
|
-
base_url: request_options[:base_url],
|
|
77
|
-
method: "POST",
|
|
78
|
-
path: "organization-templates",
|
|
79
|
-
body: Auth0::OrganizationTemplates::Types::CreateOrganizationTemplateRequestContent.new(params).to_h,
|
|
80
|
-
request_options: request_options
|
|
81
|
-
)
|
|
82
|
-
begin
|
|
83
|
-
response = @client.send(request)
|
|
84
|
-
rescue Net::HTTPRequestTimeout
|
|
85
|
-
raise Auth0::Errors::TimeoutError
|
|
86
|
-
end
|
|
87
|
-
code = response.code.to_i
|
|
88
|
-
if code.between?(200, 299)
|
|
89
|
-
Auth0::Types::OrganizationTemplate.load(response.body)
|
|
90
|
-
else
|
|
91
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
92
|
-
raise error_class.new(response.body, code: code)
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
# Retrieve details about a single Organization Template specified by ID.
|
|
97
|
-
#
|
|
98
|
-
# @param request_options [Hash]
|
|
99
|
-
# @param params [Hash]
|
|
100
|
-
# @option request_options [String] :base_url
|
|
101
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
102
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
103
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
104
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
105
|
-
# @option params [String] :id
|
|
106
|
-
#
|
|
107
|
-
# @return [Auth0::Types::OrganizationTemplate]
|
|
108
|
-
def get(request_options: {}, **params)
|
|
109
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
110
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
111
|
-
base_url: request_options[:base_url],
|
|
112
|
-
method: "GET",
|
|
113
|
-
path: "organization-templates/#{URI.encode_uri_component(params[:id].to_s)}",
|
|
114
|
-
request_options: request_options
|
|
115
|
-
)
|
|
116
|
-
begin
|
|
117
|
-
response = @client.send(request)
|
|
118
|
-
rescue Net::HTTPRequestTimeout
|
|
119
|
-
raise Auth0::Errors::TimeoutError
|
|
120
|
-
end
|
|
121
|
-
code = response.code.to_i
|
|
122
|
-
if code.between?(200, 299)
|
|
123
|
-
Auth0::Types::OrganizationTemplate.load(response.body)
|
|
124
|
-
else
|
|
125
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
126
|
-
raise error_class.new(response.body, code: code)
|
|
127
|
-
end
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
# Update the details of a specific Organization Template.
|
|
131
|
-
#
|
|
132
|
-
# @param request_options [Hash]
|
|
133
|
-
# @param params [Auth0::OrganizationTemplates::Types::UpdateOrganizationTemplateRequestContent]
|
|
134
|
-
# @option request_options [String] :base_url
|
|
135
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
136
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
137
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
138
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
139
|
-
# @option params [String] :id
|
|
140
|
-
#
|
|
141
|
-
# @return [Auth0::Types::OrganizationTemplate]
|
|
142
|
-
def update(request_options: {}, **params)
|
|
143
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
144
|
-
request_data = Auth0::OrganizationTemplates::Types::UpdateOrganizationTemplateRequestContent.new(params).to_h
|
|
145
|
-
non_body_param_names = %w[id]
|
|
146
|
-
body = request_data.except(*non_body_param_names)
|
|
147
|
-
|
|
148
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
149
|
-
base_url: request_options[:base_url],
|
|
150
|
-
method: "PATCH",
|
|
151
|
-
path: "organization-templates/#{URI.encode_uri_component(params[:id].to_s)}",
|
|
152
|
-
body: body,
|
|
153
|
-
request_options: request_options
|
|
154
|
-
)
|
|
155
|
-
begin
|
|
156
|
-
response = @client.send(request)
|
|
157
|
-
rescue Net::HTTPRequestTimeout
|
|
158
|
-
raise Auth0::Errors::TimeoutError
|
|
159
|
-
end
|
|
160
|
-
code = response.code.to_i
|
|
161
|
-
if code.between?(200, 299)
|
|
162
|
-
Auth0::Types::OrganizationTemplate.load(response.body)
|
|
163
|
-
else
|
|
164
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
165
|
-
raise error_class.new(response.body, code: code)
|
|
166
|
-
end
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
# Retrieve a list of organizations assigned to an Organization Template. This endpoint supports Checkpoint
|
|
170
|
-
# pagination. Results are returned in a stable order, sorted by their identifier (`id`) in ascending order.
|
|
171
|
-
#
|
|
172
|
-
# @param request_options [Hash]
|
|
173
|
-
# @param params [Hash]
|
|
174
|
-
# @option request_options [String] :base_url
|
|
175
|
-
# @option request_options [Hash{String => Object}] :additional_headers
|
|
176
|
-
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
177
|
-
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
178
|
-
# @option request_options [Integer] :timeout_in_seconds
|
|
179
|
-
# @option params [String] :id
|
|
180
|
-
# @option params [String, nil] :from
|
|
181
|
-
# @option params [Integer, nil] :take
|
|
182
|
-
#
|
|
183
|
-
# @return [Auth0::Types::ListTemplateOrganizationsPaginatedResponseContent]
|
|
184
|
-
def list_organizations(request_options: {}, **params)
|
|
185
|
-
params = Auth0::Internal::Types::Utils.normalize_keys(params)
|
|
186
|
-
query_params = {}
|
|
187
|
-
query_params["from"] = params[:from] if params.key?(:from)
|
|
188
|
-
query_params["take"] = params.fetch(:take, 5)
|
|
189
|
-
|
|
190
|
-
Auth0::Internal::CursorItemIterator.new(
|
|
191
|
-
cursor_field: :next_,
|
|
192
|
-
item_field: :organizations,
|
|
193
|
-
initial_cursor: query_params["from"]
|
|
194
|
-
) do |next_cursor|
|
|
195
|
-
query_params["from"] = next_cursor
|
|
196
|
-
request = Auth0::Internal::JSON::Request.new(
|
|
197
|
-
base_url: request_options[:base_url],
|
|
198
|
-
method: "GET",
|
|
199
|
-
path: "organization-templates/#{URI.encode_uri_component(params[:id].to_s)}/organizations",
|
|
200
|
-
query: query_params,
|
|
201
|
-
request_options: request_options
|
|
202
|
-
)
|
|
203
|
-
begin
|
|
204
|
-
response = @client.send(request)
|
|
205
|
-
rescue Net::HTTPRequestTimeout
|
|
206
|
-
raise Auth0::Errors::TimeoutError
|
|
207
|
-
end
|
|
208
|
-
code = response.code.to_i
|
|
209
|
-
if code.between?(200, 299)
|
|
210
|
-
parsed_response = Auth0::Types::ListTemplateOrganizationsPaginatedResponseContent.load(response.body)
|
|
211
|
-
[parsed_response, response]
|
|
212
|
-
else
|
|
213
|
-
error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
|
|
214
|
-
raise error_class.new(response.body, code: code)
|
|
215
|
-
end
|
|
216
|
-
end
|
|
217
|
-
end
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
end
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module OrganizationTemplates
|
|
5
|
-
module Types
|
|
6
|
-
class CreateOrganizationTemplateRequestContent < Internal::Types::Model
|
|
7
|
-
field :name, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
10
|
-
|
|
11
|
-
field :organization_deletion_behavior, -> { Auth0::Types::OrganizationDeletionBehaviorEnum }, optional: false, nullable: false
|
|
12
|
-
|
|
13
|
-
field :connection_deletion_behavior, -> { Auth0::Types::ConnectionDeletionBehaviorEnum }, optional: true, nullable: false
|
|
14
|
-
|
|
15
|
-
field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
16
|
-
|
|
17
|
-
field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
18
|
-
|
|
19
|
-
field :connection_profile_id, -> { String }, optional: true, nullable: false
|
|
20
|
-
|
|
21
|
-
field :user_attribute_profile_id, -> { String }, optional: true, nullable: false
|
|
22
|
-
|
|
23
|
-
field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAllowedStrategyEnum] }, optional: true, nullable: false
|
|
24
|
-
|
|
25
|
-
field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
|
|
26
|
-
|
|
27
|
-
field :admin_roles_assignment, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
28
|
-
|
|
29
|
-
field :use_for_organization_discovery, -> { Auth0::Types::OrganizationTemplateUseForOrganizationDiscovery }, optional: true, nullable: false
|
|
30
|
-
|
|
31
|
-
field :role_visibility_policy, -> { Auth0::Types::OrganizationTemplateRoleVisibilityPolicy }, optional: true, nullable: false
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
data/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module OrganizationTemplates
|
|
5
|
-
module Types
|
|
6
|
-
class ListOrganizationTemplatesRequestParameters < Internal::Types::Model
|
|
7
|
-
field :from, -> { String }, optional: true, nullable: false
|
|
8
|
-
|
|
9
|
-
field :take, -> { Integer }, optional: true, nullable: false
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
data/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module OrganizationTemplates
|
|
5
|
-
module Types
|
|
6
|
-
class ListTemplateOrganizationsRequestParameters < Internal::Types::Model
|
|
7
|
-
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :from, -> { String }, optional: true, nullable: false
|
|
10
|
-
|
|
11
|
-
field :take, -> { Integer }, optional: true, nullable: false
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module OrganizationTemplates
|
|
5
|
-
module Types
|
|
6
|
-
class UpdateOrganizationTemplateRequestContent < Internal::Types::Model
|
|
7
|
-
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
-
|
|
9
|
-
field :name, -> { String }, optional: true, nullable: false
|
|
10
|
-
|
|
11
|
-
field :is_default, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
12
|
-
|
|
13
|
-
field :organization_deletion_behavior, -> { Auth0::Types::OrganizationDeletionBehaviorEnum }, optional: true, nullable: false
|
|
14
|
-
|
|
15
|
-
field :connection_deletion_behavior, -> { Auth0::Types::ConnectionDeletionBehaviorEnum }, optional: true, nullable: false
|
|
16
|
-
|
|
17
|
-
field :enforce_permission_ceiling, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
18
|
-
|
|
19
|
-
field :enforce_self_assignment_restriction, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
20
|
-
|
|
21
|
-
field :connection_profile_id, -> { String }, optional: true, nullable: false
|
|
22
|
-
|
|
23
|
-
field :user_attribute_profile_id, -> { String }, optional: true, nullable: false
|
|
24
|
-
|
|
25
|
-
field :allowed_strategies, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAllowedStrategyEnum] }, optional: true, nullable: false
|
|
26
|
-
|
|
27
|
-
field :invitation_landing_client_id, -> { String }, optional: true, nullable: false
|
|
28
|
-
|
|
29
|
-
field :admin_roles_assignment, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
30
|
-
|
|
31
|
-
field :use_for_organization_discovery, -> { Auth0::Types::OrganizationTemplateUseForOrganizationDiscovery }, optional: true, nullable: false
|
|
32
|
-
|
|
33
|
-
field :role_visibility_policy, -> { Auth0::Types::OrganizationTemplateRoleVisibilityPolicy }, optional: true, nullable: false
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
class ListOrganizationTemplatesPaginatedResponseContent < Internal::Types::Model
|
|
6
|
-
field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
|
|
7
|
-
|
|
8
|
-
field :organization_templates, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplate] }, optional: true, nullable: false
|
|
9
|
-
end
|
|
10
|
-
end
|
|
11
|
-
end
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Auth0
|
|
4
|
-
module Types
|
|
5
|
-
# An organization assigned to the template.
|
|
6
|
-
class OrganizationTemplateAssignedOrganization < Internal::Types::Model
|
|
7
|
-
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
end
|