ory-client 0.0.1.alpha58 → 0.0.1.alpha69

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +16 -15
  4. data/docs/CloudAccount.md +22 -0
  5. data/docs/Identity.md +1 -1
  6. data/docs/IdentitySchema.md +6 -0
  7. data/docs/InvitePayload.md +18 -0
  8. data/docs/Project.md +2 -0
  9. data/docs/ProjectInvite.md +34 -0
  10. data/docs/ProjectRevision.md +127 -53
  11. data/docs/ProjectRevisionHook.md +46 -0
  12. data/docs/ProjectRevisionIdentitySchema.md +36 -0
  13. data/docs/ProjectRevisionThirdPartyLoginProvider.md +54 -0
  14. data/docs/QuotaProjectMemberSeats.md +22 -0
  15. data/docs/SuccessfulProjectConfigUpdate.md +20 -0
  16. data/docs/UiNodeInputAttributes.md +1 -1
  17. data/docs/UpdateProjectConfigConfig.md +18 -0
  18. data/docs/V0alpha0Api.md +78 -4
  19. data/docs/Warning.md +20 -0
  20. data/lib/ory-client/api/metadata_api.rb +2 -2
  21. data/lib/ory-client/api/v0alpha0_api.rb +86 -10
  22. data/lib/ory-client/api/v0alpha2_api.rb +38 -11
  23. data/lib/ory-client/api_client.rb +5 -5
  24. data/lib/ory-client/api_error.rb +2 -2
  25. data/lib/ory-client/configuration.rb +4 -3
  26. data/lib/ory-client/models/active_project.rb +2 -2
  27. data/lib/ory-client/models/admin_create_identity_body.rb +2 -2
  28. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +2 -2
  29. data/lib/ory-client/models/admin_update_identity_body.rb +2 -2
  30. data/lib/ory-client/models/api_token.rb +2 -2
  31. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  32. data/lib/ory-client/models/{project_totp_config.rb → cloud_account.rb} +27 -20
  33. data/lib/ory-client/models/cname_settings.rb +2 -2
  34. data/lib/ory-client/models/create_custom_hostname_body.rb +2 -2
  35. data/lib/ory-client/models/create_subscription_payload.rb +2 -2
  36. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +2 -2
  37. data/lib/ory-client/models/generic_error.rb +2 -2
  38. data/lib/ory-client/models/health_not_ready_status.rb +2 -2
  39. data/lib/ory-client/models/health_status.rb +2 -2
  40. data/lib/ory-client/models/identity.rb +3 -3
  41. data/lib/ory-client/models/identity_credentials.rb +2 -2
  42. data/lib/ory-client/models/identity_credentials_type.rb +2 -2
  43. data/lib/ory-client/models/identity_preset.rb +2 -2
  44. data/lib/ory-client/models/identity_schema.rb +43 -3
  45. data/lib/ory-client/models/identity_schema_location.rb +2 -2
  46. data/lib/ory-client/models/identity_schema_validation_result.rb +2 -2
  47. data/lib/ory-client/models/identity_state.rb +2 -2
  48. data/lib/ory-client/models/inline_response200.rb +2 -2
  49. data/lib/ory-client/models/inline_response2001.rb +2 -2
  50. data/lib/ory-client/models/inline_response503.rb +2 -2
  51. data/lib/ory-client/models/{project_recovery_config.rb → invite_payload.rb} +12 -13
  52. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +2 -2
  53. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +2 -2
  54. data/lib/ory-client/models/json_error.rb +2 -2
  55. data/lib/ory-client/models/needs_privileged_session_error.rb +2 -2
  56. data/lib/ory-client/models/null_plan.rb +2 -2
  57. data/lib/ory-client/models/pagination.rb +2 -2
  58. data/lib/ory-client/models/project.rb +19 -3
  59. data/lib/ory-client/models/project_host.rb +2 -2
  60. data/lib/ory-client/models/{project_web_authn_config.rb → project_invite.rb} +117 -41
  61. data/lib/ory-client/models/project_revision.rb +556 -218
  62. data/lib/ory-client/models/project_revision_hook.rb +367 -0
  63. data/lib/ory-client/models/{redirection_config.rb → project_revision_identity_schema.rb} +78 -56
  64. data/lib/ory-client/models/{project_oidc_config.rb → project_revision_third_party_login_provider.rb} +90 -33
  65. data/lib/ory-client/models/project_slug.rb +2 -2
  66. data/lib/ory-client/models/{redirection_field.rb → quota_project_member_seats.rb} +24 -33
  67. data/lib/ory-client/models/recovery_address.rb +2 -2
  68. data/lib/ory-client/models/revoked_sessions.rb +2 -2
  69. data/lib/ory-client/models/schema_patch.rb +2 -2
  70. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +2 -2
  71. data/lib/ory-client/models/self_service_error.rb +2 -2
  72. data/lib/ory-client/models/self_service_flow_expired_error.rb +2 -2
  73. data/lib/ory-client/models/self_service_login_flow.rb +2 -2
  74. data/lib/ory-client/models/self_service_logout_url.rb +2 -2
  75. data/lib/ory-client/models/self_service_recovery_flow.rb +2 -2
  76. data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
  77. data/lib/ory-client/models/self_service_recovery_link.rb +2 -2
  78. data/lib/ory-client/models/self_service_registration_flow.rb +2 -2
  79. data/lib/ory-client/models/self_service_settings_flow.rb +2 -2
  80. data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
  81. data/lib/ory-client/models/self_service_verification_flow.rb +2 -2
  82. data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
  83. data/lib/ory-client/models/session.rb +2 -2
  84. data/lib/ory-client/models/session_authentication_method.rb +2 -2
  85. data/lib/ory-client/models/session_device.rb +2 -2
  86. data/lib/ory-client/models/settings_profile_form_config.rb +2 -2
  87. data/lib/ory-client/models/stripe_customer_response.rb +2 -2
  88. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +2 -2
  89. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +2 -2
  90. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +2 -2
  91. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +2 -2
  92. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +2 -2
  93. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +2 -2
  94. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +2 -2
  95. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +2 -2
  96. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +2 -2
  97. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +2 -2
  98. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +2 -2
  99. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +2 -2
  100. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +2 -2
  101. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +2 -2
  102. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +2 -2
  103. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +2 -2
  104. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +2 -2
  105. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +2 -2
  106. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +2 -2
  107. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +2 -2
  108. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +2 -2
  109. data/lib/ory-client/models/subscription.rb +2 -2
  110. data/lib/ory-client/models/{project_verification_config.rb → successful_project_config_update.rb} +21 -20
  111. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +2 -2
  112. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +2 -2
  113. data/lib/ory-client/models/ui_container.rb +2 -2
  114. data/lib/ory-client/models/ui_node.rb +2 -2
  115. data/lib/ory-client/models/ui_node_anchor_attributes.rb +2 -2
  116. data/lib/ory-client/models/ui_node_attributes.rb +2 -2
  117. data/lib/ory-client/models/ui_node_image_attributes.rb +2 -2
  118. data/lib/ory-client/models/ui_node_input_attributes.rb +3 -3
  119. data/lib/ory-client/models/ui_node_meta.rb +2 -2
  120. data/lib/ory-client/models/ui_node_script_attributes.rb +2 -2
  121. data/lib/ory-client/models/ui_node_text_attributes.rb +2 -2
  122. data/lib/ory-client/models/ui_text.rb +2 -2
  123. data/lib/ory-client/models/update_custom_hostname_body.rb +2 -2
  124. data/lib/ory-client/models/{project_lookup_secret_config.rb → update_project_config_config.rb} +18 -13
  125. data/lib/ory-client/models/update_subscription_payload.rb +2 -2
  126. data/lib/ory-client/models/verifiable_identity_address.rb +2 -2
  127. data/lib/ory-client/models/version.rb +2 -2
  128. data/lib/ory-client/models/{project_password_config.rb → warning.rb} +18 -20
  129. data/lib/ory-client/version.rb +3 -3
  130. data/lib/ory-client.rb +12 -12
  131. data/ory-client.gemspec +2 -2
  132. data/spec/api/metadata_api_spec.rb +2 -2
  133. data/spec/api/v0alpha0_api_spec.rb +17 -4
  134. data/spec/api/v0alpha2_api_spec.rb +2 -2
  135. data/spec/api_client_spec.rb +4 -4
  136. data/spec/configuration_spec.rb +2 -2
  137. data/spec/models/active_project_spec.rb +2 -2
  138. data/spec/models/admin_create_identity_body_spec.rb +2 -2
  139. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
  140. data/spec/models/admin_update_identity_body_spec.rb +2 -2
  141. data/spec/models/api_token_spec.rb +2 -2
  142. data/spec/models/authenticator_assurance_level_spec.rb +2 -2
  143. data/spec/models/{project_password_config_spec.rb → cloud_account_spec.rb} +16 -10
  144. data/spec/models/cname_settings_spec.rb +2 -2
  145. data/spec/models/create_custom_hostname_body_spec.rb +2 -2
  146. data/spec/models/create_subscription_payload_spec.rb +2 -2
  147. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
  148. data/spec/models/generic_error_spec.rb +2 -2
  149. data/spec/models/health_not_ready_status_spec.rb +2 -2
  150. data/spec/models/health_status_spec.rb +2 -2
  151. data/spec/models/identity_credentials_spec.rb +2 -2
  152. data/spec/models/identity_credentials_type_spec.rb +2 -2
  153. data/spec/models/identity_preset_spec.rb +2 -2
  154. data/spec/models/identity_schema_location_spec.rb +2 -2
  155. data/spec/models/identity_schema_spec.rb +20 -2
  156. data/spec/models/identity_schema_validation_result_spec.rb +2 -2
  157. data/spec/models/identity_spec.rb +2 -2
  158. data/spec/models/identity_state_spec.rb +2 -2
  159. data/spec/models/inline_response2001_spec.rb +2 -2
  160. data/spec/models/inline_response200_spec.rb +2 -2
  161. data/spec/models/inline_response503_spec.rb +2 -2
  162. data/spec/models/{project_recovery_config_spec.rb → invite_payload_spec.rb} +9 -9
  163. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
  164. data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
  165. data/spec/models/json_error_spec.rb +2 -2
  166. data/spec/models/needs_privileged_session_error_spec.rb +2 -2
  167. data/spec/models/null_plan_spec.rb +2 -2
  168. data/spec/models/pagination_spec.rb +2 -2
  169. data/spec/models/project_host_spec.rb +2 -2
  170. data/spec/models/{redirection_config_spec.rb → project_invite_spec.rb} +22 -16
  171. data/spec/models/{project_oidc_config_spec.rb → project_revision_hook_spec.rb} +32 -20
  172. data/spec/models/project_revision_identity_schema_spec.rb +88 -0
  173. data/spec/models/project_revision_spec.rb +253 -31
  174. data/spec/models/{project_patch_spec.rb → project_revision_third_party_login_provider_spec.rb} +27 -45
  175. data/spec/models/project_slug_spec.rb +2 -2
  176. data/spec/models/project_spec.rb +8 -2
  177. data/spec/models/{redirection_field_spec.rb → quota_project_member_seats_spec.rb} +11 -17
  178. data/spec/models/recovery_address_spec.rb +2 -2
  179. data/spec/models/revoked_sessions_spec.rb +2 -2
  180. data/spec/models/schema_patch_spec.rb +2 -2
  181. data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
  182. data/spec/models/self_service_error_spec.rb +2 -2
  183. data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
  184. data/spec/models/self_service_login_flow_spec.rb +2 -2
  185. data/spec/models/self_service_logout_url_spec.rb +2 -2
  186. data/spec/models/self_service_recovery_flow_spec.rb +2 -2
  187. data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
  188. data/spec/models/self_service_recovery_link_spec.rb +2 -2
  189. data/spec/models/self_service_registration_flow_spec.rb +2 -2
  190. data/spec/models/self_service_settings_flow_spec.rb +2 -2
  191. data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
  192. data/spec/models/self_service_verification_flow_spec.rb +2 -2
  193. data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
  194. data/spec/models/session_authentication_method_spec.rb +2 -2
  195. data/spec/models/session_device_spec.rb +2 -2
  196. data/spec/models/session_spec.rb +2 -2
  197. data/spec/models/settings_profile_form_config_spec.rb +2 -2
  198. data/spec/models/stripe_customer_response_spec.rb +2 -2
  199. data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
  200. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
  201. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
  202. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
  203. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
  204. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
  205. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
  206. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
  207. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
  208. data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
  209. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
  210. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
  211. data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
  212. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
  213. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
  214. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
  215. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
  216. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
  217. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
  218. data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
  219. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
  220. data/spec/models/subscription_spec.rb +2 -2
  221. data/spec/models/{project_verification_config_spec.rb → successful_project_config_update_spec.rb} +10 -10
  222. data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
  223. data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
  224. data/spec/models/ui_container_spec.rb +2 -2
  225. data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
  226. data/spec/models/ui_node_attributes_spec.rb +2 -2
  227. data/spec/models/ui_node_image_attributes_spec.rb +2 -2
  228. data/spec/models/ui_node_input_attributes_spec.rb +2 -2
  229. data/spec/models/ui_node_meta_spec.rb +2 -2
  230. data/spec/models/ui_node_script_attributes_spec.rb +2 -2
  231. data/spec/models/ui_node_spec.rb +2 -2
  232. data/spec/models/ui_node_text_attributes_spec.rb +2 -2
  233. data/spec/models/ui_text_spec.rb +2 -2
  234. data/spec/models/update_custom_hostname_body_spec.rb +2 -2
  235. data/spec/models/{project_lookup_secret_config_spec.rb → update_project_config_config_spec.rb} +9 -9
  236. data/spec/models/update_subscription_payload_spec.rb +2 -2
  237. data/spec/models/verifiable_identity_address_spec.rb +2 -2
  238. data/spec/models/version_spec.rb +2 -2
  239. data/spec/models/{project_totp_config_spec.rb → warning_spec.rb} +10 -10
  240. data/spec/spec_helper.rb +2 -2
  241. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.2.gem +0 -0
  242. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.3.gem +0 -0
  243. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  244. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  245. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  246. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  247. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  248. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  249. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  250. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  251. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  252. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  253. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.document +0 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.yardopts +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/Changelog.md +17 -2
  256. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/LICENSE.md +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/README.md +1 -1
  258. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/exe/rspec +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/autorun.rb +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/server.rb +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/utilities.rb +12 -1
  268. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration.rb +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration_options.rb +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/did_you_mean.rb +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/drb.rb +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/dsl.rb +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example.rb +1 -1
  274. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_group.rb +2 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_status_persister.rb +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/filter_manager.rb +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/flat_map.rb +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/exception_presenter.rb +1 -1
  287. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/helpers.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/protocol.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters.rb +8 -2
  300. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/hooks.rb +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/invocations.rb +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/memoized_helpers.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata.rb +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata_filter.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/notifications.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/option_parser.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ordering.rb +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/output_wrapper.rb +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/pending.rb +8 -16
  316. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/profiler.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/.rspec +0 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +2 -4
  319. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer.rb +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/rake_task.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/reporter.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ruby_project.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/runner.rb +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/sandbox.rb +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/set.rb +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_context.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_example_group.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shell_escape.rb +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/version.rb +1 -1
  331. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/warnings.rb +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/world.rb +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core.rb +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.document +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.yardopts +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/Changelog.md +10 -1
  337. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/LICENSE.md +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/README.md +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_list_matcher.rb +17 -3
  350. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_matchers.rb +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/configuration.rb +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/error_generator.rb +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/example_methods.rb +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/marshal_extension.rb +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive.rb +1 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_chain.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_expectation.rb +2 -1
  363. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_double.rb +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_reference.rb +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/minitest_integration.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/mutate_const.rb +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/object_reference.rb +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/order_group.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/proxy.rb +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/space.rb +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/standalone.rb +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/syntax.rb +0 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/targets.rb +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/test_double.rb +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_double.rb +2 -10
  376. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/version.rb +1 -1
  379. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks.rb +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  381. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.10.1.gemspec → rspec-core-3.10.2.gemspec} +5 -5
  382. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.10.2.gemspec → rspec-mocks-3.10.3.gemspec} +8 -8
  383. metadata +174 -174
  384. data/docs/ProjectLookupSecretConfig.md +0 -18
  385. data/docs/ProjectOidcConfig.md +0 -42
  386. data/docs/ProjectPasswordConfig.md +0 -20
  387. data/docs/ProjectPatch.md +0 -60
  388. data/docs/ProjectRecoveryConfig.md +0 -18
  389. data/docs/ProjectTotpConfig.md +0 -20
  390. data/docs/ProjectVerificationConfig.md +0 -20
  391. data/docs/ProjectWebAuthnConfig.md +0 -26
  392. data/docs/RedirectionConfig.md +0 -32
  393. data/docs/RedirectionField.md +0 -24
  394. data/lib/ory-client/models/project_patch.rb +0 -502
  395. data/spec/models/project_web_authn_config_spec.rb +0 -58
  396. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.1.gem +0 -0
  397. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.2.gem +0 -0
@@ -1,502 +0,0 @@
1
- =begin
2
- #Ory APIs
3
-
4
- #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
-
6
- The version of the OpenAPI document: v0.0.1-alpha.58
7
- Contact: support@ory.sh
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module OryClient
17
- class ProjectPatch
18
- # URL of Project API In the future will allow to override Kratos project URL. If set, error is returned. If left empty our hosted URL is used
19
- attr_accessor :api_url
20
-
21
- # URL where your application is available. Your users will be redirected to this URL when they successfully complete a login, logout, verification, recovery, or registration flow. More fine-grained redirection patterns are available for the individual flows (login, registration, ...). If left empty, our hosted URL will be used instead. It contains technical information on the identities and is useful when developing a new project or trying out Ory Cloud.
22
- attr_accessor :application_url
23
-
24
- # Default Identity Schema URL This represents your Ory Kratos Default Identity Schema. It is your identity's default schema. This allows setting custom fields such as \"address\", specifying whether you want to log in using email or a username, and more. For more information on this topic, please check out the identity documentation. If KratosCustomSchemaID is also added to the payload, it will be preferred and replace the value of DefaultIdentitySchemaURL set by the client. The value of this field can be either any \"https://\" URL - for example a file hosted at GitHub, or a `preset://`-prefixed string. Available presets are: preset://email preset://username preset://basic preset://blank
25
- attr_accessor :default_identity_schema_url
26
-
27
- # Self-Service Error UI URL Sets the UI URL for the error UI. If left empty, this will use Ory's hosted pages.
28
- attr_accessor :error_ui_url
29
-
30
- # The Custom Schema ID The custom schema ID is a preferred field over DefaultIdentitySchemaURL, meaning it will override the DefaultIdentitySchemaURL with the custom schema's URL instead of accepting it from the client-side. Once this field is set the given custom schema will be associated with this project.
31
- attr_accessor :kratos_custom_schema_id
32
-
33
- # Self-Service Login UI URL Sets the UI URL for the login UI. If left empty, this will use Ory's hosted pages.
34
- attr_accessor :login_ui_url
35
-
36
- attr_accessor :lookup_secret
37
-
38
- # The project name. Helps you identify your project. in: body
39
- attr_accessor :name
40
-
41
- attr_accessor :password
42
-
43
- attr_accessor :recovery
44
-
45
- # Self-Service Login UI URL Sets the UI URL for the recovery UI. If left empty, this will use Ory's hosted pages.
46
- attr_accessor :recovery_ui_url
47
-
48
- attr_accessor :redirection_config
49
-
50
- # Self-Service Login UI URL Sets the UI URL for the registration UI. If left empty, this will use Ory's hosted pages.
51
- attr_accessor :registration_ui_url
52
-
53
- # Issue Session after Sign Up If set to true, users will receive a session after they successfully signed up. Enabling this option allows account enumeration during registration flows. Read more: https://www.ory.sh/kratos/docs/self-service/flows/user-registration#successful-registration
54
- attr_accessor :session_after_sign_up
55
-
56
- # Enable Soft 2FA for Login Sessions
57
- attr_accessor :session_soft_2fa
58
-
59
- # Duration in Seconds of how long a Session is Privileged Defines how long a session is considered privileged in seconds. If the session's authenticated_at is older than the value specified here, the user needs to re-authenticate to perform certain actions (e.g. password change).
60
- attr_accessor :settings_privileged_session_max_age_seconds
61
-
62
- # Enable Soft 2FA for Self-Service Settings Flows
63
- attr_accessor :settings_soft_2fa
64
-
65
- # Self-Service Settings UI URL Sets the UI URL for the settings UI. If left empty, this will use Ory's hosted pages.
66
- attr_accessor :settings_ui_url
67
-
68
- attr_accessor :totp
69
-
70
- attr_accessor :verification
71
-
72
- # Self-Service Login UI URL Sets the UI URL for the verification UI. If left empty, this will use Ory's hosted pages.
73
- attr_accessor :verification_ui_url
74
-
75
- attr_accessor :webauthn
76
-
77
- # Attribute mapping from ruby-style variable name to JSON key.
78
- def self.attribute_map
79
- {
80
- :'api_url' => :'api_url',
81
- :'application_url' => :'application_url',
82
- :'default_identity_schema_url' => :'default_identity_schema_url',
83
- :'error_ui_url' => :'error_ui_url',
84
- :'kratos_custom_schema_id' => :'kratos_custom_schema_id',
85
- :'login_ui_url' => :'login_ui_url',
86
- :'lookup_secret' => :'lookup_secret',
87
- :'name' => :'name',
88
- :'password' => :'password',
89
- :'recovery' => :'recovery',
90
- :'recovery_ui_url' => :'recovery_ui_url',
91
- :'redirection_config' => :'redirection_config',
92
- :'registration_ui_url' => :'registration_ui_url',
93
- :'session_after_sign_up' => :'session_after_sign_up',
94
- :'session_soft_2fa' => :'session_soft_2fa',
95
- :'settings_privileged_session_max_age_seconds' => :'settings_privileged_session_max_age_seconds',
96
- :'settings_soft_2fa' => :'settings_soft_2fa',
97
- :'settings_ui_url' => :'settings_ui_url',
98
- :'totp' => :'totp',
99
- :'verification' => :'verification',
100
- :'verification_ui_url' => :'verification_ui_url',
101
- :'webauthn' => :'webauthn'
102
- }
103
- end
104
-
105
- # Returns all the JSON keys this model knows about
106
- def self.acceptable_attributes
107
- attribute_map.values
108
- end
109
-
110
- # Attribute type mapping.
111
- def self.openapi_types
112
- {
113
- :'api_url' => :'String',
114
- :'application_url' => :'String',
115
- :'default_identity_schema_url' => :'String',
116
- :'error_ui_url' => :'String',
117
- :'kratos_custom_schema_id' => :'String',
118
- :'login_ui_url' => :'String',
119
- :'lookup_secret' => :'ProjectLookupSecretConfig',
120
- :'name' => :'String',
121
- :'password' => :'ProjectPasswordConfig',
122
- :'recovery' => :'ProjectRecoveryConfig',
123
- :'recovery_ui_url' => :'String',
124
- :'redirection_config' => :'RedirectionConfig',
125
- :'registration_ui_url' => :'String',
126
- :'session_after_sign_up' => :'Boolean',
127
- :'session_soft_2fa' => :'Boolean',
128
- :'settings_privileged_session_max_age_seconds' => :'Integer',
129
- :'settings_soft_2fa' => :'Boolean',
130
- :'settings_ui_url' => :'String',
131
- :'totp' => :'ProjectTotpConfig',
132
- :'verification' => :'ProjectVerificationConfig',
133
- :'verification_ui_url' => :'String',
134
- :'webauthn' => :'ProjectWebAuthnConfig'
135
- }
136
- end
137
-
138
- # List of attributes with nullable: true
139
- def self.openapi_nullable
140
- Set.new([
141
- ])
142
- end
143
-
144
- # Initializes the object
145
- # @param [Hash] attributes Model attributes in the form of hash
146
- def initialize(attributes = {})
147
- if (!attributes.is_a?(Hash))
148
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectPatch` initialize method"
149
- end
150
-
151
- # check to see if the attribute exists and convert string to symbol for hash key
152
- attributes = attributes.each_with_object({}) { |(k, v), h|
153
- if (!self.class.attribute_map.key?(k.to_sym))
154
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectPatch`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
155
- end
156
- h[k.to_sym] = v
157
- }
158
-
159
- if attributes.key?(:'api_url')
160
- self.api_url = attributes[:'api_url']
161
- end
162
-
163
- if attributes.key?(:'application_url')
164
- self.application_url = attributes[:'application_url']
165
- end
166
-
167
- if attributes.key?(:'default_identity_schema_url')
168
- self.default_identity_schema_url = attributes[:'default_identity_schema_url']
169
- end
170
-
171
- if attributes.key?(:'error_ui_url')
172
- self.error_ui_url = attributes[:'error_ui_url']
173
- end
174
-
175
- if attributes.key?(:'kratos_custom_schema_id')
176
- self.kratos_custom_schema_id = attributes[:'kratos_custom_schema_id']
177
- end
178
-
179
- if attributes.key?(:'login_ui_url')
180
- self.login_ui_url = attributes[:'login_ui_url']
181
- end
182
-
183
- if attributes.key?(:'lookup_secret')
184
- self.lookup_secret = attributes[:'lookup_secret']
185
- end
186
-
187
- if attributes.key?(:'name')
188
- self.name = attributes[:'name']
189
- end
190
-
191
- if attributes.key?(:'password')
192
- self.password = attributes[:'password']
193
- end
194
-
195
- if attributes.key?(:'recovery')
196
- self.recovery = attributes[:'recovery']
197
- end
198
-
199
- if attributes.key?(:'recovery_ui_url')
200
- self.recovery_ui_url = attributes[:'recovery_ui_url']
201
- end
202
-
203
- if attributes.key?(:'redirection_config')
204
- self.redirection_config = attributes[:'redirection_config']
205
- end
206
-
207
- if attributes.key?(:'registration_ui_url')
208
- self.registration_ui_url = attributes[:'registration_ui_url']
209
- end
210
-
211
- if attributes.key?(:'session_after_sign_up')
212
- self.session_after_sign_up = attributes[:'session_after_sign_up']
213
- end
214
-
215
- if attributes.key?(:'session_soft_2fa')
216
- self.session_soft_2fa = attributes[:'session_soft_2fa']
217
- end
218
-
219
- if attributes.key?(:'settings_privileged_session_max_age_seconds')
220
- self.settings_privileged_session_max_age_seconds = attributes[:'settings_privileged_session_max_age_seconds']
221
- end
222
-
223
- if attributes.key?(:'settings_soft_2fa')
224
- self.settings_soft_2fa = attributes[:'settings_soft_2fa']
225
- end
226
-
227
- if attributes.key?(:'settings_ui_url')
228
- self.settings_ui_url = attributes[:'settings_ui_url']
229
- end
230
-
231
- if attributes.key?(:'totp')
232
- self.totp = attributes[:'totp']
233
- end
234
-
235
- if attributes.key?(:'verification')
236
- self.verification = attributes[:'verification']
237
- end
238
-
239
- if attributes.key?(:'verification_ui_url')
240
- self.verification_ui_url = attributes[:'verification_ui_url']
241
- end
242
-
243
- if attributes.key?(:'webauthn')
244
- self.webauthn = attributes[:'webauthn']
245
- end
246
- end
247
-
248
- # Show invalid properties with the reasons. Usually used together with valid?
249
- # @return Array for valid properties with the reasons
250
- def list_invalid_properties
251
- invalid_properties = Array.new
252
- if @error_ui_url.nil?
253
- invalid_properties.push('invalid value for "error_ui_url", error_ui_url cannot be nil.')
254
- end
255
-
256
- if @login_ui_url.nil?
257
- invalid_properties.push('invalid value for "login_ui_url", login_ui_url cannot be nil.')
258
- end
259
-
260
- if @lookup_secret.nil?
261
- invalid_properties.push('invalid value for "lookup_secret", lookup_secret cannot be nil.')
262
- end
263
-
264
- if @password.nil?
265
- invalid_properties.push('invalid value for "password", password cannot be nil.')
266
- end
267
-
268
- if @recovery.nil?
269
- invalid_properties.push('invalid value for "recovery", recovery cannot be nil.')
270
- end
271
-
272
- if @recovery_ui_url.nil?
273
- invalid_properties.push('invalid value for "recovery_ui_url", recovery_ui_url cannot be nil.')
274
- end
275
-
276
- if @registration_ui_url.nil?
277
- invalid_properties.push('invalid value for "registration_ui_url", registration_ui_url cannot be nil.')
278
- end
279
-
280
- if @session_after_sign_up.nil?
281
- invalid_properties.push('invalid value for "session_after_sign_up", session_after_sign_up cannot be nil.')
282
- end
283
-
284
- if @session_soft_2fa.nil?
285
- invalid_properties.push('invalid value for "session_soft_2fa", session_soft_2fa cannot be nil.')
286
- end
287
-
288
- if @settings_privileged_session_max_age_seconds.nil?
289
- invalid_properties.push('invalid value for "settings_privileged_session_max_age_seconds", settings_privileged_session_max_age_seconds cannot be nil.')
290
- end
291
-
292
- if @settings_soft_2fa.nil?
293
- invalid_properties.push('invalid value for "settings_soft_2fa", settings_soft_2fa cannot be nil.')
294
- end
295
-
296
- if @settings_ui_url.nil?
297
- invalid_properties.push('invalid value for "settings_ui_url", settings_ui_url cannot be nil.')
298
- end
299
-
300
- if @totp.nil?
301
- invalid_properties.push('invalid value for "totp", totp cannot be nil.')
302
- end
303
-
304
- if @verification.nil?
305
- invalid_properties.push('invalid value for "verification", verification cannot be nil.')
306
- end
307
-
308
- if @verification_ui_url.nil?
309
- invalid_properties.push('invalid value for "verification_ui_url", verification_ui_url cannot be nil.')
310
- end
311
-
312
- if @webauthn.nil?
313
- invalid_properties.push('invalid value for "webauthn", webauthn cannot be nil.')
314
- end
315
-
316
- invalid_properties
317
- end
318
-
319
- # Check to see if the all the properties in the model are valid
320
- # @return true if the model is valid
321
- def valid?
322
- return false if @error_ui_url.nil?
323
- return false if @login_ui_url.nil?
324
- return false if @lookup_secret.nil?
325
- return false if @password.nil?
326
- return false if @recovery.nil?
327
- return false if @recovery_ui_url.nil?
328
- return false if @registration_ui_url.nil?
329
- return false if @session_after_sign_up.nil?
330
- return false if @session_soft_2fa.nil?
331
- return false if @settings_privileged_session_max_age_seconds.nil?
332
- return false if @settings_soft_2fa.nil?
333
- return false if @settings_ui_url.nil?
334
- return false if @totp.nil?
335
- return false if @verification.nil?
336
- return false if @verification_ui_url.nil?
337
- return false if @webauthn.nil?
338
- true
339
- end
340
-
341
- # Checks equality by comparing each attribute.
342
- # @param [Object] Object to be compared
343
- def ==(o)
344
- return true if self.equal?(o)
345
- self.class == o.class &&
346
- api_url == o.api_url &&
347
- application_url == o.application_url &&
348
- default_identity_schema_url == o.default_identity_schema_url &&
349
- error_ui_url == o.error_ui_url &&
350
- kratos_custom_schema_id == o.kratos_custom_schema_id &&
351
- login_ui_url == o.login_ui_url &&
352
- lookup_secret == o.lookup_secret &&
353
- name == o.name &&
354
- password == o.password &&
355
- recovery == o.recovery &&
356
- recovery_ui_url == o.recovery_ui_url &&
357
- redirection_config == o.redirection_config &&
358
- registration_ui_url == o.registration_ui_url &&
359
- session_after_sign_up == o.session_after_sign_up &&
360
- session_soft_2fa == o.session_soft_2fa &&
361
- settings_privileged_session_max_age_seconds == o.settings_privileged_session_max_age_seconds &&
362
- settings_soft_2fa == o.settings_soft_2fa &&
363
- settings_ui_url == o.settings_ui_url &&
364
- totp == o.totp &&
365
- verification == o.verification &&
366
- verification_ui_url == o.verification_ui_url &&
367
- webauthn == o.webauthn
368
- end
369
-
370
- # @see the `==` method
371
- # @param [Object] Object to be compared
372
- def eql?(o)
373
- self == o
374
- end
375
-
376
- # Calculates hash code according to all attributes.
377
- # @return [Integer] Hash code
378
- def hash
379
- [api_url, application_url, default_identity_schema_url, error_ui_url, kratos_custom_schema_id, login_ui_url, lookup_secret, name, password, recovery, recovery_ui_url, redirection_config, registration_ui_url, session_after_sign_up, session_soft_2fa, settings_privileged_session_max_age_seconds, settings_soft_2fa, settings_ui_url, totp, verification, verification_ui_url, webauthn].hash
380
- end
381
-
382
- # Builds the object from hash
383
- # @param [Hash] attributes Model attributes in the form of hash
384
- # @return [Object] Returns the model itself
385
- def self.build_from_hash(attributes)
386
- new.build_from_hash(attributes)
387
- end
388
-
389
- # Builds the object from hash
390
- # @param [Hash] attributes Model attributes in the form of hash
391
- # @return [Object] Returns the model itself
392
- def build_from_hash(attributes)
393
- return nil unless attributes.is_a?(Hash)
394
- self.class.openapi_types.each_pair do |key, type|
395
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
396
- self.send("#{key}=", nil)
397
- elsif type =~ /\AArray<(.*)>/i
398
- # check to ensure the input is an array given that the attribute
399
- # is documented as an array but the input is not
400
- if attributes[self.class.attribute_map[key]].is_a?(Array)
401
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
402
- end
403
- elsif !attributes[self.class.attribute_map[key]].nil?
404
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
405
- end
406
- end
407
-
408
- self
409
- end
410
-
411
- # Deserializes the data based on type
412
- # @param string type Data type
413
- # @param string value Value to be deserialized
414
- # @return [Object] Deserialized data
415
- def _deserialize(type, value)
416
- case type.to_sym
417
- when :Time
418
- Time.parse(value)
419
- when :Date
420
- Date.parse(value)
421
- when :String
422
- value.to_s
423
- when :Integer
424
- value.to_i
425
- when :Float
426
- value.to_f
427
- when :Boolean
428
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
429
- true
430
- else
431
- false
432
- end
433
- when :Object
434
- # generic object (usually a Hash), return directly
435
- value
436
- when /\AArray<(?<inner_type>.+)>\z/
437
- inner_type = Regexp.last_match[:inner_type]
438
- value.map { |v| _deserialize(inner_type, v) }
439
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
440
- k_type = Regexp.last_match[:k_type]
441
- v_type = Regexp.last_match[:v_type]
442
- {}.tap do |hash|
443
- value.each do |k, v|
444
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
445
- end
446
- end
447
- else # model
448
- # models (e.g. Pet) or oneOf
449
- klass = OryClient.const_get(type)
450
- klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
451
- end
452
- end
453
-
454
- # Returns the string representation of the object
455
- # @return [String] String presentation of the object
456
- def to_s
457
- to_hash.to_s
458
- end
459
-
460
- # to_body is an alias to to_hash (backward compatibility)
461
- # @return [Hash] Returns the object in the form of hash
462
- def to_body
463
- to_hash
464
- end
465
-
466
- # Returns the object in the form of hash
467
- # @return [Hash] Returns the object in the form of hash
468
- def to_hash
469
- hash = {}
470
- self.class.attribute_map.each_pair do |attr, param|
471
- value = self.send(attr)
472
- if value.nil?
473
- is_nullable = self.class.openapi_nullable.include?(attr)
474
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
475
- end
476
-
477
- hash[param] = _to_hash(value)
478
- end
479
- hash
480
- end
481
-
482
- # Outputs non-array value in the form of hash
483
- # For object, use to_hash. Otherwise, just return the value
484
- # @param [Object] value Any valid value
485
- # @return [Hash] Returns the value in the form of hash
486
- def _to_hash(value)
487
- if value.is_a?(Array)
488
- value.compact.map { |v| _to_hash(v) }
489
- elsif value.is_a?(Hash)
490
- {}.tap do |hash|
491
- value.each { |k, v| hash[k] = _to_hash(v) }
492
- end
493
- elsif value.respond_to? :to_hash
494
- value.to_hash
495
- else
496
- value
497
- end
498
- end
499
-
500
- end
501
-
502
- end
@@ -1,58 +0,0 @@
1
- =begin
2
- #Ory APIs
3
-
4
- #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
-
6
- The version of the OpenAPI document: v0.0.1-alpha.58
7
- Contact: support@ory.sh
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for OryClient::ProjectWebAuthnConfig
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe OryClient::ProjectWebAuthnConfig do
21
- let(:instance) { OryClient::ProjectWebAuthnConfig.new }
22
-
23
- describe 'test an instance of ProjectWebAuthnConfig' do
24
- it 'should create an instance of ProjectWebAuthnConfig' do
25
- expect(instance).to be_instance_of(OryClient::ProjectWebAuthnConfig)
26
- end
27
- end
28
- describe 'test attribute "enabled"' do
29
- it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- end
32
- end
33
-
34
- describe 'test attribute "rp_display_name"' do
35
- it 'should work' do
36
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
- end
38
- end
39
-
40
- describe 'test attribute "rp_icon"' do
41
- it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- end
44
- end
45
-
46
- describe 'test attribute "rp_id"' do
47
- it 'should work' do
48
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- end
50
- end
51
-
52
- describe 'test attribute "rp_origin"' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
- end