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
@@ -3,6 +3,18 @@
3
3
  module Auth0
4
4
  module Types
5
5
  # Options for the 'vkontakte' connection
6
- class ConnectionOptionsVkontakte < Internal::Types::Model; end
6
+ class ConnectionOptionsVkontakte < Internal::Types::Model
7
+ field :client_id, -> { String }, optional: true, nullable: false
8
+
9
+ field :client_secret, -> { String }, optional: true, nullable: false
10
+
11
+ field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false
12
+
13
+ field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false
14
+
15
+ field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
16
+
17
+ field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+ end
7
19
  end
8
20
  end
@@ -3,6 +3,18 @@
3
3
  module Auth0
4
4
  module Types
5
5
  # Options for the 'weibo' connection
6
- class ConnectionOptionsWeibo < Internal::Types::Model; end
6
+ class ConnectionOptionsWeibo < Internal::Types::Model
7
+ field :client_id, -> { String }, optional: true, nullable: false
8
+
9
+ field :client_secret, -> { String }, optional: true, nullable: false
10
+
11
+ field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false
12
+
13
+ field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false
14
+
15
+ field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
16
+
17
+ field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+ end
7
19
  end
8
20
  end
@@ -4,6 +4,8 @@ module Auth0
4
4
  module Types
5
5
  # Options for the 'windowslive' connection
6
6
  class ConnectionOptionsWindowsLive < Internal::Types::Model
7
+ field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
8
+
7
9
  field :client_id, -> { String }, optional: true, nullable: false
8
10
 
9
11
  field :client_secret, -> { String }, optional: true, nullable: false
@@ -3,6 +3,18 @@
3
3
  module Auth0
4
4
  module Types
5
5
  # Options for the 'wordpress' connection
6
- class ConnectionOptionsWordpress < Internal::Types::Model; end
6
+ class ConnectionOptionsWordpress < Internal::Types::Model
7
+ field :client_id, -> { String }, optional: true, nullable: false
8
+
9
+ field :client_secret, -> { String }, optional: true, nullable: false
10
+
11
+ field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false
12
+
13
+ field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false
14
+
15
+ field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
16
+
17
+ field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+ end
7
19
  end
8
20
  end
@@ -3,6 +3,18 @@
3
3
  module Auth0
4
4
  module Types
5
5
  # Options for the 'yahoo' connection
6
- class ConnectionOptionsYahoo < Internal::Types::Model; end
6
+ class ConnectionOptionsYahoo < Internal::Types::Model
7
+ field :client_id, -> { String }, optional: true, nullable: false
8
+
9
+ field :client_secret, -> { String }, optional: true, nullable: false
10
+
11
+ field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false
12
+
13
+ field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false
14
+
15
+ field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
16
+
17
+ field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+ end
7
19
  end
8
20
  end
@@ -3,6 +3,18 @@
3
3
  module Auth0
4
4
  module Types
5
5
  # Options for the 'yandex' connection
6
- class ConnectionOptionsYandex < Internal::Types::Model; end
6
+ class ConnectionOptionsYandex < Internal::Types::Model
7
+ field :client_id, -> { String }, optional: true, nullable: false
8
+
9
+ field :client_secret, -> { String }, optional: true, nullable: false
10
+
11
+ field :scope, -> { Auth0::Types::ConnectionScopeOAuth2 }, optional: true, nullable: false
12
+
13
+ field :set_user_root_attributes, -> { Auth0::Types::ConnectionSetUserRootAttributesEnum }, optional: true, nullable: false
14
+
15
+ field :upstream_params, -> { Internal::Types::Hash[String, Auth0::Types::ConnectionUpstreamAdditionalProperties] }, optional: true, nullable: false
16
+
17
+ field :non_persistent_attrs, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+ end
7
19
  end
8
20
  end
@@ -77,6 +77,8 @@ module Auth0
77
77
  field :token_endpoint_auth_signing_alg, -> { Auth0::Types::ConnectionTokenEndpointAuthSigningAlgEnum }, optional: true, nullable: false
78
78
 
79
79
  field :token_endpoint_jwtca_aud_format, -> { Auth0::Types::ConnectionTokenEndpointJwtcaAudFormatEnumOidc }, optional: true, nullable: false
80
+
81
+ field :id_token_session_expiry_supported, -> { Internal::Types::Boolean }, optional: true, nullable: false
80
82
  end
81
83
  end
82
84
  end
@@ -3,6 +3,16 @@
3
3
  module Auth0
4
4
  module Types
5
5
  class ConnectionResponseCommon < Internal::Types::Model
6
+ field :name, -> { String }, optional: false, nullable: false
7
+
8
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
9
+
10
+ field :display_name, -> { String }, optional: true, nullable: false
11
+
12
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
13
+
14
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
15
+
6
16
  field :id, -> { String }, optional: false, nullable: false
7
17
 
8
18
  field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=ad
6
6
  class ConnectionResponseContentAd < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAdStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsAd }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=adfs
6
6
  class ConnectionResponseContentAdfs < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAdfsStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsAdfs }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=amazon
6
6
  class ConnectionResponseContentAmazon < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAmazonStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsAmazon }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=apple
6
6
  class ConnectionResponseContentApple < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAppleStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsApple }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=auth0
6
6
  class ConnectionResponseContentAuth0 < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAuth0Strategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsAuth0 }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=auth0-oidc
6
6
  class ConnectionResponseContentAuth0Oidc < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAuth0OidcStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsAuth0Oidc }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=waad
6
6
  class ConnectionResponseContentAzureAd < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentAzureAdStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsAzureAd }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=baidu
6
6
  class ConnectionResponseContentBaidu < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentBaiduStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsBaidu }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=bitbucket
6
6
  class ConnectionResponseContentBitbucket < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentBitbucketStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsBitbucket }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=bitly
6
6
  class ConnectionResponseContentBitly < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentBitlyStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsBitly }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=box
6
6
  class ConnectionResponseContentBox < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentBoxStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsBox }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=custom
6
6
  class ConnectionResponseContentCustom < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentCustomStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Internal::Types::Hash[String, Object] }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=daccount
6
6
  class ConnectionResponseContentDaccount < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentDaccountStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsDaccount }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=dropbox
6
6
  class ConnectionResponseContentDropbox < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentDropboxStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsDropbox }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=dwolla
6
6
  class ConnectionResponseContentDwolla < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentDwollaStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsDwolla }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=email
6
6
  class ConnectionResponseContentEmail < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentEmailStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsEmail }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=evernote
6
6
  class ConnectionResponseContentEvernote < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentEvernoteStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsEvernote }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=evernote-sandbox
6
6
  class ConnectionResponseContentEvernoteSandbox < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentEvernoteSandboxStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsEvernote }, optional: true, nullable: false
@@ -4,6 +4,24 @@ module Auth0
4
4
  module Types
5
5
  # Response for connections with strategy=exact
6
6
  class ConnectionResponseContentExact < Internal::Types::Model
7
+ field :authentication, -> { Auth0::Types::ConnectionAuthenticationPurpose }, optional: true, nullable: false
8
+
9
+ field :connected_accounts, -> { Auth0::Types::ConnectionConnectedAccountsPurpose }, optional: true, nullable: false
10
+
11
+ field :id, -> { String }, optional: false, nullable: false
12
+
13
+ field :realms, -> { Internal::Types::Array[String] }, optional: true, nullable: false
14
+
15
+ field :name, -> { String }, optional: false, nullable: false
16
+
17
+ field :enabled_clients, -> { Internal::Types::Array[String] }, optional: true, nullable: false
18
+
19
+ field :display_name, -> { String }, optional: true, nullable: false
20
+
21
+ field :is_domain_connection, -> { Internal::Types::Boolean }, optional: true, nullable: false
22
+
23
+ field :metadata, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false
24
+
7
25
  field :strategy, -> { Auth0::Types::ConnectionResponseContentExactStrategy }, optional: false, nullable: false
8
26
 
9
27
  field :options, -> { Auth0::Types::ConnectionOptionsExact }, optional: true, nullable: false