ory-client 0.0.1.alpha177 → 0.0.1.alpha178

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +5 -5
  4. data/docs/V0alpha2Api.md +18 -10
  5. data/lib/ory-client/api/metadata_api.rb +1 -1
  6. data/lib/ory-client/api/read_api.rb +1 -1
  7. data/lib/ory-client/api/v0alpha2_api.rb +28 -16
  8. data/lib/ory-client/api/write_api.rb +1 -1
  9. data/lib/ory-client/api_client.rb +1 -1
  10. data/lib/ory-client/api_error.rb +1 -1
  11. data/lib/ory-client/configuration.rb +1 -1
  12. data/lib/ory-client/models/active_project.rb +1 -1
  13. data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
  14. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
  15. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
  16. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
  17. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
  18. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
  19. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  20. data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
  21. data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
  22. data/lib/ory-client/models/api_token.rb +1 -1
  23. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  24. data/lib/ory-client/models/cloud_account.rb +1 -1
  25. data/lib/ory-client/models/cname_settings.rb +1 -1
  26. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  27. data/lib/ory-client/models/create_project_body.rb +1 -1
  28. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  29. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  30. data/lib/ory-client/models/expand_tree.rb +1 -1
  31. data/lib/ory-client/models/generic_error.rb +1 -1
  32. data/lib/ory-client/models/generic_error_content.rb +1 -1
  33. data/lib/ory-client/models/get_check_response.rb +1 -1
  34. data/lib/ory-client/models/get_relation_tuples_response.rb +1 -1
  35. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  36. data/lib/ory-client/models/health_status.rb +1 -1
  37. data/lib/ory-client/models/identity.rb +1 -1
  38. data/lib/ory-client/models/identity_credentials.rb +1 -1
  39. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  40. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  41. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  42. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  43. data/lib/ory-client/models/identity_schema.rb +1 -1
  44. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  45. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  46. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  47. data/lib/ory-client/models/identity_state.rb +1 -1
  48. data/lib/ory-client/models/inline_response200.rb +1 -1
  49. data/lib/ory-client/models/inline_response2001.rb +1 -1
  50. data/lib/ory-client/models/inline_response503.rb +1 -1
  51. data/lib/ory-client/models/internal_relation_tuple.rb +1 -1
  52. data/lib/ory-client/models/invite_payload.rb +1 -1
  53. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  54. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  55. data/lib/ory-client/models/json_error.rb +1 -1
  56. data/lib/ory-client/models/json_patch.rb +1 -1
  57. data/lib/ory-client/models/keto_namespace.rb +1 -1
  58. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  59. data/lib/ory-client/models/normalized_project.rb +1 -1
  60. data/lib/ory-client/models/normalized_project_revision.rb +1 -1
  61. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  62. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
  63. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
  64. data/lib/ory-client/models/null_plan.rb +1 -1
  65. data/lib/ory-client/models/pagination.rb +1 -1
  66. data/lib/ory-client/models/patch_delta.rb +1 -1
  67. data/lib/ory-client/models/project.rb +1 -1
  68. data/lib/ory-client/models/project_host.rb +1 -1
  69. data/lib/ory-client/models/project_invite.rb +1 -1
  70. data/lib/ory-client/models/project_metadata.rb +1 -1
  71. data/lib/ory-client/models/project_service_identity.rb +1 -1
  72. data/lib/ory-client/models/project_service_permission.rb +1 -1
  73. data/lib/ory-client/models/project_services.rb +1 -1
  74. data/lib/ory-client/models/provision_mock_subscription_payload.rb +1 -1
  75. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  76. data/lib/ory-client/models/recovery_address.rb +1 -1
  77. data/lib/ory-client/models/relation_query.rb +1 -1
  78. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  79. data/lib/ory-client/models/schema_patch.rb +1 -1
  80. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  81. data/lib/ory-client/models/self_service_error.rb +1 -1
  82. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  83. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  84. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  85. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  86. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  87. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  88. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  89. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  90. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  91. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  92. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  93. data/lib/ory-client/models/session.rb +1 -1
  94. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  95. data/lib/ory-client/models/session_device.rb +1 -1
  96. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  97. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  98. data/lib/ory-client/models/subject_set.rb +1 -1
  99. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
  100. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  101. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  102. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  103. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  104. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  105. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  106. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  107. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  108. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  109. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  110. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  111. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  112. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
  113. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  114. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  115. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  116. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  117. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  118. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  119. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  120. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  121. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  122. data/lib/ory-client/models/subscription.rb +1 -1
  123. data/lib/ory-client/models/successful_project_update.rb +1 -1
  124. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  125. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  126. data/lib/ory-client/models/ui_container.rb +1 -1
  127. data/lib/ory-client/models/ui_node.rb +1 -1
  128. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  129. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  130. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  131. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  132. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  133. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  134. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  135. data/lib/ory-client/models/ui_text.rb +1 -1
  136. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  137. data/lib/ory-client/models/update_project.rb +1 -1
  138. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  139. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  140. data/lib/ory-client/models/version.rb +1 -1
  141. data/lib/ory-client/models/warning.rb +1 -1
  142. data/lib/ory-client/version.rb +2 -2
  143. data/lib/ory-client.rb +1 -1
  144. data/ory-client.gemspec +1 -1
  145. data/spec/api/metadata_api_spec.rb +1 -1
  146. data/spec/api/read_api_spec.rb +1 -1
  147. data/spec/api/v0alpha2_api_spec.rb +10 -6
  148. data/spec/api/write_api_spec.rb +1 -1
  149. data/spec/api_client_spec.rb +1 -1
  150. data/spec/configuration_spec.rb +1 -1
  151. data/spec/models/active_project_spec.rb +1 -1
  152. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  153. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
  154. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
  155. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
  156. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
  157. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
  158. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  159. data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
  160. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  161. data/spec/models/api_token_spec.rb +1 -1
  162. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  163. data/spec/models/cloud_account_spec.rb +1 -1
  164. data/spec/models/cname_settings_spec.rb +1 -1
  165. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  166. data/spec/models/create_project_body_spec.rb +1 -1
  167. data/spec/models/create_subscription_payload_spec.rb +1 -1
  168. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  169. data/spec/models/expand_tree_spec.rb +1 -1
  170. data/spec/models/generic_error_content_spec.rb +1 -1
  171. data/spec/models/generic_error_spec.rb +1 -1
  172. data/spec/models/get_check_response_spec.rb +1 -1
  173. data/spec/models/get_relation_tuples_response_spec.rb +1 -1
  174. data/spec/models/health_not_ready_status_spec.rb +1 -1
  175. data/spec/models/health_status_spec.rb +1 -1
  176. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  177. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  178. data/spec/models/identity_credentials_password_spec.rb +1 -1
  179. data/spec/models/identity_credentials_spec.rb +1 -1
  180. data/spec/models/identity_credentials_type_spec.rb +1 -1
  181. data/spec/models/identity_schema_location_spec.rb +1 -1
  182. data/spec/models/identity_schema_preset_spec.rb +1 -1
  183. data/spec/models/identity_schema_spec.rb +1 -1
  184. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  185. data/spec/models/identity_spec.rb +1 -1
  186. data/spec/models/identity_state_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/internal_relation_tuple_spec.rb +1 -1
  191. data/spec/models/invite_payload_spec.rb +1 -1
  192. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  193. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  194. data/spec/models/json_error_spec.rb +1 -1
  195. data/spec/models/json_patch_spec.rb +1 -1
  196. data/spec/models/keto_namespace_spec.rb +1 -1
  197. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  198. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  199. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  200. data/spec/models/normalized_project_revision_spec.rb +1 -1
  201. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  202. data/spec/models/normalized_project_spec.rb +1 -1
  203. data/spec/models/null_plan_spec.rb +1 -1
  204. data/spec/models/pagination_spec.rb +1 -1
  205. data/spec/models/patch_delta_spec.rb +1 -1
  206. data/spec/models/project_host_spec.rb +1 -1
  207. data/spec/models/project_invite_spec.rb +1 -1
  208. data/spec/models/project_metadata_spec.rb +1 -1
  209. data/spec/models/project_service_identity_spec.rb +1 -1
  210. data/spec/models/project_service_permission_spec.rb +1 -1
  211. data/spec/models/project_services_spec.rb +1 -1
  212. data/spec/models/project_spec.rb +1 -1
  213. data/spec/models/provision_mock_subscription_payload_spec.rb +1 -1
  214. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  215. data/spec/models/recovery_address_spec.rb +1 -1
  216. data/spec/models/relation_query_spec.rb +1 -1
  217. data/spec/models/revoked_sessions_spec.rb +1 -1
  218. data/spec/models/schema_patch_spec.rb +1 -1
  219. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  220. data/spec/models/self_service_error_spec.rb +1 -1
  221. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  222. data/spec/models/self_service_login_flow_spec.rb +1 -1
  223. data/spec/models/self_service_logout_url_spec.rb +1 -1
  224. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  225. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  226. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  227. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  228. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  229. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  230. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  231. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  232. data/spec/models/session_authentication_method_spec.rb +1 -1
  233. data/spec/models/session_device_spec.rb +1 -1
  234. data/spec/models/session_spec.rb +1 -1
  235. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  236. data/spec/models/stripe_customer_response_spec.rb +1 -1
  237. data/spec/models/subject_set_spec.rb +1 -1
  238. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
  239. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  240. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  241. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  242. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  243. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  244. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  245. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  246. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  247. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  248. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  249. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  250. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  251. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
  252. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  253. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  254. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  255. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  256. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  257. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  258. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  259. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  260. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  261. data/spec/models/subscription_spec.rb +1 -1
  262. data/spec/models/successful_project_update_spec.rb +1 -1
  263. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  264. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  265. data/spec/models/ui_container_spec.rb +1 -1
  266. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  267. data/spec/models/ui_node_attributes_spec.rb +1 -1
  268. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  269. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  270. data/spec/models/ui_node_meta_spec.rb +1 -1
  271. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  272. data/spec/models/ui_node_spec.rb +1 -1
  273. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  274. data/spec/models/ui_text_spec.rb +1 -1
  275. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  276. data/spec/models/update_project_spec.rb +1 -1
  277. data/spec/models/update_subscription_payload_spec.rb +1 -1
  278. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  279. data/spec/models/version_spec.rb +1 -1
  280. data/spec/models/warning_spec.rb +1 -1
  281. data/spec/spec_helper.rb +1 -1
  282. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  283. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  284. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  285. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
  286. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  287. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  288. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  289. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  290. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  291. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
  292. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  293. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f29d9f8d513c8f08dd549dd9b6490fdfe88c6e1c7ca2d38b54a616813f349019
4
- data.tar.gz: e18e3846587473b38e70fa2223e12e949e121480ac1547b3e4b3d8262769c37e
3
+ metadata.gz: 2c8cab1cc2a83c966d301da6515f9e83396be026691a018d039b2900a6d52810
4
+ data.tar.gz: ae42c1665ce1aed671a281db0210aa9ca1ac8672e97c70a673dbfd41acab9a8d
5
5
  SHA512:
6
- metadata.gz: 316745969e0c4e8de988f3ae8bfda409209b968bff4b737a6262edd24ab290692baefe46807aa06af694a160e6ba8a65d998c3c7d582ef89fd09cfc210dd2a50
7
- data.tar.gz: 93c3ce48b13ca63b9db583d310fff61ad43571dd632dbaac3aa669b27e3ecf1227c3dafc5f6b979c5e67a5b938641f8063b0f0d9dac8bef5a7504209df4ecfee
6
+ metadata.gz: b18b0321cf190ef3919f860273f79ffd76fca12a4ddd98a14c553919de6bb06291395de9582fbaf6515aab14e92f5d346b0a4685e096eac6b3a2db8f33760ca4
7
+ data.tar.gz: 4d9743bb61d5b83a3d20ec1af66042f9438acb4327060dab81a1f68ab90fc80a07e3460352fa819a1fc5d0f9916579f0e1caeebd82e36009d5692fc88671b8aa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ory-client (0.0.1.alpha177)
4
+ ory-client (0.0.1.alpha178)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -8,8 +8,8 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
8
8
 
9
9
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
10
 
11
- - API version: v0.0.1-alpha.177
12
- - Package version: v0.0.1-alpha.177
11
+ - API version: v0.0.1-alpha.178
12
+ - Package version: v0.0.1-alpha.178
13
13
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
14
14
 
15
15
  ## Installation
@@ -25,16 +25,16 @@ gem build ory-client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./ory-client-v0.0.1-alpha.177.gem
28
+ gem install ./ory-client-v0.0.1-alpha.178.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.177.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.178.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'ory-client', '~> v0.0.1-alpha.177'
37
+ gem 'ory-client', '~> v0.0.1-alpha.178'
38
38
 
39
39
  ### Install from Git
40
40
 
data/docs/V0alpha2Api.md CHANGED
@@ -1117,7 +1117,7 @@ require 'ory-client'
1117
1117
  api_instance = OryClient::V0alpha2Api.new
1118
1118
  id = 'id_example' # String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
1119
1119
  opts = {
1120
- cookie: 'cookie_example' # String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
1120
+ cookie: 'cookie_example' # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1121
1121
  }
1122
1122
 
1123
1123
  begin
@@ -1152,7 +1152,7 @@ end
1152
1152
  | Name | Type | Description | Notes |
1153
1153
  | ---- | ---- | ----------- | ----- |
1154
1154
  | **id** | **String** | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). | |
1155
- | **cookie** | **String** | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. | [optional] |
1155
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
1156
1156
 
1157
1157
  ### Return type
1158
1158
 
@@ -1185,7 +1185,7 @@ require 'ory-client'
1185
1185
  api_instance = OryClient::V0alpha2Api.new
1186
1186
  id = 'id_example' # String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
1187
1187
  opts = {
1188
- cookie: 'cookie_example' # String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
1188
+ cookie: 'cookie_example' # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1189
1189
  }
1190
1190
 
1191
1191
  begin
@@ -1220,7 +1220,7 @@ end
1220
1220
  | Name | Type | Description | Notes |
1221
1221
  | ---- | ---- | ----------- | ----- |
1222
1222
  | **id** | **String** | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). | |
1223
- | **cookie** | **String** | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. | [optional] |
1223
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
1224
1224
 
1225
1225
  ### Return type
1226
1226
 
@@ -1253,7 +1253,7 @@ require 'ory-client'
1253
1253
  api_instance = OryClient::V0alpha2Api.new
1254
1254
  id = 'id_example' # String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
1255
1255
  opts = {
1256
- cookie: 'cookie_example' # String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
1256
+ cookie: 'cookie_example' # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1257
1257
  }
1258
1258
 
1259
1259
  begin
@@ -1288,7 +1288,7 @@ end
1288
1288
  | Name | Type | Description | Notes |
1289
1289
  | ---- | ---- | ----------- | ----- |
1290
1290
  | **id** | **String** | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). | |
1291
- | **cookie** | **String** | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. | [optional] |
1291
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
1292
1292
 
1293
1293
  ### Return type
1294
1294
 
@@ -1322,7 +1322,7 @@ api_instance = OryClient::V0alpha2Api.new
1322
1322
  id = 'id_example' # String | ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
1323
1323
  opts = {
1324
1324
  x_session_token: 'x_session_token_example', # String | The Session Token When using the SDK in an app without a browser, please include the session token here.
1325
- cookie: 'cookie_example' # String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. You only need to do this for browser- based flows.
1325
+ cookie: 'cookie_example' # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1326
1326
  }
1327
1327
 
1328
1328
  begin
@@ -1358,7 +1358,7 @@ end
1358
1358
  | ---- | ---- | ----------- | ----- |
1359
1359
  | **id** | **String** | ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). | |
1360
1360
  | **x_session_token** | **String** | The Session Token When using the SDK in an app without a browser, please include the session token here. | [optional] |
1361
- | **cookie** | **String** | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. You only need to do this for browser- based flows. | [optional] |
1361
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
1362
1362
 
1363
1363
  ### Return type
1364
1364
 
@@ -2722,7 +2722,7 @@ api_instance = OryClient::V0alpha2Api.new
2722
2722
  flow = 'flow_example' # String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
2723
2723
  opts = {
2724
2724
  x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
2725
- cookie: 'cookie_example', # String | CSRF Cookie The CSRF cookie for browsers flow.
2725
+ cookie: 'cookie_example', # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2726
2726
  submit_self_service_login_flow_body: OryClient::SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.new({lookup_secret: 'lookup_secret_example', method: 'method_example'}) # SubmitSelfServiceLoginFlowBody |
2727
2727
  }
2728
2728
 
@@ -2759,7 +2759,7 @@ end
2759
2759
  | ---- | ---- | ----------- | ----- |
2760
2760
  | **flow** | **String** | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). | |
2761
2761
  | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
2762
- | **cookie** | **String** | CSRF Cookie The CSRF cookie for browsers flow. | [optional] |
2762
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
2763
2763
  | **submit_self_service_login_flow_body** | [**SubmitSelfServiceLoginFlowBody**](SubmitSelfServiceLoginFlowBody.md) | | [optional] |
2764
2764
 
2765
2765
  ### Return type
@@ -2924,6 +2924,7 @@ api_instance = OryClient::V0alpha2Api.new
2924
2924
  flow = 'flow_example' # String | The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`).
2925
2925
  opts = {
2926
2926
  token: 'token_example', # String | Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
2927
+ cookie: 'cookie_example', # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2927
2928
  submit_self_service_recovery_flow_body: OryClient::SubmitSelfServiceRecoveryFlowWithLinkMethodBody.new({email: 'email_example', method: 'method_example'}) # SubmitSelfServiceRecoveryFlowBody |
2928
2929
  }
2929
2930
 
@@ -2960,6 +2961,7 @@ end
2960
2961
  | ---- | ---- | ----------- | ----- |
2961
2962
  | **flow** | **String** | The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). | |
2962
2963
  | **token** | **String** | Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. | [optional] |
2964
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
2963
2965
  | **submit_self_service_recovery_flow_body** | [**SubmitSelfServiceRecoveryFlowBody**](SubmitSelfServiceRecoveryFlowBody.md) | | [optional] |
2964
2966
 
2965
2967
  ### Return type
@@ -2993,6 +2995,7 @@ require 'ory-client'
2993
2995
  api_instance = OryClient::V0alpha2Api.new
2994
2996
  flow = 'flow_example' # String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`).
2995
2997
  opts = {
2998
+ cookie: 'cookie_example', # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2996
2999
  submit_self_service_registration_flow_body: OryClient::SubmitSelfServiceRegistrationFlowWithOidcMethodBody.new({method: 'method_example', provider: 'provider_example'}) # SubmitSelfServiceRegistrationFlowBody |
2997
3000
  }
2998
3001
 
@@ -3028,6 +3031,7 @@ end
3028
3031
  | Name | Type | Description | Notes |
3029
3032
  | ---- | ---- | ----------- | ----- |
3030
3033
  | **flow** | **String** | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). | |
3034
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
3031
3035
  | **submit_self_service_registration_flow_body** | [**SubmitSelfServiceRegistrationFlowBody**](SubmitSelfServiceRegistrationFlowBody.md) | | [optional] |
3032
3036
 
3033
3037
  ### Return type
@@ -3062,6 +3066,7 @@ api_instance = OryClient::V0alpha2Api.new
3062
3066
  flow = 'flow_example' # String | The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`).
3063
3067
  opts = {
3064
3068
  x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
3069
+ cookie: 'cookie_example', # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
3065
3070
  submit_self_service_settings_flow_body: OryClient::SubmitSelfServiceSettingsFlowWithLookupMethodBody.new({method: 'method_example'}) # SubmitSelfServiceSettingsFlowBody |
3066
3071
  }
3067
3072
 
@@ -3098,6 +3103,7 @@ end
3098
3103
  | ---- | ---- | ----------- | ----- |
3099
3104
  | **flow** | **String** | The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). | |
3100
3105
  | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
3106
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
3101
3107
  | **submit_self_service_settings_flow_body** | [**SubmitSelfServiceSettingsFlowBody**](SubmitSelfServiceSettingsFlowBody.md) | | [optional] |
3102
3108
 
3103
3109
  ### Return type
@@ -3132,6 +3138,7 @@ api_instance = OryClient::V0alpha2Api.new
3132
3138
  flow = 'flow_example' # String | The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
3133
3139
  opts = {
3134
3140
  token: 'token_example', # String | Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
3141
+ cookie: 'cookie_example', # String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
3135
3142
  submit_self_service_verification_flow_body: OryClient::SubmitSelfServiceVerificationFlowWithLinkMethodBody.new({email: 'email_example', method: 'method_example'}) # SubmitSelfServiceVerificationFlowBody |
3136
3143
  }
3137
3144
 
@@ -3168,6 +3175,7 @@ end
3168
3175
  | ---- | ---- | ----------- | ----- |
3169
3176
  | **flow** | **String** | The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). | |
3170
3177
  | **token** | **String** | Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. | [optional] |
3178
+ | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
3171
3179
  | **submit_self_service_verification_flow_body** | [**SubmitSelfServiceVerificationFlowBody**](SubmitSelfServiceVerificationFlowBody.md) | | [optional] |
3172
3180
 
3173
3181
  ### Return type
@@ -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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -1010,7 +1010,7 @@ module OryClient
1010
1010
  # 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).
1011
1011
  # @param id [String] The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
1012
1012
  # @param [Hash] opts the optional parameters
1013
- # @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.
1013
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1014
1014
  # @return [SelfServiceLoginFlow]
1015
1015
  def get_self_service_login_flow(id, opts = {})
1016
1016
  data, _status_code, _headers = get_self_service_login_flow_with_http_info(id, opts)
@@ -1021,7 +1021,7 @@ module OryClient
1021
1021
  # 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).
1022
1022
  # @param id [String] The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`).
1023
1023
  # @param [Hash] opts the optional parameters
1024
- # @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.
1024
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1025
1025
  # @return [Array<(SelfServiceLoginFlow, Integer, Hash)>] SelfServiceLoginFlow data, response status code and response headers
1026
1026
  def get_self_service_login_flow_with_http_info(id, opts = {})
1027
1027
  if @api_client.config.debugging
@@ -1042,7 +1042,7 @@ module OryClient
1042
1042
  header_params = opts[:header_params] || {}
1043
1043
  # HTTP header 'Accept' (if needed)
1044
1044
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1045
- header_params[:'cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1045
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1046
1046
 
1047
1047
  # form parameters
1048
1048
  form_params = opts[:form_params] || {}
@@ -1077,7 +1077,7 @@ module OryClient
1077
1077
  # This endpoint returns a recovery 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('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
1078
1078
  # @param id [String] The Flow ID The value for this parameter comes from &#x60;request&#x60; URL Query parameter sent to your application (e.g. &#x60;/recovery?flow&#x3D;abcde&#x60;).
1079
1079
  # @param [Hash] opts the optional parameters
1080
- # @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.
1080
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1081
1081
  # @return [SelfServiceRecoveryFlow]
1082
1082
  def get_self_service_recovery_flow(id, opts = {})
1083
1083
  data, _status_code, _headers = get_self_service_recovery_flow_with_http_info(id, opts)
@@ -1088,7 +1088,7 @@ module OryClient
1088
1088
  # This endpoint returns a recovery flow&#39;s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request&#39;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: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/recovery&#39;, async function (req, res) { const flow &#x3D; await client.getSelfServiceRecoveryFlow(req.header(&#39;Cookie&#39;), req.query[&#39;flow&#39;]) res.render(&#39;recovery&#39;, flow) }) &#x60;&#x60;&#x60; More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
1089
1089
  # @param id [String] The Flow ID The value for this parameter comes from &#x60;request&#x60; URL Query parameter sent to your application (e.g. &#x60;/recovery?flow&#x3D;abcde&#x60;).
1090
1090
  # @param [Hash] opts the optional parameters
1091
- # @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.
1091
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1092
1092
  # @return [Array<(SelfServiceRecoveryFlow, Integer, Hash)>] SelfServiceRecoveryFlow data, response status code and response headers
1093
1093
  def get_self_service_recovery_flow_with_http_info(id, opts = {})
1094
1094
  if @api_client.config.debugging
@@ -1109,7 +1109,7 @@ module OryClient
1109
1109
  header_params = opts[:header_params] || {}
1110
1110
  # HTTP header 'Accept' (if needed)
1111
1111
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1112
- header_params[:'cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1112
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1113
1113
 
1114
1114
  # form parameters
1115
1115
  form_params = opts[:form_params] || {}
@@ -1144,7 +1144,7 @@ module OryClient
1144
1144
  # 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).
1145
1145
  # @param id [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
1146
1146
  # @param [Hash] opts the optional parameters
1147
- # @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.
1147
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1148
1148
  # @return [SelfServiceRegistrationFlow]
1149
1149
  def get_self_service_registration_flow(id, opts = {})
1150
1150
  data, _status_code, _headers = get_self_service_registration_flow_with_http_info(id, opts)
@@ -1155,7 +1155,7 @@ module OryClient
1155
1155
  # This endpoint returns a registration flow&#39;s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request&#39;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: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/registration&#39;, async function (req, res) { const flow &#x3D; await client.getSelfServiceRegistrationFlow(req.header(&#39;cookie&#39;), req.query[&#39;flow&#39;]) res.render(&#39;registration&#39;, flow) }) &#x60;&#x60;&#x60; This request may fail due to several reasons. The &#x60;error.id&#x60; can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;self_service_flow_expired&#x60;: 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).
1156
1156
  # @param id [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
1157
1157
  # @param [Hash] opts the optional parameters
1158
- # @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.
1158
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1159
1159
  # @return [Array<(SelfServiceRegistrationFlow, Integer, Hash)>] SelfServiceRegistrationFlow data, response status code and response headers
1160
1160
  def get_self_service_registration_flow_with_http_info(id, opts = {})
1161
1161
  if @api_client.config.debugging
@@ -1176,7 +1176,7 @@ module OryClient
1176
1176
  header_params = opts[:header_params] || {}
1177
1177
  # HTTP header 'Accept' (if needed)
1178
1178
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1179
- header_params[:'cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1179
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1180
1180
 
1181
1181
  # form parameters
1182
1182
  form_params = opts[:form_params] || {}
@@ -1212,7 +1212,7 @@ module OryClient
1212
1212
  # @param id [String] ID is the Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;).
1213
1213
  # @param [Hash] opts the optional parameters
1214
1214
  # @option opts [String] :x_session_token The Session Token When using the SDK in an app without a browser, please include the session token here.
1215
- # @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. You only need to do this for browser- based flows.
1215
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1216
1216
  # @return [SelfServiceSettingsFlow]
1217
1217
  def get_self_service_settings_flow(id, opts = {})
1218
1218
  data, _status_code, _headers = get_self_service_settings_flow_with_http_info(id, opts)
@@ -1224,7 +1224,7 @@ module OryClient
1224
1224
  # @param id [String] ID is the Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;).
1225
1225
  # @param [Hash] opts the optional parameters
1226
1226
  # @option opts [String] :x_session_token The Session Token When using the SDK in an app without a browser, please include the session token here.
1227
- # @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. You only need to do this for browser- based flows.
1227
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1228
1228
  # @return [Array<(SelfServiceSettingsFlow, Integer, Hash)>] SelfServiceSettingsFlow data, response status code and response headers
1229
1229
  def get_self_service_settings_flow_with_http_info(id, opts = {})
1230
1230
  if @api_client.config.debugging
@@ -1246,7 +1246,7 @@ module OryClient
1246
1246
  # HTTP header 'Accept' (if needed)
1247
1247
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1248
1248
  header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
1249
- header_params[:'cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1249
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
1250
1250
 
1251
1251
  # form parameters
1252
1252
  form_params = opts[:form_params] || {}
@@ -2548,7 +2548,7 @@ module OryClient
2548
2548
  # @param flow [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
2549
2549
  # @param [Hash] opts the optional parameters
2550
2550
  # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
2551
- # @option opts [String] :cookie CSRF Cookie The CSRF cookie for browsers flow.
2551
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2552
2552
  # @option opts [SubmitSelfServiceLoginFlowBody] :submit_self_service_login_flow_body
2553
2553
  # @return [SuccessfulSelfServiceLoginWithoutBrowser]
2554
2554
  def submit_self_service_login_flow(flow, opts = {})
@@ -2561,7 +2561,7 @@ module OryClient
2561
2561
  # @param flow [String] The Login Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?flow&#x3D;abcde&#x60;).
2562
2562
  # @param [Hash] opts the optional parameters
2563
2563
  # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
2564
- # @option opts [String] :cookie CSRF Cookie The CSRF cookie for browsers flow.
2564
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2565
2565
  # @option opts [SubmitSelfServiceLoginFlowBody] :submit_self_service_login_flow_body
2566
2566
  # @return [Array<(SuccessfulSelfServiceLoginWithoutBrowser, Integer, Hash)>] SuccessfulSelfServiceLoginWithoutBrowser data, response status code and response headers
2567
2567
  def submit_self_service_login_flow_with_http_info(flow, opts = {})
@@ -2589,7 +2589,7 @@ module OryClient
2589
2589
  header_params['Content-Type'] = content_type
2590
2590
  end
2591
2591
  header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
2592
- header_params[:'cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
2592
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
2593
2593
 
2594
2594
  # form parameters
2595
2595
  form_params = opts[:form_params] || {}
@@ -2756,6 +2756,7 @@ module OryClient
2756
2756
  # @param flow [String] The Recovery Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/recovery?flow&#x3D;abcde&#x60;).
2757
2757
  # @param [Hash] opts the optional parameters
2758
2758
  # @option opts [String] :token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
2759
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2759
2760
  # @option opts [SubmitSelfServiceRecoveryFlowBody] :submit_self_service_recovery_flow_body
2760
2761
  # @return [SelfServiceRecoveryFlow]
2761
2762
  def submit_self_service_recovery_flow(flow, opts = {})
@@ -2768,6 +2769,7 @@ module OryClient
2768
2769
  # @param flow [String] The Recovery Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/recovery?flow&#x3D;abcde&#x60;).
2769
2770
  # @param [Hash] opts the optional parameters
2770
2771
  # @option opts [String] :token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
2772
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2771
2773
  # @option opts [SubmitSelfServiceRecoveryFlowBody] :submit_self_service_recovery_flow_body
2772
2774
  # @return [Array<(SelfServiceRecoveryFlow, Integer, Hash)>] SelfServiceRecoveryFlow data, response status code and response headers
2773
2775
  def submit_self_service_recovery_flow_with_http_info(flow, opts = {})
@@ -2795,6 +2797,7 @@ module OryClient
2795
2797
  if !content_type.nil?
2796
2798
  header_params['Content-Type'] = content_type
2797
2799
  end
2800
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
2798
2801
 
2799
2802
  # form parameters
2800
2803
  form_params = opts[:form_params] || {}
@@ -2829,6 +2832,7 @@ module OryClient
2829
2832
  # 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 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; 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).
2830
2833
  # @param flow [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
2831
2834
  # @param [Hash] opts the optional parameters
2835
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2832
2836
  # @option opts [SubmitSelfServiceRegistrationFlowBody] :submit_self_service_registration_flow_body
2833
2837
  # @return [SuccessfulSelfServiceRegistrationWithoutBrowser]
2834
2838
  def submit_self_service_registration_flow(flow, opts = {})
@@ -2840,6 +2844,7 @@ module OryClient
2840
2844
  # Use this endpoint to complete a registration flow by sending an identity&#39;s traits and password. This endpoint behaves differently for API and browser flows. API flows expect &#x60;application/json&#x60; 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 &#x60;session&#x60; and &#x60;session_token&#x60; will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a &#x60;use_flow_id&#x60; parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of &#x60;application/x-www-form-urlencoded&#x60; or &#x60;application/json&#x60; to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the &#x60;return_to&#x60; 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 &#x60;application/json&#x60; will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a &#x60;Set-Cookie&#x60; 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 &#x60;Accept: application/json&#x60; in the header, the response contains the flow without a redirect. In the case of an error, the &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; address is not allowed to be used. Adjust this in the configuration! &#x60;browser_location_change_required&#x60;: 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).
2841
2845
  # @param flow [String] The Registration Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?flow&#x3D;abcde&#x60;).
2842
2846
  # @param [Hash] opts the optional parameters
2847
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2843
2848
  # @option opts [SubmitSelfServiceRegistrationFlowBody] :submit_self_service_registration_flow_body
2844
2849
  # @return [Array<(SuccessfulSelfServiceRegistrationWithoutBrowser, Integer, Hash)>] SuccessfulSelfServiceRegistrationWithoutBrowser data, response status code and response headers
2845
2850
  def submit_self_service_registration_flow_with_http_info(flow, opts = {})
@@ -2866,6 +2871,7 @@ module OryClient
2866
2871
  if !content_type.nil?
2867
2872
  header_params['Content-Type'] = content_type
2868
2873
  end
2874
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
2869
2875
 
2870
2876
  # form parameters
2871
2877
  form_params = opts[:form_params] || {}
@@ -2901,6 +2907,7 @@ module OryClient
2901
2907
  # @param flow [String] The Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;).
2902
2908
  # @param [Hash] opts the optional parameters
2903
2909
  # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
2910
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2904
2911
  # @option opts [SubmitSelfServiceSettingsFlowBody] :submit_self_service_settings_flow_body
2905
2912
  # @return [SelfServiceSettingsFlow]
2906
2913
  def submit_self_service_settings_flow(flow, opts = {})
@@ -2913,6 +2920,7 @@ module OryClient
2913
2920
  # @param flow [String] The Settings Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/settings?flow&#x3D;abcde&#x60;).
2914
2921
  # @param [Hash] opts the optional parameters
2915
2922
  # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
2923
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2916
2924
  # @option opts [SubmitSelfServiceSettingsFlowBody] :submit_self_service_settings_flow_body
2917
2925
  # @return [Array<(SelfServiceSettingsFlow, Integer, Hash)>] SelfServiceSettingsFlow data, response status code and response headers
2918
2926
  def submit_self_service_settings_flow_with_http_info(flow, opts = {})
@@ -2940,6 +2948,7 @@ module OryClient
2940
2948
  header_params['Content-Type'] = content_type
2941
2949
  end
2942
2950
  header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
2951
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
2943
2952
 
2944
2953
  # form parameters
2945
2954
  form_params = opts[:form_params] || {}
@@ -2975,6 +2984,7 @@ module OryClient
2975
2984
  # @param flow [String] The Verification Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/verification?flow&#x3D;abcde&#x60;).
2976
2985
  # @param [Hash] opts the optional parameters
2977
2986
  # @option opts [String] :token Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
2987
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2978
2988
  # @option opts [SubmitSelfServiceVerificationFlowBody] :submit_self_service_verification_flow_body
2979
2989
  # @return [SelfServiceVerificationFlow]
2980
2990
  def submit_self_service_verification_flow(flow, opts = {})
@@ -2987,6 +2997,7 @@ module OryClient
2987
2997
  # @param flow [String] The Verification Flow ID The value for this parameter comes from &#x60;flow&#x60; URL Query parameter sent to your application (e.g. &#x60;/verification?flow&#x3D;abcde&#x60;).
2988
2998
  # @param [Hash] opts the optional parameters
2989
2999
  # @option opts [String] :token Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
3000
+ # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
2990
3001
  # @option opts [SubmitSelfServiceVerificationFlowBody] :submit_self_service_verification_flow_body
2991
3002
  # @return [Array<(SelfServiceVerificationFlow, Integer, Hash)>] SelfServiceVerificationFlow data, response status code and response headers
2992
3003
  def submit_self_service_verification_flow_with_http_info(flow, opts = {})
@@ -3014,6 +3025,7 @@ module OryClient
3014
3025
  if !content_type.nil?
3015
3026
  header_params['Content-Type'] = content_type
3016
3027
  end
3028
+ header_params[:'Cookie'] = opts[:'cookie'] if !opts[:'cookie'].nil?
3017
3029
 
3018
3030
  # form parameters
3019
3031
  form_params = opts[:form_params] || {}
@@ -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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
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.177
6
+ The version of the OpenAPI document: v0.0.1-alpha.178
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0