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
data/docs/V0alpha2Api.md DELETED
@@ -1,2778 +0,0 @@
1
- # OryKratosClient::V0alpha2Api
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**admin_create_identity**](V0alpha2Api.md#admin_create_identity) | **POST** /admin/identities | Create an Identity |
8
- | [**admin_create_self_service_recovery_link**](V0alpha2Api.md#admin_create_self_service_recovery_link) | **POST** /admin/recovery/link | Create a Recovery Link |
9
- | [**admin_delete_identity**](V0alpha2Api.md#admin_delete_identity) | **DELETE** /admin/identities/{id} | Delete an Identity |
10
- | [**admin_delete_identity_sessions**](V0alpha2Api.md#admin_delete_identity_sessions) | **DELETE** /admin/identities/{id}/sessions | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity. |
11
- | [**admin_extend_session**](V0alpha2Api.md#admin_extend_session) | **PATCH** /admin/sessions/{id}/extend | Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. |
12
- | [**admin_get_identity**](V0alpha2Api.md#admin_get_identity) | **GET** /admin/identities/{id} | Get an Identity |
13
- | [**admin_list_identities**](V0alpha2Api.md#admin_list_identities) | **GET** /admin/identities | List Identities |
14
- | [**admin_list_identity_sessions**](V0alpha2Api.md#admin_list_identity_sessions) | **GET** /admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity. |
15
- | [**admin_update_identity**](V0alpha2Api.md#admin_update_identity) | **PUT** /admin/identities/{id} | Update an Identity |
16
- | [**create_self_service_logout_flow_url_for_browsers**](V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers |
17
- | [**get_json_schema**](V0alpha2Api.md#get_json_schema) | **GET** /schemas/{id} | |
18
- | [**get_self_service_error**](V0alpha2Api.md#get_self_service_error) | **GET** /self-service/errors | Get Self-Service Errors |
19
- | [**get_self_service_login_flow**](V0alpha2Api.md#get_self_service_login_flow) | **GET** /self-service/login/flows | Get Login Flow |
20
- | [**get_self_service_recovery_flow**](V0alpha2Api.md#get_self_service_recovery_flow) | **GET** /self-service/recovery/flows | Get Recovery Flow |
21
- | [**get_self_service_registration_flow**](V0alpha2Api.md#get_self_service_registration_flow) | **GET** /self-service/registration/flows | Get Registration Flow |
22
- | [**get_self_service_settings_flow**](V0alpha2Api.md#get_self_service_settings_flow) | **GET** /self-service/settings/flows | Get Settings Flow |
23
- | [**get_self_service_verification_flow**](V0alpha2Api.md#get_self_service_verification_flow) | **GET** /self-service/verification/flows | Get Verification Flow |
24
- | [**get_web_authn_java_script**](V0alpha2Api.md#get_web_authn_java_script) | **GET** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript |
25
- | [**initialize_self_service_login_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_login_flow_for_browsers) | **GET** /self-service/login/browser | Initialize Login Flow for Browsers |
26
- | [**initialize_self_service_login_flow_without_browser**](V0alpha2Api.md#initialize_self_service_login_flow_without_browser) | **GET** /self-service/login/api | Initialize Login Flow for APIs, Services, Apps, ... |
27
- | [**initialize_self_service_recovery_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_recovery_flow_for_browsers) | **GET** /self-service/recovery/browser | Initialize Recovery Flow for Browsers |
28
- | [**initialize_self_service_recovery_flow_without_browser**](V0alpha2Api.md#initialize_self_service_recovery_flow_without_browser) | **GET** /self-service/recovery/api | Initialize Recovery Flow for APIs, Services, Apps, ... |
29
- | [**initialize_self_service_registration_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_registration_flow_for_browsers) | **GET** /self-service/registration/browser | Initialize Registration Flow for Browsers |
30
- | [**initialize_self_service_registration_flow_without_browser**](V0alpha2Api.md#initialize_self_service_registration_flow_without_browser) | **GET** /self-service/registration/api | Initialize Registration Flow for APIs, Services, Apps, ... |
31
- | [**initialize_self_service_settings_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_settings_flow_for_browsers) | **GET** /self-service/settings/browser | Initialize Settings Flow for Browsers |
32
- | [**initialize_self_service_settings_flow_without_browser**](V0alpha2Api.md#initialize_self_service_settings_flow_without_browser) | **GET** /self-service/settings/api | Initialize Settings Flow for APIs, Services, Apps, ... |
33
- | [**initialize_self_service_verification_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_verification_flow_for_browsers) | **GET** /self-service/verification/browser | Initialize Verification Flow for Browser Clients |
34
- | [**initialize_self_service_verification_flow_without_browser**](V0alpha2Api.md#initialize_self_service_verification_flow_without_browser) | **GET** /self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ... |
35
- | [**list_identity_schemas**](V0alpha2Api.md#list_identity_schemas) | **GET** /schemas | |
36
- | [**list_sessions**](V0alpha2Api.md#list_sessions) | **GET** /sessions | 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. |
37
- | [**revoke_session**](V0alpha2Api.md#revoke_session) | **DELETE** /sessions/{id} | Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted. |
38
- | [**revoke_sessions**](V0alpha2Api.md#revoke_sessions) | **DELETE** /sessions | Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted. |
39
- | [**submit_self_service_login_flow**](V0alpha2Api.md#submit_self_service_login_flow) | **POST** /self-service/login | Submit a Login Flow |
40
- | [**submit_self_service_logout_flow**](V0alpha2Api.md#submit_self_service_logout_flow) | **GET** /self-service/logout | Complete Self-Service Logout |
41
- | [**submit_self_service_logout_flow_without_browser**](V0alpha2Api.md#submit_self_service_logout_flow_without_browser) | **DELETE** /self-service/logout/api | Perform Logout for APIs, Services, Apps, ... |
42
- | [**submit_self_service_recovery_flow**](V0alpha2Api.md#submit_self_service_recovery_flow) | **POST** /self-service/recovery | Complete Recovery Flow |
43
- | [**submit_self_service_registration_flow**](V0alpha2Api.md#submit_self_service_registration_flow) | **POST** /self-service/registration | Submit a Registration Flow |
44
- | [**submit_self_service_settings_flow**](V0alpha2Api.md#submit_self_service_settings_flow) | **POST** /self-service/settings | Complete Settings Flow |
45
- | [**submit_self_service_verification_flow**](V0alpha2Api.md#submit_self_service_verification_flow) | **POST** /self-service/verification | Complete Verification Flow |
46
- | [**to_session**](V0alpha2Api.md#to_session) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To |
47
-
48
-
49
- ## admin_create_identity
50
-
51
- > <Identity> admin_create_identity(opts)
52
-
53
- Create an Identity
54
-
55
- This endpoint creates an identity. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
56
-
57
- ### Examples
58
-
59
- ```ruby
60
- require 'time'
61
- require 'ory-kratos-client'
62
- # setup authorization
63
- OryKratosClient.configure do |config|
64
- # Configure API key authorization: oryAccessToken
65
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
66
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
67
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
68
- end
69
-
70
- api_instance = OryKratosClient::V0alpha2Api.new
71
- opts = {
72
- admin_create_identity_body: OryKratosClient::AdminCreateIdentityBody.new({schema_id: 'schema_id_example', traits: 3.56}) # AdminCreateIdentityBody |
73
- }
74
-
75
- begin
76
- # Create an Identity
77
- result = api_instance.admin_create_identity(opts)
78
- p result
79
- rescue OryKratosClient::ApiError => e
80
- puts "Error when calling V0alpha2Api->admin_create_identity: #{e}"
81
- end
82
- ```
83
-
84
- #### Using the admin_create_identity_with_http_info variant
85
-
86
- This returns an Array which contains the response data, status code and headers.
87
-
88
- > <Array(<Identity>, Integer, Hash)> admin_create_identity_with_http_info(opts)
89
-
90
- ```ruby
91
- begin
92
- # Create an Identity
93
- data, status_code, headers = api_instance.admin_create_identity_with_http_info(opts)
94
- p status_code # => 2xx
95
- p headers # => { ... }
96
- p data # => <Identity>
97
- rescue OryKratosClient::ApiError => e
98
- puts "Error when calling V0alpha2Api->admin_create_identity_with_http_info: #{e}"
99
- end
100
- ```
101
-
102
- ### Parameters
103
-
104
- | Name | Type | Description | Notes |
105
- | ---- | ---- | ----------- | ----- |
106
- | **admin_create_identity_body** | [**AdminCreateIdentityBody**](AdminCreateIdentityBody.md) | | [optional] |
107
-
108
- ### Return type
109
-
110
- [**Identity**](Identity.md)
111
-
112
- ### Authorization
113
-
114
- [oryAccessToken](../README.md#oryAccessToken)
115
-
116
- ### HTTP request headers
117
-
118
- - **Content-Type**: application/json
119
- - **Accept**: application/json
120
-
121
-
122
- ## admin_create_self_service_recovery_link
123
-
124
- > <SelfServiceRecoveryLink> admin_create_self_service_recovery_link(opts)
125
-
126
- Create a Recovery Link
127
-
128
- This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
129
-
130
- ### Examples
131
-
132
- ```ruby
133
- require 'time'
134
- require 'ory-kratos-client'
135
-
136
- api_instance = OryKratosClient::V0alpha2Api.new
137
- opts = {
138
- admin_create_self_service_recovery_link_body: OryKratosClient::AdminCreateSelfServiceRecoveryLinkBody.new({identity_id: 'identity_id_example'}) # AdminCreateSelfServiceRecoveryLinkBody |
139
- }
140
-
141
- begin
142
- # Create a Recovery Link
143
- result = api_instance.admin_create_self_service_recovery_link(opts)
144
- p result
145
- rescue OryKratosClient::ApiError => e
146
- puts "Error when calling V0alpha2Api->admin_create_self_service_recovery_link: #{e}"
147
- end
148
- ```
149
-
150
- #### Using the admin_create_self_service_recovery_link_with_http_info variant
151
-
152
- This returns an Array which contains the response data, status code and headers.
153
-
154
- > <Array(<SelfServiceRecoveryLink>, Integer, Hash)> admin_create_self_service_recovery_link_with_http_info(opts)
155
-
156
- ```ruby
157
- begin
158
- # Create a Recovery Link
159
- data, status_code, headers = api_instance.admin_create_self_service_recovery_link_with_http_info(opts)
160
- p status_code # => 2xx
161
- p headers # => { ... }
162
- p data # => <SelfServiceRecoveryLink>
163
- rescue OryKratosClient::ApiError => e
164
- puts "Error when calling V0alpha2Api->admin_create_self_service_recovery_link_with_http_info: #{e}"
165
- end
166
- ```
167
-
168
- ### Parameters
169
-
170
- | Name | Type | Description | Notes |
171
- | ---- | ---- | ----------- | ----- |
172
- | **admin_create_self_service_recovery_link_body** | [**AdminCreateSelfServiceRecoveryLinkBody**](AdminCreateSelfServiceRecoveryLinkBody.md) | | [optional] |
173
-
174
- ### Return type
175
-
176
- [**SelfServiceRecoveryLink**](SelfServiceRecoveryLink.md)
177
-
178
- ### Authorization
179
-
180
- No authorization required
181
-
182
- ### HTTP request headers
183
-
184
- - **Content-Type**: application/json
185
- - **Accept**: application/json
186
-
187
-
188
- ## admin_delete_identity
189
-
190
- > admin_delete_identity(id)
191
-
192
- Delete an Identity
193
-
194
- Calling this endpoint irrecoverably and permanently deletes the identity given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
195
-
196
- ### Examples
197
-
198
- ```ruby
199
- require 'time'
200
- require 'ory-kratos-client'
201
- # setup authorization
202
- OryKratosClient.configure do |config|
203
- # Configure API key authorization: oryAccessToken
204
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
205
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
206
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
207
- end
208
-
209
- api_instance = OryKratosClient::V0alpha2Api.new
210
- id = 'id_example' # String | ID is the identity's ID.
211
-
212
- begin
213
- # Delete an Identity
214
- api_instance.admin_delete_identity(id)
215
- rescue OryKratosClient::ApiError => e
216
- puts "Error when calling V0alpha2Api->admin_delete_identity: #{e}"
217
- end
218
- ```
219
-
220
- #### Using the admin_delete_identity_with_http_info variant
221
-
222
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
223
-
224
- > <Array(nil, Integer, Hash)> admin_delete_identity_with_http_info(id)
225
-
226
- ```ruby
227
- begin
228
- # Delete an Identity
229
- data, status_code, headers = api_instance.admin_delete_identity_with_http_info(id)
230
- p status_code # => 2xx
231
- p headers # => { ... }
232
- p data # => nil
233
- rescue OryKratosClient::ApiError => e
234
- puts "Error when calling V0alpha2Api->admin_delete_identity_with_http_info: #{e}"
235
- end
236
- ```
237
-
238
- ### Parameters
239
-
240
- | Name | Type | Description | Notes |
241
- | ---- | ---- | ----------- | ----- |
242
- | **id** | **String** | ID is the identity&#39;s ID. | |
243
-
244
- ### Return type
245
-
246
- nil (empty response body)
247
-
248
- ### Authorization
249
-
250
- [oryAccessToken](../README.md#oryAccessToken)
251
-
252
- ### HTTP request headers
253
-
254
- - **Content-Type**: Not defined
255
- - **Accept**: application/json
256
-
257
-
258
- ## admin_delete_identity_sessions
259
-
260
- > admin_delete_identity_sessions(id)
261
-
262
- Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
263
-
264
- This endpoint is useful for: To forcefully logout Identity from all devices and sessions
265
-
266
- ### Examples
267
-
268
- ```ruby
269
- require 'time'
270
- require 'ory-kratos-client'
271
- # setup authorization
272
- OryKratosClient.configure do |config|
273
- # Configure API key authorization: oryAccessToken
274
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
275
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
276
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
277
- end
278
-
279
- api_instance = OryKratosClient::V0alpha2Api.new
280
- id = 'id_example' # String | ID is the identity's ID.
281
-
282
- begin
283
- # Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
284
- api_instance.admin_delete_identity_sessions(id)
285
- rescue OryKratosClient::ApiError => e
286
- puts "Error when calling V0alpha2Api->admin_delete_identity_sessions: #{e}"
287
- end
288
- ```
289
-
290
- #### Using the admin_delete_identity_sessions_with_http_info variant
291
-
292
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
293
-
294
- > <Array(nil, Integer, Hash)> admin_delete_identity_sessions_with_http_info(id)
295
-
296
- ```ruby
297
- begin
298
- # Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
299
- data, status_code, headers = api_instance.admin_delete_identity_sessions_with_http_info(id)
300
- p status_code # => 2xx
301
- p headers # => { ... }
302
- p data # => nil
303
- rescue OryKratosClient::ApiError => e
304
- puts "Error when calling V0alpha2Api->admin_delete_identity_sessions_with_http_info: #{e}"
305
- end
306
- ```
307
-
308
- ### Parameters
309
-
310
- | Name | Type | Description | Notes |
311
- | ---- | ---- | ----------- | ----- |
312
- | **id** | **String** | ID is the identity&#39;s ID. | |
313
-
314
- ### Return type
315
-
316
- nil (empty response body)
317
-
318
- ### Authorization
319
-
320
- [oryAccessToken](../README.md#oryAccessToken)
321
-
322
- ### HTTP request headers
323
-
324
- - **Content-Type**: Not defined
325
- - **Accept**: application/json
326
-
327
-
328
- ## admin_extend_session
329
-
330
- > <Session> admin_extend_session(id)
331
-
332
- Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
333
-
334
- Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
335
-
336
- ### Examples
337
-
338
- ```ruby
339
- require 'time'
340
- require 'ory-kratos-client'
341
- # setup authorization
342
- OryKratosClient.configure do |config|
343
- # Configure API key authorization: oryAccessToken
344
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
345
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
346
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
347
- end
348
-
349
- api_instance = OryKratosClient::V0alpha2Api.new
350
- id = 'id_example' # String | ID is the session's ID.
351
-
352
- begin
353
- # Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
354
- result = api_instance.admin_extend_session(id)
355
- p result
356
- rescue OryKratosClient::ApiError => e
357
- puts "Error when calling V0alpha2Api->admin_extend_session: #{e}"
358
- end
359
- ```
360
-
361
- #### Using the admin_extend_session_with_http_info variant
362
-
363
- This returns an Array which contains the response data, status code and headers.
364
-
365
- > <Array(<Session>, Integer, Hash)> admin_extend_session_with_http_info(id)
366
-
367
- ```ruby
368
- begin
369
- # Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
370
- data, status_code, headers = api_instance.admin_extend_session_with_http_info(id)
371
- p status_code # => 2xx
372
- p headers # => { ... }
373
- p data # => <Session>
374
- rescue OryKratosClient::ApiError => e
375
- puts "Error when calling V0alpha2Api->admin_extend_session_with_http_info: #{e}"
376
- end
377
- ```
378
-
379
- ### Parameters
380
-
381
- | Name | Type | Description | Notes |
382
- | ---- | ---- | ----------- | ----- |
383
- | **id** | **String** | ID is the session&#39;s ID. | |
384
-
385
- ### Return type
386
-
387
- [**Session**](Session.md)
388
-
389
- ### Authorization
390
-
391
- [oryAccessToken](../README.md#oryAccessToken)
392
-
393
- ### HTTP request headers
394
-
395
- - **Content-Type**: Not defined
396
- - **Accept**: application/json
397
-
398
-
399
- ## admin_get_identity
400
-
401
- > <Identity> admin_get_identity(id, opts)
402
-
403
- Get an Identity
404
-
405
- Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
406
-
407
- ### Examples
408
-
409
- ```ruby
410
- require 'time'
411
- require 'ory-kratos-client'
412
- # setup authorization
413
- OryKratosClient.configure do |config|
414
- # Configure API key authorization: oryAccessToken
415
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
416
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
417
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
418
- end
419
-
420
- api_instance = OryKratosClient::V0alpha2Api.new
421
- id = 'id_example' # String | ID must be set to the ID of identity you want to get
422
- opts = {
423
- include_credential: ['inner_example'] # Array<String> | DeclassifyCredentials will declassify one or more identity's credentials Currently, only `oidc` is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token.
424
- }
425
-
426
- begin
427
- # Get an Identity
428
- result = api_instance.admin_get_identity(id, opts)
429
- p result
430
- rescue OryKratosClient::ApiError => e
431
- puts "Error when calling V0alpha2Api->admin_get_identity: #{e}"
432
- end
433
- ```
434
-
435
- #### Using the admin_get_identity_with_http_info variant
436
-
437
- This returns an Array which contains the response data, status code and headers.
438
-
439
- > <Array(<Identity>, Integer, Hash)> admin_get_identity_with_http_info(id, opts)
440
-
441
- ```ruby
442
- begin
443
- # Get an Identity
444
- data, status_code, headers = api_instance.admin_get_identity_with_http_info(id, opts)
445
- p status_code # => 2xx
446
- p headers # => { ... }
447
- p data # => <Identity>
448
- rescue OryKratosClient::ApiError => e
449
- puts "Error when calling V0alpha2Api->admin_get_identity_with_http_info: #{e}"
450
- end
451
- ```
452
-
453
- ### Parameters
454
-
455
- | Name | Type | Description | Notes |
456
- | ---- | ---- | ----------- | ----- |
457
- | **id** | **String** | ID must be set to the ID of identity you want to get | |
458
- | **include_credential** | [**Array&lt;String&gt;**](String.md) | DeclassifyCredentials will declassify one or more identity&#39;s credentials Currently, only &#x60;oidc&#x60; is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token. | [optional] |
459
-
460
- ### Return type
461
-
462
- [**Identity**](Identity.md)
463
-
464
- ### Authorization
465
-
466
- [oryAccessToken](../README.md#oryAccessToken)
467
-
468
- ### HTTP request headers
469
-
470
- - **Content-Type**: Not defined
471
- - **Accept**: application/json
472
-
473
-
474
- ## admin_list_identities
475
-
476
- > <Array<Identity>> admin_list_identities(opts)
477
-
478
- List Identities
479
-
480
- Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
481
-
482
- ### Examples
483
-
484
- ```ruby
485
- require 'time'
486
- require 'ory-kratos-client'
487
- # setup authorization
488
- OryKratosClient.configure do |config|
489
- # Configure API key authorization: oryAccessToken
490
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
491
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
492
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
493
- end
494
-
495
- api_instance = OryKratosClient::V0alpha2Api.new
496
- opts = {
497
- per_page: 789, # Integer | Items per Page This is the number of items per page.
498
- page: 789 # Integer | Pagination Page
499
- }
500
-
501
- begin
502
- # List Identities
503
- result = api_instance.admin_list_identities(opts)
504
- p result
505
- rescue OryKratosClient::ApiError => e
506
- puts "Error when calling V0alpha2Api->admin_list_identities: #{e}"
507
- end
508
- ```
509
-
510
- #### Using the admin_list_identities_with_http_info variant
511
-
512
- This returns an Array which contains the response data, status code and headers.
513
-
514
- > <Array(<Array<Identity>>, Integer, Hash)> admin_list_identities_with_http_info(opts)
515
-
516
- ```ruby
517
- begin
518
- # List Identities
519
- data, status_code, headers = api_instance.admin_list_identities_with_http_info(opts)
520
- p status_code # => 2xx
521
- p headers # => { ... }
522
- p data # => <Array<Identity>>
523
- rescue OryKratosClient::ApiError => e
524
- puts "Error when calling V0alpha2Api->admin_list_identities_with_http_info: #{e}"
525
- end
526
- ```
527
-
528
- ### Parameters
529
-
530
- | Name | Type | Description | Notes |
531
- | ---- | ---- | ----------- | ----- |
532
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
533
- | **page** | **Integer** | Pagination Page | [optional][default to 1] |
534
-
535
- ### Return type
536
-
537
- [**Array&lt;Identity&gt;**](Identity.md)
538
-
539
- ### Authorization
540
-
541
- [oryAccessToken](../README.md#oryAccessToken)
542
-
543
- ### HTTP request headers
544
-
545
- - **Content-Type**: Not defined
546
- - **Accept**: application/json
547
-
548
-
549
- ## admin_list_identity_sessions
550
-
551
- > <Array<Session>> admin_list_identity_sessions(id, opts)
552
-
553
- This endpoint returns all sessions that belong to the given Identity.
554
-
555
- This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
556
-
557
- ### Examples
558
-
559
- ```ruby
560
- require 'time'
561
- require 'ory-kratos-client'
562
- # setup authorization
563
- OryKratosClient.configure do |config|
564
- # Configure API key authorization: oryAccessToken
565
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
566
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
567
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
568
- end
569
-
570
- api_instance = OryKratosClient::V0alpha2Api.new
571
- id = 'id_example' # String | ID is the identity's ID.
572
- opts = {
573
- per_page: 789, # Integer | Items per Page This is the number of items per page.
574
- page: 789, # Integer | Pagination Page
575
- active: true # Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
576
- }
577
-
578
- begin
579
- # This endpoint returns all sessions that belong to the given Identity.
580
- result = api_instance.admin_list_identity_sessions(id, opts)
581
- p result
582
- rescue OryKratosClient::ApiError => e
583
- puts "Error when calling V0alpha2Api->admin_list_identity_sessions: #{e}"
584
- end
585
- ```
586
-
587
- #### Using the admin_list_identity_sessions_with_http_info variant
588
-
589
- This returns an Array which contains the response data, status code and headers.
590
-
591
- > <Array(<Array<Session>>, Integer, Hash)> admin_list_identity_sessions_with_http_info(id, opts)
592
-
593
- ```ruby
594
- begin
595
- # This endpoint returns all sessions that belong to the given Identity.
596
- data, status_code, headers = api_instance.admin_list_identity_sessions_with_http_info(id, opts)
597
- p status_code # => 2xx
598
- p headers # => { ... }
599
- p data # => <Array<Session>>
600
- rescue OryKratosClient::ApiError => e
601
- puts "Error when calling V0alpha2Api->admin_list_identity_sessions_with_http_info: #{e}"
602
- end
603
- ```
604
-
605
- ### Parameters
606
-
607
- | Name | Type | Description | Notes |
608
- | ---- | ---- | ----------- | ----- |
609
- | **id** | **String** | ID is the identity&#39;s ID. | |
610
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
611
- | **page** | **Integer** | Pagination Page | [optional][default to 1] |
612
- | **active** | **Boolean** | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. | [optional] |
613
-
614
- ### Return type
615
-
616
- [**Array&lt;Session&gt;**](Session.md)
617
-
618
- ### Authorization
619
-
620
- [oryAccessToken](../README.md#oryAccessToken)
621
-
622
- ### HTTP request headers
623
-
624
- - **Content-Type**: Not defined
625
- - **Accept**: application/json
626
-
627
-
628
- ## admin_update_identity
629
-
630
- > <Identity> admin_update_identity(id, opts)
631
-
632
- Update an Identity
633
-
634
- This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
635
-
636
- ### Examples
637
-
638
- ```ruby
639
- require 'time'
640
- require 'ory-kratos-client'
641
- # setup authorization
642
- OryKratosClient.configure do |config|
643
- # Configure API key authorization: oryAccessToken
644
- config.api_key['oryAccessToken'] = 'YOUR API KEY'
645
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
646
- # config.api_key_prefix['oryAccessToken'] = 'Bearer'
647
- end
648
-
649
- api_instance = OryKratosClient::V0alpha2Api.new
650
- id = 'id_example' # String | ID must be set to the ID of identity you want to update
651
- opts = {
652
- admin_update_identity_body: OryKratosClient::AdminUpdateIdentityBody.new({schema_id: 'schema_id_example', state: OryKratosClient::IdentityState::ACTIVE, traits: 3.56}) # AdminUpdateIdentityBody |
653
- }
654
-
655
- begin
656
- # Update an Identity
657
- result = api_instance.admin_update_identity(id, opts)
658
- p result
659
- rescue OryKratosClient::ApiError => e
660
- puts "Error when calling V0alpha2Api->admin_update_identity: #{e}"
661
- end
662
- ```
663
-
664
- #### Using the admin_update_identity_with_http_info variant
665
-
666
- This returns an Array which contains the response data, status code and headers.
667
-
668
- > <Array(<Identity>, Integer, Hash)> admin_update_identity_with_http_info(id, opts)
669
-
670
- ```ruby
671
- begin
672
- # Update an Identity
673
- data, status_code, headers = api_instance.admin_update_identity_with_http_info(id, opts)
674
- p status_code # => 2xx
675
- p headers # => { ... }
676
- p data # => <Identity>
677
- rescue OryKratosClient::ApiError => e
678
- puts "Error when calling V0alpha2Api->admin_update_identity_with_http_info: #{e}"
679
- end
680
- ```
681
-
682
- ### Parameters
683
-
684
- | Name | Type | Description | Notes |
685
- | ---- | ---- | ----------- | ----- |
686
- | **id** | **String** | ID must be set to the ID of identity you want to update | |
687
- | **admin_update_identity_body** | [**AdminUpdateIdentityBody**](AdminUpdateIdentityBody.md) | | [optional] |
688
-
689
- ### Return type
690
-
691
- [**Identity**](Identity.md)
692
-
693
- ### Authorization
694
-
695
- [oryAccessToken](../README.md#oryAccessToken)
696
-
697
- ### HTTP request headers
698
-
699
- - **Content-Type**: application/json
700
- - **Accept**: application/json
701
-
702
-
703
- ## create_self_service_logout_flow_url_for_browsers
704
-
705
- > <SelfServiceLogoutUrl> create_self_service_logout_flow_url_for_browsers(opts)
706
-
707
- Create a Logout URL for Browsers
708
-
709
- 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.
710
-
711
- ### Examples
712
-
713
- ```ruby
714
- require 'time'
715
- require 'ory-kratos-client'
716
-
717
- api_instance = OryKratosClient::V0alpha2Api.new
718
- opts = {
719
- cookie: 'cookie_example' # String | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
720
- }
721
-
722
- begin
723
- # Create a Logout URL for Browsers
724
- result = api_instance.create_self_service_logout_flow_url_for_browsers(opts)
725
- p result
726
- rescue OryKratosClient::ApiError => e
727
- puts "Error when calling V0alpha2Api->create_self_service_logout_flow_url_for_browsers: #{e}"
728
- end
729
- ```
730
-
731
- #### Using the create_self_service_logout_flow_url_for_browsers_with_http_info variant
732
-
733
- This returns an Array which contains the response data, status code and headers.
734
-
735
- > <Array(<SelfServiceLogoutUrl>, Integer, Hash)> create_self_service_logout_flow_url_for_browsers_with_http_info(opts)
736
-
737
- ```ruby
738
- begin
739
- # Create a Logout URL for Browsers
740
- data, status_code, headers = api_instance.create_self_service_logout_flow_url_for_browsers_with_http_info(opts)
741
- p status_code # => 2xx
742
- p headers # => { ... }
743
- p data # => <SelfServiceLogoutUrl>
744
- rescue OryKratosClient::ApiError => e
745
- puts "Error when calling V0alpha2Api->create_self_service_logout_flow_url_for_browsers_with_http_info: #{e}"
746
- end
747
- ```
748
-
749
- ### Parameters
750
-
751
- | Name | Type | Description | Notes |
752
- | ---- | ---- | ----------- | ----- |
753
- | **cookie** | **String** | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. | [optional] |
754
-
755
- ### Return type
756
-
757
- [**SelfServiceLogoutUrl**](SelfServiceLogoutUrl.md)
758
-
759
- ### Authorization
760
-
761
- No authorization required
762
-
763
- ### HTTP request headers
764
-
765
- - **Content-Type**: Not defined
766
- - **Accept**: application/json
767
-
768
-
769
- ## get_json_schema
770
-
771
- > Object get_json_schema(id)
772
-
773
-
774
-
775
- Get a JSON Schema
776
-
777
- ### Examples
778
-
779
- ```ruby
780
- require 'time'
781
- require 'ory-kratos-client'
782
-
783
- api_instance = OryKratosClient::V0alpha2Api.new
784
- id = 'id_example' # String | ID must be set to the ID of schema you want to get
785
-
786
- begin
787
-
788
- result = api_instance.get_json_schema(id)
789
- p result
790
- rescue OryKratosClient::ApiError => e
791
- puts "Error when calling V0alpha2Api->get_json_schema: #{e}"
792
- end
793
- ```
794
-
795
- #### Using the get_json_schema_with_http_info variant
796
-
797
- This returns an Array which contains the response data, status code and headers.
798
-
799
- > <Array(Object, Integer, Hash)> get_json_schema_with_http_info(id)
800
-
801
- ```ruby
802
- begin
803
-
804
- data, status_code, headers = api_instance.get_json_schema_with_http_info(id)
805
- p status_code # => 2xx
806
- p headers # => { ... }
807
- p data # => Object
808
- rescue OryKratosClient::ApiError => e
809
- puts "Error when calling V0alpha2Api->get_json_schema_with_http_info: #{e}"
810
- end
811
- ```
812
-
813
- ### Parameters
814
-
815
- | Name | Type | Description | Notes |
816
- | ---- | ---- | ----------- | ----- |
817
- | **id** | **String** | ID must be set to the ID of schema you want to get | |
818
-
819
- ### Return type
820
-
821
- **Object**
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
- ## get_self_service_error
834
-
835
- > <SelfServiceError> get_self_service_error(id)
836
-
837
- Get Self-Service Errors
838
-
839
- 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).
840
-
841
- ### Examples
842
-
843
- ```ruby
844
- require 'time'
845
- require 'ory-kratos-client'
846
-
847
- api_instance = OryKratosClient::V0alpha2Api.new
848
- id = 'id_example' # String | Error is the error's ID
849
-
850
- begin
851
- # Get Self-Service Errors
852
- result = api_instance.get_self_service_error(id)
853
- p result
854
- rescue OryKratosClient::ApiError => e
855
- puts "Error when calling V0alpha2Api->get_self_service_error: #{e}"
856
- end
857
- ```
858
-
859
- #### Using the get_self_service_error_with_http_info variant
860
-
861
- This returns an Array which contains the response data, status code and headers.
862
-
863
- > <Array(<SelfServiceError>, Integer, Hash)> get_self_service_error_with_http_info(id)
864
-
865
- ```ruby
866
- begin
867
- # Get Self-Service Errors
868
- data, status_code, headers = api_instance.get_self_service_error_with_http_info(id)
869
- p status_code # => 2xx
870
- p headers # => { ... }
871
- p data # => <SelfServiceError>
872
- rescue OryKratosClient::ApiError => e
873
- puts "Error when calling V0alpha2Api->get_self_service_error_with_http_info: #{e}"
874
- end
875
- ```
876
-
877
- ### Parameters
878
-
879
- | Name | Type | Description | Notes |
880
- | ---- | ---- | ----------- | ----- |
881
- | **id** | **String** | Error is the error&#39;s ID | |
882
-
883
- ### Return type
884
-
885
- [**SelfServiceError**](SelfServiceError.md)
886
-
887
- ### Authorization
888
-
889
- No authorization required
890
-
891
- ### HTTP request headers
892
-
893
- - **Content-Type**: Not defined
894
- - **Accept**: application/json
895
-
896
-
897
- ## get_self_service_login_flow
898
-
899
- > <SelfServiceLoginFlow> get_self_service_login_flow(id, opts)
900
-
901
- Get Login Flow
902
-
903
- This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
904
-
905
- ### Examples
906
-
907
- ```ruby
908
- require 'time'
909
- require 'ory-kratos-client'
910
-
911
- api_instance = OryKratosClient::V0alpha2Api.new
912
- 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`).
913
- opts = {
914
- 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.
915
- }
916
-
917
- begin
918
- # Get Login Flow
919
- result = api_instance.get_self_service_login_flow(id, opts)
920
- p result
921
- rescue OryKratosClient::ApiError => e
922
- puts "Error when calling V0alpha2Api->get_self_service_login_flow: #{e}"
923
- end
924
- ```
925
-
926
- #### Using the get_self_service_login_flow_with_http_info variant
927
-
928
- This returns an Array which contains the response data, status code and headers.
929
-
930
- > <Array(<SelfServiceLoginFlow>, Integer, Hash)> get_self_service_login_flow_with_http_info(id, opts)
931
-
932
- ```ruby
933
- begin
934
- # Get Login Flow
935
- data, status_code, headers = api_instance.get_self_service_login_flow_with_http_info(id, opts)
936
- p status_code # => 2xx
937
- p headers # => { ... }
938
- p data # => <SelfServiceLoginFlow>
939
- rescue OryKratosClient::ApiError => e
940
- puts "Error when calling V0alpha2Api->get_self_service_login_flow_with_http_info: #{e}"
941
- end
942
- ```
943
-
944
- ### Parameters
945
-
946
- | Name | Type | Description | Notes |
947
- | ---- | ---- | ----------- | ----- |
948
- | **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;). | |
949
- | **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] |
950
-
951
- ### Return type
952
-
953
- [**SelfServiceLoginFlow**](SelfServiceLoginFlow.md)
954
-
955
- ### Authorization
956
-
957
- No authorization required
958
-
959
- ### HTTP request headers
960
-
961
- - **Content-Type**: Not defined
962
- - **Accept**: application/json
963
-
964
-
965
- ## get_self_service_recovery_flow
966
-
967
- > <SelfServiceRecoveryFlow> get_self_service_recovery_flow(id, opts)
968
-
969
- Get Recovery Flow
970
-
971
- This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
972
-
973
- ### Examples
974
-
975
- ```ruby
976
- require 'time'
977
- require 'ory-kratos-client'
978
-
979
- api_instance = OryKratosClient::V0alpha2Api.new
980
- 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`).
981
- opts = {
982
- 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.
983
- }
984
-
985
- begin
986
- # Get Recovery Flow
987
- result = api_instance.get_self_service_recovery_flow(id, opts)
988
- p result
989
- rescue OryKratosClient::ApiError => e
990
- puts "Error when calling V0alpha2Api->get_self_service_recovery_flow: #{e}"
991
- end
992
- ```
993
-
994
- #### Using the get_self_service_recovery_flow_with_http_info variant
995
-
996
- This returns an Array which contains the response data, status code and headers.
997
-
998
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> get_self_service_recovery_flow_with_http_info(id, opts)
999
-
1000
- ```ruby
1001
- begin
1002
- # Get Recovery Flow
1003
- data, status_code, headers = api_instance.get_self_service_recovery_flow_with_http_info(id, opts)
1004
- p status_code # => 2xx
1005
- p headers # => { ... }
1006
- p data # => <SelfServiceRecoveryFlow>
1007
- rescue OryKratosClient::ApiError => e
1008
- puts "Error when calling V0alpha2Api->get_self_service_recovery_flow_with_http_info: #{e}"
1009
- end
1010
- ```
1011
-
1012
- ### Parameters
1013
-
1014
- | Name | Type | Description | Notes |
1015
- | ---- | ---- | ----------- | ----- |
1016
- | **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;). | |
1017
- | **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] |
1018
-
1019
- ### Return type
1020
-
1021
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
1022
-
1023
- ### Authorization
1024
-
1025
- No authorization required
1026
-
1027
- ### HTTP request headers
1028
-
1029
- - **Content-Type**: Not defined
1030
- - **Accept**: application/json
1031
-
1032
-
1033
- ## get_self_service_registration_flow
1034
-
1035
- > <SelfServiceRegistrationFlow> get_self_service_registration_flow(id, opts)
1036
-
1037
- Get Registration Flow
1038
-
1039
- This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1040
-
1041
- ### Examples
1042
-
1043
- ```ruby
1044
- require 'time'
1045
- require 'ory-kratos-client'
1046
-
1047
- api_instance = OryKratosClient::V0alpha2Api.new
1048
- 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`).
1049
- opts = {
1050
- 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.
1051
- }
1052
-
1053
- begin
1054
- # Get Registration Flow
1055
- result = api_instance.get_self_service_registration_flow(id, opts)
1056
- p result
1057
- rescue OryKratosClient::ApiError => e
1058
- puts "Error when calling V0alpha2Api->get_self_service_registration_flow: #{e}"
1059
- end
1060
- ```
1061
-
1062
- #### Using the get_self_service_registration_flow_with_http_info variant
1063
-
1064
- This returns an Array which contains the response data, status code and headers.
1065
-
1066
- > <Array(<SelfServiceRegistrationFlow>, Integer, Hash)> get_self_service_registration_flow_with_http_info(id, opts)
1067
-
1068
- ```ruby
1069
- begin
1070
- # Get Registration Flow
1071
- data, status_code, headers = api_instance.get_self_service_registration_flow_with_http_info(id, opts)
1072
- p status_code # => 2xx
1073
- p headers # => { ... }
1074
- p data # => <SelfServiceRegistrationFlow>
1075
- rescue OryKratosClient::ApiError => e
1076
- puts "Error when calling V0alpha2Api->get_self_service_registration_flow_with_http_info: #{e}"
1077
- end
1078
- ```
1079
-
1080
- ### Parameters
1081
-
1082
- | Name | Type | Description | Notes |
1083
- | ---- | ---- | ----------- | ----- |
1084
- | **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;). | |
1085
- | **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] |
1086
-
1087
- ### Return type
1088
-
1089
- [**SelfServiceRegistrationFlow**](SelfServiceRegistrationFlow.md)
1090
-
1091
- ### Authorization
1092
-
1093
- No authorization required
1094
-
1095
- ### HTTP request headers
1096
-
1097
- - **Content-Type**: Not defined
1098
- - **Accept**: application/json
1099
-
1100
-
1101
- ## get_self_service_settings_flow
1102
-
1103
- > <SelfServiceSettingsFlow> get_self_service_settings_flow(id, opts)
1104
-
1105
- Get Settings Flow
1106
-
1107
- 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).
1108
-
1109
- ### Examples
1110
-
1111
- ```ruby
1112
- require 'time'
1113
- require 'ory-kratos-client'
1114
-
1115
- api_instance = OryKratosClient::V0alpha2Api.new
1116
- 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`).
1117
- opts = {
1118
- 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.
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 Settings Flow
1124
- result = api_instance.get_self_service_settings_flow(id, opts)
1125
- p result
1126
- rescue OryKratosClient::ApiError => e
1127
- puts "Error when calling V0alpha2Api->get_self_service_settings_flow: #{e}"
1128
- end
1129
- ```
1130
-
1131
- #### Using the get_self_service_settings_flow_with_http_info variant
1132
-
1133
- This returns an Array which contains the response data, status code and headers.
1134
-
1135
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> get_self_service_settings_flow_with_http_info(id, opts)
1136
-
1137
- ```ruby
1138
- begin
1139
- # Get Settings Flow
1140
- data, status_code, headers = api_instance.get_self_service_settings_flow_with_http_info(id, opts)
1141
- p status_code # => 2xx
1142
- p headers # => { ... }
1143
- p data # => <SelfServiceSettingsFlow>
1144
- rescue OryKratosClient::ApiError => e
1145
- puts "Error when calling V0alpha2Api->get_self_service_settings_flow_with_http_info: #{e}"
1146
- end
1147
- ```
1148
-
1149
- ### Parameters
1150
-
1151
- | Name | Type | Description | Notes |
1152
- | ---- | ---- | ----------- | ----- |
1153
- | **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;). | |
1154
- | **x_session_token** | **String** | The Session Token When using the SDK in an app without a browser, please include the session token here. | [optional] |
1155
- | **cookie** | **String** | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] |
1156
-
1157
- ### Return type
1158
-
1159
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
1160
-
1161
- ### Authorization
1162
-
1163
- No authorization required
1164
-
1165
- ### HTTP request headers
1166
-
1167
- - **Content-Type**: Not defined
1168
- - **Accept**: application/json
1169
-
1170
-
1171
- ## get_self_service_verification_flow
1172
-
1173
- > <SelfServiceVerificationFlow> get_self_service_verification_flow(id, opts)
1174
-
1175
- Get Verification Flow
1176
-
1177
- 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.getSelfServiceVerificationFlow(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).
1178
-
1179
- ### Examples
1180
-
1181
- ```ruby
1182
- require 'time'
1183
- require 'ory-kratos-client'
1184
-
1185
- api_instance = OryKratosClient::V0alpha2Api.new
1186
- id = 'id_example' # String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`).
1187
- opts = {
1188
- cookie: 'cookie_example' # String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
1189
- }
1190
-
1191
- begin
1192
- # Get Verification Flow
1193
- result = api_instance.get_self_service_verification_flow(id, opts)
1194
- p result
1195
- rescue OryKratosClient::ApiError => e
1196
- puts "Error when calling V0alpha2Api->get_self_service_verification_flow: #{e}"
1197
- end
1198
- ```
1199
-
1200
- #### Using the get_self_service_verification_flow_with_http_info variant
1201
-
1202
- This returns an Array which contains the response data, status code and headers.
1203
-
1204
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> get_self_service_verification_flow_with_http_info(id, opts)
1205
-
1206
- ```ruby
1207
- begin
1208
- # Get Verification Flow
1209
- data, status_code, headers = api_instance.get_self_service_verification_flow_with_http_info(id, opts)
1210
- p status_code # => 2xx
1211
- p headers # => { ... }
1212
- p data # => <SelfServiceVerificationFlow>
1213
- rescue OryKratosClient::ApiError => e
1214
- puts "Error when calling V0alpha2Api->get_self_service_verification_flow_with_http_info: #{e}"
1215
- end
1216
- ```
1217
-
1218
- ### Parameters
1219
-
1220
- | Name | Type | Description | Notes |
1221
- | ---- | ---- | ----------- | ----- |
1222
- | **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;). | |
1223
- | **cookie** | **String** | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. | [optional] |
1224
-
1225
- ### Return type
1226
-
1227
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
1228
-
1229
- ### Authorization
1230
-
1231
- No authorization required
1232
-
1233
- ### HTTP request headers
1234
-
1235
- - **Content-Type**: Not defined
1236
- - **Accept**: application/json
1237
-
1238
-
1239
- ## get_web_authn_java_script
1240
-
1241
- > String get_web_authn_java_script
1242
-
1243
- Get WebAuthn JavaScript
1244
-
1245
- 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).
1246
-
1247
- ### Examples
1248
-
1249
- ```ruby
1250
- require 'time'
1251
- require 'ory-kratos-client'
1252
-
1253
- api_instance = OryKratosClient::V0alpha2Api.new
1254
-
1255
- begin
1256
- # Get WebAuthn JavaScript
1257
- result = api_instance.get_web_authn_java_script
1258
- p result
1259
- rescue OryKratosClient::ApiError => e
1260
- puts "Error when calling V0alpha2Api->get_web_authn_java_script: #{e}"
1261
- end
1262
- ```
1263
-
1264
- #### Using the get_web_authn_java_script_with_http_info variant
1265
-
1266
- This returns an Array which contains the response data, status code and headers.
1267
-
1268
- > <Array(String, Integer, Hash)> get_web_authn_java_script_with_http_info
1269
-
1270
- ```ruby
1271
- begin
1272
- # Get WebAuthn JavaScript
1273
- data, status_code, headers = api_instance.get_web_authn_java_script_with_http_info
1274
- p status_code # => 2xx
1275
- p headers # => { ... }
1276
- p data # => String
1277
- rescue OryKratosClient::ApiError => e
1278
- puts "Error when calling V0alpha2Api->get_web_authn_java_script_with_http_info: #{e}"
1279
- end
1280
- ```
1281
-
1282
- ### Parameters
1283
-
1284
- This endpoint does not need any parameter.
1285
-
1286
- ### Return type
1287
-
1288
- **String**
1289
-
1290
- ### Authorization
1291
-
1292
- No authorization required
1293
-
1294
- ### HTTP request headers
1295
-
1296
- - **Content-Type**: Not defined
1297
- - **Accept**: application/json
1298
-
1299
-
1300
- ## initialize_self_service_login_flow_for_browsers
1301
-
1302
- > <SelfServiceLoginFlow> initialize_self_service_login_flow_for_browsers(opts)
1303
-
1304
- Initialize Login Flow for Browsers
1305
-
1306
- This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1307
-
1308
- ### Examples
1309
-
1310
- ```ruby
1311
- require 'time'
1312
- require 'ory-kratos-client'
1313
-
1314
- api_instance = OryKratosClient::V0alpha2Api.new
1315
- opts = {
1316
- 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.
1317
- 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\".
1318
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1319
- }
1320
-
1321
- begin
1322
- # Initialize Login Flow for Browsers
1323
- result = api_instance.initialize_self_service_login_flow_for_browsers(opts)
1324
- p result
1325
- rescue OryKratosClient::ApiError => e
1326
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_for_browsers: #{e}"
1327
- end
1328
- ```
1329
-
1330
- #### Using the initialize_self_service_login_flow_for_browsers_with_http_info variant
1331
-
1332
- This returns an Array which contains the response data, status code and headers.
1333
-
1334
- > <Array(<SelfServiceLoginFlow>, Integer, Hash)> initialize_self_service_login_flow_for_browsers_with_http_info(opts)
1335
-
1336
- ```ruby
1337
- begin
1338
- # Initialize Login Flow for Browsers
1339
- data, status_code, headers = api_instance.initialize_self_service_login_flow_for_browsers_with_http_info(opts)
1340
- p status_code # => 2xx
1341
- p headers # => { ... }
1342
- p data # => <SelfServiceLoginFlow>
1343
- rescue OryKratosClient::ApiError => e
1344
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_for_browsers_with_http_info: #{e}"
1345
- end
1346
- ```
1347
-
1348
- ### Parameters
1349
-
1350
- | Name | Type | Description | Notes |
1351
- | ---- | ---- | ----------- | ----- |
1352
- | **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] |
1353
- | **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] |
1354
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1355
-
1356
- ### Return type
1357
-
1358
- [**SelfServiceLoginFlow**](SelfServiceLoginFlow.md)
1359
-
1360
- ### Authorization
1361
-
1362
- No authorization required
1363
-
1364
- ### HTTP request headers
1365
-
1366
- - **Content-Type**: Not defined
1367
- - **Accept**: application/json
1368
-
1369
-
1370
- ## initialize_self_service_login_flow_without_browser
1371
-
1372
- > <SelfServiceLoginFlow> initialize_self_service_login_flow_without_browser(opts)
1373
-
1374
- Initialize Login Flow for APIs, Services, Apps, ...
1375
-
1376
- This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1377
-
1378
- ### Examples
1379
-
1380
- ```ruby
1381
- require 'time'
1382
- require 'ory-kratos-client'
1383
-
1384
- api_instance = OryKratosClient::V0alpha2Api.new
1385
- opts = {
1386
- 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.
1387
- 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\".
1388
- x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
1389
- }
1390
-
1391
- begin
1392
- # Initialize Login Flow for APIs, Services, Apps, ...
1393
- result = api_instance.initialize_self_service_login_flow_without_browser(opts)
1394
- p result
1395
- rescue OryKratosClient::ApiError => e
1396
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_without_browser: #{e}"
1397
- end
1398
- ```
1399
-
1400
- #### Using the initialize_self_service_login_flow_without_browser_with_http_info variant
1401
-
1402
- This returns an Array which contains the response data, status code and headers.
1403
-
1404
- > <Array(<SelfServiceLoginFlow>, Integer, Hash)> initialize_self_service_login_flow_without_browser_with_http_info(opts)
1405
-
1406
- ```ruby
1407
- begin
1408
- # Initialize Login Flow for APIs, Services, Apps, ...
1409
- data, status_code, headers = api_instance.initialize_self_service_login_flow_without_browser_with_http_info(opts)
1410
- p status_code # => 2xx
1411
- p headers # => { ... }
1412
- p data # => <SelfServiceLoginFlow>
1413
- rescue OryKratosClient::ApiError => e
1414
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_without_browser_with_http_info: #{e}"
1415
- end
1416
- ```
1417
-
1418
- ### Parameters
1419
-
1420
- | Name | Type | Description | Notes |
1421
- | ---- | ---- | ----------- | ----- |
1422
- | **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] |
1423
- | **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] |
1424
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
1425
-
1426
- ### Return type
1427
-
1428
- [**SelfServiceLoginFlow**](SelfServiceLoginFlow.md)
1429
-
1430
- ### Authorization
1431
-
1432
- No authorization required
1433
-
1434
- ### HTTP request headers
1435
-
1436
- - **Content-Type**: Not defined
1437
- - **Accept**: application/json
1438
-
1439
-
1440
- ## initialize_self_service_recovery_flow_for_browsers
1441
-
1442
- > <SelfServiceRecoveryFlow> initialize_self_service_recovery_flow_for_browsers(opts)
1443
-
1444
- Initialize Recovery Flow for Browsers
1445
-
1446
- 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).
1447
-
1448
- ### Examples
1449
-
1450
- ```ruby
1451
- require 'time'
1452
- require 'ory-kratos-client'
1453
-
1454
- api_instance = OryKratosClient::V0alpha2Api.new
1455
- opts = {
1456
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1457
- }
1458
-
1459
- begin
1460
- # Initialize Recovery Flow for Browsers
1461
- result = api_instance.initialize_self_service_recovery_flow_for_browsers(opts)
1462
- p result
1463
- rescue OryKratosClient::ApiError => e
1464
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_for_browsers: #{e}"
1465
- end
1466
- ```
1467
-
1468
- #### Using the initialize_self_service_recovery_flow_for_browsers_with_http_info variant
1469
-
1470
- This returns an Array which contains the response data, status code and headers.
1471
-
1472
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> initialize_self_service_recovery_flow_for_browsers_with_http_info(opts)
1473
-
1474
- ```ruby
1475
- begin
1476
- # Initialize Recovery Flow for Browsers
1477
- data, status_code, headers = api_instance.initialize_self_service_recovery_flow_for_browsers_with_http_info(opts)
1478
- p status_code # => 2xx
1479
- p headers # => { ... }
1480
- p data # => <SelfServiceRecoveryFlow>
1481
- rescue OryKratosClient::ApiError => e
1482
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_for_browsers_with_http_info: #{e}"
1483
- end
1484
- ```
1485
-
1486
- ### Parameters
1487
-
1488
- | Name | Type | Description | Notes |
1489
- | ---- | ---- | ----------- | ----- |
1490
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1491
-
1492
- ### Return type
1493
-
1494
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
1495
-
1496
- ### Authorization
1497
-
1498
- No authorization required
1499
-
1500
- ### HTTP request headers
1501
-
1502
- - **Content-Type**: Not defined
1503
- - **Accept**: application/json
1504
-
1505
-
1506
- ## initialize_self_service_recovery_flow_without_browser
1507
-
1508
- > <SelfServiceRecoveryFlow> initialize_self_service_recovery_flow_without_browser
1509
-
1510
- Initialize Recovery Flow for APIs, Services, Apps, ...
1511
-
1512
- 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).
1513
-
1514
- ### Examples
1515
-
1516
- ```ruby
1517
- require 'time'
1518
- require 'ory-kratos-client'
1519
-
1520
- api_instance = OryKratosClient::V0alpha2Api.new
1521
-
1522
- begin
1523
- # Initialize Recovery Flow for APIs, Services, Apps, ...
1524
- result = api_instance.initialize_self_service_recovery_flow_without_browser
1525
- p result
1526
- rescue OryKratosClient::ApiError => e
1527
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_without_browser: #{e}"
1528
- end
1529
- ```
1530
-
1531
- #### Using the initialize_self_service_recovery_flow_without_browser_with_http_info variant
1532
-
1533
- This returns an Array which contains the response data, status code and headers.
1534
-
1535
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> initialize_self_service_recovery_flow_without_browser_with_http_info
1536
-
1537
- ```ruby
1538
- begin
1539
- # Initialize Recovery Flow for APIs, Services, Apps, ...
1540
- data, status_code, headers = api_instance.initialize_self_service_recovery_flow_without_browser_with_http_info
1541
- p status_code # => 2xx
1542
- p headers # => { ... }
1543
- p data # => <SelfServiceRecoveryFlow>
1544
- rescue OryKratosClient::ApiError => e
1545
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_without_browser_with_http_info: #{e}"
1546
- end
1547
- ```
1548
-
1549
- ### Parameters
1550
-
1551
- This endpoint does not need any parameter.
1552
-
1553
- ### Return type
1554
-
1555
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
1556
-
1557
- ### Authorization
1558
-
1559
- No authorization required
1560
-
1561
- ### HTTP request headers
1562
-
1563
- - **Content-Type**: Not defined
1564
- - **Accept**: application/json
1565
-
1566
-
1567
- ## initialize_self_service_registration_flow_for_browsers
1568
-
1569
- > <SelfServiceRegistrationFlow> initialize_self_service_registration_flow_for_browsers(opts)
1570
-
1571
- Initialize Registration Flow for Browsers
1572
-
1573
- 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).
1574
-
1575
- ### Examples
1576
-
1577
- ```ruby
1578
- require 'time'
1579
- require 'ory-kratos-client'
1580
-
1581
- api_instance = OryKratosClient::V0alpha2Api.new
1582
- opts = {
1583
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1584
- }
1585
-
1586
- begin
1587
- # Initialize Registration Flow for Browsers
1588
- result = api_instance.initialize_self_service_registration_flow_for_browsers(opts)
1589
- p result
1590
- rescue OryKratosClient::ApiError => e
1591
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_for_browsers: #{e}"
1592
- end
1593
- ```
1594
-
1595
- #### Using the initialize_self_service_registration_flow_for_browsers_with_http_info variant
1596
-
1597
- This returns an Array which contains the response data, status code and headers.
1598
-
1599
- > <Array(<SelfServiceRegistrationFlow>, Integer, Hash)> initialize_self_service_registration_flow_for_browsers_with_http_info(opts)
1600
-
1601
- ```ruby
1602
- begin
1603
- # Initialize Registration Flow for Browsers
1604
- data, status_code, headers = api_instance.initialize_self_service_registration_flow_for_browsers_with_http_info(opts)
1605
- p status_code # => 2xx
1606
- p headers # => { ... }
1607
- p data # => <SelfServiceRegistrationFlow>
1608
- rescue OryKratosClient::ApiError => e
1609
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_for_browsers_with_http_info: #{e}"
1610
- end
1611
- ```
1612
-
1613
- ### Parameters
1614
-
1615
- | Name | Type | Description | Notes |
1616
- | ---- | ---- | ----------- | ----- |
1617
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1618
-
1619
- ### Return type
1620
-
1621
- [**SelfServiceRegistrationFlow**](SelfServiceRegistrationFlow.md)
1622
-
1623
- ### Authorization
1624
-
1625
- No authorization required
1626
-
1627
- ### HTTP request headers
1628
-
1629
- - **Content-Type**: Not defined
1630
- - **Accept**: application/json
1631
-
1632
-
1633
- ## initialize_self_service_registration_flow_without_browser
1634
-
1635
- > <SelfServiceRegistrationFlow> initialize_self_service_registration_flow_without_browser
1636
-
1637
- Initialize Registration Flow for APIs, Services, Apps, ...
1638
-
1639
- 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).
1640
-
1641
- ### Examples
1642
-
1643
- ```ruby
1644
- require 'time'
1645
- require 'ory-kratos-client'
1646
-
1647
- api_instance = OryKratosClient::V0alpha2Api.new
1648
-
1649
- begin
1650
- # Initialize Registration Flow for APIs, Services, Apps, ...
1651
- result = api_instance.initialize_self_service_registration_flow_without_browser
1652
- p result
1653
- rescue OryKratosClient::ApiError => e
1654
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_without_browser: #{e}"
1655
- end
1656
- ```
1657
-
1658
- #### Using the initialize_self_service_registration_flow_without_browser_with_http_info variant
1659
-
1660
- This returns an Array which contains the response data, status code and headers.
1661
-
1662
- > <Array(<SelfServiceRegistrationFlow>, Integer, Hash)> initialize_self_service_registration_flow_without_browser_with_http_info
1663
-
1664
- ```ruby
1665
- begin
1666
- # Initialize Registration Flow for APIs, Services, Apps, ...
1667
- data, status_code, headers = api_instance.initialize_self_service_registration_flow_without_browser_with_http_info
1668
- p status_code # => 2xx
1669
- p headers # => { ... }
1670
- p data # => <SelfServiceRegistrationFlow>
1671
- rescue OryKratosClient::ApiError => e
1672
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_without_browser_with_http_info: #{e}"
1673
- end
1674
- ```
1675
-
1676
- ### Parameters
1677
-
1678
- This endpoint does not need any parameter.
1679
-
1680
- ### Return type
1681
-
1682
- [**SelfServiceRegistrationFlow**](SelfServiceRegistrationFlow.md)
1683
-
1684
- ### Authorization
1685
-
1686
- No authorization required
1687
-
1688
- ### HTTP request headers
1689
-
1690
- - **Content-Type**: Not defined
1691
- - **Accept**: application/json
1692
-
1693
-
1694
- ## initialize_self_service_settings_flow_for_browsers
1695
-
1696
- > <SelfServiceSettingsFlow> initialize_self_service_settings_flow_for_browsers(opts)
1697
-
1698
- Initialize Settings Flow for Browsers
1699
-
1700
- 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).
1701
-
1702
- ### Examples
1703
-
1704
- ```ruby
1705
- require 'time'
1706
- require 'ory-kratos-client'
1707
-
1708
- api_instance = OryKratosClient::V0alpha2Api.new
1709
- opts = {
1710
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1711
- }
1712
-
1713
- begin
1714
- # Initialize Settings Flow for Browsers
1715
- result = api_instance.initialize_self_service_settings_flow_for_browsers(opts)
1716
- p result
1717
- rescue OryKratosClient::ApiError => e
1718
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_for_browsers: #{e}"
1719
- end
1720
- ```
1721
-
1722
- #### Using the initialize_self_service_settings_flow_for_browsers_with_http_info variant
1723
-
1724
- This returns an Array which contains the response data, status code and headers.
1725
-
1726
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> initialize_self_service_settings_flow_for_browsers_with_http_info(opts)
1727
-
1728
- ```ruby
1729
- begin
1730
- # Initialize Settings Flow for Browsers
1731
- data, status_code, headers = api_instance.initialize_self_service_settings_flow_for_browsers_with_http_info(opts)
1732
- p status_code # => 2xx
1733
- p headers # => { ... }
1734
- p data # => <SelfServiceSettingsFlow>
1735
- rescue OryKratosClient::ApiError => e
1736
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_for_browsers_with_http_info: #{e}"
1737
- end
1738
- ```
1739
-
1740
- ### Parameters
1741
-
1742
- | Name | Type | Description | Notes |
1743
- | ---- | ---- | ----------- | ----- |
1744
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1745
-
1746
- ### Return type
1747
-
1748
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
1749
-
1750
- ### Authorization
1751
-
1752
- No authorization required
1753
-
1754
- ### HTTP request headers
1755
-
1756
- - **Content-Type**: Not defined
1757
- - **Accept**: application/json
1758
-
1759
-
1760
- ## initialize_self_service_settings_flow_without_browser
1761
-
1762
- > <SelfServiceSettingsFlow> initialize_self_service_settings_flow_without_browser(opts)
1763
-
1764
- Initialize Settings Flow for APIs, Services, Apps, ...
1765
-
1766
- 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).
1767
-
1768
- ### Examples
1769
-
1770
- ```ruby
1771
- require 'time'
1772
- require 'ory-kratos-client'
1773
-
1774
- api_instance = OryKratosClient::V0alpha2Api.new
1775
- opts = {
1776
- x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
1777
- }
1778
-
1779
- begin
1780
- # Initialize Settings Flow for APIs, Services, Apps, ...
1781
- result = api_instance.initialize_self_service_settings_flow_without_browser(opts)
1782
- p result
1783
- rescue OryKratosClient::ApiError => e
1784
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_without_browser: #{e}"
1785
- end
1786
- ```
1787
-
1788
- #### Using the initialize_self_service_settings_flow_without_browser_with_http_info variant
1789
-
1790
- This returns an Array which contains the response data, status code and headers.
1791
-
1792
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> initialize_self_service_settings_flow_without_browser_with_http_info(opts)
1793
-
1794
- ```ruby
1795
- begin
1796
- # Initialize Settings Flow for APIs, Services, Apps, ...
1797
- data, status_code, headers = api_instance.initialize_self_service_settings_flow_without_browser_with_http_info(opts)
1798
- p status_code # => 2xx
1799
- p headers # => { ... }
1800
- p data # => <SelfServiceSettingsFlow>
1801
- rescue OryKratosClient::ApiError => e
1802
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_without_browser_with_http_info: #{e}"
1803
- end
1804
- ```
1805
-
1806
- ### Parameters
1807
-
1808
- | Name | Type | Description | Notes |
1809
- | ---- | ---- | ----------- | ----- |
1810
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
1811
-
1812
- ### Return type
1813
-
1814
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
1815
-
1816
- ### Authorization
1817
-
1818
- No authorization required
1819
-
1820
- ### HTTP request headers
1821
-
1822
- - **Content-Type**: Not defined
1823
- - **Accept**: application/json
1824
-
1825
-
1826
- ## initialize_self_service_verification_flow_for_browsers
1827
-
1828
- > <SelfServiceVerificationFlow> initialize_self_service_verification_flow_for_browsers(opts)
1829
-
1830
- Initialize Verification Flow for Browser Clients
1831
-
1832
- 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).
1833
-
1834
- ### Examples
1835
-
1836
- ```ruby
1837
- require 'time'
1838
- require 'ory-kratos-client'
1839
-
1840
- api_instance = OryKratosClient::V0alpha2Api.new
1841
- opts = {
1842
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1843
- }
1844
-
1845
- begin
1846
- # Initialize Verification Flow for Browser Clients
1847
- result = api_instance.initialize_self_service_verification_flow_for_browsers(opts)
1848
- p result
1849
- rescue OryKratosClient::ApiError => e
1850
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_for_browsers: #{e}"
1851
- end
1852
- ```
1853
-
1854
- #### Using the initialize_self_service_verification_flow_for_browsers_with_http_info variant
1855
-
1856
- This returns an Array which contains the response data, status code and headers.
1857
-
1858
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> initialize_self_service_verification_flow_for_browsers_with_http_info(opts)
1859
-
1860
- ```ruby
1861
- begin
1862
- # Initialize Verification Flow for Browser Clients
1863
- data, status_code, headers = api_instance.initialize_self_service_verification_flow_for_browsers_with_http_info(opts)
1864
- p status_code # => 2xx
1865
- p headers # => { ... }
1866
- p data # => <SelfServiceVerificationFlow>
1867
- rescue OryKratosClient::ApiError => e
1868
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_for_browsers_with_http_info: #{e}"
1869
- end
1870
- ```
1871
-
1872
- ### Parameters
1873
-
1874
- | Name | Type | Description | Notes |
1875
- | ---- | ---- | ----------- | ----- |
1876
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1877
-
1878
- ### Return type
1879
-
1880
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
1881
-
1882
- ### Authorization
1883
-
1884
- No authorization required
1885
-
1886
- ### HTTP request headers
1887
-
1888
- - **Content-Type**: Not defined
1889
- - **Accept**: application/json
1890
-
1891
-
1892
- ## initialize_self_service_verification_flow_without_browser
1893
-
1894
- > <SelfServiceVerificationFlow> initialize_self_service_verification_flow_without_browser
1895
-
1896
- Initialize Verification Flow for APIs, Services, Apps, ...
1897
-
1898
- 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 Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
1899
-
1900
- ### Examples
1901
-
1902
- ```ruby
1903
- require 'time'
1904
- require 'ory-kratos-client'
1905
-
1906
- api_instance = OryKratosClient::V0alpha2Api.new
1907
-
1908
- begin
1909
- # Initialize Verification Flow for APIs, Services, Apps, ...
1910
- result = api_instance.initialize_self_service_verification_flow_without_browser
1911
- p result
1912
- rescue OryKratosClient::ApiError => e
1913
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_without_browser: #{e}"
1914
- end
1915
- ```
1916
-
1917
- #### Using the initialize_self_service_verification_flow_without_browser_with_http_info variant
1918
-
1919
- This returns an Array which contains the response data, status code and headers.
1920
-
1921
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> initialize_self_service_verification_flow_without_browser_with_http_info
1922
-
1923
- ```ruby
1924
- begin
1925
- # Initialize Verification Flow for APIs, Services, Apps, ...
1926
- data, status_code, headers = api_instance.initialize_self_service_verification_flow_without_browser_with_http_info
1927
- p status_code # => 2xx
1928
- p headers # => { ... }
1929
- p data # => <SelfServiceVerificationFlow>
1930
- rescue OryKratosClient::ApiError => e
1931
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_without_browser_with_http_info: #{e}"
1932
- end
1933
- ```
1934
-
1935
- ### Parameters
1936
-
1937
- This endpoint does not need any parameter.
1938
-
1939
- ### Return type
1940
-
1941
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
1942
-
1943
- ### Authorization
1944
-
1945
- No authorization required
1946
-
1947
- ### HTTP request headers
1948
-
1949
- - **Content-Type**: Not defined
1950
- - **Accept**: application/json
1951
-
1952
-
1953
- ## list_identity_schemas
1954
-
1955
- > <Array<IdentitySchema>> list_identity_schemas(opts)
1956
-
1957
-
1958
-
1959
- Get all Identity Schemas
1960
-
1961
- ### Examples
1962
-
1963
- ```ruby
1964
- require 'time'
1965
- require 'ory-kratos-client'
1966
-
1967
- api_instance = OryKratosClient::V0alpha2Api.new
1968
- opts = {
1969
- per_page: 789, # Integer | Items per Page This is the number of items per page.
1970
- page: 789 # Integer | Pagination Page
1971
- }
1972
-
1973
- begin
1974
-
1975
- result = api_instance.list_identity_schemas(opts)
1976
- p result
1977
- rescue OryKratosClient::ApiError => e
1978
- puts "Error when calling V0alpha2Api->list_identity_schemas: #{e}"
1979
- end
1980
- ```
1981
-
1982
- #### Using the list_identity_schemas_with_http_info variant
1983
-
1984
- This returns an Array which contains the response data, status code and headers.
1985
-
1986
- > <Array(<Array<IdentitySchema>>, Integer, Hash)> list_identity_schemas_with_http_info(opts)
1987
-
1988
- ```ruby
1989
- begin
1990
-
1991
- data, status_code, headers = api_instance.list_identity_schemas_with_http_info(opts)
1992
- p status_code # => 2xx
1993
- p headers # => { ... }
1994
- p data # => <Array<IdentitySchema>>
1995
- rescue OryKratosClient::ApiError => e
1996
- puts "Error when calling V0alpha2Api->list_identity_schemas_with_http_info: #{e}"
1997
- end
1998
- ```
1999
-
2000
- ### Parameters
2001
-
2002
- | Name | Type | Description | Notes |
2003
- | ---- | ---- | ----------- | ----- |
2004
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
2005
- | **page** | **Integer** | Pagination Page | [optional][default to 1] |
2006
-
2007
- ### Return type
2008
-
2009
- [**Array&lt;IdentitySchema&gt;**](IdentitySchema.md)
2010
-
2011
- ### Authorization
2012
-
2013
- No authorization required
2014
-
2015
- ### HTTP request headers
2016
-
2017
- - **Content-Type**: Not defined
2018
- - **Accept**: application/json
2019
-
2020
-
2021
- ## list_sessions
2022
-
2023
- > <Array<Session>> list_sessions(opts)
2024
-
2025
- 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.
2026
-
2027
- This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
2028
-
2029
- ### Examples
2030
-
2031
- ```ruby
2032
- require 'time'
2033
- require 'ory-kratos-client'
2034
-
2035
- api_instance = OryKratosClient::V0alpha2Api.new
2036
- opts = {
2037
- 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`.
2038
- 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.
2039
- per_page: 789, # Integer | Items per Page This is the number of items per page.
2040
- page: 789 # Integer | Pagination Page
2041
- }
2042
-
2043
- begin
2044
- # 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.
2045
- result = api_instance.list_sessions(opts)
2046
- p result
2047
- rescue OryKratosClient::ApiError => e
2048
- puts "Error when calling V0alpha2Api->list_sessions: #{e}"
2049
- end
2050
- ```
2051
-
2052
- #### Using the list_sessions_with_http_info variant
2053
-
2054
- This returns an Array which contains the response data, status code and headers.
2055
-
2056
- > <Array(<Array<Session>>, Integer, Hash)> list_sessions_with_http_info(opts)
2057
-
2058
- ```ruby
2059
- begin
2060
- # 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.
2061
- data, status_code, headers = api_instance.list_sessions_with_http_info(opts)
2062
- p status_code # => 2xx
2063
- p headers # => { ... }
2064
- p data # => <Array<Session>>
2065
- rescue OryKratosClient::ApiError => e
2066
- puts "Error when calling V0alpha2Api->list_sessions_with_http_info: #{e}"
2067
- end
2068
- ```
2069
-
2070
- ### Parameters
2071
-
2072
- | Name | Type | Description | Notes |
2073
- | ---- | ---- | ----------- | ----- |
2074
- | **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] |
2075
- | **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] |
2076
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
2077
- | **page** | **Integer** | Pagination Page | [optional][default to 1] |
2078
-
2079
- ### Return type
2080
-
2081
- [**Array&lt;Session&gt;**](Session.md)
2082
-
2083
- ### Authorization
2084
-
2085
- No authorization required
2086
-
2087
- ### HTTP request headers
2088
-
2089
- - **Content-Type**: Not defined
2090
- - **Accept**: application/json
2091
-
2092
-
2093
- ## revoke_session
2094
-
2095
- > revoke_session(id)
2096
-
2097
- Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
2098
-
2099
- This endpoint is useful for: To forcefully logout the current user from another device or session
2100
-
2101
- ### Examples
2102
-
2103
- ```ruby
2104
- require 'time'
2105
- require 'ory-kratos-client'
2106
-
2107
- api_instance = OryKratosClient::V0alpha2Api.new
2108
- id = 'id_example' # String | ID is the session's ID.
2109
-
2110
- begin
2111
- # Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
2112
- api_instance.revoke_session(id)
2113
- rescue OryKratosClient::ApiError => e
2114
- puts "Error when calling V0alpha2Api->revoke_session: #{e}"
2115
- end
2116
- ```
2117
-
2118
- #### Using the revoke_session_with_http_info variant
2119
-
2120
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
2121
-
2122
- > <Array(nil, Integer, Hash)> revoke_session_with_http_info(id)
2123
-
2124
- ```ruby
2125
- begin
2126
- # Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
2127
- data, status_code, headers = api_instance.revoke_session_with_http_info(id)
2128
- p status_code # => 2xx
2129
- p headers # => { ... }
2130
- p data # => nil
2131
- rescue OryKratosClient::ApiError => e
2132
- puts "Error when calling V0alpha2Api->revoke_session_with_http_info: #{e}"
2133
- end
2134
- ```
2135
-
2136
- ### Parameters
2137
-
2138
- | Name | Type | Description | Notes |
2139
- | ---- | ---- | ----------- | ----- |
2140
- | **id** | **String** | ID is the session&#39;s ID. | |
2141
-
2142
- ### Return type
2143
-
2144
- nil (empty response body)
2145
-
2146
- ### Authorization
2147
-
2148
- No authorization required
2149
-
2150
- ### HTTP request headers
2151
-
2152
- - **Content-Type**: Not defined
2153
- - **Accept**: application/json
2154
-
2155
-
2156
- ## revoke_sessions
2157
-
2158
- > <RevokedSessions> revoke_sessions(opts)
2159
-
2160
- Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
2161
-
2162
- This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
2163
-
2164
- ### Examples
2165
-
2166
- ```ruby
2167
- require 'time'
2168
- require 'ory-kratos-client'
2169
-
2170
- api_instance = OryKratosClient::V0alpha2Api.new
2171
- opts = {
2172
- 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`.
2173
- 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.
2174
- }
2175
-
2176
- begin
2177
- # Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
2178
- result = api_instance.revoke_sessions(opts)
2179
- p result
2180
- rescue OryKratosClient::ApiError => e
2181
- puts "Error when calling V0alpha2Api->revoke_sessions: #{e}"
2182
- end
2183
- ```
2184
-
2185
- #### Using the revoke_sessions_with_http_info variant
2186
-
2187
- This returns an Array which contains the response data, status code and headers.
2188
-
2189
- > <Array(<RevokedSessions>, Integer, Hash)> revoke_sessions_with_http_info(opts)
2190
-
2191
- ```ruby
2192
- begin
2193
- # Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
2194
- data, status_code, headers = api_instance.revoke_sessions_with_http_info(opts)
2195
- p status_code # => 2xx
2196
- p headers # => { ... }
2197
- p data # => <RevokedSessions>
2198
- rescue OryKratosClient::ApiError => e
2199
- puts "Error when calling V0alpha2Api->revoke_sessions_with_http_info: #{e}"
2200
- end
2201
- ```
2202
-
2203
- ### Parameters
2204
-
2205
- | Name | Type | Description | Notes |
2206
- | ---- | ---- | ----------- | ----- |
2207
- | **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] |
2208
- | **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] |
2209
-
2210
- ### Return type
2211
-
2212
- [**RevokedSessions**](RevokedSessions.md)
2213
-
2214
- ### Authorization
2215
-
2216
- No authorization required
2217
-
2218
- ### HTTP request headers
2219
-
2220
- - **Content-Type**: Not defined
2221
- - **Accept**: application/json
2222
-
2223
-
2224
- ## submit_self_service_login_flow
2225
-
2226
- > <SuccessfulSelfServiceLoginWithoutBrowser> submit_self_service_login_flow(flow, submit_self_service_login_flow_body, opts)
2227
-
2228
- Submit a Login Flow
2229
-
2230
- :::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).
2231
-
2232
- ### Examples
2233
-
2234
- ```ruby
2235
- require 'time'
2236
- require 'ory-kratos-client'
2237
-
2238
- api_instance = OryKratosClient::V0alpha2Api.new
2239
- 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`).
2240
- submit_self_service_login_flow_body = OryKratosClient::SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.new({lookup_secret: 'lookup_secret_example', method: 'method_example'}) # SubmitSelfServiceLoginFlowBody |
2241
- opts = {
2242
- x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
2243
- 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.
2244
- }
2245
-
2246
- begin
2247
- # Submit a Login Flow
2248
- result = api_instance.submit_self_service_login_flow(flow, submit_self_service_login_flow_body, opts)
2249
- p result
2250
- rescue OryKratosClient::ApiError => e
2251
- puts "Error when calling V0alpha2Api->submit_self_service_login_flow: #{e}"
2252
- end
2253
- ```
2254
-
2255
- #### Using the submit_self_service_login_flow_with_http_info variant
2256
-
2257
- This returns an Array which contains the response data, status code and headers.
2258
-
2259
- > <Array(<SuccessfulSelfServiceLoginWithoutBrowser>, Integer, Hash)> submit_self_service_login_flow_with_http_info(flow, submit_self_service_login_flow_body, opts)
2260
-
2261
- ```ruby
2262
- begin
2263
- # Submit a Login Flow
2264
- data, status_code, headers = api_instance.submit_self_service_login_flow_with_http_info(flow, submit_self_service_login_flow_body, opts)
2265
- p status_code # => 2xx
2266
- p headers # => { ... }
2267
- p data # => <SuccessfulSelfServiceLoginWithoutBrowser>
2268
- rescue OryKratosClient::ApiError => e
2269
- puts "Error when calling V0alpha2Api->submit_self_service_login_flow_with_http_info: #{e}"
2270
- end
2271
- ```
2272
-
2273
- ### Parameters
2274
-
2275
- | Name | Type | Description | Notes |
2276
- | ---- | ---- | ----------- | ----- |
2277
- | **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;). | |
2278
- | **submit_self_service_login_flow_body** | [**SubmitSelfServiceLoginFlowBody**](SubmitSelfServiceLoginFlowBody.md) | | |
2279
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
2280
- | **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] |
2281
-
2282
- ### Return type
2283
-
2284
- [**SuccessfulSelfServiceLoginWithoutBrowser**](SuccessfulSelfServiceLoginWithoutBrowser.md)
2285
-
2286
- ### Authorization
2287
-
2288
- No authorization required
2289
-
2290
- ### HTTP request headers
2291
-
2292
- - **Content-Type**: application/json, application/x-www-form-urlencoded
2293
- - **Accept**: application/json
2294
-
2295
-
2296
- ## submit_self_service_logout_flow
2297
-
2298
- > submit_self_service_logout_flow(opts)
2299
-
2300
- Complete Self-Service Logout
2301
-
2302
- 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).
2303
-
2304
- ### Examples
2305
-
2306
- ```ruby
2307
- require 'time'
2308
- require 'ory-kratos-client'
2309
-
2310
- api_instance = OryKratosClient::V0alpha2Api.new
2311
- opts = {
2312
- 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/urls` to generate a URL for this endpoint.
2313
- return_to: 'return_to_example' # String | The URL to return to after the logout was completed.
2314
- }
2315
-
2316
- begin
2317
- # Complete Self-Service Logout
2318
- api_instance.submit_self_service_logout_flow(opts)
2319
- rescue OryKratosClient::ApiError => e
2320
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow: #{e}"
2321
- end
2322
- ```
2323
-
2324
- #### Using the submit_self_service_logout_flow_with_http_info variant
2325
-
2326
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
2327
-
2328
- > <Array(nil, Integer, Hash)> submit_self_service_logout_flow_with_http_info(opts)
2329
-
2330
- ```ruby
2331
- begin
2332
- # Complete Self-Service Logout
2333
- data, status_code, headers = api_instance.submit_self_service_logout_flow_with_http_info(opts)
2334
- p status_code # => 2xx
2335
- p headers # => { ... }
2336
- p data # => nil
2337
- rescue OryKratosClient::ApiError => e
2338
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow_with_http_info: #{e}"
2339
- end
2340
- ```
2341
-
2342
- ### Parameters
2343
-
2344
- | Name | Type | Description | Notes |
2345
- | ---- | ---- | ----------- | ----- |
2346
- | **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/urls&#x60; to generate a URL for this endpoint. | [optional] |
2347
- | **return_to** | **String** | The URL to return to after the logout was completed. | [optional] |
2348
-
2349
- ### Return type
2350
-
2351
- nil (empty response body)
2352
-
2353
- ### Authorization
2354
-
2355
- No authorization required
2356
-
2357
- ### HTTP request headers
2358
-
2359
- - **Content-Type**: Not defined
2360
- - **Accept**: application/json
2361
-
2362
-
2363
- ## submit_self_service_logout_flow_without_browser
2364
-
2365
- > submit_self_service_logout_flow_without_browser(submit_self_service_logout_flow_without_browser_body)
2366
-
2367
- Perform Logout for APIs, Services, Apps, ...
2368
-
2369
- 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.
2370
-
2371
- ### Examples
2372
-
2373
- ```ruby
2374
- require 'time'
2375
- require 'ory-kratos-client'
2376
-
2377
- api_instance = OryKratosClient::V0alpha2Api.new
2378
- submit_self_service_logout_flow_without_browser_body = OryKratosClient::SubmitSelfServiceLogoutFlowWithoutBrowserBody.new({session_token: 'session_token_example'}) # SubmitSelfServiceLogoutFlowWithoutBrowserBody |
2379
-
2380
- begin
2381
- # Perform Logout for APIs, Services, Apps, ...
2382
- api_instance.submit_self_service_logout_flow_without_browser(submit_self_service_logout_flow_without_browser_body)
2383
- rescue OryKratosClient::ApiError => e
2384
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow_without_browser: #{e}"
2385
- end
2386
- ```
2387
-
2388
- #### Using the submit_self_service_logout_flow_without_browser_with_http_info variant
2389
-
2390
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
2391
-
2392
- > <Array(nil, Integer, Hash)> submit_self_service_logout_flow_without_browser_with_http_info(submit_self_service_logout_flow_without_browser_body)
2393
-
2394
- ```ruby
2395
- begin
2396
- # Perform Logout for APIs, Services, Apps, ...
2397
- data, status_code, headers = api_instance.submit_self_service_logout_flow_without_browser_with_http_info(submit_self_service_logout_flow_without_browser_body)
2398
- p status_code # => 2xx
2399
- p headers # => { ... }
2400
- p data # => nil
2401
- rescue OryKratosClient::ApiError => e
2402
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow_without_browser_with_http_info: #{e}"
2403
- end
2404
- ```
2405
-
2406
- ### Parameters
2407
-
2408
- | Name | Type | Description | Notes |
2409
- | ---- | ---- | ----------- | ----- |
2410
- | **submit_self_service_logout_flow_without_browser_body** | [**SubmitSelfServiceLogoutFlowWithoutBrowserBody**](SubmitSelfServiceLogoutFlowWithoutBrowserBody.md) | | |
2411
-
2412
- ### Return type
2413
-
2414
- nil (empty response body)
2415
-
2416
- ### Authorization
2417
-
2418
- No authorization required
2419
-
2420
- ### HTTP request headers
2421
-
2422
- - **Content-Type**: application/json
2423
- - **Accept**: application/json
2424
-
2425
-
2426
- ## submit_self_service_recovery_flow
2427
-
2428
- > <SelfServiceRecoveryFlow> submit_self_service_recovery_flow(flow, submit_self_service_recovery_flow_body, opts)
2429
-
2430
- Complete Recovery Flow
2431
-
2432
- 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).
2433
-
2434
- ### Examples
2435
-
2436
- ```ruby
2437
- require 'time'
2438
- require 'ory-kratos-client'
2439
-
2440
- api_instance = OryKratosClient::V0alpha2Api.new
2441
- 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`).
2442
- submit_self_service_recovery_flow_body = OryKratosClient::SubmitSelfServiceRecoveryFlowWithLinkMethodBody.new({email: 'email_example', method: 'method_example'}) # SubmitSelfServiceRecoveryFlowBody |
2443
- opts = {
2444
- 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.
2445
- 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.
2446
- }
2447
-
2448
- begin
2449
- # Complete Recovery Flow
2450
- result = api_instance.submit_self_service_recovery_flow(flow, submit_self_service_recovery_flow_body, opts)
2451
- p result
2452
- rescue OryKratosClient::ApiError => e
2453
- puts "Error when calling V0alpha2Api->submit_self_service_recovery_flow: #{e}"
2454
- end
2455
- ```
2456
-
2457
- #### Using the submit_self_service_recovery_flow_with_http_info variant
2458
-
2459
- This returns an Array which contains the response data, status code and headers.
2460
-
2461
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> submit_self_service_recovery_flow_with_http_info(flow, submit_self_service_recovery_flow_body, opts)
2462
-
2463
- ```ruby
2464
- begin
2465
- # Complete Recovery Flow
2466
- data, status_code, headers = api_instance.submit_self_service_recovery_flow_with_http_info(flow, submit_self_service_recovery_flow_body, opts)
2467
- p status_code # => 2xx
2468
- p headers # => { ... }
2469
- p data # => <SelfServiceRecoveryFlow>
2470
- rescue OryKratosClient::ApiError => e
2471
- puts "Error when calling V0alpha2Api->submit_self_service_recovery_flow_with_http_info: #{e}"
2472
- end
2473
- ```
2474
-
2475
- ### Parameters
2476
-
2477
- | Name | Type | Description | Notes |
2478
- | ---- | ---- | ----------- | ----- |
2479
- | **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;). | |
2480
- | **submit_self_service_recovery_flow_body** | [**SubmitSelfServiceRecoveryFlowBody**](SubmitSelfServiceRecoveryFlowBody.md) | | |
2481
- | **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] |
2482
- | **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] |
2483
-
2484
- ### Return type
2485
-
2486
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
2487
-
2488
- ### Authorization
2489
-
2490
- No authorization required
2491
-
2492
- ### HTTP request headers
2493
-
2494
- - **Content-Type**: application/json, application/x-www-form-urlencoded
2495
- - **Accept**: application/json
2496
-
2497
-
2498
- ## submit_self_service_registration_flow
2499
-
2500
- > <SuccessfulSelfServiceRegistrationWithoutBrowser> submit_self_service_registration_flow(flow, submit_self_service_registration_flow_body, opts)
2501
-
2502
- Submit a Registration Flow
2503
-
2504
- 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).
2505
-
2506
- ### Examples
2507
-
2508
- ```ruby
2509
- require 'time'
2510
- require 'ory-kratos-client'
2511
-
2512
- api_instance = OryKratosClient::V0alpha2Api.new
2513
- 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`).
2514
- submit_self_service_registration_flow_body = OryKratosClient::SubmitSelfServiceRegistrationFlowWithOidcMethodBody.new({method: 'method_example', provider: 'provider_example'}) # SubmitSelfServiceRegistrationFlowBody |
2515
- opts = {
2516
- 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.
2517
- }
2518
-
2519
- begin
2520
- # Submit a Registration Flow
2521
- result = api_instance.submit_self_service_registration_flow(flow, submit_self_service_registration_flow_body, opts)
2522
- p result
2523
- rescue OryKratosClient::ApiError => e
2524
- puts "Error when calling V0alpha2Api->submit_self_service_registration_flow: #{e}"
2525
- end
2526
- ```
2527
-
2528
- #### Using the submit_self_service_registration_flow_with_http_info variant
2529
-
2530
- This returns an Array which contains the response data, status code and headers.
2531
-
2532
- > <Array(<SuccessfulSelfServiceRegistrationWithoutBrowser>, Integer, Hash)> submit_self_service_registration_flow_with_http_info(flow, submit_self_service_registration_flow_body, opts)
2533
-
2534
- ```ruby
2535
- begin
2536
- # Submit a Registration Flow
2537
- data, status_code, headers = api_instance.submit_self_service_registration_flow_with_http_info(flow, submit_self_service_registration_flow_body, opts)
2538
- p status_code # => 2xx
2539
- p headers # => { ... }
2540
- p data # => <SuccessfulSelfServiceRegistrationWithoutBrowser>
2541
- rescue OryKratosClient::ApiError => e
2542
- puts "Error when calling V0alpha2Api->submit_self_service_registration_flow_with_http_info: #{e}"
2543
- end
2544
- ```
2545
-
2546
- ### Parameters
2547
-
2548
- | Name | Type | Description | Notes |
2549
- | ---- | ---- | ----------- | ----- |
2550
- | **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;). | |
2551
- | **submit_self_service_registration_flow_body** | [**SubmitSelfServiceRegistrationFlowBody**](SubmitSelfServiceRegistrationFlowBody.md) | | |
2552
- | **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] |
2553
-
2554
- ### Return type
2555
-
2556
- [**SuccessfulSelfServiceRegistrationWithoutBrowser**](SuccessfulSelfServiceRegistrationWithoutBrowser.md)
2557
-
2558
- ### Authorization
2559
-
2560
- No authorization required
2561
-
2562
- ### HTTP request headers
2563
-
2564
- - **Content-Type**: application/json, application/x-www-form-urlencoded
2565
- - **Accept**: application/json
2566
-
2567
-
2568
- ## submit_self_service_settings_flow
2569
-
2570
- > <SelfServiceSettingsFlow> submit_self_service_settings_flow(flow, submit_self_service_settings_flow_body, opts)
2571
-
2572
- Complete Settings Flow
2573
-
2574
- 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).
2575
-
2576
- ### Examples
2577
-
2578
- ```ruby
2579
- require 'time'
2580
- require 'ory-kratos-client'
2581
-
2582
- api_instance = OryKratosClient::V0alpha2Api.new
2583
- 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`).
2584
- submit_self_service_settings_flow_body = OryKratosClient::SubmitSelfServiceSettingsFlowWithLookupMethodBody.new({method: 'method_example'}) # SubmitSelfServiceSettingsFlowBody |
2585
- opts = {
2586
- x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
2587
- 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.
2588
- }
2589
-
2590
- begin
2591
- # Complete Settings Flow
2592
- result = api_instance.submit_self_service_settings_flow(flow, submit_self_service_settings_flow_body, opts)
2593
- p result
2594
- rescue OryKratosClient::ApiError => e
2595
- puts "Error when calling V0alpha2Api->submit_self_service_settings_flow: #{e}"
2596
- end
2597
- ```
2598
-
2599
- #### Using the submit_self_service_settings_flow_with_http_info variant
2600
-
2601
- This returns an Array which contains the response data, status code and headers.
2602
-
2603
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> submit_self_service_settings_flow_with_http_info(flow, submit_self_service_settings_flow_body, opts)
2604
-
2605
- ```ruby
2606
- begin
2607
- # Complete Settings Flow
2608
- data, status_code, headers = api_instance.submit_self_service_settings_flow_with_http_info(flow, submit_self_service_settings_flow_body, opts)
2609
- p status_code # => 2xx
2610
- p headers # => { ... }
2611
- p data # => <SelfServiceSettingsFlow>
2612
- rescue OryKratosClient::ApiError => e
2613
- puts "Error when calling V0alpha2Api->submit_self_service_settings_flow_with_http_info: #{e}"
2614
- end
2615
- ```
2616
-
2617
- ### Parameters
2618
-
2619
- | Name | Type | Description | Notes |
2620
- | ---- | ---- | ----------- | ----- |
2621
- | **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;). | |
2622
- | **submit_self_service_settings_flow_body** | [**SubmitSelfServiceSettingsFlowBody**](SubmitSelfServiceSettingsFlowBody.md) | | |
2623
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
2624
- | **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] |
2625
-
2626
- ### Return type
2627
-
2628
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
2629
-
2630
- ### Authorization
2631
-
2632
- No authorization required
2633
-
2634
- ### HTTP request headers
2635
-
2636
- - **Content-Type**: application/json, application/x-www-form-urlencoded
2637
- - **Accept**: application/json
2638
-
2639
-
2640
- ## submit_self_service_verification_flow
2641
-
2642
- > <SelfServiceVerificationFlow> submit_self_service_verification_flow(flow, submit_self_service_verification_flow_body, opts)
2643
-
2644
- Complete Verification Flow
2645
-
2646
- 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).
2647
-
2648
- ### Examples
2649
-
2650
- ```ruby
2651
- require 'time'
2652
- require 'ory-kratos-client'
2653
-
2654
- api_instance = OryKratosClient::V0alpha2Api.new
2655
- 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`).
2656
- submit_self_service_verification_flow_body = OryKratosClient::SubmitSelfServiceVerificationFlowWithLinkMethodBody.new({email: 'email_example', method: 'method_example'}) # SubmitSelfServiceVerificationFlowBody |
2657
- opts = {
2658
- 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.
2659
- 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.
2660
- }
2661
-
2662
- begin
2663
- # Complete Verification Flow
2664
- result = api_instance.submit_self_service_verification_flow(flow, submit_self_service_verification_flow_body, opts)
2665
- p result
2666
- rescue OryKratosClient::ApiError => e
2667
- puts "Error when calling V0alpha2Api->submit_self_service_verification_flow: #{e}"
2668
- end
2669
- ```
2670
-
2671
- #### Using the submit_self_service_verification_flow_with_http_info variant
2672
-
2673
- This returns an Array which contains the response data, status code and headers.
2674
-
2675
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> submit_self_service_verification_flow_with_http_info(flow, submit_self_service_verification_flow_body, opts)
2676
-
2677
- ```ruby
2678
- begin
2679
- # Complete Verification Flow
2680
- data, status_code, headers = api_instance.submit_self_service_verification_flow_with_http_info(flow, submit_self_service_verification_flow_body, opts)
2681
- p status_code # => 2xx
2682
- p headers # => { ... }
2683
- p data # => <SelfServiceVerificationFlow>
2684
- rescue OryKratosClient::ApiError => e
2685
- puts "Error when calling V0alpha2Api->submit_self_service_verification_flow_with_http_info: #{e}"
2686
- end
2687
- ```
2688
-
2689
- ### Parameters
2690
-
2691
- | Name | Type | Description | Notes |
2692
- | ---- | ---- | ----------- | ----- |
2693
- | **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;). | |
2694
- | **submit_self_service_verification_flow_body** | [**SubmitSelfServiceVerificationFlowBody**](SubmitSelfServiceVerificationFlowBody.md) | | |
2695
- | **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] |
2696
- | **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] |
2697
-
2698
- ### Return type
2699
-
2700
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
2701
-
2702
- ### Authorization
2703
-
2704
- No authorization required
2705
-
2706
- ### HTTP request headers
2707
-
2708
- - **Content-Type**: application/json, application/x-www-form-urlencoded
2709
- - **Accept**: application/json
2710
-
2711
-
2712
- ## to_session
2713
-
2714
- > <Session> to_session(opts)
2715
-
2716
- Check Who the Current HTTP Session Belongs To
2717
-
2718
- 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. Additionally 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.
2719
-
2720
- ### Examples
2721
-
2722
- ```ruby
2723
- require 'time'
2724
- require 'ory-kratos-client'
2725
-
2726
- api_instance = OryKratosClient::V0alpha2Api.new
2727
- opts = {
2728
- x_session_token: 'MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
2729
- cookie: 'ory_kratos_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.
2730
- }
2731
-
2732
- begin
2733
- # Check Who the Current HTTP Session Belongs To
2734
- result = api_instance.to_session(opts)
2735
- p result
2736
- rescue OryKratosClient::ApiError => e
2737
- puts "Error when calling V0alpha2Api->to_session: #{e}"
2738
- end
2739
- ```
2740
-
2741
- #### Using the to_session_with_http_info variant
2742
-
2743
- This returns an Array which contains the response data, status code and headers.
2744
-
2745
- > <Array(<Session>, Integer, Hash)> to_session_with_http_info(opts)
2746
-
2747
- ```ruby
2748
- begin
2749
- # Check Who the Current HTTP Session Belongs To
2750
- data, status_code, headers = api_instance.to_session_with_http_info(opts)
2751
- p status_code # => 2xx
2752
- p headers # => { ... }
2753
- p data # => <Session>
2754
- rescue OryKratosClient::ApiError => e
2755
- puts "Error when calling V0alpha2Api->to_session_with_http_info: #{e}"
2756
- end
2757
- ```
2758
-
2759
- ### Parameters
2760
-
2761
- | Name | Type | Description | Notes |
2762
- | ---- | ---- | ----------- | ----- |
2763
- | **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] |
2764
- | **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] |
2765
-
2766
- ### Return type
2767
-
2768
- [**Session**](Session.md)
2769
-
2770
- ### Authorization
2771
-
2772
- No authorization required
2773
-
2774
- ### HTTP request headers
2775
-
2776
- - **Content-Type**: Not defined
2777
- - **Accept**: application/json
2778
-