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.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +3 -3
  3. data/.fern/replay.lock +7 -1
  4. data/.version +1 -1
  5. data/CHANGELOG.md +7 -0
  6. data/EXAMPLES.md +44 -0
  7. data/examples/ruby-api/Gemfile.lock +1 -1
  8. data/lib/auth0/actions/client.rb +47 -6
  9. data/lib/auth0/actions/executions/client.rb +4 -1
  10. data/lib/auth0/actions/modules/client.rb +40 -6
  11. data/lib/auth0/actions/modules/versions/client.rb +19 -3
  12. data/lib/auth0/actions/triggers/bindings/client.rb +12 -2
  13. data/lib/auth0/actions/triggers/client.rb +4 -1
  14. data/lib/auth0/actions/versions/client.rb +27 -4
  15. data/lib/auth0/agents/client.rb +22 -4
  16. data/lib/auth0/anomaly/blocks/client.rb +6 -0
  17. data/lib/auth0/api/authentication_endpoints.rb +40 -0
  18. data/lib/auth0/attack_protection/bot_detection/client.rb +8 -2
  19. data/lib/auth0/attack_protection/breached_password_detection/client.rb +8 -2
  20. data/lib/auth0/attack_protection/brute_force_protection/client.rb +8 -2
  21. data/lib/auth0/attack_protection/captcha/client.rb +8 -2
  22. data/lib/auth0/attack_protection/phone_provider_protection/client.rb +8 -2
  23. data/lib/auth0/attack_protection/suspicious_ip_throttling/client.rb +8 -2
  24. data/lib/auth0/branding/client.rb +8 -2
  25. data/lib/auth0/branding/phone/providers/client.rb +31 -5
  26. data/lib/auth0/branding/phone/templates/client.rb +39 -7
  27. data/lib/auth0/branding/templates/client.rb +10 -1
  28. data/lib/auth0/branding/themes/client.rb +162 -4
  29. data/lib/auth0/client.rb +8 -8
  30. data/lib/auth0/client_grants/client.rb +28 -4
  31. data/lib/auth0/client_grants/organizations/client.rb +9 -1
  32. data/lib/auth0/clients/client.rb +46 -7
  33. data/lib/auth0/clients/connections/client.rb +11 -1
  34. data/lib/auth0/clients/credentials/client.rb +36 -7
  35. data/lib/auth0/clients/types/create_client_request_content.rb +2 -0
  36. data/lib/auth0/clients/types/update_client_request_content.rb +2 -0
  37. data/lib/auth0/connection_profiles/client.rb +30 -6
  38. data/lib/auth0/connections/client.rb +37 -4
  39. data/lib/auth0/connections/clients/client.rb +21 -2
  40. data/lib/auth0/connections/directory_provisioning/client.rb +73 -8
  41. data/lib/auth0/connections/directory_provisioning/synchronizations/client.rb +4 -1
  42. data/lib/auth0/connections/keys/client.rb +31 -8
  43. data/lib/auth0/connections/scim_configuration/client.rb +37 -6
  44. data/lib/auth0/connections/scim_configuration/tokens/client.rb +14 -2
  45. data/lib/auth0/connections/users/client.rb +6 -0
  46. data/lib/auth0/custom_domains/client.rb +43 -8
  47. data/lib/auth0/device_credentials/client.rb +25 -2
  48. data/lib/auth0/email_templates/client.rb +19 -4
  49. data/lib/auth0/emails/provider/client.rb +23 -3
  50. data/lib/auth0/event_streams/client.rb +38 -5
  51. data/lib/auth0/event_streams/deliveries/client.rb +19 -2
  52. data/lib/auth0/event_streams/redeliveries/client.rb +10 -1
  53. data/lib/auth0/events/client.rb +7 -0
  54. data/lib/auth0/experimentation/client.rb +19 -0
  55. data/lib/auth0/experimentation/experiments/client.rb +63 -0
  56. data/lib/auth0/experimentation/experiments/types/advance_ramp_request_content.rb +15 -0
  57. data/lib/auth0/flows/client.rb +28 -4
  58. data/lib/auth0/flows/executions/client.rb +23 -2
  59. data/lib/auth0/flows/vault/connections/client.rb +31 -4
  60. data/lib/auth0/forms/client.rb +27 -4
  61. data/lib/auth0/groups/client.rb +21 -2
  62. data/lib/auth0/groups/members/client.rb +10 -1
  63. data/lib/auth0/groups/roles/client.rb +20 -1
  64. data/lib/auth0/guardian/client.rb +77 -0
  65. data/lib/auth0/guardian/enrollments/client.rb +11 -2
  66. data/lib/auth0/guardian/factors/client.rb +21 -5
  67. data/lib/auth0/guardian/factors/duo/settings/client.rb +12 -3
  68. data/lib/auth0/guardian/factors/email/client.rb +93 -0
  69. data/lib/auth0/guardian/factors/email/types/set_email_factor_settings_request_content.rb +17 -0
  70. data/lib/auth0/guardian/factors/phone/client.rb +110 -8
  71. data/lib/auth0/guardian/factors/phone/types/set_phone_factor_settings_request_content.rb +17 -0
  72. data/lib/auth0/guardian/factors/push_notification/client.rb +48 -12
  73. data/lib/auth0/guardian/factors/sms/client.rb +32 -9
  74. data/lib/auth0/guardian/policies/client.rb +8 -2
  75. data/lib/auth0/guardian/types/set_guardian_settings_request_content.rb +17 -0
  76. data/lib/auth0/hooks/client.rb +33 -4
  77. data/lib/auth0/hooks/secrets/client.rb +38 -4
  78. data/lib/auth0/jobs/client.rb +4 -1
  79. data/lib/auth0/jobs/errors/client.rb +9 -4
  80. data/lib/auth0/jobs/users_exports/client.rb +4 -1
  81. data/lib/auth0/jobs/users_imports/client.rb +14 -6
  82. data/lib/auth0/jobs/verification_email/client.rb +4 -1
  83. data/lib/auth0/keys/custom_signing/client.rb +13 -2
  84. data/lib/auth0/keys/encryption/client.rb +33 -5
  85. data/lib/auth0/keys/network_acls/client.rb +19 -3
  86. data/lib/auth0/keys/signing/client.rb +21 -7
  87. data/lib/auth0/log_streams/client.rb +29 -7
  88. data/lib/auth0/logs/client.rb +16 -2
  89. data/lib/auth0/network_acls/client.rb +41 -4
  90. data/lib/auth0/organizations/client.rb +109 -5
  91. data/lib/auth0/organizations/client_grants/client.rb +25 -2
  92. data/lib/auth0/organizations/clients/client.rb +38 -4
  93. data/lib/auth0/organizations/connections/client.rb +37 -4
  94. data/lib/auth0/organizations/connections/types/create_organization_all_connection_request_parameters.rb +2 -0
  95. data/lib/auth0/organizations/connections/types/update_organization_connection_request_parameters.rb +2 -0
  96. data/lib/auth0/organizations/discovery_domains/client.rb +42 -5
  97. data/lib/auth0/organizations/enabled_connections/client.rb +36 -4
  98. data/lib/auth0/organizations/groups/client.rb +8 -1
  99. data/lib/auth0/organizations/groups/roles/client.rb +23 -1
  100. data/lib/auth0/organizations/invitations/client.rb +40 -3
  101. data/lib/auth0/organizations/members/client.rb +23 -1
  102. data/lib/auth0/organizations/members/effective_roles/client.rb +9 -1
  103. data/lib/auth0/organizations/members/effective_roles/sources/groups/client.rb +10 -1
  104. data/lib/auth0/organizations/members/roles/client.rb +24 -1
  105. data/lib/auth0/organizations/organization_template/client.rb +16 -1
  106. data/lib/auth0/organizations/roles/groups/client.rb +9 -1
  107. data/lib/auth0/organizations/roles/members/client.rb +11 -1
  108. data/lib/auth0/organizations/types/search_organizations_request_parameters.rb +19 -0
  109. data/lib/auth0/prompts/client.rb +8 -2
  110. data/lib/auth0/prompts/custom_text/client.rb +20 -2
  111. data/lib/auth0/prompts/partials/client.rb +16 -2
  112. data/lib/auth0/prompts/rendering/client.rb +34 -4
  113. data/lib/auth0/rate_limit_policies/client.rb +37 -4
  114. data/lib/auth0/refresh_tokens/client.rb +25 -3
  115. data/lib/auth0/resource_servers/client.rb +102 -4
  116. data/lib/auth0/resource_servers/types/create_resource_server_request_content.rb +4 -0
  117. data/lib/auth0/resource_servers/types/search_resource_servers_request_parameters.rb +23 -0
  118. data/lib/auth0/resource_servers/types/update_resource_server_request_content.rb +4 -0
  119. data/lib/auth0/risk_assessments/settings/client.rb +8 -2
  120. data/lib/auth0/risk_assessments/settings/new_device/client.rb +8 -2
  121. data/lib/auth0/roles/client.rb +26 -4
  122. data/lib/auth0/roles/groups/client.rb +20 -1
  123. data/lib/auth0/roles/permissions/client.rb +27 -1
  124. data/lib/auth0/roles/users/client.rb +15 -1
  125. data/lib/auth0/rules/client.rb +33 -4
  126. data/lib/auth0/rules_configs/client.rb +19 -5
  127. data/lib/auth0/self_service_profiles/client.rb +23 -4
  128. data/lib/auth0/self_service_profiles/custom_text/client.rb +23 -3
  129. data/lib/auth0/self_service_profiles/sso_ticket/client.rb +10 -1
  130. data/lib/auth0/sessions/client.rb +14 -2
  131. data/lib/auth0/stats/client.rb +16 -5
  132. data/lib/auth0/supplemental_signals/client.rb +8 -2
  133. data/lib/auth0/tenants/settings/client.rb +11 -2
  134. data/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb +2 -0
  135. data/lib/auth0/tickets/client.rb +8 -2
  136. data/lib/auth0/token_exchange_profiles/client.rb +26 -3
  137. data/lib/auth0/types/advance_ramp_response_content.rb +15 -0
  138. data/lib/auth0/types/anonymous_sessions.rb +10 -0
  139. data/lib/auth0/types/client.rb +6 -0
  140. data/lib/auth0/types/client_my_organization_patch_configuration.rb +4 -0
  141. data/lib/auth0/types/client_my_organization_post_configuration.rb +4 -0
  142. data/lib/auth0/types/client_my_organization_response_configuration.rb +4 -0
  143. data/lib/auth0/types/connection_identity_provider_enum.rb +4 -13
  144. data/lib/auth0/types/connection_options_ad.rb +2 -0
  145. data/lib/auth0/types/connection_options_adfs.rb +2 -0
  146. data/lib/auth0/types/connection_options_azure_ad.rb +2 -0
  147. data/lib/auth0/types/connection_options_common_saml.rb +2 -0
  148. data/lib/auth0/types/connection_options_ping_federate.rb +2 -0
  149. data/lib/auth0/types/connection_options_saml.rb +2 -0
  150. data/lib/auth0/types/connection_properties_options.rb +4 -0
  151. data/lib/auth0/types/connection_strategy_enum.rb +4 -13
  152. data/lib/auth0/types/connection_thumbprints_sha384.rb +23 -0
  153. data/lib/auth0/types/connection_thumbprints_sha384ad.rb +23 -0
  154. data/lib/auth0/types/connection_thumbprints_sha384saml.rb +23 -0
  155. data/lib/auth0/types/create_anonymous_sessions.rb +10 -0
  156. data/lib/auth0/types/create_client_response_content.rb +6 -0
  157. data/lib/auth0/types/create_organization_all_connection_response_content.rb +2 -0
  158. data/lib/auth0/types/create_resource_server_response_content.rb +4 -0
  159. data/lib/auth0/types/get_client_response_content.rb +6 -0
  160. data/lib/auth0/types/get_email_factor_settings_response_content.rb +11 -0
  161. data/lib/auth0/types/get_guardian_settings_response_content.rb +15 -0
  162. data/lib/auth0/types/get_organization_all_connection_response_content.rb +2 -0
  163. data/lib/auth0/types/get_phone_factor_settings_response_content.rb +11 -0
  164. data/lib/auth0/types/get_resource_server_response_content.rb +4 -0
  165. data/lib/auth0/types/get_tenant_settings_response_content.rb +2 -0
  166. data/lib/auth0/types/oauth_scope.rb +1 -2
  167. data/lib/auth0/types/organization_all_connection_post.rb +2 -0
  168. data/lib/auth0/types/organization_member_access_level_enum.rb +14 -0
  169. data/lib/auth0/types/organization_member_access_level_enum_with_null.rb +14 -0
  170. data/lib/auth0/types/organization_sort_field_enum.rb +13 -0
  171. data/lib/auth0/types/resource_server.rb +4 -0
  172. data/lib/auth0/types/resource_server_access_token.rb +10 -0
  173. data/lib/auth0/types/resource_server_access_token_claims_mapping.rb +10 -0
  174. data/lib/auth0/types/resource_server_access_token_custom_claims_mapping.rb +23 -0
  175. data/lib/auth0/types/resource_server_access_token_custom_claims_mapping_rule.rb +11 -0
  176. data/lib/auth0/types/resource_server_search_response.rb +53 -0
  177. data/lib/auth0/types/resource_server_sort_field_enum.rb +13 -0
  178. data/lib/auth0/types/resource_server_subject_type_authorization.rb +2 -0
  179. data/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user.rb +10 -0
  180. data/lib/auth0/types/resource_server_subject_type_authorization_anonymous_user_policy_enum.rb +12 -0
  181. data/lib/auth0/types/rotate_client_secret_response_content.rb +6 -0
  182. data/lib/auth0/types/search_organization.rb +23 -0
  183. data/lib/auth0/types/{list_template_organizations_paginated_response_content.rb → search_organizations_paginated_response_content.rb} +3 -3
  184. data/lib/auth0/types/search_parser_enum.rb +12 -0
  185. data/lib/auth0/types/search_resource_servers_response_content.rb +11 -0
  186. data/lib/auth0/types/set_email_factor_settings_response_content.rb +11 -0
  187. data/lib/auth0/types/set_guardian_settings_response_content.rb +15 -0
  188. data/lib/auth0/types/set_phone_factor_settings_response_content.rb +11 -0
  189. data/lib/auth0/types/tenant_settings_sessions.rb +2 -0
  190. data/lib/auth0/types/tenant_settings_sessions_anonymous.rb +12 -0
  191. data/lib/auth0/types/update_anonymous_sessions.rb +10 -0
  192. data/lib/auth0/types/update_client_response_content.rb +6 -0
  193. data/lib/auth0/types/update_connection_options.rb +4 -0
  194. data/lib/auth0/types/update_organization_all_connection_response_content.rb +2 -0
  195. data/lib/auth0/types/update_resource_server_response_content.rb +4 -0
  196. data/lib/auth0/types/update_tenant_settings_response_content.rb +2 -0
  197. data/lib/auth0/user_attribute_profiles/client.rb +40 -6
  198. data/lib/auth0/user_blocks/client.rb +20 -2
  199. data/lib/auth0/user_grants/client.rb +17 -1
  200. data/lib/auth0/users/authentication_methods/client.rb +57 -9
  201. data/lib/auth0/users/authenticators/client.rb +3 -0
  202. data/lib/auth0/users/client.rb +54 -9
  203. data/lib/auth0/users/connected_accounts/client.rb +8 -1
  204. data/lib/auth0/users/effective_permissions/client.rb +9 -1
  205. data/lib/auth0/users/effective_permissions/sources/roles/client.rb +10 -1
  206. data/lib/auth0/users/effective_roles/client.rb +8 -1
  207. data/lib/auth0/users/effective_roles/sources/groups/client.rb +9 -1
  208. data/lib/auth0/users/enrollments/client.rb +9 -4
  209. data/lib/auth0/users/groups/client.rb +11 -1
  210. data/lib/auth0/users/identities/client.rb +17 -5
  211. data/lib/auth0/users/logs/client.rb +10 -1
  212. data/lib/auth0/users/multifactor/client.rb +9 -0
  213. data/lib/auth0/users/organizations/client.rb +9 -1
  214. data/lib/auth0/users/permissions/client.rb +27 -1
  215. data/lib/auth0/users/refresh_token/client.rb +12 -1
  216. data/lib/auth0/users/risk_assessments/client.rb +7 -0
  217. data/lib/auth0/users/roles/client.rb +21 -1
  218. data/lib/auth0/users/sessions/client.rb +12 -1
  219. data/lib/auth0/verifiable_credentials/verification/templates/client.rb +32 -4
  220. data/lib/auth0/version.rb +1 -1
  221. data/lib/auth0.rb +46 -16
  222. data/wiremock/wiremock-mappings.json +333 -191
  223. metadata +40 -10
  224. data/lib/auth0/organization_templates/client.rb +0 -220
  225. data/lib/auth0/organization_templates/types/create_organization_template_request_content.rb +0 -35
  226. data/lib/auth0/organization_templates/types/list_organization_templates_request_parameters.rb +0 -13
  227. data/lib/auth0/organization_templates/types/list_template_organizations_request_parameters.rb +0 -15
  228. data/lib/auth0/organization_templates/types/update_organization_template_request_content.rb +0 -37
  229. data/lib/auth0/types/list_organization_templates_paginated_response_content.rb +0 -11
  230. data/lib/auth0/types/organization_template_assigned_organization.rb +0 -10
@@ -38,6 +38,8 @@ module Auth0
38
38
 
39
39
  field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
40
40
 
41
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
42
+
41
43
  field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
42
44
  end
43
45
  end
@@ -28,6 +28,8 @@ module Auth0
28
28
 
29
29
  field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
30
30
 
31
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
32
+
31
33
  field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
32
34
 
33
35
  field :user_id_attribute, -> { String }, optional: true, nullable: false
@@ -128,6 +128,8 @@ module Auth0
128
128
 
129
129
  field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
130
130
 
131
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
132
+
131
133
  field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
132
134
 
133
135
  field :use_wsfed, -> { Internal::Types::Boolean }, optional: true, nullable: false
@@ -34,6 +34,8 @@ module Auth0
34
34
 
35
35
  field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
36
36
 
37
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
38
+
37
39
  field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
38
40
  end
39
41
  end
@@ -34,6 +34,8 @@ module Auth0
34
34
 
35
35
  field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
36
36
 
37
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
38
+
37
39
  field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
38
40
 
39
41
  field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
@@ -34,6 +34,8 @@ module Auth0
34
34
 
35
35
  field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
36
36
 
37
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
38
+
37
39
  field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
38
40
 
39
41
  field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
@@ -87,6 +87,10 @@ module Auth0
87
87
  field :discovery_url, -> { String }, optional: true, nullable: false
88
88
 
89
89
  field :oidc_metadata, -> { Auth0::Types::ConnectionsOidcMetadata }, optional: true, nullable: false
90
+
91
+ field :thumbprints, -> { Internal::Types::Array[String] }, optional: true, nullable: false
92
+
93
+ field :thumbprints_sha384, -> { Internal::Types::Array[String] }, optional: true, nullable: false
90
94
  end
91
95
  end
92
96
  end
@@ -61,23 +61,14 @@ module Auth0
61
61
  YAHOO = "yahoo"
62
62
  YANDEX = "yandex"
63
63
  NOTION_MCP = "notion-mcp"
64
- ASANA_MCP = "asana-mcp"
65
- ATLASSIAN_MCP = "atlassian-mcp"
64
+ ASANA = "asana"
65
+ ATLASSIAN = "atlassian"
66
66
  CLOUDFLARE_MCP = "cloudflare-mcp"
67
- DOCUSIGN_MCP = "docusign-mcp"
68
- FIGMA_MCP = "figma-mcp"
69
- GITLAB_MCP = "gitlab-mcp"
70
- GUSTO_MCP = "gusto-mcp"
71
- HEROKU_MCP = "heroku-mcp"
67
+ GITLAB = "gitlab"
72
68
  HUBSPOT_MCP = "hubspot-mcp"
73
- INTERCOM_MCP = "intercom-mcp"
74
69
  LINEAR_MCP = "linear-mcp"
75
- PAGERDUTY_MCP = "pagerduty-mcp"
76
70
  SENTRY_MCP = "sentry-mcp"
77
- SLACK_MCP = "slack-mcp"
78
- SUPABASE_MCP = "supabase-mcp"
79
- VERCEL_MCP = "vercel-mcp"
80
- XERO_MCP = "xero-mcp"
71
+ SLACK = "slack"
81
72
  AUTH0ADLDAP = "auth0-adldap"
82
73
  end
83
74
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module ConnectionThumbprintsSha384
6
+ # ConnectionThumbprintsSha384 is an alias for Array
7
+
8
+ # @option str [String]
9
+ #
10
+ # @return [untyped]
11
+ def self.load(str)
12
+ ::JSON.parse(str)
13
+ end
14
+
15
+ # @option value [untyped]
16
+ #
17
+ # @return [String]
18
+ def self.dump(value)
19
+ ::JSON.generate(value)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module ConnectionThumbprintsSha384Ad
6
+ # ConnectionThumbprintsSha384Ad is an alias for Array
7
+
8
+ # @option str [String]
9
+ #
10
+ # @return [untyped]
11
+ def self.load(str)
12
+ ::JSON.parse(str)
13
+ end
14
+
15
+ # @option value [untyped]
16
+ #
17
+ # @return [String]
18
+ def self.dump(value)
19
+ ::JSON.generate(value)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module ConnectionThumbprintsSha384SAML
6
+ # ConnectionThumbprintsSha384SAML is an alias for Array
7
+
8
+ # @option str [String]
9
+ #
10
+ # @return [untyped]
11
+ def self.load(str)
12
+ ::JSON.parse(str)
13
+ end
14
+
15
+ # @option value [untyped]
16
+ #
17
+ # @return [String]
18
+ def self.dump(value)
19
+ ::JSON.generate(value)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Anonymous sessions configuration for this client.
6
+ class CreateAnonymousSessions < Internal::Types::Model
7
+ field :active, -> { Internal::Types::Boolean }, optional: false, nullable: false
8
+ end
9
+ end
10
+ end
@@ -5,6 +5,10 @@ module Auth0
5
5
  class CreateClientResponseContent < Internal::Types::Model
6
6
  field :client_id, -> { String }, optional: true, nullable: false
7
7
 
8
+ field :created_at, -> { String }, optional: true, nullable: false
9
+
10
+ field :updated_at, -> { String }, optional: true, nullable: false
11
+
8
12
  field :tenant, -> { String }, optional: true, nullable: false
9
13
 
10
14
  field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ module Auth0
117
121
 
118
122
  field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
119
123
 
124
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
125
+
120
126
  field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
121
127
 
122
128
  field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
@@ -13,6 +13,8 @@ module Auth0
13
13
 
14
14
  field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false
15
15
 
16
+ field :organization_member_access_level, -> { Auth0::Types::OrganizationMemberAccessLevelEnum }, optional: true, nullable: false
17
+
16
18
  field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
17
19
 
18
20
  field :connection_id, -> { String }, optional: false, nullable: false
@@ -31,8 +31,12 @@ module Auth0
31
31
 
32
32
  field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
33
33
 
34
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
35
+
34
36
  field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
35
37
 
38
+ field :access_token, -> { Auth0::Types::ResourceServerAccessToken }, optional: true, nullable: false
39
+
36
40
  field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
37
41
 
38
42
  field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false
@@ -5,6 +5,10 @@ module Auth0
5
5
  class GetClientResponseContent < Internal::Types::Model
6
6
  field :client_id, -> { String }, optional: true, nullable: false
7
7
 
8
+ field :created_at, -> { String }, optional: true, nullable: false
9
+
10
+ field :updated_at, -> { String }, optional: true, nullable: false
11
+
8
12
  field :tenant, -> { String }, optional: true, nullable: false
9
13
 
10
14
  field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ module Auth0
117
121
 
118
122
  field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
119
123
 
124
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
125
+
120
126
  field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
121
127
 
122
128
  field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ class GetEmailFactorSettingsResponseContent < Internal::Types::Model
6
+ field :otp_length, -> { Integer }, optional: false, nullable: false
7
+
8
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ class GetGuardianSettingsResponseContent < Internal::Types::Model
6
+ field :display_remember_me_checkbox, -> { Internal::Types::Boolean }, optional: false, nullable: false
7
+
8
+ field :remember_me_default_value, -> { Internal::Types::Boolean }, optional: false, nullable: false
9
+
10
+ field :mfa_session_inactivity_timeout, -> { Integer }, optional: false, nullable: false
11
+
12
+ field :mfa_session_overall_timeout, -> { Integer }, optional: false, nullable: false
13
+ end
14
+ end
15
+ end
@@ -13,6 +13,8 @@ module Auth0
13
13
 
14
14
  field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false
15
15
 
16
+ field :organization_member_access_level, -> { Auth0::Types::OrganizationMemberAccessLevelEnum }, optional: true, nullable: false
17
+
16
18
  field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
17
19
 
18
20
  field :connection_id, -> { String }, optional: false, nullable: false
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ class GetPhoneFactorSettingsResponseContent < Internal::Types::Model
6
+ field :otp_length, -> { Integer }, optional: false, nullable: false
7
+
8
+ field :otp_expiration_time, -> { Integer }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
@@ -31,8 +31,12 @@ module Auth0
31
31
 
32
32
  field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
33
33
 
34
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
35
+
34
36
  field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
35
37
 
38
+ field :access_token, -> { Auth0::Types::ResourceServerAccessToken }, optional: true, nullable: false
39
+
36
40
  field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
37
41
 
38
42
  field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false
@@ -47,6 +47,8 @@ module Auth0
47
47
 
48
48
  field :enabled_locales, -> { Internal::Types::Array[Auth0::Types::SupportedLocales] }, optional: true, nullable: false
49
49
 
50
+ field :access_token, -> { Auth0::Types::ResourceServerAccessToken }, optional: true, nullable: false
51
+
50
52
  field :security_headers, -> { Auth0::Types::TenantSettingsNullableSecurityHeaders }, optional: true, nullable: false
51
53
 
52
54
  field :session_cookie, -> { Auth0::Types::SessionCookieSchema }, optional: true, nullable: false
@@ -89,6 +89,7 @@ module Auth0
89
89
  UPDATE_EVENT_STREAMS = "update:event_streams"
90
90
  DELETE_EVENT_STREAMS = "delete:event_streams"
91
91
  READ_EVENTS = "read:events"
92
+ UPDATE_EXPERIMENTATION = "update:experimentation"
92
93
  CREATE_FLOWS = "create:flows"
93
94
  READ_FLOWS = "read:flows"
94
95
  UPDATE_FLOWS = "update:flows"
@@ -249,9 +250,7 @@ module Auth0
249
250
  READ_ORGANIZATION_CLIENTS = "read:organization_clients"
250
251
  UPDATE_ORGANIZATION_CLIENTS = "update:organization_clients"
251
252
  DELETE_ORGANIZATION_CLIENTS = "delete:organization_clients"
252
- CREATE_ORGANIZATION_TEMPLATES = "create:organization_templates"
253
253
  READ_ORGANIZATION_TEMPLATES = "read:organization_templates"
254
- UPDATE_ORGANIZATION_TEMPLATES = "update:organization_templates"
255
254
  CREATE_NETWORK_ACL_KEYS = "create:network_acl_keys"
256
255
  READ_NETWORK_ACL_KEYS = "read:network_acl_keys"
257
256
  DELETE_NETWORK_ACL_KEYS = "delete:network_acl_keys"
@@ -13,6 +13,8 @@ module Auth0
13
13
 
14
14
  field :organization_access_level, -> { Auth0::Types::OrganizationAccessLevelEnum }, optional: true, nullable: false
15
15
 
16
+ field :organization_member_access_level, -> { Auth0::Types::OrganizationMemberAccessLevelEnum }, optional: true, nullable: false
17
+
16
18
  field :is_enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
17
19
 
18
20
  field :connection_id, -> { String }, optional: false, nullable: false
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module OrganizationMemberAccessLevelEnum
6
+ extend Auth0::Internal::Types::Enum
7
+
8
+ NONE = "none"
9
+ READONLY = "readonly"
10
+ LIMITED = "limited"
11
+ FULL = "full"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module OrganizationMemberAccessLevelEnumWithNull
6
+ extend Auth0::Internal::Types::Enum
7
+
8
+ NONE = "none"
9
+ READONLY = "readonly"
10
+ LIMITED = "limited"
11
+ FULL = "full"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module OrganizationSortFieldEnum
6
+ extend Auth0::Internal::Types::Enum
7
+
8
+ NAME = "name"
9
+ DISPLAY_NAME = "display_name"
10
+ CREATED_AT = "created_at"
11
+ end
12
+ end
13
+ end
@@ -31,8 +31,12 @@ module Auth0
31
31
 
32
32
  field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
33
33
 
34
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
35
+
34
36
  field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
35
37
 
38
+ field :access_token, -> { Auth0::Types::ResourceServerAccessToken }, optional: true, nullable: false
39
+
36
40
  field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
37
41
 
38
42
  field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Custom configuration for access tokens
6
+ class ResourceServerAccessToken < Internal::Types::Model
7
+ field :claims_mapping, -> { Auth0::Types::ResourceServerAccessTokenClaimsMapping }, optional: true, nullable: false
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Custom configuration for claims in access tokens
6
+ class ResourceServerAccessTokenClaimsMapping < Internal::Types::Model
7
+ field :custom_claims, -> { Internal::Types::Array[Auth0::Types::ResourceServerAccessTokenCustomClaimsMappingRule] }, optional: true, nullable: false
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module ResourceServerAccessTokenCustomClaimsMapping
6
+ # ResourceServerAccessTokenCustomClaimsMapping is an alias for Array
7
+
8
+ # @option str [String]
9
+ #
10
+ # @return [untyped]
11
+ def self.load(str)
12
+ ::JSON.parse(str)
13
+ end
14
+
15
+ # @option value [untyped]
16
+ #
17
+ # @return [String]
18
+ def self.dump(value)
19
+ ::JSON.generate(value)
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ class ResourceServerAccessTokenCustomClaimsMappingRule < Internal::Types::Model
6
+ field :name, -> { String }, optional: false, nullable: false
7
+
8
+ field :expression, -> { String }, optional: false, nullable: false
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ class ResourceServerSearchResponse < Internal::Types::Model
6
+ field :id, -> { String }, optional: true, nullable: false
7
+
8
+ field :name, -> { String }, optional: true, nullable: false
9
+
10
+ field :is_system, -> { Internal::Types::Boolean }, optional: true, nullable: false
11
+
12
+ field :identifier, -> { String }, optional: true, nullable: false
13
+
14
+ field :scopes, -> { Internal::Types::Array[Auth0::Types::ResourceServerScope] }, optional: true, nullable: false
15
+
16
+ field :signing_alg, -> { Auth0::Types::SigningAlgorithmEnum }, optional: true, nullable: false
17
+
18
+ field :allow_offline_access, -> { Internal::Types::Boolean }, optional: true, nullable: false
19
+
20
+ field :allow_online_access, -> { Internal::Types::Boolean }, optional: true, nullable: false
21
+
22
+ field :allow_online_access_with_ephemeral_sessions, -> { Internal::Types::Boolean }, optional: true, nullable: false
23
+
24
+ field :skip_consent_for_verifiable_first_party_clients, -> { Internal::Types::Boolean }, optional: true, nullable: false
25
+
26
+ field :token_lifetime, -> { Integer }, optional: true, nullable: false
27
+
28
+ field :token_lifetime_for_web, -> { Integer }, optional: true, nullable: false
29
+
30
+ field :enforce_policies, -> { Internal::Types::Boolean }, optional: true, nullable: false
31
+
32
+ field :token_lifetime_for_anonymous_access_tokens, -> { Integer }, optional: true, nullable: false
33
+
34
+ field :token_dialect, -> { Auth0::Types::ResourceServerTokenDialectResponseEnum }, optional: true, nullable: false
35
+
36
+ field :access_token, -> { Auth0::Types::ResourceServerAccessToken }, optional: true, nullable: false
37
+
38
+ field :token_encryption, -> { Auth0::Types::ResourceServerTokenEncryption }, optional: true, nullable: false
39
+
40
+ field :consent_policy, -> { Auth0::Types::ResourceServerConsentPolicyEnum }, optional: true, nullable: false
41
+
42
+ field :authorization_details, -> { Internal::Types::Array[Object] }, optional: true, nullable: false
43
+
44
+ field :proof_of_possession, -> { Auth0::Types::ResourceServerProofOfPossession }, optional: true, nullable: false
45
+
46
+ field :subject_type_authorization, -> { Auth0::Types::ResourceServerSubjectTypeAuthorization }, optional: true, nullable: false
47
+
48
+ field :authorization_policy, -> { Auth0::Types::ResourceServerAuthorizationPolicy }, optional: true, nullable: false
49
+
50
+ field :client_id, -> { String }, optional: true, nullable: false
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module ResourceServerSortFieldEnum
6
+ extend Auth0::Internal::Types::Enum
7
+
8
+ IDENTIFIER = "identifier"
9
+ NAME = "name"
10
+ UPDATED_AT = "updated_at"
11
+ end
12
+ end
13
+ end
@@ -7,6 +7,8 @@ module Auth0
7
7
  field :user, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationUser }, optional: true, nullable: false
8
8
 
9
9
  field :client, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationClient }, optional: true, nullable: false
10
+
11
+ field :anonymous_user, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationAnonymousUser }, optional: true, nullable: false
10
12
  end
11
13
  end
12
14
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Access Permissions for anonymous user flows
6
+ class ResourceServerSubjectTypeAuthorizationAnonymousUser < Internal::Types::Model
7
+ field :policy, -> { Auth0::Types::ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum }, optional: true, nullable: false
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module ResourceServerSubjectTypeAuthorizationAnonymousUserPolicyEnum
6
+ extend Auth0::Internal::Types::Enum
7
+
8
+ DENY_ALL = "deny_all"
9
+ REQUIRE_CLIENT_GRANT = "require_client_grant"
10
+ end
11
+ end
12
+ end
@@ -5,6 +5,10 @@ module Auth0
5
5
  class RotateClientSecretResponseContent < Internal::Types::Model
6
6
  field :client_id, -> { String }, optional: true, nullable: false
7
7
 
8
+ field :created_at, -> { String }, optional: true, nullable: false
9
+
10
+ field :updated_at, -> { String }, optional: true, nullable: false
11
+
8
12
  field :tenant, -> { String }, optional: true, nullable: false
9
13
 
10
14
  field :name, -> { String }, optional: true, nullable: false
@@ -117,6 +121,8 @@ module Auth0
117
121
 
118
122
  field :identity_assertion_authorization_grant, -> { Auth0::Types::IdentityAssertionAuthorizationGrant }, optional: true, nullable: false
119
123
 
124
+ field :anonymous_sessions, -> { Auth0::Types::AnonymousSessions }, optional: true, nullable: false
125
+
120
126
  field :third_party_security_mode, -> { Auth0::Types::ClientThirdPartySecurityModeEnum }, optional: true, nullable: false
121
127
 
122
128
  field :redirection_policy, -> { Auth0::Types::ClientRedirectionPolicyEnum }, optional: true, nullable: false
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ class SearchOrganization < Internal::Types::Model
6
+ field :id, -> { String }, optional: true, nullable: false
7
+
8
+ field :name, -> { String }, optional: true, nullable: false
9
+
10
+ field :display_name, -> { String }, optional: true, nullable: false
11
+
12
+ field :branding, -> { Auth0::Types::OrganizationBranding }, optional: true, nullable: false
13
+
14
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
15
+
16
+ field :token_quota, -> { Auth0::Types::TokenQuota }, optional: true, nullable: false
17
+
18
+ field :third_party_client_access, -> { Auth0::Types::OrganizationThirdPartyClientAccessEnum }, optional: true, nullable: false
19
+
20
+ field :is_app_entitlement_active, -> { Internal::Types::Boolean }, optional: true, nullable: false
21
+ end
22
+ end
23
+ end
@@ -2,10 +2,10 @@
2
2
 
3
3
  module Auth0
4
4
  module Types
5
- class ListTemplateOrganizationsPaginatedResponseContent < Internal::Types::Model
6
- field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
5
+ class SearchOrganizationsPaginatedResponseContent < Internal::Types::Model
6
+ field :organizations, -> { Internal::Types::Array[Auth0::Types::SearchOrganization] }, optional: false, nullable: false
7
7
 
8
- field :organizations, -> { Internal::Types::Array[Auth0::Types::OrganizationTemplateAssignedOrganization] }, optional: false, nullable: false
8
+ field :next_, -> { String }, optional: true, nullable: false, api_name: "next"
9
9
  end
10
10
  end
11
11
  end