auth0 6.0.0.beta.1 → 6.0.0.beta.2

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 (274) hide show
  1. checksums.yaml +4 -4
  2. data/.fern/metadata.json +4 -4
  3. data/.version +1 -1
  4. data/CHANGELOG.md +6 -0
  5. data/lib/auth0/branding/phone/providers/client.rb +14 -13
  6. data/lib/auth0/branding/types/update_branding_request_content.rb +0 -2
  7. data/lib/auth0/clients/client.rb +6 -9
  8. data/lib/auth0/emails/provider/client.rb +52 -100
  9. data/lib/auth0/groups/roles/client.rb +3 -5
  10. data/lib/auth0/refresh_tokens/client.rb +1 -1
  11. data/lib/auth0/tenants/settings/types/update_tenant_settings_request_content.rb +12 -0
  12. data/lib/auth0/types/acul_context_enum.rb +1 -0
  13. data/lib/auth0/types/client_my_organization_patch_configuration.rb +2 -0
  14. data/lib/auth0/types/client_my_organization_post_configuration.rb +2 -0
  15. data/lib/auth0/types/client_my_organization_response_configuration.rb +2 -0
  16. data/lib/auth0/types/connection_id_token_session_expiry_supported.rb +23 -0
  17. data/lib/auth0/types/connection_options_ad.rb +2 -0
  18. data/lib/auth0/types/connection_options_adfs.rb +2 -0
  19. data/lib/auth0/types/connection_options_amazon.rb +2 -0
  20. data/lib/auth0/types/connection_options_apple.rb +2 -0
  21. data/lib/auth0/types/connection_options_auth0.rb +2 -0
  22. data/lib/auth0/types/connection_options_azure_ad.rb +2 -0
  23. data/lib/auth0/types/connection_options_baidu.rb +13 -1
  24. data/lib/auth0/types/connection_options_bitbucket.rb +2 -0
  25. data/lib/auth0/types/connection_options_bitly.rb +13 -1
  26. data/lib/auth0/types/connection_options_box.rb +13 -1
  27. data/lib/auth0/types/connection_options_common_oidc.rb +2 -0
  28. data/lib/auth0/types/connection_options_daccount.rb +13 -1
  29. data/lib/auth0/types/connection_options_dropbox.rb +13 -1
  30. data/lib/auth0/types/connection_options_dwolla.rb +13 -1
  31. data/lib/auth0/types/connection_options_email.rb +2 -0
  32. data/lib/auth0/types/connection_options_evernote.rb +11 -1
  33. data/lib/auth0/types/connection_options_exact.rb +2 -0
  34. data/lib/auth0/types/connection_options_facebook.rb +2 -0
  35. data/lib/auth0/types/connection_options_fitbit.rb +13 -1
  36. data/lib/auth0/types/connection_options_git_hub.rb +2 -0
  37. data/lib/auth0/types/connection_options_google_apps.rb +2 -0
  38. data/lib/auth0/types/connection_options_google_o_auth2.rb +2 -0
  39. data/lib/auth0/types/connection_options_instagram.rb +13 -1
  40. data/lib/auth0/types/connection_options_line.rb +2 -0
  41. data/lib/auth0/types/connection_options_linkedin.rb +2 -0
  42. data/lib/auth0/types/connection_options_o_auth1.rb +2 -0
  43. data/lib/auth0/types/connection_options_o_auth1common.rb +2 -0
  44. data/lib/auth0/types/connection_options_o_auth2.rb +2 -0
  45. data/lib/auth0/types/connection_options_o_auth2common.rb +2 -0
  46. data/lib/auth0/types/connection_options_oidc.rb +48 -0
  47. data/lib/auth0/types/connection_options_okta.rb +48 -0
  48. data/lib/auth0/types/connection_options_paypal.rb +2 -0
  49. data/lib/auth0/types/connection_options_ping_federate.rb +34 -0
  50. data/lib/auth0/types/connection_options_planning_center.rb +13 -1
  51. data/lib/auth0/types/connection_options_salesforce.rb +2 -0
  52. data/lib/auth0/types/connection_options_salesforce_community.rb +16 -0
  53. data/lib/auth0/types/connection_options_saml.rb +34 -0
  54. data/lib/auth0/types/connection_options_sharepoint.rb +13 -1
  55. data/lib/auth0/types/connection_options_shop.rb +13 -1
  56. data/lib/auth0/types/connection_options_shopify.rb +13 -1
  57. data/lib/auth0/types/connection_options_sms.rb +2 -0
  58. data/lib/auth0/types/connection_options_soundcloud.rb +13 -1
  59. data/lib/auth0/types/connection_options_thirty_seven_signals.rb +13 -1
  60. data/lib/auth0/types/connection_options_twitter.rb +2 -0
  61. data/lib/auth0/types/connection_options_untappd.rb +13 -1
  62. data/lib/auth0/types/connection_options_vkontakte.rb +13 -1
  63. data/lib/auth0/types/connection_options_weibo.rb +13 -1
  64. data/lib/auth0/types/connection_options_windows_live.rb +2 -0
  65. data/lib/auth0/types/connection_options_wordpress.rb +13 -1
  66. data/lib/auth0/types/connection_options_yahoo.rb +13 -1
  67. data/lib/auth0/types/connection_options_yandex.rb +13 -1
  68. data/lib/auth0/types/connection_properties_options.rb +2 -0
  69. data/lib/auth0/types/connection_response_common.rb +10 -0
  70. data/lib/auth0/types/connection_response_content_ad.rb +18 -0
  71. data/lib/auth0/types/connection_response_content_adfs.rb +18 -0
  72. data/lib/auth0/types/connection_response_content_amazon.rb +18 -0
  73. data/lib/auth0/types/connection_response_content_apple.rb +18 -0
  74. data/lib/auth0/types/connection_response_content_auth0.rb +18 -0
  75. data/lib/auth0/types/connection_response_content_auth0oidc.rb +18 -0
  76. data/lib/auth0/types/connection_response_content_azure_ad.rb +18 -0
  77. data/lib/auth0/types/connection_response_content_baidu.rb +18 -0
  78. data/lib/auth0/types/connection_response_content_bitbucket.rb +18 -0
  79. data/lib/auth0/types/connection_response_content_bitly.rb +18 -0
  80. data/lib/auth0/types/connection_response_content_box.rb +18 -0
  81. data/lib/auth0/types/connection_response_content_custom.rb +18 -0
  82. data/lib/auth0/types/connection_response_content_daccount.rb +18 -0
  83. data/lib/auth0/types/connection_response_content_dropbox.rb +18 -0
  84. data/lib/auth0/types/connection_response_content_dwolla.rb +18 -0
  85. data/lib/auth0/types/connection_response_content_email.rb +18 -0
  86. data/lib/auth0/types/connection_response_content_evernote.rb +18 -0
  87. data/lib/auth0/types/connection_response_content_evernote_sandbox.rb +18 -0
  88. data/lib/auth0/types/connection_response_content_exact.rb +18 -0
  89. data/lib/auth0/types/connection_response_content_facebook.rb +18 -0
  90. data/lib/auth0/types/connection_response_content_fitbit.rb +18 -0
  91. data/lib/auth0/types/connection_response_content_git_hub.rb +18 -0
  92. data/lib/auth0/types/connection_response_content_google_apps.rb +18 -0
  93. data/lib/auth0/types/connection_response_content_google_o_auth2.rb +18 -0
  94. data/lib/auth0/types/connection_response_content_instagram.rb +18 -0
  95. data/lib/auth0/types/connection_response_content_ip.rb +18 -0
  96. data/lib/auth0/types/connection_response_content_line.rb +18 -0
  97. data/lib/auth0/types/connection_response_content_linkedin.rb +18 -0
  98. data/lib/auth0/types/connection_response_content_o_auth1.rb +18 -0
  99. data/lib/auth0/types/connection_response_content_o_auth2.rb +18 -0
  100. data/lib/auth0/types/connection_response_content_office365.rb +18 -0
  101. data/lib/auth0/types/connection_response_content_oidc.rb +14 -0
  102. data/lib/auth0/types/connection_response_content_okta.rb +18 -0
  103. data/lib/auth0/types/connection_response_content_paypal.rb +18 -0
  104. data/lib/auth0/types/connection_response_content_paypal_sandbox.rb +18 -0
  105. data/lib/auth0/types/connection_response_content_ping_federate.rb +18 -0
  106. data/lib/auth0/types/connection_response_content_planning_center.rb +18 -0
  107. data/lib/auth0/types/connection_response_content_salesforce.rb +18 -0
  108. data/lib/auth0/types/connection_response_content_salesforce_community.rb +18 -0
  109. data/lib/auth0/types/connection_response_content_salesforce_sandbox.rb +18 -0
  110. data/lib/auth0/types/connection_response_content_saml.rb +18 -0
  111. data/lib/auth0/types/connection_response_content_sharepoint.rb +18 -0
  112. data/lib/auth0/types/connection_response_content_shop.rb +18 -0
  113. data/lib/auth0/types/connection_response_content_shopify.rb +18 -0
  114. data/lib/auth0/types/connection_response_content_sms.rb +18 -0
  115. data/lib/auth0/types/connection_response_content_soundcloud.rb +18 -0
  116. data/lib/auth0/types/connection_response_content_thirty_seven_signals.rb +18 -0
  117. data/lib/auth0/types/connection_response_content_twitter.rb +18 -0
  118. data/lib/auth0/types/connection_response_content_untappd.rb +18 -0
  119. data/lib/auth0/types/connection_response_content_vkontakte.rb +18 -0
  120. data/lib/auth0/types/connection_response_content_weibo.rb +18 -0
  121. data/lib/auth0/types/connection_response_content_windows_live.rb +18 -0
  122. data/lib/auth0/types/connection_response_content_wordpress.rb +18 -0
  123. data/lib/auth0/types/connection_response_content_yahoo.rb +18 -0
  124. data/lib/auth0/types/connection_response_content_yandex.rb +18 -0
  125. data/lib/auth0/types/content_security_policy_config.rb +14 -0
  126. data/lib/auth0/types/create_connection_request_content_ad.rb +10 -0
  127. data/lib/auth0/types/create_connection_request_content_adfs.rb +10 -0
  128. data/lib/auth0/types/create_connection_request_content_amazon.rb +10 -0
  129. data/lib/auth0/types/create_connection_request_content_apple.rb +10 -0
  130. data/lib/auth0/types/create_connection_request_content_auth0.rb +10 -0
  131. data/lib/auth0/types/create_connection_request_content_auth0oidc.rb +10 -0
  132. data/lib/auth0/types/create_connection_request_content_azure_ad.rb +10 -0
  133. data/lib/auth0/types/create_connection_request_content_baidu.rb +10 -0
  134. data/lib/auth0/types/create_connection_request_content_bitbucket.rb +10 -0
  135. data/lib/auth0/types/create_connection_request_content_bitly.rb +10 -0
  136. data/lib/auth0/types/create_connection_request_content_box.rb +14 -0
  137. data/lib/auth0/types/create_connection_request_content_custom.rb +10 -0
  138. data/lib/auth0/types/create_connection_request_content_daccount.rb +10 -0
  139. data/lib/auth0/types/create_connection_request_content_dropbox.rb +10 -0
  140. data/lib/auth0/types/create_connection_request_content_dwolla.rb +10 -0
  141. data/lib/auth0/types/create_connection_request_content_email.rb +10 -0
  142. data/lib/auth0/types/create_connection_request_content_evernote.rb +10 -0
  143. data/lib/auth0/types/create_connection_request_content_evernote_sandbox.rb +10 -0
  144. data/lib/auth0/types/create_connection_request_content_exact.rb +10 -0
  145. data/lib/auth0/types/create_connection_request_content_facebook.rb +10 -0
  146. data/lib/auth0/types/create_connection_request_content_fitbit.rb +10 -0
  147. data/lib/auth0/types/create_connection_request_content_git_hub.rb +14 -0
  148. data/lib/auth0/types/create_connection_request_content_google_apps.rb +10 -0
  149. data/lib/auth0/types/create_connection_request_content_google_o_auth2.rb +14 -0
  150. data/lib/auth0/types/create_connection_request_content_instagram.rb +10 -0
  151. data/lib/auth0/types/create_connection_request_content_ip.rb +10 -0
  152. data/lib/auth0/types/create_connection_request_content_line.rb +10 -0
  153. data/lib/auth0/types/create_connection_request_content_linkedin.rb +10 -0
  154. data/lib/auth0/types/create_connection_request_content_o_auth1.rb +10 -0
  155. data/lib/auth0/types/create_connection_request_content_o_auth2.rb +14 -0
  156. data/lib/auth0/types/create_connection_request_content_office365.rb +10 -0
  157. data/lib/auth0/types/create_connection_request_content_oidc.rb +10 -0
  158. data/lib/auth0/types/create_connection_request_content_okta.rb +10 -0
  159. data/lib/auth0/types/create_connection_request_content_paypal.rb +10 -0
  160. data/lib/auth0/types/create_connection_request_content_paypal_sandbox.rb +10 -0
  161. data/lib/auth0/types/create_connection_request_content_ping_federate.rb +10 -0
  162. data/lib/auth0/types/create_connection_request_content_planning_center.rb +10 -0
  163. data/lib/auth0/types/create_connection_request_content_salesforce.rb +10 -0
  164. data/lib/auth0/types/create_connection_request_content_salesforce_community.rb +10 -0
  165. data/lib/auth0/types/create_connection_request_content_salesforce_sandbox.rb +10 -0
  166. data/lib/auth0/types/create_connection_request_content_saml.rb +10 -0
  167. data/lib/auth0/types/create_connection_request_content_sharepoint.rb +10 -0
  168. data/lib/auth0/types/create_connection_request_content_shop.rb +10 -0
  169. data/lib/auth0/types/create_connection_request_content_shopify.rb +10 -0
  170. data/lib/auth0/types/create_connection_request_content_sms.rb +10 -0
  171. data/lib/auth0/types/create_connection_request_content_soundcloud.rb +10 -0
  172. data/lib/auth0/types/create_connection_request_content_thirty_seven_signals.rb +10 -0
  173. data/lib/auth0/types/create_connection_request_content_twitter.rb +10 -0
  174. data/lib/auth0/types/create_connection_request_content_untappd.rb +10 -0
  175. data/lib/auth0/types/create_connection_request_content_vkontakte.rb +10 -0
  176. data/lib/auth0/types/create_connection_request_content_weibo.rb +10 -0
  177. data/lib/auth0/types/create_connection_request_content_windows_live.rb +14 -0
  178. data/lib/auth0/types/create_connection_request_content_wordpress.rb +10 -0
  179. data/lib/auth0/types/create_connection_request_content_yahoo.rb +10 -0
  180. data/lib/auth0/types/create_connection_request_content_yandex.rb +10 -0
  181. data/lib/auth0/types/create_phone_template_response_content.rb +1 -1
  182. data/lib/auth0/types/csp_directives.rb +23 -0
  183. data/lib/auth0/types/csp_flag.rb +12 -0
  184. data/lib/auth0/types/csp_flags.rb +23 -0
  185. data/lib/auth0/types/csp_policies.rb +23 -0
  186. data/lib/auth0/types/csp_policy.rb +16 -0
  187. data/lib/auth0/types/{branding_login_display_enum.rb → csp_policy_mode.rb} +3 -3
  188. data/lib/auth0/types/csp_policy_reporting.rb +12 -0
  189. data/lib/auth0/types/csp_report_to.rb +14 -0
  190. data/lib/auth0/types/csp_report_to_endpoint.rb +10 -0
  191. data/lib/auth0/types/csp_report_to_endpoints.rb +23 -0
  192. data/lib/auth0/types/csp_reporting_endpoints.rb +23 -0
  193. data/lib/auth0/types/csp_reporting_infrastructure.rb +12 -0
  194. data/lib/auth0/types/get_branding_response_content.rb +0 -2
  195. data/lib/auth0/types/get_phone_template_response_content.rb +1 -1
  196. data/lib/auth0/types/get_tenant_settings_response_content.rb +4 -0
  197. data/lib/auth0/types/phone_template.rb +1 -1
  198. data/lib/auth0/types/prompt_group_name_enum.rb +1 -0
  199. data/lib/auth0/types/reset_phone_template_response_content.rb +1 -1
  200. data/lib/auth0/types/screen_group_name_enum.rb +1 -0
  201. data/lib/auth0/types/tenant_settings_nullable_security_headers.rb +12 -0
  202. data/lib/auth0/types/update_branding_response_content.rb +0 -2
  203. data/lib/auth0/types/update_connection_options.rb +2 -0
  204. data/lib/auth0/types/update_connection_request_content_ad.rb +8 -0
  205. data/lib/auth0/types/update_connection_request_content_adfs.rb +8 -0
  206. data/lib/auth0/types/update_connection_request_content_amazon.rb +8 -0
  207. data/lib/auth0/types/update_connection_request_content_apple.rb +8 -0
  208. data/lib/auth0/types/update_connection_request_content_auth0.rb +8 -0
  209. data/lib/auth0/types/update_connection_request_content_auth0oidc.rb +8 -0
  210. data/lib/auth0/types/update_connection_request_content_azure_ad.rb +8 -0
  211. data/lib/auth0/types/update_connection_request_content_baidu.rb +8 -0
  212. data/lib/auth0/types/update_connection_request_content_bitbucket.rb +8 -0
  213. data/lib/auth0/types/update_connection_request_content_bitly.rb +8 -0
  214. data/lib/auth0/types/update_connection_request_content_box.rb +12 -0
  215. data/lib/auth0/types/update_connection_request_content_custom.rb +8 -0
  216. data/lib/auth0/types/update_connection_request_content_daccount.rb +8 -0
  217. data/lib/auth0/types/update_connection_request_content_dropbox.rb +8 -0
  218. data/lib/auth0/types/update_connection_request_content_dwolla.rb +8 -0
  219. data/lib/auth0/types/update_connection_request_content_email.rb +8 -0
  220. data/lib/auth0/types/update_connection_request_content_evernote.rb +8 -0
  221. data/lib/auth0/types/update_connection_request_content_evernote_sandbox.rb +8 -0
  222. data/lib/auth0/types/update_connection_request_content_exact.rb +8 -0
  223. data/lib/auth0/types/update_connection_request_content_facebook.rb +8 -0
  224. data/lib/auth0/types/update_connection_request_content_fitbit.rb +8 -0
  225. data/lib/auth0/types/update_connection_request_content_git_hub.rb +12 -0
  226. data/lib/auth0/types/update_connection_request_content_google_apps.rb +8 -0
  227. data/lib/auth0/types/update_connection_request_content_google_o_auth2.rb +12 -0
  228. data/lib/auth0/types/update_connection_request_content_instagram.rb +8 -0
  229. data/lib/auth0/types/update_connection_request_content_ip.rb +8 -0
  230. data/lib/auth0/types/update_connection_request_content_line.rb +8 -0
  231. data/lib/auth0/types/update_connection_request_content_linkedin.rb +8 -0
  232. data/lib/auth0/types/update_connection_request_content_o_auth1.rb +8 -0
  233. data/lib/auth0/types/update_connection_request_content_o_auth2.rb +12 -0
  234. data/lib/auth0/types/update_connection_request_content_office365.rb +8 -0
  235. data/lib/auth0/types/update_connection_request_content_oidc.rb +8 -0
  236. data/lib/auth0/types/update_connection_request_content_okta.rb +8 -0
  237. data/lib/auth0/types/update_connection_request_content_paypal.rb +8 -0
  238. data/lib/auth0/types/update_connection_request_content_paypal_sandbox.rb +8 -0
  239. data/lib/auth0/types/update_connection_request_content_ping_federate.rb +8 -0
  240. data/lib/auth0/types/update_connection_request_content_planning_center.rb +8 -0
  241. data/lib/auth0/types/update_connection_request_content_salesforce.rb +8 -0
  242. data/lib/auth0/types/update_connection_request_content_salesforce_community.rb +8 -0
  243. data/lib/auth0/types/update_connection_request_content_salesforce_sandbox.rb +8 -0
  244. data/lib/auth0/types/update_connection_request_content_saml.rb +8 -0
  245. data/lib/auth0/types/update_connection_request_content_sharepoint.rb +8 -0
  246. data/lib/auth0/types/update_connection_request_content_shop.rb +8 -0
  247. data/lib/auth0/types/update_connection_request_content_shopify.rb +8 -0
  248. data/lib/auth0/types/update_connection_request_content_sms.rb +8 -0
  249. data/lib/auth0/types/update_connection_request_content_soundcloud.rb +8 -0
  250. data/lib/auth0/types/update_connection_request_content_thirty_seven_signals.rb +8 -0
  251. data/lib/auth0/types/update_connection_request_content_twitter.rb +8 -0
  252. data/lib/auth0/types/update_connection_request_content_untappd.rb +8 -0
  253. data/lib/auth0/types/update_connection_request_content_vkontakte.rb +8 -0
  254. data/lib/auth0/types/update_connection_request_content_weibo.rb +8 -0
  255. data/lib/auth0/types/update_connection_request_content_windows_live.rb +12 -0
  256. data/lib/auth0/types/update_connection_request_content_wordpress.rb +8 -0
  257. data/lib/auth0/types/update_connection_request_content_yahoo.rb +8 -0
  258. data/lib/auth0/types/update_connection_request_content_yandex.rb +8 -0
  259. data/lib/auth0/types/update_phone_template_response_content.rb +1 -1
  260. data/lib/auth0/types/update_tenant_settings_response_content.rb +4 -0
  261. data/lib/auth0/types/user_groups_response_schema.rb +14 -0
  262. data/lib/auth0/types/xss_protection_config.rb +14 -0
  263. data/lib/auth0/types/{update_branding_login_display_enum.rb → xss_protection_mode.rb} +2 -3
  264. data/lib/auth0/version.rb +1 -1
  265. data/lib/auth0.rb +17 -10
  266. metadata +19 -12
  267. data/lib/auth0/types/branding_identifiers.rb +0 -14
  268. data/lib/auth0/types/branding_phone_display.rb +0 -12
  269. data/lib/auth0/types/branding_phone_formatting_enum.rb +0 -12
  270. data/lib/auth0/types/branding_phone_masking_enum.rb +0 -13
  271. data/lib/auth0/types/update_branding_identifiers.rb +0 -14
  272. data/lib/auth0/types/update_branding_phone_display.rb +0 -12
  273. data/lib/auth0/types/update_branding_phone_formatting_enum.rb +0 -12
  274. data/lib/auth0/types/update_branding_phone_masking_enum.rb +0 -13
@@ -4,6 +4,16 @@ module Auth0
4
4
  module Types
5
5
  # Create a connection with strategy=yahoo
6
6
  class CreateConnectionRequestContentYahoo < Internal::Types::Model
7
+ field :name, -> { String }, optional: false, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :display_name, -> { String }, optional: true, nullable: false
12
+
13
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
14
+
15
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
16
+
7
17
  field :strategy, -> { Auth0::Types::CreateConnectionRequestContentYahooStrategy }, optional: false, nullable: false
8
18
 
9
19
  field :options, -> { Auth0::Types::ConnectionOptionsYahoo }, optional: true, nullable: false
@@ -4,6 +4,16 @@ module Auth0
4
4
  module Types
5
5
  # Create a connection with strategy=yandex
6
6
  class CreateConnectionRequestContentYandex < Internal::Types::Model
7
+ field :name, -> { String }, optional: false, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :display_name, -> { String }, optional: true, nullable: false
12
+
13
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
14
+
15
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
16
+
7
17
  field :strategy, -> { Auth0::Types::CreateConnectionRequestContentYandexStrategy }, optional: false, nullable: false
8
18
 
9
19
  field :options, -> { Auth0::Types::ConnectionOptionsYandex }, optional: true, nullable: false
@@ -3,7 +3,7 @@
3
3
  module Auth0
4
4
  module Types
5
5
  class CreatePhoneTemplateResponseContent < Internal::Types::Model
6
- field :id, -> { String }, optional: false, nullable: false
6
+ field :id, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :channel, -> { String }, optional: true, nullable: false
9
9
 
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module CspDirectives
6
+ # CspDirectives is an alias for Hash
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,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module CspFlag
6
+ extend Auth0::Internal::Types::Enum
7
+
8
+ UPGRADE_INSECURE_REQUESTS = "upgrade-insecure-requests"
9
+ BLOCK_ALL_MIXED_CONTENT = "block-all-mixed-content"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ module CspFlags
6
+ # CspFlags 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 CspPolicies
6
+ # CspPolicies 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,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # A single CSP policy with mode, directives, flags, and optional reporting.
6
+ class CspPolicy < Internal::Types::Model
7
+ field :mode, -> { Auth0::Types::CspPolicyMode }, optional: true, nullable: false
8
+
9
+ field :directives, -> { Internal::Types::Hash[String, Internal::Types::Array[String]] }, optional: true, nullable: false
10
+
11
+ field :flags, -> { Internal::Types::Array[Auth0::Types::CspFlag] }, optional: true, nullable: false
12
+
13
+ field :reporting, -> { Auth0::Types::CspPolicyReporting }, optional: true, nullable: false
14
+ end
15
+ end
16
+ end
@@ -2,11 +2,11 @@
2
2
 
3
3
  module Auth0
4
4
  module Types
5
- module BrandingLoginDisplayEnum
5
+ module CspPolicyMode
6
6
  extend Auth0::Internal::Types::Enum
7
7
 
8
- UNIFIED = "unified"
9
- SEPARATE = "separate"
8
+ ENFORCING = "enforcing"
9
+ REPORTING = "reporting"
10
10
  end
11
11
  end
12
12
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Per-policy reporting configuration.
6
+ class CspPolicyReporting < Internal::Types::Model
7
+ field :report_uri, -> { String }, optional: true, nullable: false
8
+
9
+ field :report_to_group, -> { String }, optional: true, nullable: false
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Report-To header configuration.
6
+ class CspReportTo < Internal::Types::Model
7
+ field :group, -> { String }, optional: true, nullable: false
8
+
9
+ field :max_age, -> { Integer }, optional: true, nullable: false
10
+
11
+ field :endpoints, -> { Internal::Types::Array[Auth0::Types::CspReportToEndpoint] }, optional: true, nullable: false
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # A single reporting endpoint.
6
+ class CspReportToEndpoint < Internal::Types::Model
7
+ field :url, -> { String }, 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 CspReportToEndpoints
6
+ # CspReportToEndpoints 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 CspReportingEndpoints
6
+ # CspReportingEndpoints is an alias for Hash
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,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Global reporting infrastructure configuration.
6
+ class CspReportingInfrastructure < Internal::Types::Model
7
+ field :report_to, -> { Auth0::Types::CspReportTo }, optional: true, nullable: false
8
+
9
+ field :reporting_endpoints, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
10
+ end
11
+ end
12
+ end
@@ -9,8 +9,6 @@ module Auth0
9
9
 
10
10
  field :logo_url, -> { String }, optional: true, nullable: false
11
11
 
12
- field :identifiers, -> { Auth0::Types::BrandingIdentifiers }, optional: true, nullable: false
13
-
14
12
  field :font, -> { Auth0::Types::BrandingFont }, optional: true, nullable: false
15
13
  end
16
14
  end
@@ -3,7 +3,7 @@
3
3
  module Auth0
4
4
  module Types
5
5
  class GetPhoneTemplateResponseContent < Internal::Types::Model
6
- field :id, -> { String }, optional: false, nullable: false
6
+ field :id, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :channel, -> { String }, optional: true, nullable: false
9
9
 
@@ -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 :security_headers, -> { Auth0::Types::TenantSettingsNullableSecurityHeaders }, optional: true, nullable: false
51
+
50
52
  field :session_cookie, -> { Auth0::Types::SessionCookieSchema }, optional: true, nullable: false
51
53
 
52
54
  field :sessions, -> { Auth0::Types::TenantSettingsSessions }, optional: true, nullable: false
@@ -75,6 +77,8 @@ module Auth0
75
77
 
76
78
  field :enable_ai_guide, -> { Internal::Types::Boolean }, optional: true, nullable: false
77
79
 
80
+ field :include_session_metadata_in_tenant_logs, -> { Internal::Types::Boolean }, optional: true, nullable: false
81
+
78
82
  field :dynamic_client_registration_security_mode, -> { Auth0::Types::TenantSettingsDynamicClientRegistrationSecurityMode }, optional: true, nullable: false
79
83
 
80
84
  field :country_codes, -> { Auth0::Types::TenantSettingsCountryCodesResponse }, optional: true, nullable: false
@@ -3,7 +3,7 @@
3
3
  module Auth0
4
4
  module Types
5
5
  class PhoneTemplate < Internal::Types::Model
6
- field :id, -> { String }, optional: false, nullable: false
6
+ field :id, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :channel, -> { String }, optional: true, nullable: false
9
9
 
@@ -41,6 +41,7 @@ module Auth0
41
41
  CAPTCHA = "captcha"
42
42
  BRUTE_FORCE_PROTECTION = "brute-force-protection"
43
43
  ASYNC_APPROVAL_FLOW = "async-approval-flow"
44
+ CONFIRMATION = "confirmation"
44
45
  end
45
46
  end
46
47
  end
@@ -3,7 +3,7 @@
3
3
  module Auth0
4
4
  module Types
5
5
  class ResetPhoneTemplateResponseContent < Internal::Types::Model
6
- field :id, -> { String }, optional: false, nullable: false
6
+ field :id, -> { String }, optional: true, nullable: false
7
7
 
8
8
  field :channel, -> { String }, optional: true, nullable: false
9
9
 
@@ -93,6 +93,7 @@ module Auth0
93
93
  ASYNC_APPROVAL_ERROR = "async-approval-error"
94
94
  ASYNC_APPROVAL_ACCEPTED = "async-approval-accepted"
95
95
  ASYNC_APPROVAL_DENIED = "async-approval-denied"
96
+ CONFIRMATION = "confirmation"
96
97
  ASYNC_APPROVAL_WRONG_USER = "async-approval-wrong-user"
97
98
  end
98
99
  end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Auth0
4
+ module Types
5
+ # Security headers configuration for tenant responses.
6
+ class TenantSettingsNullableSecurityHeaders < Internal::Types::Model
7
+ field :content_security_policy, -> { Auth0::Types::ContentSecurityPolicyConfig }, optional: true, nullable: false
8
+
9
+ field :x_xss_protection, -> { Auth0::Types::XSSProtectionConfig }, optional: true, nullable: false
10
+ end
11
+ end
12
+ end
@@ -9,8 +9,6 @@ module Auth0
9
9
 
10
10
  field :logo_url, -> { String }, optional: true, nullable: false
11
11
 
12
- field :identifiers, -> { Auth0::Types::BrandingIdentifiers }, optional: true, nullable: false
13
-
14
12
  field :font, -> { Auth0::Types::BrandingFont }, optional: true, nullable: false
15
13
  end
16
14
  end
@@ -80,6 +80,8 @@ module Auth0
80
80
  field :token_endpoint_auth_signing_alg, -> { Auth0::Types::ConnectionTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false
81
81
 
82
82
  field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false
83
+
84
+ field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false
83
85
  end
84
86
  end
85
87
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=ad
6
6
  class UpdateConnectionRequestContentAd < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsAd }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=adfs
6
6
  class UpdateConnectionRequestContentAdfs < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsAdfs }, optional: true, nullable: false
8
16
 
9
17
  field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=amazon
6
6
  class UpdateConnectionRequestContentAmazon < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsAmazon }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=apple
6
6
  class UpdateConnectionRequestContentApple < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsApple }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=auth0
6
6
  class UpdateConnectionRequestContentAuth0 < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsAuth0 }, optional: true, nullable: false
8
16
 
9
17
  field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=auth0-oidc
6
6
  class UpdateConnectionRequestContentAuth0Oidc < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsAuth0Oidc }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=waad
6
6
  class UpdateConnectionRequestContentAzureAd < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsAzureAd }, optional: true, nullable: false
8
16
 
9
17
  field :show_as_button, -> { Internal::Types::Boolean }, optional: true, nullable: false
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=baidu
6
6
  class UpdateConnectionRequestContentBaidu < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsBaidu }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=bitbucket
6
6
  class UpdateConnectionRequestContentBitbucket < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsBitbucket }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=bitly
6
6
  class UpdateConnectionRequestContentBitly < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsBitly }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,18 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=box
6
6
  class UpdateConnectionRequestContentBox < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
15
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
16
+
17
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
18
+
7
19
  field :options, -> { Auth0::Types::ConnectionOptionsBox }, optional: true, nullable: false
8
20
  end
9
21
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=custom
6
6
  class UpdateConnectionRequestContentCustom < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=daccount
6
6
  class UpdateConnectionRequestContentDaccount < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsDaccount }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=dropbox
6
6
  class UpdateConnectionRequestContentDropbox < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsDropbox }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=dwolla
6
6
  class UpdateConnectionRequestContentDwolla < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsDwolla }, optional: true, nullable: false
8
16
  end
9
17
  end
@@ -4,6 +4,14 @@ module Auth0
4
4
  module Types
5
5
  # Update a connection with strategy=email
6
6
  class UpdateConnectionRequestContentEmail < Internal::Types::Model
7
+ field :display_name, -> { String }, optional: true, nullable: false
8
+
9
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
10
+
11
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
12
+
13
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
14
+
7
15
  field :options, -> { Auth0::Types::ConnectionOptionsEmail }, optional: true, nullable: false
8
16
  end
9
17
  end