ory-client 0.0.1.alpha113 → 0.0.1.alpha115

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +16 -5
  4. data/docs/AdminCreateIdentityBody.md +7 -1
  5. data/docs/AdminCreateIdentityImportCredentialsOidc.md +18 -0
  6. data/docs/AdminCreateIdentityImportCredentialsOidcConfig.md +20 -0
  7. data/docs/AdminCreateIdentityImportCredentialsOidcProvider.md +20 -0
  8. data/docs/AdminCreateIdentityImportCredentialsPassword.md +18 -0
  9. data/docs/AdminCreateIdentityImportCredentialsPasswordConfig.md +20 -0
  10. data/docs/AdminIdentityImportCredentials.md +20 -0
  11. data/docs/AdminUpdateIdentityBody.md +1 -1
  12. data/docs/IdentityCredentials.md +3 -1
  13. data/docs/IdentityCredentialsOidc.md +18 -0
  14. data/docs/IdentityCredentialsOidcProvider.md +26 -0
  15. data/docs/IdentityCredentialsPassword.md +18 -0
  16. data/docs/Pagination.md +1 -1
  17. data/docs/SessionAuthenticationMethod.md +2 -0
  18. data/docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md +20 -0
  19. data/docs/SubmitSelfServiceLoginFlowBody.md +9 -3
  20. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +3 -1
  21. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +2 -0
  22. data/docs/SubmitSelfServiceRegistrationFlowBody.md +5 -2
  23. data/docs/SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody.md +26 -0
  24. data/docs/SubmitSelfServiceSettingsFlowBody.md +9 -3
  25. data/docs/V0alpha2Api.md +16 -16
  26. data/lib/ory-client/api/metadata_api.rb +1 -1
  27. data/lib/ory-client/api/v0alpha0_api.rb +1 -1
  28. data/lib/ory-client/api/v0alpha2_api.rb +31 -31
  29. data/lib/ory-client/api_client.rb +1 -1
  30. data/lib/ory-client/api_error.rb +1 -1
  31. data/lib/ory-client/configuration.rb +1 -1
  32. data/lib/ory-client/models/active_project.rb +1 -1
  33. data/lib/ory-client/models/admin_create_identity_body.rb +38 -5
  34. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +218 -0
  35. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +230 -0
  36. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +239 -0
  37. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +218 -0
  38. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +229 -0
  39. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  40. data/lib/ory-client/models/admin_identity_import_credentials.rb +227 -0
  41. data/lib/ory-client/models/admin_update_identity_body.rb +6 -1
  42. data/lib/ory-client/models/api_token.rb +1 -1
  43. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  44. data/lib/ory-client/models/cloud_account.rb +1 -1
  45. data/lib/ory-client/models/cname_settings.rb +1 -1
  46. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  47. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  48. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  49. data/lib/ory-client/models/generic_error.rb +1 -1
  50. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  51. data/lib/ory-client/models/health_status.rb +1 -1
  52. data/lib/ory-client/models/identity.rb +1 -1
  53. data/lib/ory-client/models/identity_credentials.rb +15 -5
  54. data/lib/ory-client/models/identity_credentials_oidc.rb +220 -0
  55. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +254 -0
  56. data/lib/ory-client/models/identity_credentials_password.rb +219 -0
  57. data/lib/ory-client/models/identity_credentials_type.rb +3 -1
  58. data/lib/ory-client/models/identity_preset.rb +1 -1
  59. data/lib/ory-client/models/identity_schema.rb +1 -1
  60. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  61. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  62. data/lib/ory-client/models/identity_state.rb +1 -1
  63. data/lib/ory-client/models/inline_object.rb +1 -1
  64. data/lib/ory-client/models/inline_response200.rb +1 -1
  65. data/lib/ory-client/models/inline_response2001.rb +1 -1
  66. data/lib/ory-client/models/inline_response503.rb +1 -1
  67. data/lib/ory-client/models/invite_payload.rb +1 -1
  68. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  69. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  70. data/lib/ory-client/models/json_error.rb +1 -1
  71. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  72. data/lib/ory-client/models/null_plan.rb +1 -1
  73. data/lib/ory-client/models/pagination.rb +7 -7
  74. data/lib/ory-client/models/project.rb +1 -1
  75. data/lib/ory-client/models/project_host.rb +1 -1
  76. data/lib/ory-client/models/project_invite.rb +1 -1
  77. data/lib/ory-client/models/project_revision.rb +1 -1
  78. data/lib/ory-client/models/project_revision_hook.rb +1 -1
  79. data/lib/ory-client/models/project_revision_identity_schema.rb +1 -1
  80. data/lib/ory-client/models/project_revision_third_party_login_provider.rb +1 -1
  81. data/lib/ory-client/models/project_slug.rb +1 -1
  82. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  83. data/lib/ory-client/models/recovery_address.rb +1 -1
  84. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  85. data/lib/ory-client/models/schema_patch.rb +1 -1
  86. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  87. data/lib/ory-client/models/self_service_error.rb +1 -1
  88. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  89. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  90. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  91. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  92. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  93. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  94. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  95. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  96. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  97. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  98. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  99. data/lib/ory-client/models/session.rb +1 -1
  100. data/lib/ory-client/models/session_authentication_method.rb +13 -4
  101. data/lib/ory-client/models/session_device.rb +1 -1
  102. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  103. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  104. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +229 -0
  105. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +7 -3
  106. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  107. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  108. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +18 -3
  109. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  110. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +12 -2
  111. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  112. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  113. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  114. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +5 -3
  115. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  116. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  117. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +269 -0
  118. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +7 -3
  119. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  120. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  121. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  122. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  123. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  124. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  125. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  126. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  127. data/lib/ory-client/models/subscription.rb +1 -1
  128. data/lib/ory-client/models/successful_project_config_update.rb +1 -1
  129. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  130. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  131. data/lib/ory-client/models/ui_container.rb +1 -1
  132. data/lib/ory-client/models/ui_node.rb +1 -1
  133. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  134. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  135. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  136. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  137. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  138. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  139. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  140. data/lib/ory-client/models/ui_text.rb +1 -1
  141. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  142. data/lib/ory-client/models/update_project_config_config.rb +1 -1
  143. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  144. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  145. data/lib/ory-client/models/version.rb +1 -1
  146. data/lib/ory-client/models/warning.rb +1 -1
  147. data/lib/ory-client/version.rb +2 -2
  148. data/lib/ory-client.rb +12 -1
  149. data/ory-client.gemspec +1 -1
  150. data/spec/api/metadata_api_spec.rb +1 -1
  151. data/spec/api/v0alpha0_api_spec.rb +1 -1
  152. data/spec/api/v0alpha2_api_spec.rb +10 -10
  153. data/spec/api_client_spec.rb +1 -1
  154. data/spec/configuration_spec.rb +1 -1
  155. data/spec/models/active_project_spec.rb +1 -1
  156. data/spec/models/admin_create_identity_body_spec.rb +19 -1
  157. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +40 -0
  158. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +40 -0
  159. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +34 -0
  160. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +40 -0
  161. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +34 -0
  162. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  163. data/spec/models/admin_identity_import_credentials_spec.rb +40 -0
  164. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  165. data/spec/models/api_token_spec.rb +1 -1
  166. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  167. data/spec/models/cloud_account_spec.rb +1 -1
  168. data/spec/models/cname_settings_spec.rb +1 -1
  169. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  170. data/spec/models/create_subscription_payload_spec.rb +1 -1
  171. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  172. data/spec/models/generic_error_spec.rb +1 -1
  173. data/spec/models/health_not_ready_status_spec.rb +1 -1
  174. data/spec/models/health_status_spec.rb +1 -1
  175. data/spec/models/identity_credentials_oidc_provider_spec.rb +58 -0
  176. data/spec/models/identity_credentials_oidc_spec.rb +34 -0
  177. data/spec/models/identity_credentials_password_spec.rb +34 -0
  178. data/spec/models/identity_credentials_spec.rb +7 -1
  179. data/spec/models/identity_credentials_type_spec.rb +1 -1
  180. data/spec/models/identity_preset_spec.rb +1 -1
  181. data/spec/models/identity_schema_location_spec.rb +1 -1
  182. data/spec/models/identity_schema_spec.rb +1 -1
  183. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  184. data/spec/models/identity_spec.rb +1 -1
  185. data/spec/models/identity_state_spec.rb +1 -1
  186. data/spec/models/inline_object_spec.rb +1 -1
  187. data/spec/models/inline_response2001_spec.rb +1 -1
  188. data/spec/models/inline_response200_spec.rb +1 -1
  189. data/spec/models/inline_response503_spec.rb +1 -1
  190. data/spec/models/invite_payload_spec.rb +1 -1
  191. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  192. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  193. data/spec/models/json_error_spec.rb +1 -1
  194. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  195. data/spec/models/null_plan_spec.rb +1 -1
  196. data/spec/models/pagination_spec.rb +1 -1
  197. data/spec/models/project_host_spec.rb +1 -1
  198. data/spec/models/project_invite_spec.rb +1 -1
  199. data/spec/models/project_revision_hook_spec.rb +1 -1
  200. data/spec/models/project_revision_identity_schema_spec.rb +1 -1
  201. data/spec/models/project_revision_spec.rb +1 -1
  202. data/spec/models/project_revision_third_party_login_provider_spec.rb +1 -1
  203. data/spec/models/project_slug_spec.rb +1 -1
  204. data/spec/models/project_spec.rb +1 -1
  205. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  206. data/spec/models/recovery_address_spec.rb +1 -1
  207. data/spec/models/revoked_sessions_spec.rb +1 -1
  208. data/spec/models/schema_patch_spec.rb +1 -1
  209. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  210. data/spec/models/self_service_error_spec.rb +1 -1
  211. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  212. data/spec/models/self_service_login_flow_spec.rb +1 -1
  213. data/spec/models/self_service_logout_url_spec.rb +1 -1
  214. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  215. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  216. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  217. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  218. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  219. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  220. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  221. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  222. data/spec/models/session_authentication_method_spec.rb +8 -2
  223. data/spec/models/session_device_spec.rb +1 -1
  224. data/spec/models/session_spec.rb +1 -1
  225. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  226. data/spec/models/stripe_customer_response_spec.rb +1 -1
  227. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +40 -0
  228. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  229. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  230. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  231. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +7 -1
  232. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  233. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +7 -1
  234. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  235. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  236. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  237. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  238. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  239. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  240. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +58 -0
  241. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  242. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  243. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  244. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  245. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  246. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  247. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  248. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  249. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  250. data/spec/models/subscription_spec.rb +1 -1
  251. data/spec/models/successful_project_config_update_spec.rb +1 -1
  252. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  253. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  254. data/spec/models/ui_container_spec.rb +1 -1
  255. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  256. data/spec/models/ui_node_attributes_spec.rb +1 -1
  257. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  258. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  259. data/spec/models/ui_node_meta_spec.rb +1 -1
  260. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  261. data/spec/models/ui_node_spec.rb +1 -1
  262. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  263. data/spec/models/ui_text_spec.rb +1 -1
  264. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  265. data/spec/models/update_project_config_config_spec.rb +1 -1
  266. data/spec/models/update_subscription_payload_spec.rb +1 -1
  267. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  268. data/spec/models/version_spec.rb +1 -1
  269. data/spec/models/warning_spec.rb +1 -1
  270. data/spec/spec_helper.rb +1 -1
  271. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  272. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  273. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  274. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  275. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  276. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  277. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  278. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  279. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  280. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  281. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  282. metadata +46 -2
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: 0.0.1.alpha113
6
+ The version of the OpenAPI document: 0.0.1.alpha115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module OryClient
14
- VERSION = '0.0.1.alpha113'
14
+ VERSION = '0.0.1.alpha115'
15
15
  end
data/lib/ory-client.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -19,7 +19,13 @@ require 'ory-client/configuration'
19
19
  # Models
20
20
  require 'ory-client/models/active_project'
21
21
  require 'ory-client/models/admin_create_identity_body'
22
+ require 'ory-client/models/admin_create_identity_import_credentials_oidc'
23
+ require 'ory-client/models/admin_create_identity_import_credentials_oidc_config'
24
+ require 'ory-client/models/admin_create_identity_import_credentials_oidc_provider'
25
+ require 'ory-client/models/admin_create_identity_import_credentials_password'
26
+ require 'ory-client/models/admin_create_identity_import_credentials_password_config'
22
27
  require 'ory-client/models/admin_create_self_service_recovery_link_body'
28
+ require 'ory-client/models/admin_identity_import_credentials'
23
29
  require 'ory-client/models/admin_update_identity_body'
24
30
  require 'ory-client/models/api_token'
25
31
  require 'ory-client/models/authenticator_assurance_level'
@@ -33,6 +39,9 @@ require 'ory-client/models/health_not_ready_status'
33
39
  require 'ory-client/models/health_status'
34
40
  require 'ory-client/models/identity'
35
41
  require 'ory-client/models/identity_credentials'
42
+ require 'ory-client/models/identity_credentials_oidc'
43
+ require 'ory-client/models/identity_credentials_oidc_provider'
44
+ require 'ory-client/models/identity_credentials_password'
36
45
  require 'ory-client/models/identity_credentials_type'
37
46
  require 'ory-client/models/identity_preset'
38
47
  require 'ory-client/models/identity_schema'
@@ -80,6 +89,7 @@ require 'ory-client/models/session_authentication_method'
80
89
  require 'ory-client/models/session_device'
81
90
  require 'ory-client/models/settings_profile_form_config'
82
91
  require 'ory-client/models/stripe_customer_response'
92
+ require 'ory-client/models/submit_self_service_flow_with_web_authn_registration_method'
83
93
  require 'ory-client/models/submit_self_service_login_flow_body'
84
94
  require 'ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body'
85
95
  require 'ory-client/models/submit_self_service_login_flow_with_oidc_method_body'
@@ -92,6 +102,7 @@ require 'ory-client/models/submit_self_service_recovery_flow_with_link_method_bo
92
102
  require 'ory-client/models/submit_self_service_registration_flow_body'
93
103
  require 'ory-client/models/submit_self_service_registration_flow_with_oidc_method_body'
94
104
  require 'ory-client/models/submit_self_service_registration_flow_with_password_method_body'
105
+ require 'ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body'
95
106
  require 'ory-client/models/submit_self_service_settings_flow_body'
96
107
  require 'ory-client/models/submit_self_service_settings_flow_with_lookup_method_body'
97
108
  require 'ory-client/models/submit_self_service_settings_flow_with_oidc_method_body'
data/ory-client.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  #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.
7
7
 
8
- The version of the OpenAPI document: v0.0.1-alpha.113
8
+ The version of the OpenAPI document: v0.0.1-alpha.115
9
9
  Contact: support@ory.sh
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -171,7 +171,7 @@ describe 'V0alpha2Api' do
171
171
 
172
172
  # unit tests for get_self_service_login_flow
173
173
  # Get Login Flow
174
- # This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
174
+ # This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
175
175
  # @param id The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
176
176
  # @param [Hash] opts the optional parameters
177
177
  # @option opts [String] :cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
@@ -197,7 +197,7 @@ describe 'V0alpha2Api' do
197
197
 
198
198
  # unit tests for get_self_service_registration_flow
199
199
  # Get Registration Flow
200
- # This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
200
+ # This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
201
201
  # @param id The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
202
202
  # @param [Hash] opts the optional parameters
203
203
  # @option opts [String] :cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
@@ -237,7 +237,7 @@ describe 'V0alpha2Api' do
237
237
 
238
238
  # unit tests for get_web_authn_java_script
239
239
  # Get WebAuthn JavaScript
240
- # This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration. If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file: ```html <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
240
+ # This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration. If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file: ```html <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
241
241
  # @param [Hash] opts the optional parameters
242
242
  # @return [String]
243
243
  describe 'get_web_authn_java_script test' do
@@ -248,7 +248,7 @@ describe 'V0alpha2Api' do
248
248
 
249
249
  # unit tests for initialize_self_service_login_flow_for_browsers
250
250
  # Initialize Login Flow for Browsers
251
- # This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
251
+ # This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
252
252
  # @param [Hash] opts the optional parameters
253
253
  # @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
254
254
  # @option opts [String] :aal Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
@@ -262,7 +262,7 @@ describe 'V0alpha2Api' do
262
262
 
263
263
  # unit tests for initialize_self_service_login_flow_without_browser
264
264
  # Initialize Login Flow for APIs, Services, Apps, ...
265
- # This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
265
+ # This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
266
266
  # @param [Hash] opts the optional parameters
267
267
  # @option opts [Boolean] :refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session.
268
268
  # @option opts [String] :aal Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\".
@@ -299,7 +299,7 @@ describe 'V0alpha2Api' do
299
299
 
300
300
  # unit tests for initialize_self_service_registration_flow_for_browsers
301
301
  # Initialize Registration Flow for Browsers
302
- # This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
302
+ # This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
303
303
  # @param [Hash] opts the optional parameters
304
304
  # @option opts [String] :return_to The URL to return the browser to after the flow was completed.
305
305
  # @return [SelfServiceRegistrationFlow]
@@ -311,7 +311,7 @@ describe 'V0alpha2Api' do
311
311
 
312
312
  # unit tests for initialize_self_service_registration_flow_without_browser
313
313
  # Initialize Registration Flow for APIs, Services, Apps, ...
314
- # This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
314
+ # This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
315
315
  # @param [Hash] opts the optional parameters
316
316
  # @return [SelfServiceRegistrationFlow]
317
317
  describe 'initialize_self_service_registration_flow_without_browser test' do
@@ -421,7 +421,7 @@ describe 'V0alpha2Api' do
421
421
 
422
422
  # unit tests for submit_self_service_login_flow
423
423
  # Submit a Login Flow
424
- # :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
424
+ # :::info This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future. ::: Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
425
425
  # @param flow The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
426
426
  # @param [Hash] opts the optional parameters
427
427
  # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
@@ -474,7 +474,7 @@ describe 'V0alpha2Api' do
474
474
 
475
475
  # unit tests for submit_self_service_registration_flow
476
476
  # Submit a Registration Flow
477
- # Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 303 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
477
+ # Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 303 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
478
478
  # @param flow The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
479
479
  # @param [Hash] opts the optional parameters
480
480
  # @option opts [SubmitSelfServiceRegistrationFlowBody] :submit_self_service_registration_flow_body
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
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
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.113
6
+ The version of the OpenAPI document: v0.0.1-alpha.115
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -25,6 +25,18 @@ describe OryClient::AdminCreateIdentityBody do
25
25
  expect(instance).to be_instance_of(OryClient::AdminCreateIdentityBody)
26
26
  end
27
27
  end
28
+ describe 'test attribute "credentials"' 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 "recovery_addresses"' 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
+
28
40
  describe 'test attribute "schema_id"' do
29
41
  it 'should work' do
30
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -43,4 +55,10 @@ describe OryClient::AdminCreateIdentityBody do
43
55
  end
44
56
  end
45
57
 
58
+ describe 'test attribute "verifiable_addresses"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
46
64
  end
@@ -0,0 +1,40 @@
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.115
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryClient::AdminCreateIdentityImportCredentialsOidcConfig
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryClient::AdminCreateIdentityImportCredentialsOidcConfig do
21
+ let(:instance) { OryClient::AdminCreateIdentityImportCredentialsOidcConfig.new }
22
+
23
+ describe 'test an instance of AdminCreateIdentityImportCredentialsOidcConfig' do
24
+ it 'should create an instance of AdminCreateIdentityImportCredentialsOidcConfig' do
25
+ expect(instance).to be_instance_of(OryClient::AdminCreateIdentityImportCredentialsOidcConfig)
26
+ end
27
+ end
28
+ describe 'test attribute "config"' 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 "providers"' 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
+ end
@@ -0,0 +1,40 @@
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.115
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryClient::AdminCreateIdentityImportCredentialsOidcProvider
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe OryClient::AdminCreateIdentityImportCredentialsOidcProvider do
21
+ let(:instance) { OryClient::AdminCreateIdentityImportCredentialsOidcProvider.new }
22
+
23
+ describe 'test an instance of AdminCreateIdentityImportCredentialsOidcProvider' do
24
+ it 'should create an instance of AdminCreateIdentityImportCredentialsOidcProvider' do
25
+ expect(instance).to be_instance_of(OryClient::AdminCreateIdentityImportCredentialsOidcProvider)
26
+ end
27
+ end
28
+ describe 'test attribute "provider"' 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 "subject"' 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
+ end