ory-kratos-client 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1081) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -15
  3. data/README.md +137 -109
  4. data/docs/CourierApi.md +87 -0
  5. data/docs/CourierMessageStatus.md +15 -0
  6. data/docs/CourierMessageType.md +15 -0
  7. data/docs/CreateIdentityBody.md +32 -0
  8. data/docs/CreateRecoveryCodeForIdentityBody.md +20 -0
  9. data/docs/CreateRecoveryLinkForIdentityBody.md +20 -0
  10. data/docs/DeleteMySessionsCount.md +18 -0
  11. data/docs/ErrorBrowserLocationChangeRequired.md +34 -0
  12. data/docs/ErrorFlowReplaced.md +34 -0
  13. data/docs/ErrorGeneric.md +18 -0
  14. data/docs/FlowError.md +24 -0
  15. data/docs/FrontendApi.md +1995 -0
  16. data/docs/GetVersion200Response.md +18 -0
  17. data/docs/Identity.md +2 -2
  18. data/docs/IdentityApi.md +1167 -0
  19. data/docs/IdentitySchemaContainer.md +20 -0
  20. data/docs/IdentityWithCredentials.md +20 -0
  21. data/docs/IdentityWithCredentialsOidc.md +18 -0
  22. data/docs/IdentityWithCredentialsOidcConfig.md +20 -0
  23. data/docs/IdentityWithCredentialsOidcConfigProvider.md +20 -0
  24. data/docs/IdentityWithCredentialsPassword.md +18 -0
  25. data/docs/IdentityWithCredentialsPasswordConfig.md +20 -0
  26. data/docs/IsAlive200Response.md +18 -0
  27. data/docs/IsReady503Response.md +18 -0
  28. data/docs/JsonPatch.md +24 -0
  29. data/docs/LoginFlow.md +44 -0
  30. data/docs/LogoutFlow.md +20 -0
  31. data/docs/Message.md +36 -0
  32. data/docs/MetadataApi.md +12 -12
  33. data/docs/OAuth2Client.md +106 -0
  34. data/docs/OAuth2ConsentRequestOpenIDConnectContext.md +26 -0
  35. data/docs/OAuth2LoginRequest.md +34 -0
  36. data/docs/Pagination.md +1 -1
  37. data/docs/PerformNativeLogoutBody.md +18 -0
  38. data/docs/RecoveryCodeForIdentity.md +22 -0
  39. data/docs/RecoveryFlow.md +34 -0
  40. data/docs/RecoveryFlowState.md +15 -0
  41. data/docs/RecoveryIdentityAddress.md +26 -0
  42. data/docs/RecoveryLinkForIdentity.md +20 -0
  43. data/docs/RegistrationFlow.md +36 -0
  44. data/docs/SelfServiceFlowExpiredError.md +3 -1
  45. data/docs/Session.md +3 -1
  46. data/docs/SessionDevice.md +7 -1
  47. data/docs/SettingsFlow.md +36 -0
  48. data/docs/SettingsFlowState.md +15 -0
  49. data/docs/SuccessfulNativeLogin.md +20 -0
  50. data/docs/SuccessfulNativeRegistration.md +22 -0
  51. data/docs/TokenPagination.md +20 -0
  52. data/docs/TokenPaginationHeaders.md +20 -0
  53. data/docs/UiNode.md +2 -2
  54. data/docs/UiNodeInputAttributes.md +3 -1
  55. data/docs/UiText.md +1 -1
  56. data/docs/UpdateIdentityBody.md +28 -0
  57. data/docs/UpdateLoginFlowBody.md +87 -0
  58. data/docs/UpdateLoginFlowWithLookupSecretMethod.md +22 -0
  59. data/docs/UpdateLoginFlowWithOidcMethod.md +24 -0
  60. data/docs/UpdateLoginFlowWithPasswordMethod.md +26 -0
  61. data/docs/UpdateLoginFlowWithTotpMethod.md +22 -0
  62. data/docs/UpdateLoginFlowWithWebAuthnMethod.md +24 -0
  63. data/docs/UpdateRecoveryFlowBody.md +78 -0
  64. data/docs/UpdateRecoveryFlowWithCodeMethod.md +24 -0
  65. data/docs/UpdateRecoveryFlowWithLinkMethod.md +22 -0
  66. data/docs/UpdateRegistrationFlowBody.md +81 -0
  67. data/docs/UpdateRegistrationFlowWithOidcMethod.md +24 -0
  68. data/docs/UpdateRegistrationFlowWithPasswordMethod.md +24 -0
  69. data/docs/UpdateRegistrationFlowWithWebAuthnMethod.md +26 -0
  70. data/docs/UpdateSettingsFlowBody.md +90 -0
  71. data/docs/UpdateSettingsFlowWithLookupMethod.md +28 -0
  72. data/docs/UpdateSettingsFlowWithOidcMethod.md +26 -0
  73. data/docs/UpdateSettingsFlowWithPasswordMethod.md +22 -0
  74. data/docs/UpdateSettingsFlowWithProfileMethod.md +22 -0
  75. data/docs/UpdateSettingsFlowWithTotpMethod.md +24 -0
  76. data/docs/UpdateSettingsFlowWithWebAuthnMethod.md +26 -0
  77. data/docs/UpdateVerificationFlowBody.md +75 -0
  78. data/docs/UpdateVerificationFlowWithCodeMethodBody.md +26 -0
  79. data/docs/UpdateVerificationFlowWithLinkMethod.md +22 -0
  80. data/docs/VerifiableIdentityAddress.md +1 -1
  81. data/docs/VerificationFlow.md +34 -0
  82. data/docs/VerificationFlowState.md +15 -0
  83. data/lib/ory-kratos-client/api/courier_api.rb +103 -0
  84. data/lib/ory-kratos-client/api/frontend_api.rb +1965 -0
  85. data/lib/ory-kratos-client/api/identity_api.rb +1120 -0
  86. data/lib/ory-kratos-client/api/metadata_api.rb +14 -14
  87. data/lib/ory-kratos-client/api_client.rb +8 -6
  88. data/lib/ory-kratos-client/api_error.rb +5 -5
  89. data/lib/ory-kratos-client/configuration.rb +7 -6
  90. data/lib/ory-kratos-client/models/authenticator_assurance_level.rb +5 -5
  91. data/lib/ory-kratos-client/models/courier_message_status.rb +39 -0
  92. data/lib/ory-kratos-client/models/courier_message_type.rb +37 -0
  93. data/lib/ory-kratos-client/models/create_identity_body.rb +305 -0
  94. data/lib/ory-kratos-client/models/create_recovery_code_for_identity_body.rb +253 -0
  95. data/lib/ory-kratos-client/models/create_recovery_link_for_identity_body.rb +253 -0
  96. data/lib/ory-kratos-client/models/delete_my_sessions_count.rb +221 -0
  97. data/lib/ory-kratos-client/models/error_authenticator_assurance_level_not_satisfied.rb +6 -5
  98. data/lib/ory-kratos-client/models/error_browser_location_change_required.rb +307 -0
  99. data/lib/ory-kratos-client/models/error_flow_replaced.rb +308 -0
  100. data/lib/ory-kratos-client/models/error_generic.rb +225 -0
  101. data/lib/ory-kratos-client/models/flow_error.rb +254 -0
  102. data/lib/ory-kratos-client/models/generic_error.rb +6 -5
  103. data/lib/ory-kratos-client/models/get_version200_response.rb +225 -0
  104. data/lib/ory-kratos-client/models/health_not_ready_status.rb +6 -5
  105. data/lib/ory-kratos-client/models/health_status.rb +6 -5
  106. data/lib/ory-kratos-client/models/identity.rb +9 -7
  107. data/lib/ory-kratos-client/models/identity_credentials.rb +6 -5
  108. data/lib/ory-kratos-client/models/identity_credentials_oidc.rb +6 -5
  109. data/lib/ory-kratos-client/models/identity_credentials_oidc_provider.rb +6 -5
  110. data/lib/ory-kratos-client/models/identity_credentials_password.rb +6 -5
  111. data/lib/ory-kratos-client/models/identity_credentials_type.rb +5 -5
  112. data/lib/ory-kratos-client/models/identity_schema_container.rb +231 -0
  113. data/lib/ory-kratos-client/models/identity_state.rb +5 -5
  114. data/lib/ory-kratos-client/models/identity_with_credentials.rb +229 -0
  115. data/lib/ory-kratos-client/models/identity_with_credentials_oidc.rb +220 -0
  116. data/lib/ory-kratos-client/models/identity_with_credentials_oidc_config.rb +231 -0
  117. data/lib/ory-kratos-client/models/identity_with_credentials_oidc_config_provider.rb +241 -0
  118. data/lib/ory-kratos-client/models/identity_with_credentials_password.rb +220 -0
  119. data/lib/ory-kratos-client/models/identity_with_credentials_password_config.rb +231 -0
  120. data/lib/ory-kratos-client/models/is_alive200_response.rb +225 -0
  121. data/lib/ory-kratos-client/models/is_ready503_response.rb +227 -0
  122. data/lib/ory-kratos-client/models/json_patch.rb +262 -0
  123. data/lib/ory-kratos-client/models/login_flow.rb +377 -0
  124. data/lib/ory-kratos-client/models/logout_flow.rb +241 -0
  125. data/lib/ory-kratos-client/models/message.rb +336 -0
  126. data/lib/ory-kratos-client/models/needs_privileged_session_error.rb +6 -5
  127. data/lib/ory-kratos-client/models/o_auth2_client.rb +669 -0
  128. data/lib/ory-kratos-client/models/o_auth2_consent_request_open_id_connect_context.rb +267 -0
  129. data/lib/ory-kratos-client/models/o_auth2_login_request.rb +301 -0
  130. data/lib/ory-kratos-client/models/pagination.rb +7 -6
  131. data/lib/ory-kratos-client/models/perform_native_logout_body.rb +226 -0
  132. data/lib/ory-kratos-client/models/recovery_code_for_identity.rb +251 -0
  133. data/lib/ory-kratos-client/models/recovery_flow.rb +334 -0
  134. data/lib/ory-kratos-client/models/recovery_flow_state.rb +38 -0
  135. data/lib/ory-kratos-client/models/recovery_identity_address.rb +272 -0
  136. data/lib/ory-kratos-client/models/recovery_link_for_identity.rb +236 -0
  137. data/lib/ory-kratos-client/models/registration_flow.rb +337 -0
  138. data/lib/ory-kratos-client/models/self_service_flow_expired_error.rb +18 -6
  139. data/lib/ory-kratos-client/models/session.rb +20 -6
  140. data/lib/ory-kratos-client/models/session_authentication_method.rb +8 -7
  141. data/lib/ory-kratos-client/models/session_device.rb +44 -7
  142. data/lib/ory-kratos-client/models/settings_flow.rb +348 -0
  143. data/lib/ory-kratos-client/models/settings_flow_state.rb +37 -0
  144. data/lib/ory-kratos-client/models/successful_native_login.rb +235 -0
  145. data/lib/ory-kratos-client/models/successful_native_registration.rb +244 -0
  146. data/lib/ory-kratos-client/models/token_pagination.rb +264 -0
  147. data/lib/ory-kratos-client/models/token_pagination_headers.rb +230 -0
  148. data/lib/ory-kratos-client/models/ui_container.rb +6 -5
  149. data/lib/ory-kratos-client/models/ui_node.rb +10 -9
  150. data/lib/ory-kratos-client/models/ui_node_anchor_attributes.rb +6 -5
  151. data/lib/ory-kratos-client/models/ui_node_attributes.rb +7 -7
  152. data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +6 -5
  153. data/lib/ory-kratos-client/models/ui_node_input_attributes.rb +64 -6
  154. data/lib/ory-kratos-client/models/ui_node_meta.rb +6 -5
  155. data/lib/ory-kratos-client/models/ui_node_script_attributes.rb +6 -5
  156. data/lib/ory-kratos-client/models/ui_node_text_attributes.rb +6 -5
  157. data/lib/ory-kratos-client/models/ui_text.rb +41 -5
  158. data/lib/ory-kratos-client/models/update_identity_body.rb +286 -0
  159. data/lib/ory-kratos-client/models/update_login_flow_body.rb +61 -0
  160. data/lib/ory-kratos-client/models/update_login_flow_with_lookup_secret_method.rb +251 -0
  161. data/lib/ory-kratos-client/models/update_login_flow_with_oidc_method.rb +261 -0
  162. data/lib/ory-kratos-client/models/update_login_flow_with_password_method.rb +276 -0
  163. data/lib/ory-kratos-client/models/update_login_flow_with_totp_method.rb +251 -0
  164. data/lib/ory-kratos-client/models/update_login_flow_with_web_authn_method.rb +261 -0
  165. data/lib/ory-kratos-client/models/update_recovery_flow_body.rb +56 -0
  166. data/lib/ory-kratos-client/models/update_recovery_flow_with_code_method.rb +256 -0
  167. data/lib/ory-kratos-client/models/update_recovery_flow_with_link_method.rb +251 -0
  168. data/lib/ory-kratos-client/models/update_registration_flow_body.rb +58 -0
  169. data/lib/ory-kratos-client/models/update_registration_flow_with_oidc_method.rb +261 -0
  170. data/lib/ory-kratos-client/models/update_registration_flow_with_password_method.rb +266 -0
  171. data/lib/ory-kratos-client/models/update_registration_flow_with_web_authn_method.rb +271 -0
  172. data/lib/ory-kratos-client/models/update_settings_flow_body.rb +64 -0
  173. data/lib/ory-kratos-client/models/update_settings_flow_with_lookup_method.rb +276 -0
  174. data/lib/ory-kratos-client/models/update_settings_flow_with_oidc_method.rb +266 -0
  175. data/lib/ory-kratos-client/models/update_settings_flow_with_password_method.rb +251 -0
  176. data/lib/ory-kratos-client/models/update_settings_flow_with_profile_method.rb +251 -0
  177. data/lib/ory-kratos-client/models/update_settings_flow_with_totp_method.rb +256 -0
  178. data/lib/ory-kratos-client/models/update_settings_flow_with_web_authn_method.rb +266 -0
  179. data/lib/ory-kratos-client/models/update_verification_flow_body.rb +54 -0
  180. data/lib/ory-kratos-client/models/update_verification_flow_with_code_method_body.rb +260 -0
  181. data/lib/ory-kratos-client/models/update_verification_flow_with_link_method.rb +251 -0
  182. data/lib/ory-kratos-client/models/verifiable_identity_address.rb +7 -10
  183. data/lib/ory-kratos-client/models/verification_flow.rb +319 -0
  184. data/lib/ory-kratos-client/models/verification_flow_state.rb +38 -0
  185. data/lib/ory-kratos-client/models/version.rb +6 -5
  186. data/lib/ory-kratos-client/version.rb +6 -6
  187. data/lib/ory-kratos-client.rb +74 -60
  188. data/ory-kratos-client.gemspec +7 -7
  189. data/spec/api/courier_api_spec.rb +50 -0
  190. data/spec/api/frontend_api_spec.rb +415 -0
  191. data/spec/api/identity_api_spec.rb +239 -0
  192. data/spec/api/metadata_api_spec.rb +8 -8
  193. data/spec/api_client_spec.rb +5 -5
  194. data/spec/configuration_spec.rb +5 -5
  195. data/spec/models/authenticator_assurance_level_spec.rb +5 -5
  196. data/spec/models/courier_message_status_spec.rb +28 -0
  197. data/spec/models/courier_message_type_spec.rb +28 -0
  198. data/spec/models/create_identity_body_spec.rb +76 -0
  199. data/spec/models/create_recovery_code_for_identity_body_spec.rb +40 -0
  200. data/spec/models/create_recovery_link_for_identity_body_spec.rb +40 -0
  201. data/spec/models/delete_my_sessions_count_spec.rb +34 -0
  202. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +5 -5
  203. data/spec/models/error_browser_location_change_required_spec.rb +82 -0
  204. data/spec/models/error_flow_replaced_spec.rb +82 -0
  205. data/spec/models/error_generic_spec.rb +34 -0
  206. data/spec/models/flow_error_spec.rb +52 -0
  207. data/spec/models/generic_error_spec.rb +5 -5
  208. data/spec/models/get_version200_response_spec.rb +34 -0
  209. data/spec/models/health_not_ready_status_spec.rb +5 -5
  210. data/spec/models/health_status_spec.rb +5 -5
  211. data/spec/models/identity_credentials_oidc_provider_spec.rb +5 -5
  212. data/spec/models/identity_credentials_oidc_spec.rb +5 -5
  213. data/spec/models/identity_credentials_password_spec.rb +5 -5
  214. data/spec/models/identity_credentials_spec.rb +5 -5
  215. data/spec/models/identity_credentials_type_spec.rb +5 -5
  216. data/spec/models/identity_schema_container_spec.rb +40 -0
  217. data/spec/models/identity_spec.rb +5 -5
  218. data/spec/models/identity_state_spec.rb +5 -5
  219. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +40 -0
  220. data/spec/models/identity_with_credentials_oidc_config_spec.rb +40 -0
  221. data/spec/models/identity_with_credentials_oidc_spec.rb +34 -0
  222. data/spec/models/identity_with_credentials_password_config_spec.rb +40 -0
  223. data/spec/models/identity_with_credentials_password_spec.rb +34 -0
  224. data/spec/models/identity_with_credentials_spec.rb +40 -0
  225. data/spec/models/is_alive200_response_spec.rb +34 -0
  226. data/spec/models/is_ready503_response_spec.rb +34 -0
  227. data/spec/models/json_patch_spec.rb +52 -0
  228. data/spec/models/login_flow_spec.rb +112 -0
  229. data/spec/models/logout_flow_spec.rb +40 -0
  230. data/spec/models/message_spec.rb +92 -0
  231. data/spec/models/needs_privileged_session_error_spec.rb +5 -5
  232. data/spec/models/o_auth2_client_spec.rb +298 -0
  233. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +58 -0
  234. data/spec/models/o_auth2_login_request_spec.rb +82 -0
  235. data/spec/models/pagination_spec.rb +5 -5
  236. data/spec/models/perform_native_logout_body_spec.rb +34 -0
  237. data/spec/models/recovery_code_for_identity_spec.rb +46 -0
  238. data/spec/models/recovery_flow_spec.rb +82 -0
  239. data/spec/models/recovery_flow_state_spec.rb +28 -0
  240. data/spec/models/recovery_identity_address_spec.rb +58 -0
  241. data/spec/models/recovery_link_for_identity_spec.rb +40 -0
  242. data/spec/models/registration_flow_spec.rb +88 -0
  243. data/spec/models/self_service_flow_expired_error_spec.rb +11 -5
  244. data/spec/models/session_authentication_method_spec.rb +6 -6
  245. data/spec/models/session_device_spec.rb +23 -5
  246. data/spec/models/session_spec.rb +11 -5
  247. data/spec/models/settings_flow_spec.rb +88 -0
  248. data/spec/models/settings_flow_state_spec.rb +28 -0
  249. data/spec/models/successful_native_login_spec.rb +40 -0
  250. data/spec/models/successful_native_registration_spec.rb +46 -0
  251. data/spec/models/token_pagination_headers_spec.rb +40 -0
  252. data/spec/models/token_pagination_spec.rb +40 -0
  253. data/spec/models/ui_container_spec.rb +5 -5
  254. data/spec/models/ui_node_anchor_attributes_spec.rb +5 -5
  255. data/spec/models/ui_node_attributes_spec.rb +5 -5
  256. data/spec/models/ui_node_image_attributes_spec.rb +5 -5
  257. data/spec/models/ui_node_input_attributes_spec.rb +19 -5
  258. data/spec/models/ui_node_meta_spec.rb +5 -5
  259. data/spec/models/ui_node_script_attributes_spec.rb +5 -5
  260. data/spec/models/ui_node_spec.rb +6 -6
  261. data/spec/models/ui_node_text_attributes_spec.rb +5 -5
  262. data/spec/models/ui_text_spec.rb +9 -5
  263. data/spec/models/update_identity_body_spec.rb +64 -0
  264. data/spec/models/update_login_flow_body_spec.rb +43 -0
  265. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +46 -0
  266. data/spec/models/update_login_flow_with_oidc_method_spec.rb +52 -0
  267. data/spec/models/update_login_flow_with_password_method_spec.rb +58 -0
  268. data/spec/models/update_login_flow_with_totp_method_spec.rb +46 -0
  269. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +52 -0
  270. data/spec/models/update_recovery_flow_body_spec.rb +43 -0
  271. data/spec/models/update_recovery_flow_with_code_method_spec.rb +52 -0
  272. data/spec/models/update_recovery_flow_with_link_method_spec.rb +46 -0
  273. data/spec/models/update_registration_flow_body_spec.rb +43 -0
  274. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +52 -0
  275. data/spec/models/update_registration_flow_with_password_method_spec.rb +52 -0
  276. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +58 -0
  277. data/spec/models/update_settings_flow_body_spec.rb +43 -0
  278. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +64 -0
  279. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +58 -0
  280. data/spec/models/update_settings_flow_with_password_method_spec.rb +46 -0
  281. data/spec/models/update_settings_flow_with_profile_method_spec.rb +46 -0
  282. data/spec/models/update_settings_flow_with_totp_method_spec.rb +52 -0
  283. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +58 -0
  284. data/spec/models/update_verification_flow_body_spec.rb +43 -0
  285. data/spec/models/update_verification_flow_with_code_method_body_spec.rb +58 -0
  286. data/spec/models/update_verification_flow_with_link_method_spec.rb +46 -0
  287. data/spec/models/verifiable_identity_address_spec.rb +5 -5
  288. data/spec/models/verification_flow_spec.rb +82 -0
  289. data/spec/models/verification_flow_state_spec.rb +28 -0
  290. data/spec/models/version_spec.rb +5 -5
  291. data/spec/spec_helper.rb +5 -5
  292. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.16.0.gem +0 -0
  293. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.3.0.gem +0 -0
  294. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.6.gem +0 -0
  295. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
  296. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  297. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  298. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  299. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
  300. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  301. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  302. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  303. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.4 → psych-4.0.6}/gem.build_complete +0 -0
  304. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +41 -0
  305. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.4 → psych-4.0.6}/mkmf.log +0 -0
  306. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/psych.so +0 -0
  307. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  308. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  309. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  310. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.gitignore +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.rspec +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Gemfile +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Guardfile +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/LICENSE +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/README.md +118 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Rakefile +0 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/ethon.gemspec +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curl.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/codes.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/constants.rb +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/form_options.rb +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/functions.rb +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/infos.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/messages.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/settings.rb +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/debug_info.rb +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/features.rb +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/form.rb +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/header.rb +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/actionable.rb +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/custom.rb +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/delete.rb +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/get.rb +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/head.rb +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/options.rb +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/patch.rb +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/post.rb +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/postable.rb +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/put.rb +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/putable.rb +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http.rb +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/mirror.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/operations.rb +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/options.rb +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/params.rb +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/queryable.rb +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/util.rb +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy.rb +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/ethon_error.rb +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/global_init.rb +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_option.rb +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_value.rb +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_add.rb +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_remove.rb +0 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/select.rb +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/libc.rb +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/loggable.rb +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/operations.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/options.rb +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/stack.rb +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi.rb +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon.rb +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/benchmarks.rb +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/memory_leaks.rb +0 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/perf_spec_helper.rb +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/memory_test_helpers.rb +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/os_memory_leak_tracker.rb +0 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/curl_spec.rb +0 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/features_spec.rb +0 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/form_spec.rb +0 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/header_spec.rb +0 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/get_spec.rb +0 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/head_spec.rb +0 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/options_spec.rb +0 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/post_spec.rb +0 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/put_spec.rb +0 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http_spec.rb +0 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/options_spec.rb +0 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/util_spec.rb +0 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy_spec.rb +0 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/libc_spec.rb +0 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/loggable_spec.rb +0 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/operations_spec.rb +0 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/options_spec.rb +0 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/stack_spec.rb +0 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi_spec.rb +0 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/spec_helper.rb +0 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/localhost_server.rb +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/server.rb +0 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  413. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  414. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/LICENSE.txt +0 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/bin/ruby-parse +0 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/bin/ruby-rewrite +0 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/gauntlet_parser.rb +0 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/all.rb +0 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/ast/node.rb +0 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ast/processor.rb +291 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/base.rb +0 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/builders/default.rb +2317 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/clobbering_error.rb +0 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/color.rb +0 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/context.rb +0 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/current.rb +119 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/current_arg_stack.rb +0 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/deprecation.rb +0 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/diagnostic/engine.rb +0 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/diagnostic.rb +0 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/lexer/dedenter.rb +0 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/lexer/explanation.rb +0 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/lexer/literal.rb +0 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/lexer/stack_state.rb +0 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/lexer.rb +25045 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/macruby.rb +9632 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/max_numparam_stack.rb +0 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/messages.rb +120 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/meta.rb +40 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/rewriter.rb +0 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby18.rb +9270 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby19.rb +9556 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby20.rb +10227 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby21.rb +10201 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby22.rb +10300 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby23.rb +10320 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby24.rb +10452 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby25.rb +10372 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby26.rb +10350 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby27.rb +11945 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/ruby28.rb +0 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby30.rb +12241 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby31.rb +12714 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby32.rb +12691 -0
  455. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/rubymotion.rb +9513 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/runner/ruby_parse.rb +0 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/runner.rb +0 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/buffer.rb +0 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/comment/associator.rb +0 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/comment.rb +0 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/collection.rb +0 -0
  463. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/condition.rb +0 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/constant.rb +0 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/definition.rb +0 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/for.rb +0 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/heredoc.rb +0 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/index.rb +0 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/keyword.rb +0 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/method_definition.rb +0 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/operator.rb +0 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/rescue_body.rb +0 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/send.rb +0 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/ternary.rb +0 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map/variable.rb +0 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/map.rb +0 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/range.rb +0 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/rewriter/action.rb +0 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/rewriter.rb +0 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/source/tree_rewriter.rb +0 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/static_environment.rb +87 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/syntax_error.rb +0 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/tree_rewriter.rb +0 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser/variables_stack.rb +0 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/version.rb +5 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.3.0}/lib/parser.rb +0 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/parser.gemspec +43 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/.gitignore +0 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/Gemfile +0 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/LICENSE +0 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/Mavenfile +0 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/README.md +0 -0
  495. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/Rakefile +0 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/bin/console +0 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/bin/setup +0 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/.sitearchdir.time +0 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +271 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/api.o +0 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/depend +0 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/dumper.o +0 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/emitter.o +0 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/extconf.rb +0 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/loader.o +0 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/parser.o +0 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych.c +0 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych.h +0 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych.o +0 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych.so +0 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_emitter.c +0 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_emitter.h +0 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_emitter.o +0 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_parser.c +0 -0
  515. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_parser.h +0 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_parser.o +0 -0
  517. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_to_ruby.c +0 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_to_ruby.h +0 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_to_ruby.o +0 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_yaml_tree.c +0 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/psych_yaml_tree.h +0 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_yaml_tree.o +0 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/reader.o +0 -0
  524. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/scanner.o +0 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/writer.o +0 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/LICENSE +0 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/api.c +0 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/config.h +0 -0
  529. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/dumper.c +0 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/emitter.c +0 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/loader.c +0 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/parser.c +0 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/reader.c +0 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/scanner.c +0 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/writer.c +0 -0
  536. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/yaml.h +0 -0
  537. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/ext/psych/yaml/yaml_private.h +0 -0
  538. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/class_loader.rb +0 -0
  539. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/coder.rb +0 -0
  540. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/core_ext.rb +0 -0
  541. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/exception.rb +0 -0
  542. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/handler.rb +0 -0
  543. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/handlers/document_stream.rb +0 -0
  544. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/handlers/recorder.rb +0 -0
  545. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/json/ruby_events.rb +0 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/json/stream.rb +0 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/json/tree_builder.rb +0 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/json/yaml_events.rb +0 -0
  549. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/alias.rb +0 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/document.rb +0 -0
  551. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/mapping.rb +0 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/node.rb +0 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/scalar.rb +0 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/sequence.rb +0 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes/stream.rb +0 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/nodes.rb +0 -0
  557. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/omap.rb +0 -0
  558. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/parser.rb +0 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych/scalar_scanner.rb +142 -0
  560. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/set.rb +0 -0
  561. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/stream.rb +0 -0
  562. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/streaming.rb +0 -0
  563. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/syntax_error.rb +0 -0
  564. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/tree_builder.rb +0 -0
  565. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych/versions.rb +10 -0
  566. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/visitors/depth_first.rb +0 -0
  567. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/visitors/emitter.rb +0 -0
  568. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/visitors/json_tree.rb +0 -0
  569. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych/visitors/to_ruby.rb +436 -0
  570. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/visitors/visitor.rb +0 -0
  571. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych/visitors/yaml_tree.rb +587 -0
  572. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/visitors.rb +0 -0
  573. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych/y.rb +0 -0
  574. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/lib/psych.rb +0 -0
  575. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych.so +0 -0
  576. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.4 → psych-4.0.6}/psych.gemspec +0 -0
  577. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
  578. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
  579. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
  580. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
  581. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
  582. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
  583. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/Changelog.md +2360 -0
  584. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
  585. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
  586. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
  587. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
  588. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
  589. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
  590. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  591. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  592. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/server.rb +0 -0
  593. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
  594. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  595. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/utilities.rb +0 -0
  596. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb +2385 -0
  597. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/configuration_options.rb +0 -0
  598. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/did_you_mean.rb +0 -0
  599. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/drb.rb +0 -0
  600. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/dsl.rb +0 -0
  601. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example.rb +0 -0
  602. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_group.rb +0 -0
  603. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_status_persister.rb +0 -0
  604. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/filter_manager.rb +0 -0
  605. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/flat_map.rb +0 -0
  606. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  607. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  608. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  609. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  610. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/console_codes.rb +0 -0
  612. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  613. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  614. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb +525 -0
  615. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  616. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  617. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/helpers.rb +0 -0
  618. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  619. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_printer.rb +412 -0
  620. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  621. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  622. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  623. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  624. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/protocol.rb +0 -0
  625. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  626. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  627. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters.rb +0 -0
  628. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/hooks.rb +0 -0
  629. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/invocations.rb +0 -0
  630. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/memoized_helpers.rb +0 -0
  631. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata.rb +0 -0
  632. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata_filter.rb +0 -0
  633. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  634. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  635. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  636. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  637. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  638. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  639. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/notifications.rb +0 -0
  640. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/option_parser.rb +323 -0
  641. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ordering.rb +0 -0
  642. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/output_wrapper.rb +0 -0
  643. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/pending.rb +0 -0
  644. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/profiler.rb +0 -0
  645. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/.rspec +0 -0
  646. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  647. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer.rb +0 -0
  648. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/rake_task.rb +0 -0
  649. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/reporter.rb +0 -0
  650. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ruby_project.rb +0 -0
  651. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/runner.rb +0 -0
  652. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/sandbox.rb +0 -0
  653. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/set.rb +0 -0
  654. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_context.rb +0 -0
  655. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_example_group.rb +0 -0
  656. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shell_escape.rb +0 -0
  657. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  658. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/version.rb +9 -0
  659. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/warnings.rb +0 -0
  660. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/world.rb +0 -0
  661. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
  662. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/.document +0 -0
  663. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/.yardopts +0 -0
  664. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/Changelog.md +1285 -0
  665. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
  666. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/README.md +0 -0
  667. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  668. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/configuration.rb +0 -0
  669. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/expectation_target.rb +0 -0
  670. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/fail_with.rb +0 -0
  671. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  672. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/handler.rb +0 -0
  673. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
  674. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/syntax.rb +0 -0
  675. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/expectations/version.rb +8 -0
  676. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
  677. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  678. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/all.rb +0 -0
  679. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  680. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be.rb +0 -0
  681. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  682. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  683. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  684. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  685. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/change.rb +0 -0
  686. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/compound.rb +0 -0
  687. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/built_in/contain_exactly.rb +310 -0
  688. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/built_in/count_expectation.rb +169 -0
  689. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
  690. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
  691. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
  692. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
  693. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/built_in/exist.rb +90 -0
  694. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/has.rb +0 -0
  695. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  696. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/include.rb +0 -0
  697. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/match.rb +0 -0
  698. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
  699. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/output.rb +0 -0
  700. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/built_in/raise_error.rb +271 -0
  701. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  702. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  703. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  704. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
  705. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/yield.rb +0 -0
  706. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in.rb +0 -0
  707. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/composable.rb +0 -0
  708. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/dsl.rb +544 -0
  709. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
  710. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  711. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
  712. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  713. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  714. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  715. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers.rb +1044 -0
  716. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.document +0 -0
  717. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.yardopts +0 -0
  718. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/Changelog.md +1212 -0
  719. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/LICENSE.md +0 -0
  720. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/README.md +0 -0
  721. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  722. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  723. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  724. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  725. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  726. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  727. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  728. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  729. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  730. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance.rb +0 -0
  731. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  732. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
  733. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/configuration.rb +0 -0
  734. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb +380 -0
  735. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/example_methods.rb +0 -0
  736. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  737. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
  738. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  739. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  740. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
  741. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  742. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  743. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_chain.rb +0 -0
  744. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/message_expectation.rb +820 -0
  745. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_double.rb +0 -0
  746. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/method_reference.rb +214 -0
  747. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
  748. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/mutate_const.rb +0 -0
  749. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/object_reference.rb +0 -0
  750. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/order_group.rb +0 -0
  751. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/proxy.rb +0 -0
  752. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/space.rb +0 -0
  753. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/standalone.rb +0 -0
  754. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/syntax.rb +0 -0
  755. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/targets.rb +0 -0
  756. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/test_double.rb +0 -0
  757. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_double.rb +0 -0
  758. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
  759. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  760. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/version.rb +9 -0
  761. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks.rb +0 -0
  762. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
  763. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/LICENSE.md +0 -0
  764. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/README.md +0 -0
  765. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/caller_filter.rb +83 -0
  766. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/comparable_version.rb +46 -0
  767. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/differ.rb +215 -0
  768. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/directory_maker.rb +0 -0
  769. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/encoded_string.rb +161 -0
  770. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  771. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/hunk_generator.rb +0 -0
  772. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/matcher_definition.rb +0 -0
  773. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/method_signature_verifier.rb +438 -0
  774. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/mutex.rb +73 -0
  775. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/object_formatter.rb +0 -0
  776. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
  777. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
  778. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
  779. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source/location.rb +0 -0
  780. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source/node.rb +0 -0
  781. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source/token.rb +0 -0
  782. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source.rb +0 -0
  783. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  784. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  785. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
  786. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/in_sub_process.rb +67 -0
  787. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  788. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/shell_out.rb +0 -0
  789. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/spec/stderr_splitter.rb +75 -0
  790. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
  791. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  792. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  793. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec.rb +0 -0
  794. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
  795. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/warnings.rb +0 -0
  796. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/with_keywords_when_needed.rb +33 -0
  797. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
  798. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  799. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.16.0.gemspec +32 -0
  800. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.3.0.gemspec +63 -0
  801. data/vendor/bundle/ruby/2.5.0/specifications/psych-4.0.6.gemspec +38 -0
  802. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.12.0.gemspec +43 -0
  803. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.12.0.gemspec +63 -0
  804. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.12.0.gemspec +51 -0
  805. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.12.0.gemspec +51 -0
  806. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.12.0.gemspec +39 -0
  807. metadata +788 -735
  808. data/docs/AdminCreateIdentityBody.md +0 -32
  809. data/docs/AdminCreateIdentityImportCredentialsOidc.md +0 -18
  810. data/docs/AdminCreateIdentityImportCredentialsOidcConfig.md +0 -20
  811. data/docs/AdminCreateIdentityImportCredentialsOidcProvider.md +0 -20
  812. data/docs/AdminCreateIdentityImportCredentialsPassword.md +0 -18
  813. data/docs/AdminCreateIdentityImportCredentialsPasswordConfig.md +0 -20
  814. data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +0 -20
  815. data/docs/AdminIdentityImportCredentials.md +0 -20
  816. data/docs/AdminUpdateIdentityBody.md +0 -26
  817. data/docs/IdentitySchema.md +0 -20
  818. data/docs/InlineResponse200.md +0 -18
  819. data/docs/InlineResponse2001.md +0 -18
  820. data/docs/InlineResponse503.md +0 -18
  821. data/docs/JsonError.md +0 -18
  822. data/docs/RecoveryAddress.md +0 -26
  823. data/docs/RevokedSessions.md +0 -18
  824. data/docs/SelfServiceBrowserLocationChangeRequiredError.md +0 -34
  825. data/docs/SelfServiceError.md +0 -24
  826. data/docs/SelfServiceLoginFlow.md +0 -40
  827. data/docs/SelfServiceLogoutUrl.md +0 -20
  828. data/docs/SelfServiceRecoveryFlow.md +0 -34
  829. data/docs/SelfServiceRecoveryFlowState.md +0 -15
  830. data/docs/SelfServiceRecoveryLink.md +0 -20
  831. data/docs/SelfServiceRegistrationFlow.md +0 -32
  832. data/docs/SelfServiceSettingsFlow.md +0 -36
  833. data/docs/SelfServiceSettingsFlowState.md +0 -15
  834. data/docs/SelfServiceVerificationFlow.md +0 -34
  835. data/docs/SelfServiceVerificationFlowState.md +0 -15
  836. data/docs/SettingsProfileFormConfig.md +0 -24
  837. data/docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md +0 -20
  838. data/docs/SubmitSelfServiceLoginFlowBody.md +0 -87
  839. data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +0 -22
  840. data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +0 -24
  841. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +0 -26
  842. data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +0 -22
  843. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +0 -24
  844. data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +0 -18
  845. data/docs/SubmitSelfServiceRecoveryFlowBody.md +0 -75
  846. data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +0 -22
  847. data/docs/SubmitSelfServiceRegistrationFlowBody.md +0 -81
  848. data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +0 -24
  849. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +0 -24
  850. data/docs/SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody.md +0 -26
  851. data/docs/SubmitSelfServiceSettingsFlowBody.md +0 -90
  852. data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +0 -28
  853. data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +0 -26
  854. data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +0 -22
  855. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +0 -22
  856. data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +0 -24
  857. data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +0 -26
  858. data/docs/SubmitSelfServiceVerificationFlowBody.md +0 -75
  859. data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +0 -22
  860. data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +0 -20
  861. data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +0 -22
  862. data/docs/V0alpha2Api.md +0 -2778
  863. data/lib/ory-kratos-client/api/v0alpha2_api.rb +0 -2693
  864. data/lib/ory-kratos-client/models/admin_create_identity_body.rb +0 -303
  865. data/lib/ory-kratos-client/models/admin_create_identity_import_credentials_oidc.rb +0 -218
  866. data/lib/ory-kratos-client/models/admin_create_identity_import_credentials_oidc_config.rb +0 -230
  867. data/lib/ory-kratos-client/models/admin_create_identity_import_credentials_oidc_provider.rb +0 -239
  868. data/lib/ory-kratos-client/models/admin_create_identity_import_credentials_password.rb +0 -218
  869. data/lib/ory-kratos-client/models/admin_create_identity_import_credentials_password_config.rb +0 -229
  870. data/lib/ory-kratos-client/models/admin_create_self_service_recovery_link_body.rb +0 -250
  871. data/lib/ory-kratos-client/models/admin_identity_import_credentials.rb +0 -227
  872. data/lib/ory-kratos-client/models/admin_update_identity_body.rb +0 -275
  873. data/lib/ory-kratos-client/models/identity_schema.rb +0 -229
  874. data/lib/ory-kratos-client/models/inline_response200.rb +0 -224
  875. data/lib/ory-kratos-client/models/inline_response2001.rb +0 -224
  876. data/lib/ory-kratos-client/models/inline_response503.rb +0 -226
  877. data/lib/ory-kratos-client/models/json_error.rb +0 -224
  878. data/lib/ory-kratos-client/models/recovery_address.rb +0 -271
  879. data/lib/ory-kratos-client/models/revoked_sessions.rb +0 -219
  880. data/lib/ory-kratos-client/models/self_service_browser_location_change_required_error.rb +0 -306
  881. data/lib/ory-kratos-client/models/self_service_error.rb +0 -252
  882. data/lib/ory-kratos-client/models/self_service_login_flow.rb +0 -356
  883. data/lib/ory-kratos-client/models/self_service_logout_url.rb +0 -239
  884. data/lib/ory-kratos-client/models/self_service_recovery_flow.rb +0 -332
  885. data/lib/ory-kratos-client/models/self_service_recovery_flow_state.rb +0 -38
  886. data/lib/ory-kratos-client/models/self_service_recovery_link.rb +0 -234
  887. data/lib/ory-kratos-client/models/self_service_registration_flow.rb +0 -316
  888. data/lib/ory-kratos-client/models/self_service_settings_flow.rb +0 -346
  889. data/lib/ory-kratos-client/models/self_service_settings_flow_state.rb +0 -37
  890. data/lib/ory-kratos-client/models/self_service_verification_flow.rb +0 -317
  891. data/lib/ory-kratos-client/models/self_service_verification_flow_state.rb +0 -38
  892. data/lib/ory-kratos-client/models/settings_profile_form_config.rb +0 -266
  893. data/lib/ory-kratos-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +0 -229
  894. data/lib/ory-kratos-client/models/submit_self_service_login_flow_body.rb +0 -61
  895. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +0 -249
  896. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +0 -260
  897. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method_body.rb +0 -274
  898. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_totp_method_body.rb +0 -249
  899. data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +0 -254
  900. data/lib/ory-kratos-client/models/submit_self_service_logout_flow_without_browser_body.rb +0 -225
  901. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_body.rb +0 -53
  902. data/lib/ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +0 -249
  903. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_body.rb +0 -57
  904. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +0 -260
  905. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_password_method_body.rb +0 -265
  906. data/lib/ory-kratos-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +0 -269
  907. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_body.rb +0 -63
  908. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +0 -274
  909. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +0 -265
  910. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_password_method_body.rb +0 -249
  911. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +0 -250
  912. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +0 -254
  913. data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +0 -264
  914. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_body.rb +0 -54
  915. data/lib/ory-kratos-client/models/submit_self_service_verification_flow_with_link_method_body.rb +0 -249
  916. data/lib/ory-kratos-client/models/successful_self_service_login_without_browser.rb +0 -234
  917. data/lib/ory-kratos-client/models/successful_self_service_registration_without_browser.rb +0 -243
  918. data/spec/api/v0alpha2_api_spec.rb +0 -546
  919. data/spec/models/admin_create_identity_body_spec.rb +0 -76
  920. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +0 -40
  921. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +0 -40
  922. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +0 -34
  923. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +0 -40
  924. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +0 -34
  925. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +0 -40
  926. data/spec/models/admin_identity_import_credentials_spec.rb +0 -40
  927. data/spec/models/admin_update_identity_body_spec.rb +0 -58
  928. data/spec/models/identity_schema_spec.rb +0 -40
  929. data/spec/models/inline_response2001_spec.rb +0 -34
  930. data/spec/models/inline_response200_spec.rb +0 -34
  931. data/spec/models/inline_response503_spec.rb +0 -34
  932. data/spec/models/json_error_spec.rb +0 -34
  933. data/spec/models/recovery_address_spec.rb +0 -58
  934. data/spec/models/revoked_sessions_spec.rb +0 -34
  935. data/spec/models/self_service_browser_location_change_required_error_spec.rb +0 -82
  936. data/spec/models/self_service_error_spec.rb +0 -52
  937. data/spec/models/self_service_login_flow_spec.rb +0 -100
  938. data/spec/models/self_service_logout_url_spec.rb +0 -40
  939. data/spec/models/self_service_recovery_flow_spec.rb +0 -82
  940. data/spec/models/self_service_recovery_flow_state_spec.rb +0 -28
  941. data/spec/models/self_service_recovery_link_spec.rb +0 -40
  942. data/spec/models/self_service_registration_flow_spec.rb +0 -76
  943. data/spec/models/self_service_settings_flow_spec.rb +0 -88
  944. data/spec/models/self_service_settings_flow_state_spec.rb +0 -28
  945. data/spec/models/self_service_verification_flow_spec.rb +0 -82
  946. data/spec/models/self_service_verification_flow_state_spec.rb +0 -28
  947. data/spec/models/settings_profile_form_config_spec.rb +0 -52
  948. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +0 -40
  949. data/spec/models/submit_self_service_login_flow_body_spec.rb +0 -43
  950. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +0 -46
  951. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +0 -52
  952. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +0 -58
  953. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +0 -46
  954. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +0 -52
  955. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +0 -34
  956. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +0 -43
  957. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +0 -46
  958. data/spec/models/submit_self_service_registration_flow_body_spec.rb +0 -43
  959. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +0 -52
  960. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +0 -52
  961. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +0 -58
  962. data/spec/models/submit_self_service_settings_flow_body_spec.rb +0 -43
  963. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +0 -64
  964. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +0 -58
  965. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +0 -46
  966. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +0 -46
  967. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +0 -52
  968. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +0 -58
  969. data/spec/models/submit_self_service_verification_flow_body_spec.rb +0 -43
  970. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +0 -46
  971. data/spec/models/successful_self_service_login_without_browser_spec.rb +0 -40
  972. data/spec/models/successful_self_service_registration_without_browser_spec.rb +0 -46
  973. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
  974. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.0.gem +0 -0
  975. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.4.gem +0 -0
  976. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
  977. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
  978. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.0.gem +0 -0
  979. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
  980. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.0.gem +0 -0
  981. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +0 -41
  982. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/psych.so +0 -0
  983. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
  984. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
  985. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/README.md +0 -95
  986. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
  987. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
  988. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
  989. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
  990. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
  991. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
  992. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
  993. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
  994. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
  995. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
  996. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ast/processor.rb +0 -288
  997. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/builders/default.rb +0 -2309
  998. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/current.rb +0 -119
  999. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/lexer.rb +0 -25015
  1000. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/macruby.rb +0 -6177
  1001. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/messages.rb +0 -118
  1002. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/meta.rb +0 -39
  1003. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby18.rb +0 -5708
  1004. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby19.rb +0 -6126
  1005. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby20.rb +0 -6563
  1006. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby21.rb +0 -6611
  1007. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby22.rb +0 -6655
  1008. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby23.rb +0 -6669
  1009. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby24.rb +0 -6736
  1010. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby25.rb +0 -6694
  1011. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby26.rb +0 -6721
  1012. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby27.rb +0 -7914
  1013. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby30.rb +0 -8096
  1014. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby31.rb +0 -8354
  1015. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/ruby32.rb +0 -8334
  1016. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/rubymotion.rb +0 -6125
  1017. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/static_environment.rb +0 -69
  1018. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/lib/parser/version.rb +0 -5
  1019. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.0/parser.gemspec +0 -43
  1020. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +0 -271
  1021. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/api.o +0 -0
  1022. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/dumper.o +0 -0
  1023. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/emitter.o +0 -0
  1024. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/loader.o +0 -0
  1025. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/parser.o +0 -0
  1026. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/psych.o +0 -0
  1027. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/psych.so +0 -0
  1028. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/psych_emitter.o +0 -0
  1029. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/psych_parser.o +0 -0
  1030. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/psych_to_ruby.o +0 -0
  1031. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/psych_yaml_tree.o +0 -0
  1032. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/reader.o +0 -0
  1033. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/scanner.o +0 -0
  1034. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/writer.o +0 -0
  1035. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/lib/psych/scalar_scanner.rb +0 -142
  1036. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/lib/psych/versions.rb +0 -10
  1037. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/lib/psych/visitors/to_ruby.rb +0 -434
  1038. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/lib/psych/visitors/yaml_tree.rb +0 -587
  1039. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/lib/psych.so +0 -0
  1040. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec/version.rb +0 -5
  1041. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/Changelog.md +0 -2355
  1042. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +0 -2383
  1043. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +0 -521
  1044. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +0 -414
  1045. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +0 -325
  1046. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +0 -9
  1047. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/Changelog.md +0 -1267
  1048. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/expectations/version.rb +0 -8
  1049. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/contain_exactly.rb +0 -302
  1050. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/count_expectation.rb +0 -169
  1051. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/exist.rb +0 -90
  1052. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/raise_error.rb +0 -271
  1053. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/built_in/throw_symbol.rb +0 -138
  1054. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers/dsl.rb +0 -544
  1055. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.0/lib/rspec/matchers.rb +0 -1041
  1056. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/Changelog.md +0 -1193
  1057. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +0 -369
  1058. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +0 -822
  1059. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +0 -202
  1060. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  1061. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +0 -9
  1062. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/Changelog.md +0 -350
  1063. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/caller_filter.rb +0 -83
  1064. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/comparable_version.rb +0 -46
  1065. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/differ.rb +0 -215
  1066. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/encoded_string.rb +0 -161
  1067. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/method_signature_verifier.rb +0 -438
  1068. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/mutex.rb +0 -73
  1069. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/ruby_features.rb +0 -191
  1070. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/in_sub_process.rb +0 -67
  1071. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/spec/stderr_splitter.rb +0 -75
  1072. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/version.rb +0 -7
  1073. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.0/lib/rspec/support/with_keywords_when_needed.rb +0 -33
  1074. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.15.0.gemspec +0 -32
  1075. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.2.0.gemspec +0 -63
  1076. data/vendor/bundle/ruby/2.5.0/specifications/psych-4.0.4.gemspec +0 -38
  1077. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +0 -43
  1078. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +0 -63
  1079. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.0.gemspec +0 -51
  1080. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.1.gemspec +0 -51
  1081. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.0.gemspec +0 -39
@@ -0,0 +1,1995 @@
1
+ # OryKratosClient::FrontendApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_browser_login_flow**](FrontendApi.md#create_browser_login_flow) | **GET** /self-service/login/browser | Create Login Flow for Browsers |
8
+ | [**create_browser_logout_flow**](FrontendApi.md#create_browser_logout_flow) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers |
9
+ | [**create_browser_recovery_flow**](FrontendApi.md#create_browser_recovery_flow) | **GET** /self-service/recovery/browser | Create Recovery Flow for Browsers |
10
+ | [**create_browser_registration_flow**](FrontendApi.md#create_browser_registration_flow) | **GET** /self-service/registration/browser | Create Registration Flow for Browsers |
11
+ | [**create_browser_settings_flow**](FrontendApi.md#create_browser_settings_flow) | **GET** /self-service/settings/browser | Create Settings Flow for Browsers |
12
+ | [**create_browser_verification_flow**](FrontendApi.md#create_browser_verification_flow) | **GET** /self-service/verification/browser | Create Verification Flow for Browser Clients |
13
+ | [**create_native_login_flow**](FrontendApi.md#create_native_login_flow) | **GET** /self-service/login/api | Create Login Flow for Native Apps |
14
+ | [**create_native_recovery_flow**](FrontendApi.md#create_native_recovery_flow) | **GET** /self-service/recovery/api | Create Recovery Flow for Native Apps |
15
+ | [**create_native_registration_flow**](FrontendApi.md#create_native_registration_flow) | **GET** /self-service/registration/api | Create Registration Flow for Native Apps |
16
+ | [**create_native_settings_flow**](FrontendApi.md#create_native_settings_flow) | **GET** /self-service/settings/api | Create Settings Flow for Native Apps |
17
+ | [**create_native_verification_flow**](FrontendApi.md#create_native_verification_flow) | **GET** /self-service/verification/api | Create Verification Flow for Native Apps |
18
+ | [**disable_my_other_sessions**](FrontendApi.md#disable_my_other_sessions) | **DELETE** /sessions | Disable my other sessions |
19
+ | [**disable_my_session**](FrontendApi.md#disable_my_session) | **DELETE** /sessions/{id} | Disable one of my sessions |
20
+ | [**get_flow_error**](FrontendApi.md#get_flow_error) | **GET** /self-service/errors | Get User-Flow Errors |
21
+ | [**get_login_flow**](FrontendApi.md#get_login_flow) | **GET** /self-service/login/flows | Get Login Flow |
22
+ | [**get_recovery_flow**](FrontendApi.md#get_recovery_flow) | **GET** /self-service/recovery/flows | Get Recovery Flow |
23
+ | [**get_registration_flow**](FrontendApi.md#get_registration_flow) | **GET** /self-service/registration/flows | Get Registration Flow |
24
+ | [**get_settings_flow**](FrontendApi.md#get_settings_flow) | **GET** /self-service/settings/flows | Get Settings Flow |
25
+ | [**get_verification_flow**](FrontendApi.md#get_verification_flow) | **GET** /self-service/verification/flows | Get Verification Flow |
26
+ | [**get_web_authn_java_script**](FrontendApi.md#get_web_authn_java_script) | **GET** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript |
27
+ | [**list_my_sessions**](FrontendApi.md#list_my_sessions) | **GET** /sessions | Get My Active Sessions |
28
+ | [**perform_native_logout**](FrontendApi.md#perform_native_logout) | **DELETE** /self-service/logout/api | Perform Logout for Native Apps |
29
+ | [**to_session**](FrontendApi.md#to_session) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To |
30
+ | [**update_login_flow**](FrontendApi.md#update_login_flow) | **POST** /self-service/login | Submit a Login Flow |
31
+ | [**update_logout_flow**](FrontendApi.md#update_logout_flow) | **GET** /self-service/logout | Update Logout Flow |
32
+ | [**update_recovery_flow**](FrontendApi.md#update_recovery_flow) | **POST** /self-service/recovery | Complete Recovery Flow |
33
+ | [**update_registration_flow**](FrontendApi.md#update_registration_flow) | **POST** /self-service/registration | Update Registration Flow |
34
+ | [**update_settings_flow**](FrontendApi.md#update_settings_flow) | **POST** /self-service/settings | Complete Settings Flow |
35
+ | [**update_verification_flow**](FrontendApi.md#update_verification_flow) | **POST** /self-service/verification | Complete Verification Flow |
36
+
37
+
38
+ ## create_browser_login_flow
39
+
40
+ > <LoginFlow> create_browser_login_flow(opts)
41
+
42
+ Create Login Flow for Browsers
43
+
44
+ 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! The optional query parameter login_challenge is set when using Kratos with Hydra in an OAuth2 flow. See the oauth2_provider.url configuration option. 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).
45
+
46
+ ### Examples
47
+
48
+ ```ruby
49
+ require 'time'
50
+ require 'ory-kratos-client'
51
+
52
+ api_instance = OryKratosClient::FrontendApi.new
53
+ opts = {
54
+ refresh: true, # Boolean | 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.
55
+ aal: 'aal_example', # String | 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\".
56
+ return_to: 'return_to_example', # String | The URL to return the browser to after the flow was completed.
57
+ 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.
58
+ login_challenge: 'login_challenge_example' # String | An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/login?login_challenge=abcde`).
59
+ }
60
+
61
+ begin
62
+ # Create Login Flow for Browsers
63
+ result = api_instance.create_browser_login_flow(opts)
64
+ p result
65
+ rescue OryKratosClient::ApiError => e
66
+ puts "Error when calling FrontendApi->create_browser_login_flow: #{e}"
67
+ end
68
+ ```
69
+
70
+ #### Using the create_browser_login_flow_with_http_info variant
71
+
72
+ This returns an Array which contains the response data, status code and headers.
73
+
74
+ > <Array(<LoginFlow>, Integer, Hash)> create_browser_login_flow_with_http_info(opts)
75
+
76
+ ```ruby
77
+ begin
78
+ # Create Login Flow for Browsers
79
+ data, status_code, headers = api_instance.create_browser_login_flow_with_http_info(opts)
80
+ p status_code # => 2xx
81
+ p headers # => { ... }
82
+ p data # => <LoginFlow>
83
+ rescue OryKratosClient::ApiError => e
84
+ puts "Error when calling FrontendApi->create_browser_login_flow_with_http_info: #{e}"
85
+ end
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ | Name | Type | Description | Notes |
91
+ | ---- | ---- | ----------- | ----- |
92
+ | **refresh** | **Boolean** | 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. | [optional] |
93
+ | **aal** | **String** | Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session&#39;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 \&quot;upgrade\&quot; the session&#39;s security by asking the user to perform TOTP / WebAuth/ ... you would set this to \&quot;aal2\&quot;. | [optional] |
94
+ | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
95
+ | **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] |
96
+ | **login_challenge** | **String** | An optional Hydra login challenge. If present, Kratos will cooperate with Ory Hydra to act as an OAuth2 identity provider. The value for this parameter comes from &#x60;login_challenge&#x60; URL Query parameter sent to your application (e.g. &#x60;/login?login_challenge&#x3D;abcde&#x60;). | [optional] |
97
+
98
+ ### Return type
99
+
100
+ [**LoginFlow**](LoginFlow.md)
101
+
102
+ ### Authorization
103
+
104
+ No authorization required
105
+
106
+ ### HTTP request headers
107
+
108
+ - **Content-Type**: Not defined
109
+ - **Accept**: application/json
110
+
111
+
112
+ ## create_browser_logout_flow
113
+
114
+ > <LogoutFlow> create_browser_logout_flow(opts)
115
+
116
+ Create a Logout URL for Browsers
117
+
118
+ This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
119
+
120
+ ### Examples
121
+
122
+ ```ruby
123
+ require 'time'
124
+ require 'ory-kratos-client'
125
+
126
+ api_instance = OryKratosClient::FrontendApi.new
127
+ opts = {
128
+ cookie: 'cookie_example' # String | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
129
+ }
130
+
131
+ begin
132
+ # Create a Logout URL for Browsers
133
+ result = api_instance.create_browser_logout_flow(opts)
134
+ p result
135
+ rescue OryKratosClient::ApiError => e
136
+ puts "Error when calling FrontendApi->create_browser_logout_flow: #{e}"
137
+ end
138
+ ```
139
+
140
+ #### Using the create_browser_logout_flow_with_http_info variant
141
+
142
+ This returns an Array which contains the response data, status code and headers.
143
+
144
+ > <Array(<LogoutFlow>, Integer, Hash)> create_browser_logout_flow_with_http_info(opts)
145
+
146
+ ```ruby
147
+ begin
148
+ # Create a Logout URL for Browsers
149
+ data, status_code, headers = api_instance.create_browser_logout_flow_with_http_info(opts)
150
+ p status_code # => 2xx
151
+ p headers # => { ... }
152
+ p data # => <LogoutFlow>
153
+ rescue OryKratosClient::ApiError => e
154
+ puts "Error when calling FrontendApi->create_browser_logout_flow_with_http_info: #{e}"
155
+ end
156
+ ```
157
+
158
+ ### Parameters
159
+
160
+ | Name | Type | Description | Notes |
161
+ | ---- | ---- | ----------- | ----- |
162
+ | **cookie** | **String** | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. | [optional] |
163
+
164
+ ### Return type
165
+
166
+ [**LogoutFlow**](LogoutFlow.md)
167
+
168
+ ### Authorization
169
+
170
+ No authorization required
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: Not defined
175
+ - **Accept**: application/json
176
+
177
+
178
+ ## create_browser_recovery_flow
179
+
180
+ > <RecoveryFlow> create_browser_recovery_flow(opts)
181
+
182
+ Create Recovery Flow for Browsers
183
+
184
+ This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. 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 Account Recovery Documentation](../self-service/flows/account-recovery).
185
+
186
+ ### Examples
187
+
188
+ ```ruby
189
+ require 'time'
190
+ require 'ory-kratos-client'
191
+
192
+ api_instance = OryKratosClient::FrontendApi.new
193
+ opts = {
194
+ return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
195
+ }
196
+
197
+ begin
198
+ # Create Recovery Flow for Browsers
199
+ result = api_instance.create_browser_recovery_flow(opts)
200
+ p result
201
+ rescue OryKratosClient::ApiError => e
202
+ puts "Error when calling FrontendApi->create_browser_recovery_flow: #{e}"
203
+ end
204
+ ```
205
+
206
+ #### Using the create_browser_recovery_flow_with_http_info variant
207
+
208
+ This returns an Array which contains the response data, status code and headers.
209
+
210
+ > <Array(<RecoveryFlow>, Integer, Hash)> create_browser_recovery_flow_with_http_info(opts)
211
+
212
+ ```ruby
213
+ begin
214
+ # Create Recovery Flow for Browsers
215
+ data, status_code, headers = api_instance.create_browser_recovery_flow_with_http_info(opts)
216
+ p status_code # => 2xx
217
+ p headers # => { ... }
218
+ p data # => <RecoveryFlow>
219
+ rescue OryKratosClient::ApiError => e
220
+ puts "Error when calling FrontendApi->create_browser_recovery_flow_with_http_info: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+ | Name | Type | Description | Notes |
227
+ | ---- | ---- | ----------- | ----- |
228
+ | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
229
+
230
+ ### Return type
231
+
232
+ [**RecoveryFlow**](RecoveryFlow.md)
233
+
234
+ ### Authorization
235
+
236
+ No authorization required
237
+
238
+ ### HTTP request headers
239
+
240
+ - **Content-Type**: Not defined
241
+ - **Accept**: application/json
242
+
243
+
244
+ ## create_browser_registration_flow
245
+
246
+ > <RegistrationFlow> create_browser_registration_flow(opts)
247
+
248
+ Create Registration Flow for Browsers
249
+
250
+ 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).
251
+
252
+ ### Examples
253
+
254
+ ```ruby
255
+ require 'time'
256
+ require 'ory-kratos-client'
257
+
258
+ api_instance = OryKratosClient::FrontendApi.new
259
+ opts = {
260
+ return_to: 'return_to_example', # String | The URL to return the browser to after the flow was completed.
261
+ login_challenge: 'login_challenge_example' # String | Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from `login_challenge` URL Query parameter sent to your application (e.g. `/registration?login_challenge=abcde`). This feature is compatible with Ory Hydra when not running on the Ory Network.
262
+ }
263
+
264
+ begin
265
+ # Create Registration Flow for Browsers
266
+ result = api_instance.create_browser_registration_flow(opts)
267
+ p result
268
+ rescue OryKratosClient::ApiError => e
269
+ puts "Error when calling FrontendApi->create_browser_registration_flow: #{e}"
270
+ end
271
+ ```
272
+
273
+ #### Using the create_browser_registration_flow_with_http_info variant
274
+
275
+ This returns an Array which contains the response data, status code and headers.
276
+
277
+ > <Array(<RegistrationFlow>, Integer, Hash)> create_browser_registration_flow_with_http_info(opts)
278
+
279
+ ```ruby
280
+ begin
281
+ # Create Registration Flow for Browsers
282
+ data, status_code, headers = api_instance.create_browser_registration_flow_with_http_info(opts)
283
+ p status_code # => 2xx
284
+ p headers # => { ... }
285
+ p data # => <RegistrationFlow>
286
+ rescue OryKratosClient::ApiError => e
287
+ puts "Error when calling FrontendApi->create_browser_registration_flow_with_http_info: #{e}"
288
+ end
289
+ ```
290
+
291
+ ### Parameters
292
+
293
+ | Name | Type | Description | Notes |
294
+ | ---- | ---- | ----------- | ----- |
295
+ | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
296
+ | **login_challenge** | **String** | Ory OAuth 2.0 Login Challenge. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. The value for this parameter comes from &#x60;login_challenge&#x60; URL Query parameter sent to your application (e.g. &#x60;/registration?login_challenge&#x3D;abcde&#x60;). This feature is compatible with Ory Hydra when not running on the Ory Network. | [optional] |
297
+
298
+ ### Return type
299
+
300
+ [**RegistrationFlow**](RegistrationFlow.md)
301
+
302
+ ### Authorization
303
+
304
+ No authorization required
305
+
306
+ ### HTTP request headers
307
+
308
+ - **Content-Type**: Not defined
309
+ - **Accept**: application/json
310
+
311
+
312
+ ## create_browser_settings_flow
313
+
314
+ > <SettingsFlow> create_browser_settings_flow(opts)
315
+
316
+ Create Settings Flow for Browsers
317
+
318
+ This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
319
+
320
+ ### Examples
321
+
322
+ ```ruby
323
+ require 'time'
324
+ require 'ory-kratos-client'
325
+
326
+ api_instance = OryKratosClient::FrontendApi.new
327
+ opts = {
328
+ return_to: 'return_to_example', # String | The URL to return the browser to after the flow was completed.
329
+ 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.
330
+ }
331
+
332
+ begin
333
+ # Create Settings Flow for Browsers
334
+ result = api_instance.create_browser_settings_flow(opts)
335
+ p result
336
+ rescue OryKratosClient::ApiError => e
337
+ puts "Error when calling FrontendApi->create_browser_settings_flow: #{e}"
338
+ end
339
+ ```
340
+
341
+ #### Using the create_browser_settings_flow_with_http_info variant
342
+
343
+ This returns an Array which contains the response data, status code and headers.
344
+
345
+ > <Array(<SettingsFlow>, Integer, Hash)> create_browser_settings_flow_with_http_info(opts)
346
+
347
+ ```ruby
348
+ begin
349
+ # Create Settings Flow for Browsers
350
+ data, status_code, headers = api_instance.create_browser_settings_flow_with_http_info(opts)
351
+ p status_code # => 2xx
352
+ p headers # => { ... }
353
+ p data # => <SettingsFlow>
354
+ rescue OryKratosClient::ApiError => e
355
+ puts "Error when calling FrontendApi->create_browser_settings_flow_with_http_info: #{e}"
356
+ end
357
+ ```
358
+
359
+ ### Parameters
360
+
361
+ | Name | Type | Description | Notes |
362
+ | ---- | ---- | ----------- | ----- |
363
+ | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
364
+ | **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] |
365
+
366
+ ### Return type
367
+
368
+ [**SettingsFlow**](SettingsFlow.md)
369
+
370
+ ### Authorization
371
+
372
+ No authorization required
373
+
374
+ ### HTTP request headers
375
+
376
+ - **Content-Type**: Not defined
377
+ - **Accept**: application/json
378
+
379
+
380
+ ## create_browser_verification_flow
381
+
382
+ > <VerificationFlow> create_browser_verification_flow(opts)
383
+
384
+ Create Verification Flow for Browser Clients
385
+
386
+ This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
387
+
388
+ ### Examples
389
+
390
+ ```ruby
391
+ require 'time'
392
+ require 'ory-kratos-client'
393
+
394
+ api_instance = OryKratosClient::FrontendApi.new
395
+ opts = {
396
+ return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
397
+ }
398
+
399
+ begin
400
+ # Create Verification Flow for Browser Clients
401
+ result = api_instance.create_browser_verification_flow(opts)
402
+ p result
403
+ rescue OryKratosClient::ApiError => e
404
+ puts "Error when calling FrontendApi->create_browser_verification_flow: #{e}"
405
+ end
406
+ ```
407
+
408
+ #### Using the create_browser_verification_flow_with_http_info variant
409
+
410
+ This returns an Array which contains the response data, status code and headers.
411
+
412
+ > <Array(<VerificationFlow>, Integer, Hash)> create_browser_verification_flow_with_http_info(opts)
413
+
414
+ ```ruby
415
+ begin
416
+ # Create Verification Flow for Browser Clients
417
+ data, status_code, headers = api_instance.create_browser_verification_flow_with_http_info(opts)
418
+ p status_code # => 2xx
419
+ p headers # => { ... }
420
+ p data # => <VerificationFlow>
421
+ rescue OryKratosClient::ApiError => e
422
+ puts "Error when calling FrontendApi->create_browser_verification_flow_with_http_info: #{e}"
423
+ end
424
+ ```
425
+
426
+ ### Parameters
427
+
428
+ | Name | Type | Description | Notes |
429
+ | ---- | ---- | ----------- | ----- |
430
+ | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
431
+
432
+ ### Return type
433
+
434
+ [**VerificationFlow**](VerificationFlow.md)
435
+
436
+ ### Authorization
437
+
438
+ No authorization required
439
+
440
+ ### HTTP request headers
441
+
442
+ - **Content-Type**: Not defined
443
+ - **Accept**: application/json
444
+
445
+
446
+ ## create_native_login_flow
447
+
448
+ > <LoginFlow> create_native_login_flow(opts)
449
+
450
+ Create Login Flow for Native Apps
451
+
452
+ This endpoint initiates a login flow for native apps 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).
453
+
454
+ ### Examples
455
+
456
+ ```ruby
457
+ require 'time'
458
+ require 'ory-kratos-client'
459
+
460
+ api_instance = OryKratosClient::FrontendApi.new
461
+ opts = {
462
+ refresh: true, # Boolean | 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.
463
+ aal: 'aal_example', # String | 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\".
464
+ x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
465
+ }
466
+
467
+ begin
468
+ # Create Login Flow for Native Apps
469
+ result = api_instance.create_native_login_flow(opts)
470
+ p result
471
+ rescue OryKratosClient::ApiError => e
472
+ puts "Error when calling FrontendApi->create_native_login_flow: #{e}"
473
+ end
474
+ ```
475
+
476
+ #### Using the create_native_login_flow_with_http_info variant
477
+
478
+ This returns an Array which contains the response data, status code and headers.
479
+
480
+ > <Array(<LoginFlow>, Integer, Hash)> create_native_login_flow_with_http_info(opts)
481
+
482
+ ```ruby
483
+ begin
484
+ # Create Login Flow for Native Apps
485
+ data, status_code, headers = api_instance.create_native_login_flow_with_http_info(opts)
486
+ p status_code # => 2xx
487
+ p headers # => { ... }
488
+ p data # => <LoginFlow>
489
+ rescue OryKratosClient::ApiError => e
490
+ puts "Error when calling FrontendApi->create_native_login_flow_with_http_info: #{e}"
491
+ end
492
+ ```
493
+
494
+ ### Parameters
495
+
496
+ | Name | Type | Description | Notes |
497
+ | ---- | ---- | ----------- | ----- |
498
+ | **refresh** | **Boolean** | 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. | [optional] |
499
+ | **aal** | **String** | Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session&#39;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 \&quot;upgrade\&quot; the session&#39;s security by asking the user to perform TOTP / WebAuth/ ... you would set this to \&quot;aal2\&quot;. | [optional] |
500
+ | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
501
+
502
+ ### Return type
503
+
504
+ [**LoginFlow**](LoginFlow.md)
505
+
506
+ ### Authorization
507
+
508
+ No authorization required
509
+
510
+ ### HTTP request headers
511
+
512
+ - **Content-Type**: Not defined
513
+ - **Accept**: application/json
514
+
515
+
516
+ ## create_native_recovery_flow
517
+
518
+ > <RecoveryFlow> create_native_recovery_flow
519
+
520
+ Create Recovery Flow for Native Apps
521
+
522
+ This endpoint initiates a recovery 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. To fetch an existing recovery flow call `/self-service/recovery/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. 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 Account Recovery Documentation](../self-service/flows/account-recovery).
523
+
524
+ ### Examples
525
+
526
+ ```ruby
527
+ require 'time'
528
+ require 'ory-kratos-client'
529
+
530
+ api_instance = OryKratosClient::FrontendApi.new
531
+
532
+ begin
533
+ # Create Recovery Flow for Native Apps
534
+ result = api_instance.create_native_recovery_flow
535
+ p result
536
+ rescue OryKratosClient::ApiError => e
537
+ puts "Error when calling FrontendApi->create_native_recovery_flow: #{e}"
538
+ end
539
+ ```
540
+
541
+ #### Using the create_native_recovery_flow_with_http_info variant
542
+
543
+ This returns an Array which contains the response data, status code and headers.
544
+
545
+ > <Array(<RecoveryFlow>, Integer, Hash)> create_native_recovery_flow_with_http_info
546
+
547
+ ```ruby
548
+ begin
549
+ # Create Recovery Flow for Native Apps
550
+ data, status_code, headers = api_instance.create_native_recovery_flow_with_http_info
551
+ p status_code # => 2xx
552
+ p headers # => { ... }
553
+ p data # => <RecoveryFlow>
554
+ rescue OryKratosClient::ApiError => e
555
+ puts "Error when calling FrontendApi->create_native_recovery_flow_with_http_info: #{e}"
556
+ end
557
+ ```
558
+
559
+ ### Parameters
560
+
561
+ This endpoint does not need any parameter.
562
+
563
+ ### Return type
564
+
565
+ [**RecoveryFlow**](RecoveryFlow.md)
566
+
567
+ ### Authorization
568
+
569
+ No authorization required
570
+
571
+ ### HTTP request headers
572
+
573
+ - **Content-Type**: Not defined
574
+ - **Accept**: application/json
575
+
576
+
577
+ ## create_native_registration_flow
578
+
579
+ > <RegistrationFlow> create_native_registration_flow
580
+
581
+ Create Registration Flow for Native Apps
582
+
583
+ 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).
584
+
585
+ ### Examples
586
+
587
+ ```ruby
588
+ require 'time'
589
+ require 'ory-kratos-client'
590
+
591
+ api_instance = OryKratosClient::FrontendApi.new
592
+
593
+ begin
594
+ # Create Registration Flow for Native Apps
595
+ result = api_instance.create_native_registration_flow
596
+ p result
597
+ rescue OryKratosClient::ApiError => e
598
+ puts "Error when calling FrontendApi->create_native_registration_flow: #{e}"
599
+ end
600
+ ```
601
+
602
+ #### Using the create_native_registration_flow_with_http_info variant
603
+
604
+ This returns an Array which contains the response data, status code and headers.
605
+
606
+ > <Array(<RegistrationFlow>, Integer, Hash)> create_native_registration_flow_with_http_info
607
+
608
+ ```ruby
609
+ begin
610
+ # Create Registration Flow for Native Apps
611
+ data, status_code, headers = api_instance.create_native_registration_flow_with_http_info
612
+ p status_code # => 2xx
613
+ p headers # => { ... }
614
+ p data # => <RegistrationFlow>
615
+ rescue OryKratosClient::ApiError => e
616
+ puts "Error when calling FrontendApi->create_native_registration_flow_with_http_info: #{e}"
617
+ end
618
+ ```
619
+
620
+ ### Parameters
621
+
622
+ This endpoint does not need any parameter.
623
+
624
+ ### Return type
625
+
626
+ [**RegistrationFlow**](RegistrationFlow.md)
627
+
628
+ ### Authorization
629
+
630
+ No authorization required
631
+
632
+ ### HTTP request headers
633
+
634
+ - **Content-Type**: Not defined
635
+ - **Accept**: application/json
636
+
637
+
638
+ ## create_native_settings_flow
639
+
640
+ > <SettingsFlow> create_native_settings_flow(opts)
641
+
642
+ Create Settings Flow for Native Apps
643
+
644
+ This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/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. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. 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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
645
+
646
+ ### Examples
647
+
648
+ ```ruby
649
+ require 'time'
650
+ require 'ory-kratos-client'
651
+
652
+ api_instance = OryKratosClient::FrontendApi.new
653
+ opts = {
654
+ x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
655
+ }
656
+
657
+ begin
658
+ # Create Settings Flow for Native Apps
659
+ result = api_instance.create_native_settings_flow(opts)
660
+ p result
661
+ rescue OryKratosClient::ApiError => e
662
+ puts "Error when calling FrontendApi->create_native_settings_flow: #{e}"
663
+ end
664
+ ```
665
+
666
+ #### Using the create_native_settings_flow_with_http_info variant
667
+
668
+ This returns an Array which contains the response data, status code and headers.
669
+
670
+ > <Array(<SettingsFlow>, Integer, Hash)> create_native_settings_flow_with_http_info(opts)
671
+
672
+ ```ruby
673
+ begin
674
+ # Create Settings Flow for Native Apps
675
+ data, status_code, headers = api_instance.create_native_settings_flow_with_http_info(opts)
676
+ p status_code # => 2xx
677
+ p headers # => { ... }
678
+ p data # => <SettingsFlow>
679
+ rescue OryKratosClient::ApiError => e
680
+ puts "Error when calling FrontendApi->create_native_settings_flow_with_http_info: #{e}"
681
+ end
682
+ ```
683
+
684
+ ### Parameters
685
+
686
+ | Name | Type | Description | Notes |
687
+ | ---- | ---- | ----------- | ----- |
688
+ | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
689
+
690
+ ### Return type
691
+
692
+ [**SettingsFlow**](SettingsFlow.md)
693
+
694
+ ### Authorization
695
+
696
+ No authorization required
697
+
698
+ ### HTTP request headers
699
+
700
+ - **Content-Type**: Not defined
701
+ - **Accept**: application/json
702
+
703
+
704
+ ## create_native_verification_flow
705
+
706
+ > <VerificationFlow> create_native_verification_flow
707
+
708
+ Create Verification Flow for Native Apps
709
+
710
+ This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/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. 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 Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
711
+
712
+ ### Examples
713
+
714
+ ```ruby
715
+ require 'time'
716
+ require 'ory-kratos-client'
717
+
718
+ api_instance = OryKratosClient::FrontendApi.new
719
+
720
+ begin
721
+ # Create Verification Flow for Native Apps
722
+ result = api_instance.create_native_verification_flow
723
+ p result
724
+ rescue OryKratosClient::ApiError => e
725
+ puts "Error when calling FrontendApi->create_native_verification_flow: #{e}"
726
+ end
727
+ ```
728
+
729
+ #### Using the create_native_verification_flow_with_http_info variant
730
+
731
+ This returns an Array which contains the response data, status code and headers.
732
+
733
+ > <Array(<VerificationFlow>, Integer, Hash)> create_native_verification_flow_with_http_info
734
+
735
+ ```ruby
736
+ begin
737
+ # Create Verification Flow for Native Apps
738
+ data, status_code, headers = api_instance.create_native_verification_flow_with_http_info
739
+ p status_code # => 2xx
740
+ p headers # => { ... }
741
+ p data # => <VerificationFlow>
742
+ rescue OryKratosClient::ApiError => e
743
+ puts "Error when calling FrontendApi->create_native_verification_flow_with_http_info: #{e}"
744
+ end
745
+ ```
746
+
747
+ ### Parameters
748
+
749
+ This endpoint does not need any parameter.
750
+
751
+ ### Return type
752
+
753
+ [**VerificationFlow**](VerificationFlow.md)
754
+
755
+ ### Authorization
756
+
757
+ No authorization required
758
+
759
+ ### HTTP request headers
760
+
761
+ - **Content-Type**: Not defined
762
+ - **Accept**: application/json
763
+
764
+
765
+ ## disable_my_other_sessions
766
+
767
+ > <DeleteMySessionsCount> disable_my_other_sessions(opts)
768
+
769
+ Disable my other sessions
770
+
771
+ Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
772
+
773
+ ### Examples
774
+
775
+ ```ruby
776
+ require 'time'
777
+ require 'ory-kratos-client'
778
+
779
+ api_instance = OryKratosClient::FrontendApi.new
780
+ opts = {
781
+ x_session_token: 'x_session_token_example', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
782
+ cookie: 'cookie_example' # String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
783
+ }
784
+
785
+ begin
786
+ # Disable my other sessions
787
+ result = api_instance.disable_my_other_sessions(opts)
788
+ p result
789
+ rescue OryKratosClient::ApiError => e
790
+ puts "Error when calling FrontendApi->disable_my_other_sessions: #{e}"
791
+ end
792
+ ```
793
+
794
+ #### Using the disable_my_other_sessions_with_http_info variant
795
+
796
+ This returns an Array which contains the response data, status code and headers.
797
+
798
+ > <Array(<DeleteMySessionsCount>, Integer, Hash)> disable_my_other_sessions_with_http_info(opts)
799
+
800
+ ```ruby
801
+ begin
802
+ # Disable my other sessions
803
+ data, status_code, headers = api_instance.disable_my_other_sessions_with_http_info(opts)
804
+ p status_code # => 2xx
805
+ p headers # => { ... }
806
+ p data # => <DeleteMySessionsCount>
807
+ rescue OryKratosClient::ApiError => e
808
+ puts "Error when calling FrontendApi->disable_my_other_sessions_with_http_info: #{e}"
809
+ end
810
+ ```
811
+
812
+ ### Parameters
813
+
814
+ | Name | Type | Description | Notes |
815
+ | ---- | ---- | ----------- | ----- |
816
+ | **x_session_token** | **String** | Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;. | [optional] |
817
+ | **cookie** | **String** | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] |
818
+
819
+ ### Return type
820
+
821
+ [**DeleteMySessionsCount**](DeleteMySessionsCount.md)
822
+
823
+ ### Authorization
824
+
825
+ No authorization required
826
+
827
+ ### HTTP request headers
828
+
829
+ - **Content-Type**: Not defined
830
+ - **Accept**: application/json
831
+
832
+
833
+ ## disable_my_session
834
+
835
+ > disable_my_session(id, opts)
836
+
837
+ Disable one of my sessions
838
+
839
+ Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
840
+
841
+ ### Examples
842
+
843
+ ```ruby
844
+ require 'time'
845
+ require 'ory-kratos-client'
846
+
847
+ api_instance = OryKratosClient::FrontendApi.new
848
+ id = 'id_example' # String | ID is the session's ID.
849
+ opts = {
850
+ x_session_token: 'x_session_token_example', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
851
+ cookie: 'cookie_example' # String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
852
+ }
853
+
854
+ begin
855
+ # Disable one of my sessions
856
+ api_instance.disable_my_session(id, opts)
857
+ rescue OryKratosClient::ApiError => e
858
+ puts "Error when calling FrontendApi->disable_my_session: #{e}"
859
+ end
860
+ ```
861
+
862
+ #### Using the disable_my_session_with_http_info variant
863
+
864
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
865
+
866
+ > <Array(nil, Integer, Hash)> disable_my_session_with_http_info(id, opts)
867
+
868
+ ```ruby
869
+ begin
870
+ # Disable one of my sessions
871
+ data, status_code, headers = api_instance.disable_my_session_with_http_info(id, opts)
872
+ p status_code # => 2xx
873
+ p headers # => { ... }
874
+ p data # => nil
875
+ rescue OryKratosClient::ApiError => e
876
+ puts "Error when calling FrontendApi->disable_my_session_with_http_info: #{e}"
877
+ end
878
+ ```
879
+
880
+ ### Parameters
881
+
882
+ | Name | Type | Description | Notes |
883
+ | ---- | ---- | ----------- | ----- |
884
+ | **id** | **String** | ID is the session&#39;s ID. | |
885
+ | **x_session_token** | **String** | Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;. | [optional] |
886
+ | **cookie** | **String** | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] |
887
+
888
+ ### Return type
889
+
890
+ nil (empty response body)
891
+
892
+ ### Authorization
893
+
894
+ No authorization required
895
+
896
+ ### HTTP request headers
897
+
898
+ - **Content-Type**: Not defined
899
+ - **Accept**: application/json
900
+
901
+
902
+ ## get_flow_error
903
+
904
+ > <FlowError> get_flow_error(id)
905
+
906
+ Get User-Flow Errors
907
+
908
+ This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
909
+
910
+ ### Examples
911
+
912
+ ```ruby
913
+ require 'time'
914
+ require 'ory-kratos-client'
915
+
916
+ api_instance = OryKratosClient::FrontendApi.new
917
+ id = 'id_example' # String | Error is the error's ID
918
+
919
+ begin
920
+ # Get User-Flow Errors
921
+ result = api_instance.get_flow_error(id)
922
+ p result
923
+ rescue OryKratosClient::ApiError => e
924
+ puts "Error when calling FrontendApi->get_flow_error: #{e}"
925
+ end
926
+ ```
927
+
928
+ #### Using the get_flow_error_with_http_info variant
929
+
930
+ This returns an Array which contains the response data, status code and headers.
931
+
932
+ > <Array(<FlowError>, Integer, Hash)> get_flow_error_with_http_info(id)
933
+
934
+ ```ruby
935
+ begin
936
+ # Get User-Flow Errors
937
+ data, status_code, headers = api_instance.get_flow_error_with_http_info(id)
938
+ p status_code # => 2xx
939
+ p headers # => { ... }
940
+ p data # => <FlowError>
941
+ rescue OryKratosClient::ApiError => e
942
+ puts "Error when calling FrontendApi->get_flow_error_with_http_info: #{e}"
943
+ end
944
+ ```
945
+
946
+ ### Parameters
947
+
948
+ | Name | Type | Description | Notes |
949
+ | ---- | ---- | ----------- | ----- |
950
+ | **id** | **String** | Error is the error&#39;s ID | |
951
+
952
+ ### Return type
953
+
954
+ [**FlowError**](FlowError.md)
955
+
956
+ ### Authorization
957
+
958
+ No authorization required
959
+
960
+ ### HTTP request headers
961
+
962
+ - **Content-Type**: Not defined
963
+ - **Accept**: application/json
964
+
965
+
966
+ ## get_login_flow
967
+
968
+ > <LoginFlow> get_login_flow(id, opts)
969
+
970
+ Get Login Flow
971
+
972
+ 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.getLoginFlow(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).
973
+
974
+ ### Examples
975
+
976
+ ```ruby
977
+ require 'time'
978
+ require 'ory-kratos-client'
979
+
980
+ api_instance = OryKratosClient::FrontendApi.new
981
+ 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`).
982
+ opts = {
983
+ 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.
984
+ }
985
+
986
+ begin
987
+ # Get Login Flow
988
+ result = api_instance.get_login_flow(id, opts)
989
+ p result
990
+ rescue OryKratosClient::ApiError => e
991
+ puts "Error when calling FrontendApi->get_login_flow: #{e}"
992
+ end
993
+ ```
994
+
995
+ #### Using the get_login_flow_with_http_info variant
996
+
997
+ This returns an Array which contains the response data, status code and headers.
998
+
999
+ > <Array(<LoginFlow>, Integer, Hash)> get_login_flow_with_http_info(id, opts)
1000
+
1001
+ ```ruby
1002
+ begin
1003
+ # Get Login Flow
1004
+ data, status_code, headers = api_instance.get_login_flow_with_http_info(id, opts)
1005
+ p status_code # => 2xx
1006
+ p headers # => { ... }
1007
+ p data # => <LoginFlow>
1008
+ rescue OryKratosClient::ApiError => e
1009
+ puts "Error when calling FrontendApi->get_login_flow_with_http_info: #{e}"
1010
+ end
1011
+ ```
1012
+
1013
+ ### Parameters
1014
+
1015
+ | Name | Type | Description | Notes |
1016
+ | ---- | ---- | ----------- | ----- |
1017
+ | **id** | **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;). | |
1018
+ | **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] |
1019
+
1020
+ ### Return type
1021
+
1022
+ [**LoginFlow**](LoginFlow.md)
1023
+
1024
+ ### Authorization
1025
+
1026
+ No authorization required
1027
+
1028
+ ### HTTP request headers
1029
+
1030
+ - **Content-Type**: Not defined
1031
+ - **Accept**: application/json
1032
+
1033
+
1034
+ ## get_recovery_flow
1035
+
1036
+ > <RecoveryFlow> get_recovery_flow(id, opts)
1037
+
1038
+ Get Recovery Flow
1039
+
1040
+ 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.getRecoveryFlow(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).
1041
+
1042
+ ### Examples
1043
+
1044
+ ```ruby
1045
+ require 'time'
1046
+ require 'ory-kratos-client'
1047
+
1048
+ api_instance = OryKratosClient::FrontendApi.new
1049
+ 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`).
1050
+ opts = {
1051
+ 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.
1052
+ }
1053
+
1054
+ begin
1055
+ # Get Recovery Flow
1056
+ result = api_instance.get_recovery_flow(id, opts)
1057
+ p result
1058
+ rescue OryKratosClient::ApiError => e
1059
+ puts "Error when calling FrontendApi->get_recovery_flow: #{e}"
1060
+ end
1061
+ ```
1062
+
1063
+ #### Using the get_recovery_flow_with_http_info variant
1064
+
1065
+ This returns an Array which contains the response data, status code and headers.
1066
+
1067
+ > <Array(<RecoveryFlow>, Integer, Hash)> get_recovery_flow_with_http_info(id, opts)
1068
+
1069
+ ```ruby
1070
+ begin
1071
+ # Get Recovery Flow
1072
+ data, status_code, headers = api_instance.get_recovery_flow_with_http_info(id, opts)
1073
+ p status_code # => 2xx
1074
+ p headers # => { ... }
1075
+ p data # => <RecoveryFlow>
1076
+ rescue OryKratosClient::ApiError => e
1077
+ puts "Error when calling FrontendApi->get_recovery_flow_with_http_info: #{e}"
1078
+ end
1079
+ ```
1080
+
1081
+ ### Parameters
1082
+
1083
+ | Name | Type | Description | Notes |
1084
+ | ---- | ---- | ----------- | ----- |
1085
+ | **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;). | |
1086
+ | **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] |
1087
+
1088
+ ### Return type
1089
+
1090
+ [**RecoveryFlow**](RecoveryFlow.md)
1091
+
1092
+ ### Authorization
1093
+
1094
+ No authorization required
1095
+
1096
+ ### HTTP request headers
1097
+
1098
+ - **Content-Type**: Not defined
1099
+ - **Accept**: application/json
1100
+
1101
+
1102
+ ## get_registration_flow
1103
+
1104
+ > <RegistrationFlow> get_registration_flow(id, opts)
1105
+
1106
+ Get Registration Flow
1107
+
1108
+ 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.getRegistrationFlow(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).
1109
+
1110
+ ### Examples
1111
+
1112
+ ```ruby
1113
+ require 'time'
1114
+ require 'ory-kratos-client'
1115
+
1116
+ api_instance = OryKratosClient::FrontendApi.new
1117
+ 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`).
1118
+ opts = {
1119
+ 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.
1120
+ }
1121
+
1122
+ begin
1123
+ # Get Registration Flow
1124
+ result = api_instance.get_registration_flow(id, opts)
1125
+ p result
1126
+ rescue OryKratosClient::ApiError => e
1127
+ puts "Error when calling FrontendApi->get_registration_flow: #{e}"
1128
+ end
1129
+ ```
1130
+
1131
+ #### Using the get_registration_flow_with_http_info variant
1132
+
1133
+ This returns an Array which contains the response data, status code and headers.
1134
+
1135
+ > <Array(<RegistrationFlow>, Integer, Hash)> get_registration_flow_with_http_info(id, opts)
1136
+
1137
+ ```ruby
1138
+ begin
1139
+ # Get Registration Flow
1140
+ data, status_code, headers = api_instance.get_registration_flow_with_http_info(id, opts)
1141
+ p status_code # => 2xx
1142
+ p headers # => { ... }
1143
+ p data # => <RegistrationFlow>
1144
+ rescue OryKratosClient::ApiError => e
1145
+ puts "Error when calling FrontendApi->get_registration_flow_with_http_info: #{e}"
1146
+ end
1147
+ ```
1148
+
1149
+ ### Parameters
1150
+
1151
+ | Name | Type | Description | Notes |
1152
+ | ---- | ---- | ----------- | ----- |
1153
+ | **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;). | |
1154
+ | **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] |
1155
+
1156
+ ### Return type
1157
+
1158
+ [**RegistrationFlow**](RegistrationFlow.md)
1159
+
1160
+ ### Authorization
1161
+
1162
+ No authorization required
1163
+
1164
+ ### HTTP request headers
1165
+
1166
+ - **Content-Type**: Not defined
1167
+ - **Accept**: application/json
1168
+
1169
+
1170
+ ## get_settings_flow
1171
+
1172
+ > <SettingsFlow> get_settings_flow(id, opts)
1173
+
1174
+ Get Settings Flow
1175
+
1176
+ When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos' Admin API. 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: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
1177
+
1178
+ ### Examples
1179
+
1180
+ ```ruby
1181
+ require 'time'
1182
+ require 'ory-kratos-client'
1183
+
1184
+ api_instance = OryKratosClient::FrontendApi.new
1185
+ 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`).
1186
+ opts = {
1187
+ 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.
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
+ }
1190
+
1191
+ begin
1192
+ # Get Settings Flow
1193
+ result = api_instance.get_settings_flow(id, opts)
1194
+ p result
1195
+ rescue OryKratosClient::ApiError => e
1196
+ puts "Error when calling FrontendApi->get_settings_flow: #{e}"
1197
+ end
1198
+ ```
1199
+
1200
+ #### Using the get_settings_flow_with_http_info variant
1201
+
1202
+ This returns an Array which contains the response data, status code and headers.
1203
+
1204
+ > <Array(<SettingsFlow>, Integer, Hash)> get_settings_flow_with_http_info(id, opts)
1205
+
1206
+ ```ruby
1207
+ begin
1208
+ # Get Settings Flow
1209
+ data, status_code, headers = api_instance.get_settings_flow_with_http_info(id, opts)
1210
+ p status_code # => 2xx
1211
+ p headers # => { ... }
1212
+ p data # => <SettingsFlow>
1213
+ rescue OryKratosClient::ApiError => e
1214
+ puts "Error when calling FrontendApi->get_settings_flow_with_http_info: #{e}"
1215
+ end
1216
+ ```
1217
+
1218
+ ### Parameters
1219
+
1220
+ | Name | Type | Description | Notes |
1221
+ | ---- | ---- | ----------- | ----- |
1222
+ | **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;). | |
1223
+ | **x_session_token** | **String** | The Session Token When using the SDK in an app without a browser, please include the session token here. | [optional] |
1224
+ | **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] |
1225
+
1226
+ ### Return type
1227
+
1228
+ [**SettingsFlow**](SettingsFlow.md)
1229
+
1230
+ ### Authorization
1231
+
1232
+ No authorization required
1233
+
1234
+ ### HTTP request headers
1235
+
1236
+ - **Content-Type**: Not defined
1237
+ - **Accept**: application/json
1238
+
1239
+
1240
+ ## get_verification_flow
1241
+
1242
+ > <VerificationFlow> get_verification_flow(id, opts)
1243
+
1244
+ Get Verification Flow
1245
+
1246
+ This endpoint returns a verification 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.getVerificationFlow(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
1247
+
1248
+ ### Examples
1249
+
1250
+ ```ruby
1251
+ require 'time'
1252
+ require 'ory-kratos-client'
1253
+
1254
+ api_instance = OryKratosClient::FrontendApi.new
1255
+ id = 'id_example' # String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
1256
+ opts = {
1257
+ 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.
1258
+ }
1259
+
1260
+ begin
1261
+ # Get Verification Flow
1262
+ result = api_instance.get_verification_flow(id, opts)
1263
+ p result
1264
+ rescue OryKratosClient::ApiError => e
1265
+ puts "Error when calling FrontendApi->get_verification_flow: #{e}"
1266
+ end
1267
+ ```
1268
+
1269
+ #### Using the get_verification_flow_with_http_info variant
1270
+
1271
+ This returns an Array which contains the response data, status code and headers.
1272
+
1273
+ > <Array(<VerificationFlow>, Integer, Hash)> get_verification_flow_with_http_info(id, opts)
1274
+
1275
+ ```ruby
1276
+ begin
1277
+ # Get Verification Flow
1278
+ data, status_code, headers = api_instance.get_verification_flow_with_http_info(id, opts)
1279
+ p status_code # => 2xx
1280
+ p headers # => { ... }
1281
+ p data # => <VerificationFlow>
1282
+ rescue OryKratosClient::ApiError => e
1283
+ puts "Error when calling FrontendApi->get_verification_flow_with_http_info: #{e}"
1284
+ end
1285
+ ```
1286
+
1287
+ ### Parameters
1288
+
1289
+ | Name | Type | Description | Notes |
1290
+ | ---- | ---- | ----------- | ----- |
1291
+ | **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;/verification?flow&#x3D;abcde&#x60;). | |
1292
+ | **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] |
1293
+
1294
+ ### Return type
1295
+
1296
+ [**VerificationFlow**](VerificationFlow.md)
1297
+
1298
+ ### Authorization
1299
+
1300
+ No authorization required
1301
+
1302
+ ### HTTP request headers
1303
+
1304
+ - **Content-Type**: Not defined
1305
+ - **Accept**: application/json
1306
+
1307
+
1308
+ ## get_web_authn_java_script
1309
+
1310
+ > String get_web_authn_java_script
1311
+
1312
+ Get WebAuthn JavaScript
1313
+
1314
+ 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).
1315
+
1316
+ ### Examples
1317
+
1318
+ ```ruby
1319
+ require 'time'
1320
+ require 'ory-kratos-client'
1321
+
1322
+ api_instance = OryKratosClient::FrontendApi.new
1323
+
1324
+ begin
1325
+ # Get WebAuthn JavaScript
1326
+ result = api_instance.get_web_authn_java_script
1327
+ p result
1328
+ rescue OryKratosClient::ApiError => e
1329
+ puts "Error when calling FrontendApi->get_web_authn_java_script: #{e}"
1330
+ end
1331
+ ```
1332
+
1333
+ #### Using the get_web_authn_java_script_with_http_info variant
1334
+
1335
+ This returns an Array which contains the response data, status code and headers.
1336
+
1337
+ > <Array(String, Integer, Hash)> get_web_authn_java_script_with_http_info
1338
+
1339
+ ```ruby
1340
+ begin
1341
+ # Get WebAuthn JavaScript
1342
+ data, status_code, headers = api_instance.get_web_authn_java_script_with_http_info
1343
+ p status_code # => 2xx
1344
+ p headers # => { ... }
1345
+ p data # => String
1346
+ rescue OryKratosClient::ApiError => e
1347
+ puts "Error when calling FrontendApi->get_web_authn_java_script_with_http_info: #{e}"
1348
+ end
1349
+ ```
1350
+
1351
+ ### Parameters
1352
+
1353
+ This endpoint does not need any parameter.
1354
+
1355
+ ### Return type
1356
+
1357
+ **String**
1358
+
1359
+ ### Authorization
1360
+
1361
+ No authorization required
1362
+
1363
+ ### HTTP request headers
1364
+
1365
+ - **Content-Type**: Not defined
1366
+ - **Accept**: application/json
1367
+
1368
+
1369
+ ## list_my_sessions
1370
+
1371
+ > <Array<Session>> list_my_sessions(opts)
1372
+
1373
+ Get My Active Sessions
1374
+
1375
+ This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
1376
+
1377
+ ### Examples
1378
+
1379
+ ```ruby
1380
+ require 'time'
1381
+ require 'ory-kratos-client'
1382
+
1383
+ api_instance = OryKratosClient::FrontendApi.new
1384
+ opts = {
1385
+ per_page: 789, # Integer | Items per Page This is the number of items per page.
1386
+ page: 789, # Integer | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.
1387
+ x_session_token: 'x_session_token_example', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
1388
+ cookie: 'cookie_example' # String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
1389
+ }
1390
+
1391
+ begin
1392
+ # Get My Active Sessions
1393
+ result = api_instance.list_my_sessions(opts)
1394
+ p result
1395
+ rescue OryKratosClient::ApiError => e
1396
+ puts "Error when calling FrontendApi->list_my_sessions: #{e}"
1397
+ end
1398
+ ```
1399
+
1400
+ #### Using the list_my_sessions_with_http_info variant
1401
+
1402
+ This returns an Array which contains the response data, status code and headers.
1403
+
1404
+ > <Array(<Array<Session>>, Integer, Hash)> list_my_sessions_with_http_info(opts)
1405
+
1406
+ ```ruby
1407
+ begin
1408
+ # Get My Active Sessions
1409
+ data, status_code, headers = api_instance.list_my_sessions_with_http_info(opts)
1410
+ p status_code # => 2xx
1411
+ p headers # => { ... }
1412
+ p data # => <Array<Session>>
1413
+ rescue OryKratosClient::ApiError => e
1414
+ puts "Error when calling FrontendApi->list_my_sessions_with_http_info: #{e}"
1415
+ end
1416
+ ```
1417
+
1418
+ ### Parameters
1419
+
1420
+ | Name | Type | Description | Notes |
1421
+ | ---- | ---- | ----------- | ----- |
1422
+ | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
1423
+ | **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. | [optional][default to 1] |
1424
+ | **x_session_token** | **String** | Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;. | [optional] |
1425
+ | **cookie** | **String** | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] |
1426
+
1427
+ ### Return type
1428
+
1429
+ [**Array&lt;Session&gt;**](Session.md)
1430
+
1431
+ ### Authorization
1432
+
1433
+ No authorization required
1434
+
1435
+ ### HTTP request headers
1436
+
1437
+ - **Content-Type**: Not defined
1438
+ - **Accept**: application/json
1439
+
1440
+
1441
+ ## perform_native_logout
1442
+
1443
+ > perform_native_logout(perform_native_logout_body)
1444
+
1445
+ Perform Logout for Native Apps
1446
+
1447
+ Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.
1448
+
1449
+ ### Examples
1450
+
1451
+ ```ruby
1452
+ require 'time'
1453
+ require 'ory-kratos-client'
1454
+
1455
+ api_instance = OryKratosClient::FrontendApi.new
1456
+ perform_native_logout_body = OryKratosClient::PerformNativeLogoutBody.new({session_token: 'session_token_example'}) # PerformNativeLogoutBody |
1457
+
1458
+ begin
1459
+ # Perform Logout for Native Apps
1460
+ api_instance.perform_native_logout(perform_native_logout_body)
1461
+ rescue OryKratosClient::ApiError => e
1462
+ puts "Error when calling FrontendApi->perform_native_logout: #{e}"
1463
+ end
1464
+ ```
1465
+
1466
+ #### Using the perform_native_logout_with_http_info variant
1467
+
1468
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1469
+
1470
+ > <Array(nil, Integer, Hash)> perform_native_logout_with_http_info(perform_native_logout_body)
1471
+
1472
+ ```ruby
1473
+ begin
1474
+ # Perform Logout for Native Apps
1475
+ data, status_code, headers = api_instance.perform_native_logout_with_http_info(perform_native_logout_body)
1476
+ p status_code # => 2xx
1477
+ p headers # => { ... }
1478
+ p data # => nil
1479
+ rescue OryKratosClient::ApiError => e
1480
+ puts "Error when calling FrontendApi->perform_native_logout_with_http_info: #{e}"
1481
+ end
1482
+ ```
1483
+
1484
+ ### Parameters
1485
+
1486
+ | Name | Type | Description | Notes |
1487
+ | ---- | ---- | ----------- | ----- |
1488
+ | **perform_native_logout_body** | [**PerformNativeLogoutBody**](PerformNativeLogoutBody.md) | | |
1489
+
1490
+ ### Return type
1491
+
1492
+ nil (empty response body)
1493
+
1494
+ ### Authorization
1495
+
1496
+ No authorization required
1497
+
1498
+ ### HTTP request headers
1499
+
1500
+ - **Content-Type**: application/json
1501
+ - **Accept**: application/json
1502
+
1503
+
1504
+ ## to_session
1505
+
1506
+ > <Session> to_session(opts)
1507
+
1508
+ Check Who the Current HTTP Session Belongs To
1509
+
1510
+ Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSession(undefined, req.header('cookie')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
1511
+
1512
+ ### Examples
1513
+
1514
+ ```ruby
1515
+ require 'time'
1516
+ require 'ory-kratos-client'
1517
+
1518
+ api_instance = OryKratosClient::FrontendApi.new
1519
+ opts = {
1520
+ x_session_token: 'MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
1521
+ cookie: 'ory_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==' # String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
1522
+ }
1523
+
1524
+ begin
1525
+ # Check Who the Current HTTP Session Belongs To
1526
+ result = api_instance.to_session(opts)
1527
+ p result
1528
+ rescue OryKratosClient::ApiError => e
1529
+ puts "Error when calling FrontendApi->to_session: #{e}"
1530
+ end
1531
+ ```
1532
+
1533
+ #### Using the to_session_with_http_info variant
1534
+
1535
+ This returns an Array which contains the response data, status code and headers.
1536
+
1537
+ > <Array(<Session>, Integer, Hash)> to_session_with_http_info(opts)
1538
+
1539
+ ```ruby
1540
+ begin
1541
+ # Check Who the Current HTTP Session Belongs To
1542
+ data, status_code, headers = api_instance.to_session_with_http_info(opts)
1543
+ p status_code # => 2xx
1544
+ p headers # => { ... }
1545
+ p data # => <Session>
1546
+ rescue OryKratosClient::ApiError => e
1547
+ puts "Error when calling FrontendApi->to_session_with_http_info: #{e}"
1548
+ end
1549
+ ```
1550
+
1551
+ ### Parameters
1552
+
1553
+ | Name | Type | Description | Notes |
1554
+ | ---- | ---- | ----------- | ----- |
1555
+ | **x_session_token** | **String** | Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;. | [optional] |
1556
+ | **cookie** | **String** | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: &#x60;ory_kratos_session&#x3D;a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f&#x3D;&#x3D;&#x60;. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] |
1557
+
1558
+ ### Return type
1559
+
1560
+ [**Session**](Session.md)
1561
+
1562
+ ### Authorization
1563
+
1564
+ No authorization required
1565
+
1566
+ ### HTTP request headers
1567
+
1568
+ - **Content-Type**: Not defined
1569
+ - **Accept**: application/json
1570
+
1571
+
1572
+ ## update_login_flow
1573
+
1574
+ > <SuccessfulNativeLogin> update_login_flow(flow, update_login_flow_body, opts)
1575
+
1576
+ Submit a Login Flow
1577
+
1578
+ :::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 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 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).
1579
+
1580
+ ### Examples
1581
+
1582
+ ```ruby
1583
+ require 'time'
1584
+ require 'ory-kratos-client'
1585
+
1586
+ api_instance = OryKratosClient::FrontendApi.new
1587
+ 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`).
1588
+ update_login_flow_body = OryKratosClient::UpdateLoginFlowWithLookupSecretMethod.new({lookup_secret: 'lookup_secret_example', method: 'method_example'}) # UpdateLoginFlowBody |
1589
+ opts = {
1590
+ x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
1591
+ 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.
1592
+ }
1593
+
1594
+ begin
1595
+ # Submit a Login Flow
1596
+ result = api_instance.update_login_flow(flow, update_login_flow_body, opts)
1597
+ p result
1598
+ rescue OryKratosClient::ApiError => e
1599
+ puts "Error when calling FrontendApi->update_login_flow: #{e}"
1600
+ end
1601
+ ```
1602
+
1603
+ #### Using the update_login_flow_with_http_info variant
1604
+
1605
+ This returns an Array which contains the response data, status code and headers.
1606
+
1607
+ > <Array(<SuccessfulNativeLogin>, Integer, Hash)> update_login_flow_with_http_info(flow, update_login_flow_body, opts)
1608
+
1609
+ ```ruby
1610
+ begin
1611
+ # Submit a Login Flow
1612
+ data, status_code, headers = api_instance.update_login_flow_with_http_info(flow, update_login_flow_body, opts)
1613
+ p status_code # => 2xx
1614
+ p headers # => { ... }
1615
+ p data # => <SuccessfulNativeLogin>
1616
+ rescue OryKratosClient::ApiError => e
1617
+ puts "Error when calling FrontendApi->update_login_flow_with_http_info: #{e}"
1618
+ end
1619
+ ```
1620
+
1621
+ ### Parameters
1622
+
1623
+ | Name | Type | Description | Notes |
1624
+ | ---- | ---- | ----------- | ----- |
1625
+ | **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;). | |
1626
+ | **update_login_flow_body** | [**UpdateLoginFlowBody**](UpdateLoginFlowBody.md) | | |
1627
+ | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
1628
+ | **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] |
1629
+
1630
+ ### Return type
1631
+
1632
+ [**SuccessfulNativeLogin**](SuccessfulNativeLogin.md)
1633
+
1634
+ ### Authorization
1635
+
1636
+ No authorization required
1637
+
1638
+ ### HTTP request headers
1639
+
1640
+ - **Content-Type**: application/json, application/x-www-form-urlencoded
1641
+ - **Accept**: application/json
1642
+
1643
+
1644
+ ## update_logout_flow
1645
+
1646
+ > update_logout_flow(opts)
1647
+
1648
+ Update Logout Flow
1649
+
1650
+ This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
1651
+
1652
+ ### Examples
1653
+
1654
+ ```ruby
1655
+ require 'time'
1656
+ require 'ory-kratos-client'
1657
+
1658
+ api_instance = OryKratosClient::FrontendApi.new
1659
+ opts = {
1660
+ token: 'token_example', # String | A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint.
1661
+ return_to: 'return_to_example' # String | The URL to return to after the logout was completed.
1662
+ }
1663
+
1664
+ begin
1665
+ # Update Logout Flow
1666
+ api_instance.update_logout_flow(opts)
1667
+ rescue OryKratosClient::ApiError => e
1668
+ puts "Error when calling FrontendApi->update_logout_flow: #{e}"
1669
+ end
1670
+ ```
1671
+
1672
+ #### Using the update_logout_flow_with_http_info variant
1673
+
1674
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1675
+
1676
+ > <Array(nil, Integer, Hash)> update_logout_flow_with_http_info(opts)
1677
+
1678
+ ```ruby
1679
+ begin
1680
+ # Update Logout Flow
1681
+ data, status_code, headers = api_instance.update_logout_flow_with_http_info(opts)
1682
+ p status_code # => 2xx
1683
+ p headers # => { ... }
1684
+ p data # => nil
1685
+ rescue OryKratosClient::ApiError => e
1686
+ puts "Error when calling FrontendApi->update_logout_flow_with_http_info: #{e}"
1687
+ end
1688
+ ```
1689
+
1690
+ ### Parameters
1691
+
1692
+ | Name | Type | Description | Notes |
1693
+ | ---- | ---- | ----------- | ----- |
1694
+ | **token** | **String** | A Valid Logout Token If you do not have a logout token because you only have a session cookie, call &#x60;/self-service/logout/browser&#x60; to generate a URL for this endpoint. | [optional] |
1695
+ | **return_to** | **String** | The URL to return to after the logout was completed. | [optional] |
1696
+
1697
+ ### Return type
1698
+
1699
+ nil (empty response body)
1700
+
1701
+ ### Authorization
1702
+
1703
+ No authorization required
1704
+
1705
+ ### HTTP request headers
1706
+
1707
+ - **Content-Type**: Not defined
1708
+ - **Accept**: application/json
1709
+
1710
+
1711
+ ## update_recovery_flow
1712
+
1713
+ > <RecoveryFlow> update_recovery_flow(flow, update_recovery_flow_body, opts)
1714
+
1715
+ Complete Recovery Flow
1716
+
1717
+ Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
1718
+
1719
+ ### Examples
1720
+
1721
+ ```ruby
1722
+ require 'time'
1723
+ require 'ory-kratos-client'
1724
+
1725
+ api_instance = OryKratosClient::FrontendApi.new
1726
+ 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`).
1727
+ update_recovery_flow_body = OryKratosClient::UpdateRecoveryFlowWithCodeMethod.new({method: 'method_example'}) # UpdateRecoveryFlowBody |
1728
+ opts = {
1729
+ 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.
1730
+ 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.
1731
+ }
1732
+
1733
+ begin
1734
+ # Complete Recovery Flow
1735
+ result = api_instance.update_recovery_flow(flow, update_recovery_flow_body, opts)
1736
+ p result
1737
+ rescue OryKratosClient::ApiError => e
1738
+ puts "Error when calling FrontendApi->update_recovery_flow: #{e}"
1739
+ end
1740
+ ```
1741
+
1742
+ #### Using the update_recovery_flow_with_http_info variant
1743
+
1744
+ This returns an Array which contains the response data, status code and headers.
1745
+
1746
+ > <Array(<RecoveryFlow>, Integer, Hash)> update_recovery_flow_with_http_info(flow, update_recovery_flow_body, opts)
1747
+
1748
+ ```ruby
1749
+ begin
1750
+ # Complete Recovery Flow
1751
+ data, status_code, headers = api_instance.update_recovery_flow_with_http_info(flow, update_recovery_flow_body, opts)
1752
+ p status_code # => 2xx
1753
+ p headers # => { ... }
1754
+ p data # => <RecoveryFlow>
1755
+ rescue OryKratosClient::ApiError => e
1756
+ puts "Error when calling FrontendApi->update_recovery_flow_with_http_info: #{e}"
1757
+ end
1758
+ ```
1759
+
1760
+ ### Parameters
1761
+
1762
+ | Name | Type | Description | Notes |
1763
+ | ---- | ---- | ----------- | ----- |
1764
+ | **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;). | |
1765
+ | **update_recovery_flow_body** | [**UpdateRecoveryFlowBody**](UpdateRecoveryFlowBody.md) | | |
1766
+ | **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] |
1767
+ | **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] |
1768
+
1769
+ ### Return type
1770
+
1771
+ [**RecoveryFlow**](RecoveryFlow.md)
1772
+
1773
+ ### Authorization
1774
+
1775
+ No authorization required
1776
+
1777
+ ### HTTP request headers
1778
+
1779
+ - **Content-Type**: application/json, application/x-www-form-urlencoded
1780
+ - **Accept**: application/json
1781
+
1782
+
1783
+ ## update_registration_flow
1784
+
1785
+ > <SuccessfulNativeRegistration> update_registration_flow(flow, update_registration_flow_body, opts)
1786
+
1787
+ Update Registration Flow
1788
+
1789
+ 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).
1790
+
1791
+ ### Examples
1792
+
1793
+ ```ruby
1794
+ require 'time'
1795
+ require 'ory-kratos-client'
1796
+
1797
+ api_instance = OryKratosClient::FrontendApi.new
1798
+ 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`).
1799
+ update_registration_flow_body = OryKratosClient::UpdateRegistrationFlowWithOidcMethod.new({method: 'method_example', provider: 'provider_example'}) # UpdateRegistrationFlowBody |
1800
+ opts = {
1801
+ 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.
1802
+ }
1803
+
1804
+ begin
1805
+ # Update Registration Flow
1806
+ result = api_instance.update_registration_flow(flow, update_registration_flow_body, opts)
1807
+ p result
1808
+ rescue OryKratosClient::ApiError => e
1809
+ puts "Error when calling FrontendApi->update_registration_flow: #{e}"
1810
+ end
1811
+ ```
1812
+
1813
+ #### Using the update_registration_flow_with_http_info variant
1814
+
1815
+ This returns an Array which contains the response data, status code and headers.
1816
+
1817
+ > <Array(<SuccessfulNativeRegistration>, Integer, Hash)> update_registration_flow_with_http_info(flow, update_registration_flow_body, opts)
1818
+
1819
+ ```ruby
1820
+ begin
1821
+ # Update Registration Flow
1822
+ data, status_code, headers = api_instance.update_registration_flow_with_http_info(flow, update_registration_flow_body, opts)
1823
+ p status_code # => 2xx
1824
+ p headers # => { ... }
1825
+ p data # => <SuccessfulNativeRegistration>
1826
+ rescue OryKratosClient::ApiError => e
1827
+ puts "Error when calling FrontendApi->update_registration_flow_with_http_info: #{e}"
1828
+ end
1829
+ ```
1830
+
1831
+ ### Parameters
1832
+
1833
+ | Name | Type | Description | Notes |
1834
+ | ---- | ---- | ----------- | ----- |
1835
+ | **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;). | |
1836
+ | **update_registration_flow_body** | [**UpdateRegistrationFlowBody**](UpdateRegistrationFlowBody.md) | | |
1837
+ | **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] |
1838
+
1839
+ ### Return type
1840
+
1841
+ [**SuccessfulNativeRegistration**](SuccessfulNativeRegistration.md)
1842
+
1843
+ ### Authorization
1844
+
1845
+ No authorization required
1846
+
1847
+ ### HTTP request headers
1848
+
1849
+ - **Content-Type**: application/json, application/x-www-form-urlencoded
1850
+ - **Accept**: application/json
1851
+
1852
+
1853
+ ## update_settings_flow
1854
+
1855
+ > <SettingsFlow> update_settings_flow(flow, update_settings_flow_body, opts)
1856
+
1857
+ Complete Settings Flow
1858
+
1859
+ Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Browser flows with HTTP Header `Accept: application/json` 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 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP 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_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `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 Settings & Profile Management Documentation](../self-service/flows/user-settings).
1860
+
1861
+ ### Examples
1862
+
1863
+ ```ruby
1864
+ require 'time'
1865
+ require 'ory-kratos-client'
1866
+
1867
+ api_instance = OryKratosClient::FrontendApi.new
1868
+ 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`).
1869
+ update_settings_flow_body = OryKratosClient::UpdateSettingsFlowWithLookupMethod.new({method: 'method_example'}) # UpdateSettingsFlowBody |
1870
+ opts = {
1871
+ x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
1872
+ 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.
1873
+ }
1874
+
1875
+ begin
1876
+ # Complete Settings Flow
1877
+ result = api_instance.update_settings_flow(flow, update_settings_flow_body, opts)
1878
+ p result
1879
+ rescue OryKratosClient::ApiError => e
1880
+ puts "Error when calling FrontendApi->update_settings_flow: #{e}"
1881
+ end
1882
+ ```
1883
+
1884
+ #### Using the update_settings_flow_with_http_info variant
1885
+
1886
+ This returns an Array which contains the response data, status code and headers.
1887
+
1888
+ > <Array(<SettingsFlow>, Integer, Hash)> update_settings_flow_with_http_info(flow, update_settings_flow_body, opts)
1889
+
1890
+ ```ruby
1891
+ begin
1892
+ # Complete Settings Flow
1893
+ data, status_code, headers = api_instance.update_settings_flow_with_http_info(flow, update_settings_flow_body, opts)
1894
+ p status_code # => 2xx
1895
+ p headers # => { ... }
1896
+ p data # => <SettingsFlow>
1897
+ rescue OryKratosClient::ApiError => e
1898
+ puts "Error when calling FrontendApi->update_settings_flow_with_http_info: #{e}"
1899
+ end
1900
+ ```
1901
+
1902
+ ### Parameters
1903
+
1904
+ | Name | Type | Description | Notes |
1905
+ | ---- | ---- | ----------- | ----- |
1906
+ | **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;). | |
1907
+ | **update_settings_flow_body** | [**UpdateSettingsFlowBody**](UpdateSettingsFlowBody.md) | | |
1908
+ | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
1909
+ | **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] |
1910
+
1911
+ ### Return type
1912
+
1913
+ [**SettingsFlow**](SettingsFlow.md)
1914
+
1915
+ ### Authorization
1916
+
1917
+ No authorization required
1918
+
1919
+ ### HTTP request headers
1920
+
1921
+ - **Content-Type**: application/json, application/x-www-form-urlencoded
1922
+ - **Accept**: application/json
1923
+
1924
+
1925
+ ## update_verification_flow
1926
+
1927
+ > <VerificationFlow> update_verification_flow(flow, update_verification_flow_body, opts)
1928
+
1929
+ Complete Verification Flow
1930
+
1931
+ Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
1932
+
1933
+ ### Examples
1934
+
1935
+ ```ruby
1936
+ require 'time'
1937
+ require 'ory-kratos-client'
1938
+
1939
+ api_instance = OryKratosClient::FrontendApi.new
1940
+ 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`).
1941
+ update_verification_flow_body = OryKratosClient::UpdateVerificationFlowWithLinkMethod.new({email: 'email_example', method: 'method_example'}) # UpdateVerificationFlowBody |
1942
+ opts = {
1943
+ 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.
1944
+ 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.
1945
+ }
1946
+
1947
+ begin
1948
+ # Complete Verification Flow
1949
+ result = api_instance.update_verification_flow(flow, update_verification_flow_body, opts)
1950
+ p result
1951
+ rescue OryKratosClient::ApiError => e
1952
+ puts "Error when calling FrontendApi->update_verification_flow: #{e}"
1953
+ end
1954
+ ```
1955
+
1956
+ #### Using the update_verification_flow_with_http_info variant
1957
+
1958
+ This returns an Array which contains the response data, status code and headers.
1959
+
1960
+ > <Array(<VerificationFlow>, Integer, Hash)> update_verification_flow_with_http_info(flow, update_verification_flow_body, opts)
1961
+
1962
+ ```ruby
1963
+ begin
1964
+ # Complete Verification Flow
1965
+ data, status_code, headers = api_instance.update_verification_flow_with_http_info(flow, update_verification_flow_body, opts)
1966
+ p status_code # => 2xx
1967
+ p headers # => { ... }
1968
+ p data # => <VerificationFlow>
1969
+ rescue OryKratosClient::ApiError => e
1970
+ puts "Error when calling FrontendApi->update_verification_flow_with_http_info: #{e}"
1971
+ end
1972
+ ```
1973
+
1974
+ ### Parameters
1975
+
1976
+ | Name | Type | Description | Notes |
1977
+ | ---- | ---- | ----------- | ----- |
1978
+ | **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;). | |
1979
+ | **update_verification_flow_body** | [**UpdateVerificationFlowBody**](UpdateVerificationFlowBody.md) | | |
1980
+ | **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] |
1981
+ | **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] |
1982
+
1983
+ ### Return type
1984
+
1985
+ [**VerificationFlow**](VerificationFlow.md)
1986
+
1987
+ ### Authorization
1988
+
1989
+ No authorization required
1990
+
1991
+ ### HTTP request headers
1992
+
1993
+ - **Content-Type**: application/json, application/x-www-form-urlencoded
1994
+ - **Accept**: application/json
1995
+