auth0 6.5.0 → 6.6.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.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +3 -3
  3. data/.fern/replay.lock +10 -52
  4. data/.version +1 -1
  5. data/CHANGELOG.md +8 -0
  6. data/EXAMPLES.md +20 -0
  7. data/README.md +18 -0
  8. data/examples/ruby-api/Gemfile.lock +1 -1
  9. data/lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb +2 -2
  10. data/lib/auth0/attack_protection/client.rb +0 -5
  11. data/lib/auth0/auth_client.rb +27 -2
  12. data/lib/auth0/client.rb +15 -2
  13. data/lib/auth0/clients/client.rb +3 -0
  14. data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
  15. data/lib/auth0/clients/types/list_clients_request_parameters.rb +2 -0
  16. data/lib/auth0/clients/types/update_client_request_content.rb +2 -0
  17. data/lib/auth0/connections/keys/client.rb +5 -5
  18. data/lib/auth0/experimentation/experiments/client.rb +2 -1
  19. data/lib/auth0/experimentation/experiments/types/create_experiment_request_content.rb +1 -1
  20. data/lib/auth0/experimentation/segments/client.rb +4 -1
  21. data/lib/auth0/experimentation/segments/types/list_segments_request_parameters.rb +2 -0
  22. data/lib/auth0/internal/http/rate_limit.rb +103 -0
  23. data/lib/auth0/internal/http/raw_client.rb +14 -2
  24. data/lib/auth0/mixins/httpproxy.rb +9 -1
  25. data/lib/auth0/mixins/initializer.rb +5 -0
  26. data/lib/auth0/portals/client.rb +198 -0
  27. data/lib/auth0/portals/types/create_portal_request_content.rb +21 -0
  28. data/lib/auth0/portals/types/update_portal_request_content.rb +23 -0
  29. data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +4 -0
  30. data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +4 -0
  31. data/lib/auth0/types/client.rb +4 -0
  32. data/lib/auth0/types/client_oidc_support.rb +14 -0
  33. data/lib/auth0/types/client_profile_client_configuration.rb +2 -0
  34. data/lib/auth0/types/client_profile_client_configuration_oidc_support.rb +10 -0
  35. data/lib/auth0/types/client_profile_client_configuration_oidc_support_allowed_scopes_enum.rb +14 -0
  36. data/lib/auth0/types/client_profile_client_configuration_oidc_support_default_value.rb +14 -0
  37. data/lib/auth0/types/client_search_response.rb +4 -0
  38. data/lib/auth0/types/{list_attack_protection_captcha_policies_response_content.rb → connection_client_id_samlxaa_requesting_app.rb} +2 -2
  39. data/lib/auth0/types/connection_client_secret_samlxaa_requesting_app.rb +23 -0
  40. data/lib/auth0/types/connection_options_auth0.rb +2 -0
  41. data/lib/auth0/types/connection_options_saml.rb +10 -0
  42. data/lib/auth0/types/connection_otp_channel_settings.rb +12 -0
  43. data/lib/auth0/types/connection_otp_settings.rb +12 -0
  44. data/lib/auth0/types/connection_properties_options.rb +2 -0
  45. data/lib/auth0/types/connection_response_content_saml.rb +2 -0
  46. data/lib/auth0/types/consent_signing_key.rb +15 -0
  47. data/lib/auth0/types/create_client_response_content.rb +4 -0
  48. data/lib/auth0/types/create_connection_request_content_saml.rb +2 -0
  49. data/lib/auth0/types/create_resource_server_response_content.rb +4 -0
  50. data/lib/auth0/types/event_stream_cloud_event_context.rb +2 -0
  51. data/lib/auth0/types/event_stream_cloud_event_context_transaction.rb +30 -0
  52. data/lib/auth0/types/event_stream_cloud_event_context_transaction_protocol_enum.rb +24 -0
  53. data/lib/auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum.rb +14 -0
  54. data/lib/auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum.rb +13 -0
  55. data/lib/auth0/types/get_brute_force_settings_response_content.rb +2 -2
  56. data/lib/auth0/types/get_client_response_content.rb +4 -0
  57. data/lib/auth0/types/get_resource_server_response_content.rb +4 -0
  58. data/lib/auth0/types/guardian_factor_name_enum.rb +1 -0
  59. data/lib/auth0/types/internal_server_error_body.rb +13 -0
  60. data/lib/auth0/types/internal_server_error_body_error.rb +11 -0
  61. data/lib/auth0/types/list_portals_response_content.rb +9 -0
  62. data/lib/auth0/types/list_user_consent_signing_keys_response_content.rb +9 -0
  63. data/lib/auth0/types/oauth_scope.rb +4 -0
  64. data/lib/auth0/types/page_component.rb +33 -0
  65. data/lib/auth0/types/page_component_auth0form.rb +9 -0
  66. data/lib/auth0/types/page_component_auth0form_config.rb +11 -0
  67. data/lib/auth0/types/page_component_auth0media_image.rb +9 -0
  68. data/lib/auth0/types/page_component_auth0media_image_config.rb +13 -0
  69. data/lib/auth0/types/page_component_auth0my_account_mfa_management.rb +9 -0
  70. data/lib/auth0/types/page_component_auth0my_account_mfa_management_config.rb +7 -0
  71. data/lib/auth0/types/page_component_auth0my_account_passkey_management.rb +9 -0
  72. data/lib/auth0/types/page_component_auth0my_account_passkey_management_config.rb +7 -0
  73. data/lib/auth0/types/page_component_auth0my_organization_details_edit.rb +9 -0
  74. data/lib/auth0/types/page_component_auth0my_organization_details_edit_config.rb +7 -0
  75. data/lib/auth0/types/page_component_auth0my_organization_domain_table.rb +9 -0
  76. data/lib/auth0/types/page_component_auth0my_organization_domain_table_config.rb +7 -0
  77. data/lib/auth0/types/page_component_auth0my_organization_member_management.rb +9 -0
  78. data/lib/auth0/types/page_component_auth0my_organization_member_management_config.rb +7 -0
  79. data/lib/auth0/types/page_component_auth0structure_section.rb +9 -0
  80. data/lib/auth0/types/page_component_auth0structure_section_config.rb +15 -0
  81. data/lib/auth0/types/page_component_auth0structure_section_variant_enum.rb +12 -0
  82. data/lib/auth0/types/page_component_auth0structure_separator.rb +9 -0
  83. data/lib/auth0/types/page_component_auth0structure_separator_config.rb +11 -0
  84. data/lib/auth0/types/page_component_auth0structure_separator_variant_enum.rb +13 -0
  85. data/lib/auth0/types/page_component_auth0typography_heading.rb +9 -0
  86. data/lib/auth0/types/page_component_auth0typography_heading_config.rb +11 -0
  87. data/lib/auth0/types/page_component_auth0typography_rich_text.rb +9 -0
  88. data/lib/auth0/types/page_component_auth0typography_rich_text_config.rb +9 -0
  89. data/lib/auth0/types/page_component_no_children.rb +31 -0
  90. data/lib/auth0/types/page_slug.rb +23 -0
  91. data/lib/auth0/types/portal.rb +25 -0
  92. data/lib/auth0/types/portal_client_secret_post.rb +11 -0
  93. data/lib/auth0/types/portal_client_secret_post_request.rb +13 -0
  94. data/lib/auth0/types/portal_client_secret_post_request_token_endpoint_auth_method.rb +11 -0
  95. data/lib/auth0/types/portal_client_secret_post_token_endpoint_auth_method.rb +11 -0
  96. data/lib/auth0/types/portal_custom_code.rb +9 -0
  97. data/lib/auth0/types/portal_custom_code_nullable.rb +23 -0
  98. data/lib/auth0/types/portal_date_time.rb +23 -0
  99. data/lib/auth0/types/portal_id.rb +23 -0
  100. data/lib/auth0/types/portal_name.rb +23 -0
  101. data/lib/auth0/types/portal_navigation.rb +9 -0
  102. data/lib/auth0/types/portal_navigation_nullable.rb +23 -0
  103. data/lib/auth0/types/portal_page.rb +13 -0
  104. data/lib/auth0/types/portal_pages_by_type.rb +11 -0
  105. data/lib/auth0/types/portal_pages_by_type_nullable.rb +23 -0
  106. data/lib/auth0/types/portal_slug.rb +23 -0
  107. data/lib/auth0/types/portal_summary.rb +17 -0
  108. data/lib/auth0/types/position.rb +13 -0
  109. data/lib/auth0/types/resource_server.rb +4 -0
  110. data/lib/auth0/types/resource_server_agent_subject_claims_response_enum.rb +12 -0
  111. data/lib/auth0/types/resource_server_agent_subject_claims_schema_enum.rb +12 -0
  112. data/lib/auth0/types/resource_server_search_response.rb +4 -0
  113. data/lib/auth0/types/resource_server_type_enum.rb +11 -0
  114. data/lib/auth0/types/rotate_client_secret_response_content.rb +4 -0
  115. data/lib/auth0/types/sidebar.rb +9 -0
  116. data/lib/auth0/types/sidebar_component.rb +19 -0
  117. data/lib/auth0/types/sidebar_component_auth0external_link.rb +10 -0
  118. data/lib/auth0/types/sidebar_component_auth0external_link_config.rb +13 -0
  119. data/lib/auth0/types/sidebar_component_auth0external_link_v2.rb +9 -0
  120. data/lib/auth0/types/sidebar_component_auth0external_link_v2config.rb +13 -0
  121. data/lib/auth0/types/sidebar_component_auth0internal_link.rb +10 -0
  122. data/lib/auth0/types/sidebar_component_auth0internal_link_config.rb +13 -0
  123. data/lib/auth0/types/sidebar_component_auth0internal_link_v2.rb +9 -0
  124. data/lib/auth0/types/sidebar_component_auth0internal_link_v2config.rb +13 -0
  125. data/lib/auth0/types/update_brute_force_settings_response_content.rb +2 -2
  126. data/lib/auth0/types/update_client_response_content.rb +4 -0
  127. data/lib/auth0/types/update_connection_options.rb +2 -0
  128. data/lib/auth0/types/update_connection_request_content_saml.rb +2 -0
  129. data/lib/auth0/types/update_resource_server_response_content.rb +4 -0
  130. data/lib/auth0/types/update_variation_overrides_map.rb +1 -1
  131. data/lib/auth0/users/client.rb +120 -0
  132. data/lib/auth0/version.rb +1 -1
  133. data/lib/auth0.rb +79 -22
  134. data/wiremock/wiremock-mappings.json +308 -188
  135. metadata +81 -23
  136. data/lib/auth0/attack_protection/captcha_policies/client.rb +0 -210
  137. data/lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb +0 -21
  138. data/lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb +0 -23
  139. data/lib/auth0/types/attack_protection_captcha_policy.rb +0 -24
  140. data/lib/auth0/types/attack_protection_captcha_policy_action.rb +0 -24
  141. data/lib/auth0/types/attack_protection_captcha_policy_action_input.rb +0 -24
  142. data/lib/auth0/types/attack_protection_captcha_policy_match.rb +0 -12
  143. data/lib/auth0/types/captcha_active_provider_enum.rb +0 -17
  144. data/lib/auth0/types/captcha_policy_action_arkose.rb +0 -16
  145. data/lib/auth0/types/captcha_policy_action_arkose_input.rb +0 -18
  146. data/lib/auth0/types/captcha_policy_action_auth_challenge.rb +0 -10
  147. data/lib/auth0/types/captcha_policy_action_friendly_captcha.rb +0 -10
  148. data/lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb +0 -12
  149. data/lib/auth0/types/captcha_policy_action_hcaptcha.rb +0 -10
  150. data/lib/auth0/types/captcha_policy_action_hcaptcha_input.rb +0 -12
  151. data/lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb +0 -12
  152. data/lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb +0 -14
  153. data/lib/auth0/types/captcha_policy_action_recaptcha_v2.rb +0 -10
  154. data/lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb +0 -12
  155. data/lib/auth0/types/captcha_policy_action_simple_captcha.rb +0 -8
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.5.0
4
+ version: 6.6.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-10-14 00:00:00.000000000 Z
11
+ date: 2026-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -171,9 +171,6 @@ files:
171
171
  - lib/auth0/attack_protection/brute_force_protection/types/update_brute_force_settings_request_content.rb
172
172
  - lib/auth0/attack_protection/captcha/client.rb
173
173
  - lib/auth0/attack_protection/captcha/types/update_attack_protection_captcha_request_content.rb
174
- - lib/auth0/attack_protection/captcha_policies/client.rb
175
- - lib/auth0/attack_protection/captcha_policies/types/create_attack_protection_captcha_policy_request_content.rb
176
- - lib/auth0/attack_protection/captcha_policies/types/update_attack_protection_captcha_policy_request_content.rb
177
174
  - lib/auth0/attack_protection/client.rb
178
175
  - lib/auth0/attack_protection/phone_provider_protection/client.rb
179
176
  - lib/auth0/attack_protection/phone_provider_protection/types/patch_phone_provider_protection_request_content.rb
@@ -369,6 +366,7 @@ files:
369
366
  - lib/auth0/internal/errors/constraint_error.rb
370
367
  - lib/auth0/internal/errors/type_error.rb
371
368
  - lib/auth0/internal/http/base_request.rb
369
+ - lib/auth0/internal/http/rate_limit.rb
372
370
  - lib/auth0/internal/http/raw_client.rb
373
371
  - lib/auth0/internal/iterators/cursor_item_iterator.rb
374
372
  - lib/auth0/internal/iterators/cursor_page_iterator.rb
@@ -481,6 +479,9 @@ files:
481
479
  - lib/auth0/organizations/types/list_organizations_request_parameters.rb
482
480
  - lib/auth0/organizations/types/search_organizations_request_parameters.rb
483
481
  - lib/auth0/organizations/types/update_organization_request_content.rb
482
+ - lib/auth0/portals/client.rb
483
+ - lib/auth0/portals/types/create_portal_request_content.rb
484
+ - lib/auth0/portals/types/update_portal_request_content.rb
484
485
  - lib/auth0/prompts/client.rb
485
486
  - lib/auth0/prompts/custom_text/client.rb
486
487
  - lib/auth0/prompts/partials/client.rb
@@ -624,10 +625,6 @@ files:
624
625
  - lib/auth0/types/attack_protection_captcha_auth_challenge_response_content.rb
625
626
  - lib/auth0/types/attack_protection_captcha_friendly_captcha_response_content.rb
626
627
  - lib/auth0/types/attack_protection_captcha_hcaptcha_response_content.rb
627
- - lib/auth0/types/attack_protection_captcha_policy.rb
628
- - lib/auth0/types/attack_protection_captcha_policy_action.rb
629
- - lib/auth0/types/attack_protection_captcha_policy_action_input.rb
630
- - lib/auth0/types/attack_protection_captcha_policy_match.rb
631
628
  - lib/auth0/types/attack_protection_captcha_provider_id.rb
632
629
  - lib/auth0/types/attack_protection_captcha_recaptcha_enterprise_response_content.rb
633
630
  - lib/auth0/types/attack_protection_captcha_recaptcha_v2response_content.rb
@@ -694,19 +691,6 @@ files:
694
691
  - lib/auth0/types/brute_force_protection_mode_enum.rb
695
692
  - lib/auth0/types/brute_force_protection_shields_enum.rb
696
693
  - lib/auth0/types/bulk_update_acul_response_content.rb
697
- - lib/auth0/types/captcha_active_provider_enum.rb
698
- - lib/auth0/types/captcha_policy_action_arkose.rb
699
- - lib/auth0/types/captcha_policy_action_arkose_input.rb
700
- - lib/auth0/types/captcha_policy_action_auth_challenge.rb
701
- - lib/auth0/types/captcha_policy_action_friendly_captcha.rb
702
- - lib/auth0/types/captcha_policy_action_friendly_captcha_input.rb
703
- - lib/auth0/types/captcha_policy_action_hcaptcha.rb
704
- - lib/auth0/types/captcha_policy_action_hcaptcha_input.rb
705
- - lib/auth0/types/captcha_policy_action_recaptcha_enterprise.rb
706
- - lib/auth0/types/captcha_policy_action_recaptcha_enterprise_input.rb
707
- - lib/auth0/types/captcha_policy_action_recaptcha_v2.rb
708
- - lib/auth0/types/captcha_policy_action_recaptcha_v2input.rb
709
- - lib/auth0/types/captcha_policy_action_simple_captcha.rb
710
694
  - lib/auth0/types/certificate_subject_dn_credential.rb
711
695
  - lib/auth0/types/certificate_subject_dn_credential_type_enum.rb
712
696
  - lib/auth0/types/change_password_ticket_identity.rb
@@ -803,6 +787,7 @@ files:
803
787
  - lib/auth0/types/client_oidc_backchannel_logout_initiators_mode_enum.rb
804
788
  - lib/auth0/types/client_oidc_backchannel_logout_session_metadata.rb
805
789
  - lib/auth0/types/client_oidc_backchannel_logout_settings.rb
790
+ - lib/auth0/types/client_oidc_support.rb
806
791
  - lib/auth0/types/client_oidc_support_allowed_scopes_enum.rb
807
792
  - lib/auth0/types/client_oidc_support_patch.rb
808
793
  - lib/auth0/types/client_oidc_support_post.rb
@@ -816,6 +801,9 @@ files:
816
801
  - lib/auth0/types/client_profile_apply_policy_external_metadata_created_by_enum.rb
817
802
  - lib/auth0/types/client_profile_apply_policy_external_metadata_type_enum.rb
818
803
  - lib/auth0/types/client_profile_client_configuration.rb
804
+ - lib/auth0/types/client_profile_client_configuration_oidc_support.rb
805
+ - lib/auth0/types/client_profile_client_configuration_oidc_support_allowed_scopes_enum.rb
806
+ - lib/auth0/types/client_profile_client_configuration_oidc_support_default_value.rb
819
807
  - lib/auth0/types/client_profile_client_configuration_organization_discovery_method_enum.rb
820
808
  - lib/auth0/types/client_profile_client_configuration_organization_discovery_methods.rb
821
809
  - lib/auth0/types/client_profile_client_configuration_organization_require_behavior.rb
@@ -908,6 +896,7 @@ files:
908
896
  - lib/auth0/types/connection_client_id_oidc.rb
909
897
  - lib/auth0/types/connection_client_id_paypal.rb
910
898
  - lib/auth0/types/connection_client_id_salesforce.rb
899
+ - lib/auth0/types/connection_client_id_samlxaa_requesting_app.rb
911
900
  - lib/auth0/types/connection_client_id_windows_live.rb
912
901
  - lib/auth0/types/connection_client_protocol_saml.rb
913
902
  - lib/auth0/types/connection_client_secret.rb
@@ -925,6 +914,7 @@ files:
925
914
  - lib/auth0/types/connection_client_secret_oidc.rb
926
915
  - lib/auth0/types/connection_client_secret_paypal.rb
927
916
  - lib/auth0/types/connection_client_secret_salesforce.rb
917
+ - lib/auth0/types/connection_client_secret_samlxaa_requesting_app.rb
928
918
  - lib/auth0/types/connection_client_secret_windows_live.rb
929
919
  - lib/auth0/types/connection_common.rb
930
920
  - lib/auth0/types/connection_community_base_url_salesforce.rb
@@ -1117,6 +1107,8 @@ files:
1117
1107
  - lib/auth0/types/connection_options_wordpress.rb
1118
1108
  - lib/auth0/types/connection_options_yahoo.rb
1119
1109
  - lib/auth0/types/connection_options_yandex.rb
1110
+ - lib/auth0/types/connection_otp_channel_settings.rb
1111
+ - lib/auth0/types/connection_otp_settings.rb
1120
1112
  - lib/auth0/types/connection_passkey_authentication_method.rb
1121
1113
  - lib/auth0/types/connection_passkey_challenge_ui_enum.rb
1122
1114
  - lib/auth0/types/connection_passkey_options.rb
@@ -1397,6 +1389,7 @@ files:
1397
1389
  - lib/auth0/types/connections_discovery_url.rb
1398
1390
  - lib/auth0/types/connections_metadata.rb
1399
1391
  - lib/auth0/types/connections_oidc_metadata.rb
1392
+ - lib/auth0/types/consent_signing_key.rb
1400
1393
  - lib/auth0/types/content_security_policy_config.rb
1401
1394
  - lib/auth0/types/create_action_module_response_content.rb
1402
1395
  - lib/auth0/types/create_action_module_version_response_content.rb
@@ -2486,6 +2479,10 @@ files:
2486
2479
  - lib/auth0/types/event_stream_cloud_event_context_request.rb
2487
2480
  - lib/auth0/types/event_stream_cloud_event_context_request_geo.rb
2488
2481
  - lib/auth0/types/event_stream_cloud_event_context_tenant.rb
2482
+ - lib/auth0/types/event_stream_cloud_event_context_transaction.rb
2483
+ - lib/auth0/types/event_stream_cloud_event_context_transaction_protocol_enum.rb
2484
+ - lib/auth0/types/event_stream_cloud_event_context_transaction_response_mode_enum.rb
2485
+ - lib/auth0/types/event_stream_cloud_event_context_transaction_response_type_item_enum.rb
2489
2486
  - lib/auth0/types/event_stream_cloud_event_data.rb
2490
2487
  - lib/auth0/types/event_stream_cloud_event_error_code_enum.rb
2491
2488
  - lib/auth0/types/event_stream_cloud_event_error_detail.rb
@@ -3802,6 +3799,8 @@ files:
3802
3799
  - lib/auth0/types/integration_required_param_option.rb
3803
3800
  - lib/auth0/types/integration_required_param_type_enum.rb
3804
3801
  - lib/auth0/types/integration_sem_ver.rb
3802
+ - lib/auth0/types/internal_server_error_body.rb
3803
+ - lib/auth0/types/internal_server_error_body_error.rb
3805
3804
  - lib/auth0/types/job_file_format_enum.rb
3806
3805
  - lib/auth0/types/linked_client_configuration.rb
3807
3806
  - lib/auth0/types/list_action_bindings_paginated_response_content.rb
@@ -3811,7 +3810,6 @@ files:
3811
3810
  - lib/auth0/types/list_aculs_offset_paginated_response_content.rb
3812
3811
  - lib/auth0/types/list_aculs_response_content_item.rb
3813
3812
  - lib/auth0/types/list_agents_response_content.rb
3814
- - lib/auth0/types/list_attack_protection_captcha_policies_response_content.rb
3815
3813
  - lib/auth0/types/list_branding_phone_providers_response_content.rb
3816
3814
  - lib/auth0/types/list_client_connections_response_content.rb
3817
3815
  - lib/auth0/types/list_client_grant_organizations_paginated_response_content.rb
@@ -3856,6 +3854,7 @@ files:
3856
3854
  - lib/auth0/types/list_organization_role_members_response_content.rb
3857
3855
  - lib/auth0/types/list_organizations_paginated_response_content.rb
3858
3856
  - lib/auth0/types/list_phone_templates_response_content.rb
3857
+ - lib/auth0/types/list_portals_response_content.rb
3859
3858
  - lib/auth0/types/list_rate_limit_policies_paginated_response_content.rb
3860
3859
  - lib/auth0/types/list_refresh_tokens_paginated_response_content.rb
3861
3860
  - lib/auth0/types/list_resource_server_offset_paginated_response_content.rb
@@ -3876,6 +3875,7 @@ files:
3876
3875
  - lib/auth0/types/list_user_blocks_by_identifier_response_content.rb
3877
3876
  - lib/auth0/types/list_user_blocks_response_content.rb
3878
3877
  - lib/auth0/types/list_user_connected_accounts_response_content.rb
3878
+ - lib/auth0/types/list_user_consent_signing_keys_response_content.rb
3879
3879
  - lib/auth0/types/list_user_effective_permission_role_sources_response_content.rb
3880
3880
  - lib/auth0/types/list_user_effective_permissions_response_content.rb
3881
3881
  - lib/auth0/types/list_user_effective_roles_response_content.rb
@@ -4000,6 +4000,33 @@ files:
4000
4000
  - lib/auth0/types/organization_sort_field_enum.rb
4001
4001
  - lib/auth0/types/organization_third_party_client_access_enum.rb
4002
4002
  - lib/auth0/types/organization_usage_enum.rb
4003
+ - lib/auth0/types/page_component.rb
4004
+ - lib/auth0/types/page_component_auth0form.rb
4005
+ - lib/auth0/types/page_component_auth0form_config.rb
4006
+ - lib/auth0/types/page_component_auth0media_image.rb
4007
+ - lib/auth0/types/page_component_auth0media_image_config.rb
4008
+ - lib/auth0/types/page_component_auth0my_account_mfa_management.rb
4009
+ - lib/auth0/types/page_component_auth0my_account_mfa_management_config.rb
4010
+ - lib/auth0/types/page_component_auth0my_account_passkey_management.rb
4011
+ - lib/auth0/types/page_component_auth0my_account_passkey_management_config.rb
4012
+ - lib/auth0/types/page_component_auth0my_organization_details_edit.rb
4013
+ - lib/auth0/types/page_component_auth0my_organization_details_edit_config.rb
4014
+ - lib/auth0/types/page_component_auth0my_organization_domain_table.rb
4015
+ - lib/auth0/types/page_component_auth0my_organization_domain_table_config.rb
4016
+ - lib/auth0/types/page_component_auth0my_organization_member_management.rb
4017
+ - lib/auth0/types/page_component_auth0my_organization_member_management_config.rb
4018
+ - lib/auth0/types/page_component_auth0structure_section.rb
4019
+ - lib/auth0/types/page_component_auth0structure_section_config.rb
4020
+ - lib/auth0/types/page_component_auth0structure_section_variant_enum.rb
4021
+ - lib/auth0/types/page_component_auth0structure_separator.rb
4022
+ - lib/auth0/types/page_component_auth0structure_separator_config.rb
4023
+ - lib/auth0/types/page_component_auth0structure_separator_variant_enum.rb
4024
+ - lib/auth0/types/page_component_auth0typography_heading.rb
4025
+ - lib/auth0/types/page_component_auth0typography_heading_config.rb
4026
+ - lib/auth0/types/page_component_auth0typography_rich_text.rb
4027
+ - lib/auth0/types/page_component_auth0typography_rich_text_config.rb
4028
+ - lib/auth0/types/page_component_no_children.rb
4029
+ - lib/auth0/types/page_slug.rb
4003
4030
  - lib/auth0/types/partial_groups_enum.rb
4004
4031
  - lib/auth0/types/partial_phone_template_content.rb
4005
4032
  - lib/auth0/types/password_character_type_enum.rb
@@ -4033,6 +4060,24 @@ files:
4033
4060
  - lib/auth0/types/phone_template_body.rb
4034
4061
  - lib/auth0/types/phone_template_content.rb
4035
4062
  - lib/auth0/types/phone_template_notification_type_enum.rb
4063
+ - lib/auth0/types/portal.rb
4064
+ - lib/auth0/types/portal_client_secret_post.rb
4065
+ - lib/auth0/types/portal_client_secret_post_request.rb
4066
+ - lib/auth0/types/portal_client_secret_post_request_token_endpoint_auth_method.rb
4067
+ - lib/auth0/types/portal_client_secret_post_token_endpoint_auth_method.rb
4068
+ - lib/auth0/types/portal_custom_code.rb
4069
+ - lib/auth0/types/portal_custom_code_nullable.rb
4070
+ - lib/auth0/types/portal_date_time.rb
4071
+ - lib/auth0/types/portal_id.rb
4072
+ - lib/auth0/types/portal_name.rb
4073
+ - lib/auth0/types/portal_navigation.rb
4074
+ - lib/auth0/types/portal_navigation_nullable.rb
4075
+ - lib/auth0/types/portal_page.rb
4076
+ - lib/auth0/types/portal_pages_by_type.rb
4077
+ - lib/auth0/types/portal_pages_by_type_nullable.rb
4078
+ - lib/auth0/types/portal_slug.rb
4079
+ - lib/auth0/types/portal_summary.rb
4080
+ - lib/auth0/types/position.rb
4036
4081
  - lib/auth0/types/post_client_credential_response_content.rb
4037
4082
  - lib/auth0/types/post_connection_keys_alg_enum.rb
4038
4083
  - lib/auth0/types/post_connection_keys_request_content.rb
@@ -4073,6 +4118,8 @@ files:
4073
4118
  - lib/auth0/types/resource_server_access_token_claims_mapping.rb
4074
4119
  - lib/auth0/types/resource_server_access_token_custom_claims_mapping.rb
4075
4120
  - lib/auth0/types/resource_server_access_token_custom_claims_mapping_rule.rb
4121
+ - lib/auth0/types/resource_server_agent_subject_claims_response_enum.rb
4122
+ - lib/auth0/types/resource_server_agent_subject_claims_schema_enum.rb
4076
4123
  - lib/auth0/types/resource_server_authorization_policy.rb
4077
4124
  - lib/auth0/types/resource_server_consent_policy_enum.rb
4078
4125
  - lib/auth0/types/resource_server_proof_of_possession.rb
@@ -4094,6 +4141,7 @@ files:
4094
4141
  - lib/auth0/types/resource_server_token_encryption_algorithm_enum.rb
4095
4142
  - lib/auth0/types/resource_server_token_encryption_format_enum.rb
4096
4143
  - lib/auth0/types/resource_server_token_encryption_key.rb
4144
+ - lib/auth0/types/resource_server_type_enum.rb
4097
4145
  - lib/auth0/types/resource_server_verification_key_pem_certificate.rb
4098
4146
  - lib/auth0/types/revoked_signing_keys_response_content.rb
4099
4147
  - lib/auth0/types/role.rb
@@ -4199,6 +4247,16 @@ files:
4199
4247
  - lib/auth0/types/set_user_authentication_methods.rb
4200
4248
  - lib/auth0/types/set_user_authentication_methods_request_content.rb
4201
4249
  - lib/auth0/types/sets_custom_texts_by_language_request_content.rb
4250
+ - lib/auth0/types/sidebar.rb
4251
+ - lib/auth0/types/sidebar_component.rb
4252
+ - lib/auth0/types/sidebar_component_auth0external_link.rb
4253
+ - lib/auth0/types/sidebar_component_auth0external_link_config.rb
4254
+ - lib/auth0/types/sidebar_component_auth0external_link_v2.rb
4255
+ - lib/auth0/types/sidebar_component_auth0external_link_v2config.rb
4256
+ - lib/auth0/types/sidebar_component_auth0internal_link.rb
4257
+ - lib/auth0/types/sidebar_component_auth0internal_link_config.rb
4258
+ - lib/auth0/types/sidebar_component_auth0internal_link_v2.rb
4259
+ - lib/auth0/types/sidebar_component_auth0internal_link_v2config.rb
4202
4260
  - lib/auth0/types/signing_algorithm_enum.rb
4203
4261
  - lib/auth0/types/signing_keys.rb
4204
4262
  - lib/auth0/types/signing_keys_date.rb
@@ -1,210 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module AttackProtection
5
- module CaptchaPolicies
6
- class Client
7
- # @param client [Auth0::Internal::Http::RawClient]
8
- #
9
- # @return [void]
10
- def initialize(client:)
11
- @client = client
12
- end
13
-
14
- # Retrieve all CAPTCHA attack protection policies for the tenant, sorted by priority ascending.
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
- #
24
- # @example
25
- # client.attack_protection.captcha_policies.list
26
- #
27
- # @return [Array[Auth0::Types::AttackProtectionCaptchaPolicy]]
28
- def list(request_options: {}, **_params)
29
- request = Auth0::Internal::JSON::Request.new(
30
- base_url: request_options[:base_url],
31
- method: "GET",
32
- path: "attack-protection/captcha/policies",
33
- request_options: request_options
34
- )
35
- begin
36
- response = @client.send(request)
37
- rescue Net::HTTPRequestTimeout
38
- raise Auth0::Errors::TimeoutError
39
- end
40
- code = response.code.to_i
41
- if code.between?(200, 299)
42
- (response.body.to_s.empty? ? nil : Auth0::Types::ListAttackProtectionCaptchaPoliciesResponseContent.load(response.body))
43
- else
44
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
45
- raise error_class.new(response.body, code: code)
46
- end
47
- end
48
-
49
- # Create a new CAPTCHA attack protection policy for the tenant. The maximum number of policies per tenant is
50
- # determined by the tenant's subscription.
51
- #
52
- # @param request_options [Hash]
53
- # @param params [Auth0::AttackProtection::CaptchaPolicies::Types::CreateAttackProtectionCaptchaPolicyRequestContent]
54
- # @option request_options [String] :base_url
55
- # @option request_options [Hash{String => Object}] :additional_headers
56
- # @option request_options [Hash{String => Object}] :additional_query_parameters
57
- # @option request_options [Hash{String => Object}] :additional_body_parameters
58
- # @option request_options [Integer] :timeout_in_seconds
59
- #
60
- # @example
61
- # client.attack_protection.captcha_policies.create(
62
- # name: "name",
63
- # priority: 1,
64
- # match: {},
65
- # action: {}
66
- # )
67
- #
68
- # @return [Auth0::Types::AttackProtectionCaptchaPolicy]
69
- def create(request_options: {}, **params)
70
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
71
- request = Auth0::Internal::JSON::Request.new(
72
- base_url: request_options[:base_url],
73
- method: "POST",
74
- path: "attack-protection/captcha/policies",
75
- body: Auth0::AttackProtection::CaptchaPolicies::Types::CreateAttackProtectionCaptchaPolicyRequestContent.new(params).to_h,
76
- request_options: request_options
77
- )
78
- begin
79
- response = @client.send(request)
80
- rescue Net::HTTPRequestTimeout
81
- raise Auth0::Errors::TimeoutError
82
- end
83
- code = response.code.to_i
84
- if code.between?(200, 299)
85
- (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body))
86
- else
87
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
88
- raise error_class.new(response.body, code: code)
89
- end
90
- end
91
-
92
- # Retrieve a single CAPTCHA attack protection policy for the tenant by ID.
93
- #
94
- # @param request_options [Hash]
95
- # @param params [Hash]
96
- # @option request_options [String] :base_url
97
- # @option request_options [Hash{String => Object}] :additional_headers
98
- # @option request_options [Hash{String => Object}] :additional_query_parameters
99
- # @option request_options [Hash{String => Object}] :additional_body_parameters
100
- # @option request_options [Integer] :timeout_in_seconds
101
- # @option params [String] :id
102
- #
103
- # @example
104
- # client.attack_protection.captcha_policies.get(id: "id")
105
- #
106
- # @return [Auth0::Types::AttackProtectionCaptchaPolicy]
107
- def get(request_options: {}, **params)
108
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
109
- request = Auth0::Internal::JSON::Request.new(
110
- base_url: request_options[:base_url],
111
- method: "GET",
112
- path: "attack-protection/captcha/policies/#{URI.encode_uri_component(params[:id].to_s)}",
113
- request_options: request_options
114
- )
115
- begin
116
- response = @client.send(request)
117
- rescue Net::HTTPRequestTimeout
118
- raise Auth0::Errors::TimeoutError
119
- end
120
- code = response.code.to_i
121
- if code.between?(200, 299)
122
- (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body))
123
- else
124
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
125
- raise error_class.new(response.body, code: code)
126
- end
127
- end
128
-
129
- # Delete a CAPTCHA attack protection policy for the tenant.
130
- #
131
- # @param request_options [Hash]
132
- # @param params [Hash]
133
- # @option request_options [String] :base_url
134
- # @option request_options [Hash{String => Object}] :additional_headers
135
- # @option request_options [Hash{String => Object}] :additional_query_parameters
136
- # @option request_options [Hash{String => Object}] :additional_body_parameters
137
- # @option request_options [Integer] :timeout_in_seconds
138
- # @option params [String] :id
139
- #
140
- # @example
141
- # client.attack_protection.captcha_policies.delete(id: "id")
142
- #
143
- # @return [untyped]
144
- def delete(request_options: {}, **params)
145
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
146
- request = Auth0::Internal::JSON::Request.new(
147
- base_url: request_options[:base_url],
148
- method: "DELETE",
149
- path: "attack-protection/captcha/policies/#{URI.encode_uri_component(params[:id].to_s)}",
150
- request_options: request_options
151
- )
152
- begin
153
- response = @client.send(request)
154
- rescue Net::HTTPRequestTimeout
155
- raise Auth0::Errors::TimeoutError
156
- end
157
- code = response.code.to_i
158
- return if code.between?(200, 299)
159
-
160
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
161
- raise error_class.new(response.body, code: code)
162
- end
163
-
164
- # Partially update a CAPTCHA attack protection policy. Only the provided fields are modified. A provided match
165
- # or action replaces the stored value in full rather than merging with it; within action, a provider secret or
166
- # API key that is omitted from a provided provider block keeps its stored value.
167
- #
168
- # @param request_options [Hash]
169
- # @param params [Auth0::AttackProtection::CaptchaPolicies::Types::UpdateAttackProtectionCaptchaPolicyRequestContent]
170
- # @option request_options [String] :base_url
171
- # @option request_options [Hash{String => Object}] :additional_headers
172
- # @option request_options [Hash{String => Object}] :additional_query_parameters
173
- # @option request_options [Hash{String => Object}] :additional_body_parameters
174
- # @option request_options [Integer] :timeout_in_seconds
175
- # @option params [String] :id
176
- #
177
- # @example
178
- # client.attack_protection.captcha_policies.update(id: "id")
179
- #
180
- # @return [Auth0::Types::AttackProtectionCaptchaPolicy]
181
- def update(request_options: {}, **params)
182
- params = Auth0::Internal::Types::Utils.normalize_keys(params)
183
- request_data = Auth0::AttackProtection::CaptchaPolicies::Types::UpdateAttackProtectionCaptchaPolicyRequestContent.new(params).to_h
184
- non_body_param_names = %w[id]
185
- body = request_data.except(*non_body_param_names)
186
-
187
- request = Auth0::Internal::JSON::Request.new(
188
- base_url: request_options[:base_url],
189
- method: "PATCH",
190
- path: "attack-protection/captcha/policies/#{URI.encode_uri_component(params[:id].to_s)}",
191
- body: body,
192
- request_options: request_options
193
- )
194
- begin
195
- response = @client.send(request)
196
- rescue Net::HTTPRequestTimeout
197
- raise Auth0::Errors::TimeoutError
198
- end
199
- code = response.code.to_i
200
- if code.between?(200, 299)
201
- (response.body.to_s.empty? ? nil : Auth0::Types::AttackProtectionCaptchaPolicy.load(response.body))
202
- else
203
- error_class = Auth0::Errors::ResponseError.subclass_for_code(code)
204
- raise error_class.new(response.body, code: code)
205
- end
206
- end
207
- end
208
- end
209
- end
210
- end
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module AttackProtection
5
- module CaptchaPolicies
6
- module Types
7
- class CreateAttackProtectionCaptchaPolicyRequestContent < Internal::Types::Model
8
- field :name, -> { String }, optional: false, nullable: false
9
-
10
- field :description, -> { String }, optional: true, nullable: false
11
-
12
- field :priority, -> { Integer }, optional: false, nullable: false
13
-
14
- field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: false, nullable: false
15
-
16
- field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyActionInput }, optional: false, nullable: false
17
- end
18
- end
19
- end
20
- end
21
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module AttackProtection
5
- module CaptchaPolicies
6
- module Types
7
- class UpdateAttackProtectionCaptchaPolicyRequestContent < Internal::Types::Model
8
- field :id, -> { String }, optional: false, nullable: false
9
-
10
- field :name, -> { String }, optional: true, nullable: false
11
-
12
- field :description, -> { String }, optional: true, nullable: false
13
-
14
- field :priority, -> { Integer }, optional: true, nullable: false
15
-
16
- field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: true, nullable: false
17
-
18
- field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyActionInput }, optional: true, nullable: false
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- # An attack protection policy override for CAPTCHA.
6
- class AttackProtectionCaptchaPolicy < Internal::Types::Model
7
- field :id, -> { String }, optional: false, nullable: false
8
-
9
- field :name, -> { String }, optional: false, nullable: false
10
-
11
- field :description, -> { String }, optional: true, nullable: false
12
-
13
- field :priority, -> { Integer }, optional: false, nullable: false
14
-
15
- field :match, -> { Auth0::Types::AttackProtectionCaptchaPolicyMatch }, optional: false, nullable: false
16
-
17
- field :action, -> { Auth0::Types::AttackProtectionCaptchaPolicyAction }, optional: false, nullable: false
18
-
19
- field :created_at, -> { String }, optional: false, nullable: false
20
-
21
- field :updated_at, -> { String }, optional: false, nullable: false
22
- end
23
- end
24
- end
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- # CAPTCHA configuration override stored for this policy.
6
- class AttackProtectionCaptchaPolicyAction < Internal::Types::Model
7
- field :active_provider_id, -> { Auth0::Types::CaptchaActiveProviderEnum }, optional: true, nullable: false
8
-
9
- field :simple_captcha, -> { Auth0::Types::CaptchaPolicyActionSimpleCaptcha }, optional: true, nullable: false
10
-
11
- field :auth_challenge, -> { Auth0::Types::CaptchaPolicyActionAuthChallenge }, optional: true, nullable: false
12
-
13
- field :recaptcha_v2, -> { Auth0::Types::CaptchaPolicyActionRecaptchaV2 }, optional: true, nullable: false
14
-
15
- field :recaptcha_enterprise, -> { Auth0::Types::CaptchaPolicyActionRecaptchaEnterprise }, optional: true, nullable: false
16
-
17
- field :hcaptcha, -> { Auth0::Types::CaptchaPolicyActionHcaptcha }, optional: true, nullable: false
18
-
19
- field :friendly_captcha, -> { Auth0::Types::CaptchaPolicyActionFriendlyCaptcha }, optional: true, nullable: false
20
-
21
- field :arkose, -> { Auth0::Types::CaptchaPolicyActionArkose }, optional: true, nullable: false
22
- end
23
- end
24
- end
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- # CAPTCHA configuration override for this policy.
6
- class AttackProtectionCaptchaPolicyActionInput < Internal::Types::Model
7
- field :active_provider_id, -> { Auth0::Types::CaptchaActiveProviderEnum }, optional: true, nullable: false
8
-
9
- field :simple_captcha, -> { Auth0::Types::CaptchaPolicyActionSimpleCaptcha }, optional: true, nullable: false
10
-
11
- field :auth_challenge, -> { Auth0::Types::CaptchaPolicyActionAuthChallenge }, optional: true, nullable: false
12
-
13
- field :recaptcha_v2, -> { Auth0::Types::CaptchaPolicyActionRecaptchaV2Input }, optional: true, nullable: false
14
-
15
- field :recaptcha_enterprise, -> { Auth0::Types::CaptchaPolicyActionRecaptchaEnterpriseInput }, optional: true, nullable: false
16
-
17
- field :hcaptcha, -> { Auth0::Types::CaptchaPolicyActionHcaptchaInput }, optional: true, nullable: false
18
-
19
- field :friendly_captcha, -> { Auth0::Types::CaptchaPolicyActionFriendlyCaptchaInput }, optional: true, nullable: false
20
-
21
- field :arkose, -> { Auth0::Types::CaptchaPolicyActionArkoseInput }, optional: true, nullable: false
22
- end
23
- end
24
- end
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- # Traffic matching criteria for the policy. Exactly one of auth0_managed or geo_country_codes must be specified.
6
- class AttackProtectionCaptchaPolicyMatch < Internal::Types::Model
7
- field :auth0managed, -> { Internal::Types::Array[String] }, optional: true, nullable: false, api_name: "auth0_managed"
8
-
9
- field :geo_country_codes, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
- end
11
- end
12
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- module CaptchaActiveProviderEnum
6
- extend Auth0::Internal::Types::Enum
7
-
8
- SIMPLE_CAPTCHA = "simple_captcha"
9
- AUTH_CHALLENGE = "auth_challenge"
10
- RECAPTCHA_V2 = "recaptcha_v2"
11
- RECAPTCHA_ENTERPRISE = "recaptcha_enterprise"
12
- HCAPTCHA = "hcaptcha"
13
- FRIENDLY_CAPTCHA = "friendly_captcha"
14
- ARKOSE = "arkose"
15
- end
16
- end
17
- end
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- # Arkose Labs provider configuration.
6
- class CaptchaPolicyActionArkose < Internal::Types::Model
7
- field :site_key, -> { String }, optional: true, nullable: false
8
-
9
- field :client_subdomain, -> { String }, optional: true, nullable: false
10
-
11
- field :verify_subdomain, -> { String }, optional: true, nullable: false
12
-
13
- field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false
14
- end
15
- end
16
- end
@@ -1,18 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Auth0
4
- module Types
5
- # Arkose Labs provider configuration.
6
- class CaptchaPolicyActionArkoseInput < Internal::Types::Model
7
- field :site_key, -> { String }, optional: true, nullable: false
8
-
9
- field :secret, -> { String }, optional: true, nullable: false
10
-
11
- field :client_subdomain, -> { String }, optional: true, nullable: false
12
-
13
- field :verify_subdomain, -> { String }, optional: true, nullable: false
14
-
15
- field :fail_open, -> { Internal::Types::Boolean }, optional: true, nullable: false
16
- end
17
- end
18
- end