ory-client 0.2.0.alpha60 → 1.0.0.alpha0

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