ory-client 0.2.0.alpha48 → 1.0.0.alpha0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1435) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +15 -15
  3. data/README.md +245 -210
  4. data/docs/AcceptOAuth2ConsentRequest.md +28 -0
  5. data/docs/AcceptOAuth2ConsentRequestSession.md +20 -0
  6. data/docs/AcceptOAuth2LoginRequest.md +30 -0
  7. data/docs/ActiveProjectInConsole.md +18 -0
  8. data/docs/CheckOplSyntaxResult.md +18 -0
  9. data/docs/CheckPermissionResult.md +18 -0
  10. data/docs/CourierApi.md +85 -0
  11. data/docs/CourierMessageStatus.md +15 -0
  12. data/docs/CourierMessageType.md +15 -0
  13. data/docs/CreateCustomDomainBody.md +24 -0
  14. data/docs/CreateIdentityBody.md +32 -0
  15. data/docs/CreateJsonWebKeySet.md +22 -0
  16. data/docs/CreateProjectInvite.md +18 -0
  17. data/docs/CreateRecoveryCodeForIdentityBody.md +20 -0
  18. data/docs/CreateRecoveryLinkForIdentityBody.md +20 -0
  19. data/docs/CreateRelationshipBody.md +26 -0
  20. data/docs/CreateSubscriptionBody.md +22 -0
  21. data/docs/CustomDomain.md +34 -0
  22. data/docs/CustomDomainQuota.md +22 -0
  23. data/docs/DeleteMySessionsCount.md +18 -0
  24. data/docs/ErrorBrowserLocationChangeRequired.md +34 -0
  25. data/docs/ErrorFlowReplaced.md +34 -0
  26. data/docs/ErrorGeneric.md +18 -0
  27. data/docs/ErrorOAuth2.md +26 -0
  28. data/docs/ExpandedPermissionTree.md +22 -0
  29. data/docs/FlowError.md +24 -0
  30. data/docs/FrontendApi.md +1995 -0
  31. data/docs/Identity.md +2 -2
  32. data/docs/IdentityApi.md +1160 -0
  33. data/docs/IdentityWithCredentials.md +20 -0
  34. data/docs/IdentityWithCredentialsOidc.md +18 -0
  35. data/docs/IdentityWithCredentialsOidcConfig.md +20 -0
  36. data/docs/IdentityWithCredentialsOidcConfigProvider.md +20 -0
  37. data/docs/IdentityWithCredentialsPassword.md +18 -0
  38. data/docs/IdentityWithCredentialsPasswordConfig.md +20 -0
  39. data/docs/InternalIsOwnerForProjectBySlugBody.md +22 -0
  40. data/docs/InternalProvisionMockSubscription.md +20 -0
  41. data/docs/IntrospectedOAuth2Token.md +44 -0
  42. data/docs/InviteQuota.md +22 -0
  43. data/docs/JsonWebKey.md +50 -0
  44. data/docs/JsonWebKeySet.md +18 -0
  45. data/docs/JwkApi.md +511 -0
  46. data/docs/LoginFlow.md +44 -0
  47. data/docs/LogoutFlow.md +20 -0
  48. data/docs/ManagedIdentitySchema.md +1 -1
  49. data/docs/Message.md +36 -0
  50. data/docs/Namespace.md +18 -0
  51. data/docs/NormalizedProject.md +2 -4
  52. data/docs/NormalizedProjectRevision.md +74 -36
  53. data/docs/NormalizedProjectRevisionHook.md +2 -2
  54. data/docs/NormalizedProjectRevisionIdentitySchema.md +2 -2
  55. data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
  56. data/docs/OAuth2Api.md +2026 -0
  57. data/docs/OAuth2Client.md +47 -27
  58. data/docs/OAuth2ClientTokenLifespans.md +36 -0
  59. data/docs/OAuth2ConsentRequest.md +42 -0
  60. data/docs/OAuth2ConsentRequestOpenIDConnectContext.md +26 -0
  61. data/docs/OAuth2ConsentSession.md +32 -0
  62. data/docs/OAuth2ConsentSessionExpiresAt.md +26 -0
  63. data/docs/OAuth2LoginRequest.md +34 -0
  64. data/docs/OAuth2LogoutRequest.md +28 -0
  65. data/docs/OAuth2RedirectTo.md +18 -0
  66. data/docs/OAuth2TokenExchange.md +28 -0
  67. data/docs/OidcApi.md +473 -0
  68. data/docs/OidcConfiguration.md +74 -0
  69. data/docs/OidcUserInfo.md +54 -0
  70. data/docs/Pagination.md +4 -0
  71. data/docs/PaginationHeaders.md +20 -0
  72. data/docs/ParseError.md +22 -0
  73. data/docs/PerformNativeLogoutBody.md +18 -0
  74. data/docs/PermissionApi.md +405 -0
  75. data/docs/PostCheckPermissionBody.md +26 -0
  76. data/docs/PostCheckPermissionOrErrorBody.md +26 -0
  77. data/docs/Project.md +3 -3
  78. data/docs/ProjectApi.md +927 -0
  79. data/docs/ProjectApiKey.md +3 -3
  80. data/docs/ProjectHost.md +2 -2
  81. data/docs/ProjectInvite.md +3 -3
  82. data/docs/ProjectMetadata.md +2 -2
  83. data/docs/RecoveryCodeForIdentity.md +22 -0
  84. data/docs/RecoveryFlow.md +34 -0
  85. data/docs/RecoveryFlowState.md +15 -0
  86. data/docs/RecoveryIdentityAddress.md +26 -0
  87. data/docs/RecoveryLinkForIdentity.md +20 -0
  88. data/docs/RegistrationFlow.md +36 -0
  89. data/docs/RejectOAuth2Request.md +26 -0
  90. data/docs/Relationship.md +26 -0
  91. data/docs/RelationshipApi.md +460 -0
  92. data/docs/RelationshipNamespaces.md +18 -0
  93. data/docs/RelationshipPatch.md +20 -0
  94. data/docs/Relationships.md +20 -0
  95. data/docs/SelfServiceFlowExpiredError.md +3 -1
  96. data/docs/Session.md +3 -1
  97. data/docs/SessionDevice.md +7 -1
  98. data/docs/SetActiveProjectInConsoleBody.md +18 -0
  99. data/docs/SetCustomDomainBody.md +24 -0
  100. data/docs/SetProject.md +20 -0
  101. data/docs/SettingsFlow.md +36 -0
  102. data/docs/SettingsFlowState.md +15 -0
  103. data/docs/SourcePosition.md +20 -0
  104. data/docs/StripeCustomer.md +18 -0
  105. data/docs/Subscription.md +2 -2
  106. data/docs/SuccessfulNativeLogin.md +20 -0
  107. data/docs/SuccessfulNativeRegistration.md +22 -0
  108. data/docs/SuccessfulProjectUpdate.md +1 -1
  109. data/docs/TokenPaginationRequestParameters.md +20 -0
  110. data/docs/TokenPaginationResponseHeaders.md +20 -0
  111. data/docs/TrustOAuth2JwtGrantIssuer.md +28 -0
  112. data/docs/TrustedOAuth2JwtGrantIssuer.md +32 -0
  113. data/docs/TrustedOAuth2JwtGrantJsonWebKey.md +20 -0
  114. data/docs/UiNode.md +2 -2
  115. data/docs/UiNodeInputAttributes.md +2 -2
  116. data/docs/UiText.md +1 -1
  117. data/docs/UpdateIdentityBody.md +28 -0
  118. data/docs/UpdateLoginFlowBody.md +87 -0
  119. data/docs/UpdateLoginFlowWithLookupSecretMethod.md +22 -0
  120. data/docs/UpdateLoginFlowWithOidcMethod.md +24 -0
  121. data/docs/UpdateLoginFlowWithPasswordMethod.md +26 -0
  122. data/docs/UpdateLoginFlowWithTotpMethod.md +22 -0
  123. data/docs/UpdateLoginFlowWithWebAuthnMethod.md +24 -0
  124. data/docs/UpdateRecoveryFlowBody.md +78 -0
  125. data/docs/UpdateRecoveryFlowWithCodeMethod.md +24 -0
  126. data/docs/UpdateRecoveryFlowWithLinkMethod.md +22 -0
  127. data/docs/UpdateRegistrationFlowBody.md +81 -0
  128. data/docs/UpdateRegistrationFlowWithOidcMethod.md +24 -0
  129. data/docs/UpdateRegistrationFlowWithPasswordMethod.md +24 -0
  130. data/docs/UpdateRegistrationFlowWithWebAuthnMethod.md +26 -0
  131. data/docs/UpdateSettingsFlowBody.md +90 -0
  132. data/docs/UpdateSettingsFlowWithLookupMethod.md +28 -0
  133. data/docs/UpdateSettingsFlowWithOidcMethod.md +26 -0
  134. data/docs/UpdateSettingsFlowWithPasswordMethod.md +22 -0
  135. data/docs/UpdateSettingsFlowWithProfileMethod.md +22 -0
  136. data/docs/UpdateSettingsFlowWithTotpMethod.md +24 -0
  137. data/docs/UpdateSettingsFlowWithWebAuthnMethod.md +26 -0
  138. data/docs/UpdateSubscriptionBody.md +20 -0
  139. data/docs/UpdateVerificationFlowBody.md +75 -0
  140. data/docs/UpdateVerificationFlowWithCodeMethodBody.md +26 -0
  141. data/docs/UpdateVerificationFlowWithLinkMethod.md +22 -0
  142. data/docs/VerifiableIdentityAddress.md +1 -1
  143. data/docs/VerificationFlow.md +34 -0
  144. data/docs/VerificationFlowState.md +15 -0
  145. data/docs/WellknownApi.md +69 -0
  146. data/lib/ory-client/api/courier_api.rb +103 -0
  147. data/lib/ory-client/api/frontend_api.rb +1965 -0
  148. data/lib/ory-client/api/identity_api.rb +1120 -0
  149. data/lib/ory-client/api/jwk_api.rb +506 -0
  150. data/lib/ory-client/api/metadata_api.rb +1 -1
  151. data/lib/ory-client/api/o_auth2_api.rb +1926 -0
  152. data/lib/ory-client/api/oidc_api.rb +459 -0
  153. data/lib/ory-client/api/permission_api.rb +399 -0
  154. data/lib/ory-client/api/project_api.rb +864 -0
  155. data/lib/ory-client/api/relationship_api.rb +433 -0
  156. data/lib/ory-client/api/wellknown_api.rb +79 -0
  157. data/lib/ory-client/api_client.rb +1 -1
  158. data/lib/ory-client/api_error.rb +1 -1
  159. data/lib/ory-client/configuration.rb +8 -1
  160. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +270 -0
  161. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +232 -0
  162. data/lib/ory-client/models/accept_o_auth2_login_request.rb +285 -0
  163. data/lib/ory-client/models/active_project_in_console.rb +221 -0
  164. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  165. data/lib/ory-client/models/check_opl_syntax_result.rb +222 -0
  166. data/lib/ory-client/models/check_permission_result.rb +226 -0
  167. data/lib/ory-client/models/cloud_account.rb +1 -1
  168. data/lib/ory-client/models/courier_message_status.rb +39 -0
  169. data/lib/ory-client/models/courier_message_type.rb +37 -0
  170. data/lib/ory-client/models/create_custom_domain_body.rb +253 -0
  171. data/lib/ory-client/models/create_identity_body.rb +305 -0
  172. data/lib/ory-client/models/create_json_web_key_set.rb +256 -0
  173. data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
  174. data/lib/ory-client/models/create_project_body.rb +2 -1
  175. data/lib/ory-client/models/create_project_invite.rb +220 -0
  176. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +253 -0
  177. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +253 -0
  178. data/lib/ory-client/models/create_relationship_body.rb +260 -0
  179. data/lib/ory-client/models/create_subscription_body.rb +248 -0
  180. data/lib/ory-client/models/custom_domain.rb +297 -0
  181. data/lib/ory-client/models/custom_domain_quota.rb +238 -0
  182. data/lib/ory-client/models/delete_my_sessions_count.rb +221 -0
  183. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  184. data/lib/ory-client/models/error_browser_location_change_required.rb +307 -0
  185. data/lib/ory-client/models/error_flow_replaced.rb +308 -0
  186. data/lib/ory-client/models/error_generic.rb +225 -0
  187. data/lib/ory-client/models/error_o_auth2.rb +261 -0
  188. data/lib/ory-client/models/expanded_permission_tree.rb +280 -0
  189. data/lib/ory-client/models/flow_error.rb +254 -0
  190. data/lib/ory-client/models/generic_error.rb +1 -1
  191. data/lib/ory-client/models/generic_error_content.rb +1 -1
  192. data/lib/ory-client/models/get_managed_identity_schema_location.rb +2 -1
  193. data/lib/ory-client/models/get_version200_response.rb +1 -1
  194. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  195. data/lib/ory-client/models/health_status.rb +1 -1
  196. data/lib/ory-client/models/identity.rb +6 -3
  197. data/lib/ory-client/models/identity_credentials.rb +1 -1
  198. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  199. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  200. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  201. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  202. data/lib/ory-client/models/identity_schema_container.rb +2 -1
  203. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  204. data/lib/ory-client/models/identity_state.rb +1 -1
  205. data/lib/ory-client/models/identity_with_credentials.rb +229 -0
  206. data/lib/ory-client/models/identity_with_credentials_oidc.rb +220 -0
  207. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +231 -0
  208. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +241 -0
  209. data/lib/ory-client/models/identity_with_credentials_password.rb +220 -0
  210. data/lib/ory-client/models/identity_with_credentials_password_config.rb +231 -0
  211. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +251 -0
  212. data/lib/ory-client/models/internal_provision_mock_subscription.rb +240 -0
  213. data/lib/ory-client/models/introspected_o_auth2_token.rb +360 -0
  214. data/lib/ory-client/models/invite_quota.rb +238 -0
  215. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  216. data/lib/ory-client/models/is_ready200_response.rb +1 -1
  217. data/lib/ory-client/models/is_ready503_response.rb +1 -1
  218. data/lib/ory-client/models/json_patch.rb +1 -2
  219. data/lib/ory-client/models/json_web_key.rb +4 -5
  220. data/lib/ory-client/models/json_web_key_set.rb +7 -7
  221. data/lib/ory-client/models/keto_namespace.rb +1 -1
  222. data/lib/ory-client/models/login_flow.rb +377 -0
  223. data/lib/ory-client/models/logout_flow.rb +241 -0
  224. data/lib/ory-client/models/managed_identity_schema.rb +1 -2
  225. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +2 -1
  226. data/lib/ory-client/models/message.rb +336 -0
  227. data/lib/ory-client/models/namespace.rb +220 -0
  228. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  229. data/lib/ory-client/models/normalized_project.rb +3 -20
  230. data/lib/ory-client/models/normalized_project_revision.rb +275 -49
  231. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -3
  232. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -3
  233. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -2
  234. data/lib/ory-client/models/null_plan.rb +1 -1
  235. data/lib/ory-client/models/o_auth2_client.rb +293 -37
  236. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +481 -0
  237. data/lib/ory-client/models/o_auth2_consent_request.rb +345 -0
  238. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +266 -0
  239. data/lib/ory-client/models/o_auth2_consent_session.rb +289 -0
  240. data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +255 -0
  241. data/lib/ory-client/models/o_auth2_login_request.rb +335 -0
  242. data/lib/ory-client/models/o_auth2_logout_request.rb +269 -0
  243. data/lib/ory-client/models/o_auth2_redirect_to.rb +226 -0
  244. data/lib/ory-client/models/o_auth2_token_exchange.rb +271 -0
  245. data/lib/ory-client/models/oidc_configuration.rb +572 -0
  246. data/lib/ory-client/models/oidc_user_info.rb +401 -0
  247. data/lib/ory-client/models/pagination.rb +56 -2
  248. data/lib/ory-client/models/pagination_headers.rb +230 -0
  249. data/lib/ory-client/models/parse_error.rb +237 -0
  250. data/lib/ory-client/models/perform_native_logout_body.rb +226 -0
  251. data/lib/ory-client/models/post_check_permission_body.rb +260 -0
  252. data/lib/ory-client/models/post_check_permission_or_error_body.rb +260 -0
  253. data/lib/ory-client/models/project.rb +2 -4
  254. data/lib/ory-client/models/project_api_key.rb +1 -4
  255. data/lib/ory-client/models/project_host.rb +1 -3
  256. data/lib/ory-client/models/project_invite.rb +35 -4
  257. data/lib/ory-client/models/project_metadata.rb +2 -3
  258. data/lib/ory-client/models/project_service_identity.rb +1 -1
  259. data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
  260. data/lib/ory-client/models/project_service_permission.rb +1 -1
  261. data/lib/ory-client/models/project_services.rb +1 -1
  262. data/lib/ory-client/models/recovery_code_for_identity.rb +251 -0
  263. data/lib/ory-client/models/recovery_flow.rb +334 -0
  264. data/lib/ory-client/models/recovery_flow_state.rb +38 -0
  265. data/lib/ory-client/models/recovery_identity_address.rb +272 -0
  266. data/lib/ory-client/models/recovery_link_for_identity.rb +236 -0
  267. data/lib/ory-client/models/registration_flow.rb +337 -0
  268. data/lib/ory-client/models/reject_o_auth2_request.rb +260 -0
  269. data/lib/ory-client/models/relation_query.rb +2 -1
  270. data/lib/ory-client/models/relationship.rb +275 -0
  271. data/lib/ory-client/models/relationship_namespaces.rb +222 -0
  272. data/lib/ory-client/models/relationship_patch.rb +263 -0
  273. data/lib/ory-client/models/relationships.rb +232 -0
  274. data/lib/ory-client/models/schema_patch.rb +1 -1
  275. data/lib/ory-client/models/self_service_flow_expired_error.rb +13 -2
  276. data/lib/ory-client/models/session.rb +15 -2
  277. data/lib/ory-client/models/session_authentication_method.rb +3 -3
  278. data/lib/ory-client/models/session_device.rb +39 -3
  279. data/lib/ory-client/models/set_active_project_in_console_body.rb +226 -0
  280. data/lib/ory-client/models/set_custom_domain_body.rb +253 -0
  281. data/lib/ory-client/models/set_project.rb +239 -0
  282. data/lib/ory-client/models/settings_flow.rb +348 -0
  283. data/lib/ory-client/models/settings_flow_state.rb +37 -0
  284. data/lib/ory-client/models/source_position.rb +228 -0
  285. data/lib/ory-client/models/stripe_customer.rb +219 -0
  286. data/lib/ory-client/models/subject_set.rb +1 -1
  287. data/lib/ory-client/models/subscription.rb +2 -3
  288. data/lib/ory-client/models/successful_native_login.rb +235 -0
  289. data/lib/ory-client/models/successful_native_registration.rb +244 -0
  290. data/lib/ory-client/models/successful_project_update.rb +2 -2
  291. data/lib/ory-client/models/token_pagination.rb +1 -1
  292. data/lib/ory-client/models/token_pagination_headers.rb +1 -1
  293. data/lib/ory-client/models/token_pagination_request_parameters.rb +265 -0
  294. data/lib/ory-client/models/token_pagination_response_headers.rb +231 -0
  295. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +292 -0
  296. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +291 -0
  297. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +231 -0
  298. data/lib/ory-client/models/ui_container.rb +1 -1
  299. data/lib/ory-client/models/ui_node.rb +5 -5
  300. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  301. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  302. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  303. data/lib/ory-client/models/ui_node_input_attributes.rb +3 -3
  304. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  305. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  306. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  307. data/lib/ory-client/models/ui_text.rb +36 -1
  308. data/lib/ory-client/models/update_identity_body.rb +286 -0
  309. data/lib/ory-client/models/update_login_flow_body.rb +61 -0
  310. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +251 -0
  311. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +261 -0
  312. data/lib/ory-client/models/update_login_flow_with_password_method.rb +276 -0
  313. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +251 -0
  314. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +261 -0
  315. data/lib/ory-client/models/update_recovery_flow_body.rb +56 -0
  316. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +256 -0
  317. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +251 -0
  318. data/lib/ory-client/models/update_registration_flow_body.rb +58 -0
  319. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +261 -0
  320. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +266 -0
  321. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +271 -0
  322. data/lib/ory-client/models/update_settings_flow_body.rb +64 -0
  323. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +276 -0
  324. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +266 -0
  325. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +251 -0
  326. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +251 -0
  327. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +256 -0
  328. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +266 -0
  329. data/lib/ory-client/models/update_subscription_body.rb +234 -0
  330. data/lib/ory-client/models/update_verification_flow_body.rb +54 -0
  331. data/lib/ory-client/models/update_verification_flow_with_code_method_body.rb +260 -0
  332. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +251 -0
  333. data/lib/ory-client/models/verifiable_identity_address.rb +2 -1
  334. data/lib/ory-client/models/verification_flow.rb +319 -0
  335. data/lib/ory-client/models/verification_flow_state.rb +38 -0
  336. data/lib/ory-client/models/version.rb +1 -1
  337. data/lib/ory-client/models/warning.rb +1 -1
  338. data/lib/ory-client/version.rb +2 -2
  339. data/lib/ory-client.rb +119 -100
  340. data/ory-client.gemspec +1 -1
  341. data/spec/api/courier_api_spec.rb +50 -0
  342. data/spec/api/frontend_api_spec.rb +415 -0
  343. data/spec/api/identity_api_spec.rb +239 -0
  344. data/spec/api/jwk_api_spec.rb +125 -0
  345. data/spec/api/metadata_api_spec.rb +1 -1
  346. data/spec/api/o_auth2_api_spec.rb +391 -0
  347. data/spec/api/oidc_api_spec.rb +117 -0
  348. data/spec/api/permission_api_spec.rb +114 -0
  349. data/spec/api/project_api_spec.rb +194 -0
  350. data/spec/api/relationship_api_spec.rb +120 -0
  351. data/spec/api/wellknown_api_spec.rb +46 -0
  352. data/spec/api_client_spec.rb +1 -1
  353. data/spec/configuration_spec.rb +1 -1
  354. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +40 -0
  355. data/spec/models/accept_o_auth2_consent_request_spec.rb +64 -0
  356. data/spec/models/accept_o_auth2_login_request_spec.rb +70 -0
  357. data/spec/models/active_project_in_console_spec.rb +34 -0
  358. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  359. data/spec/models/check_opl_syntax_result_spec.rb +34 -0
  360. data/spec/models/check_permission_result_spec.rb +34 -0
  361. data/spec/models/cloud_account_spec.rb +1 -1
  362. data/spec/models/courier_message_status_spec.rb +28 -0
  363. data/spec/models/courier_message_type_spec.rb +28 -0
  364. data/spec/models/create_custom_domain_body_spec.rb +52 -0
  365. data/spec/models/create_identity_body_spec.rb +76 -0
  366. data/spec/models/create_json_web_key_set_spec.rb +46 -0
  367. data/spec/models/create_project_api_key_request_spec.rb +1 -1
  368. data/spec/models/create_project_body_spec.rb +1 -1
  369. data/spec/models/create_project_invite_spec.rb +34 -0
  370. data/spec/models/create_recovery_code_for_identity_body_spec.rb +40 -0
  371. data/spec/models/create_recovery_link_for_identity_body_spec.rb +40 -0
  372. data/spec/models/create_relationship_body_spec.rb +58 -0
  373. data/spec/models/create_subscription_body_spec.rb +46 -0
  374. data/spec/models/custom_domain_quota_spec.rb +46 -0
  375. data/spec/models/custom_domain_spec.rb +82 -0
  376. data/spec/models/delete_my_sessions_count_spec.rb +34 -0
  377. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  378. data/spec/models/error_browser_location_change_required_spec.rb +82 -0
  379. data/spec/models/error_flow_replaced_spec.rb +82 -0
  380. data/spec/models/error_generic_spec.rb +34 -0
  381. data/spec/models/error_o_auth2_spec.rb +58 -0
  382. data/spec/models/expanded_permission_tree_spec.rb +50 -0
  383. data/spec/models/flow_error_spec.rb +52 -0
  384. data/spec/models/generic_error_content_spec.rb +1 -1
  385. data/spec/models/generic_error_spec.rb +1 -1
  386. data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
  387. data/spec/models/get_version200_response_spec.rb +1 -1
  388. data/spec/models/health_not_ready_status_spec.rb +1 -1
  389. data/spec/models/health_status_spec.rb +1 -1
  390. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  391. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  392. data/spec/models/identity_credentials_password_spec.rb +1 -1
  393. data/spec/models/identity_credentials_spec.rb +1 -1
  394. data/spec/models/identity_credentials_type_spec.rb +1 -1
  395. data/spec/models/identity_schema_container_spec.rb +1 -1
  396. data/spec/models/identity_schema_preset_spec.rb +1 -1
  397. data/spec/models/identity_spec.rb +1 -1
  398. data/spec/models/identity_state_spec.rb +1 -1
  399. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +40 -0
  400. data/spec/models/identity_with_credentials_oidc_config_spec.rb +40 -0
  401. data/spec/models/identity_with_credentials_oidc_spec.rb +34 -0
  402. data/spec/models/identity_with_credentials_password_config_spec.rb +40 -0
  403. data/spec/models/identity_with_credentials_password_spec.rb +34 -0
  404. data/spec/models/identity_with_credentials_spec.rb +40 -0
  405. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +46 -0
  406. data/spec/models/internal_provision_mock_subscription_spec.rb +40 -0
  407. data/spec/models/introspected_o_auth2_token_spec.rb +112 -0
  408. data/spec/models/invite_quota_spec.rb +46 -0
  409. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  410. data/spec/models/is_ready200_response_spec.rb +1 -1
  411. data/spec/models/is_ready503_response_spec.rb +1 -1
  412. data/spec/models/json_patch_spec.rb +1 -1
  413. data/spec/models/json_web_key_set_spec.rb +7 -7
  414. data/spec/models/json_web_key_spec.rb +7 -7
  415. data/spec/models/keto_namespace_spec.rb +1 -1
  416. data/spec/models/login_flow_spec.rb +112 -0
  417. data/spec/models/logout_flow_spec.rb +40 -0
  418. data/spec/models/managed_identity_schema_spec.rb +1 -1
  419. data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
  420. data/spec/models/message_spec.rb +92 -0
  421. data/spec/models/namespace_spec.rb +34 -0
  422. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  423. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  424. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  425. data/spec/models/normalized_project_revision_spec.rb +123 -1
  426. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  427. data/spec/models/normalized_project_spec.rb +1 -7
  428. data/spec/models/null_plan_spec.rb +1 -1
  429. data/spec/models/o_auth2_client_spec.rb +61 -1
  430. data/spec/models/o_auth2_client_token_lifespans_spec.rb +88 -0
  431. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +58 -0
  432. data/spec/models/o_auth2_consent_request_spec.rb +106 -0
  433. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +58 -0
  434. data/spec/models/o_auth2_consent_session_spec.rb +76 -0
  435. data/spec/models/o_auth2_login_request_spec.rb +82 -0
  436. data/spec/models/o_auth2_logout_request_spec.rb +64 -0
  437. data/spec/models/o_auth2_redirect_to_spec.rb +34 -0
  438. data/spec/models/o_auth2_token_exchange_spec.rb +64 -0
  439. data/spec/models/oidc_configuration_spec.rb +202 -0
  440. data/spec/models/oidc_user_info_spec.rb +142 -0
  441. data/spec/models/pagination_headers_spec.rb +40 -0
  442. data/spec/models/pagination_spec.rb +13 -1
  443. data/spec/models/parse_error_spec.rb +46 -0
  444. data/spec/models/perform_native_logout_body_spec.rb +34 -0
  445. data/spec/models/post_check_permission_body_spec.rb +58 -0
  446. data/spec/models/post_check_permission_or_error_body_spec.rb +58 -0
  447. data/spec/models/project_api_key_spec.rb +1 -1
  448. data/spec/models/project_host_spec.rb +1 -1
  449. data/spec/models/project_invite_spec.rb +5 -1
  450. data/spec/models/project_metadata_spec.rb +1 -1
  451. data/spec/models/project_service_identity_spec.rb +1 -1
  452. data/spec/models/project_service_o_auth2_spec.rb +1 -1
  453. data/spec/models/project_service_permission_spec.rb +1 -1
  454. data/spec/models/project_services_spec.rb +1 -1
  455. data/spec/models/project_spec.rb +1 -1
  456. data/spec/models/recovery_code_for_identity_spec.rb +46 -0
  457. data/spec/models/recovery_flow_spec.rb +82 -0
  458. data/spec/models/recovery_flow_state_spec.rb +28 -0
  459. data/spec/models/recovery_identity_address_spec.rb +58 -0
  460. data/spec/models/recovery_link_for_identity_spec.rb +40 -0
  461. data/spec/models/registration_flow_spec.rb +88 -0
  462. data/spec/models/reject_o_auth2_request_spec.rb +58 -0
  463. data/spec/models/relation_query_spec.rb +1 -1
  464. data/spec/models/relationship_namespaces_spec.rb +34 -0
  465. data/spec/models/relationship_patch_spec.rb +44 -0
  466. data/spec/models/relationship_spec.rb +58 -0
  467. data/spec/models/relationships_spec.rb +40 -0
  468. data/spec/models/schema_patch_spec.rb +1 -1
  469. data/spec/models/self_service_flow_expired_error_spec.rb +7 -1
  470. data/spec/models/session_authentication_method_spec.rb +2 -2
  471. data/spec/models/session_device_spec.rb +19 -1
  472. data/spec/models/session_spec.rb +7 -1
  473. data/spec/models/set_active_project_in_console_body_spec.rb +34 -0
  474. data/spec/models/set_custom_domain_body_spec.rb +52 -0
  475. data/spec/models/set_project_spec.rb +40 -0
  476. data/spec/models/settings_flow_spec.rb +88 -0
  477. data/spec/models/settings_flow_state_spec.rb +28 -0
  478. data/spec/models/source_position_spec.rb +40 -0
  479. data/spec/models/stripe_customer_spec.rb +34 -0
  480. data/spec/models/subject_set_spec.rb +1 -1
  481. data/spec/models/subscription_spec.rb +1 -1
  482. data/spec/models/successful_native_login_spec.rb +40 -0
  483. data/spec/models/successful_native_registration_spec.rb +46 -0
  484. data/spec/models/successful_project_update_spec.rb +1 -1
  485. data/spec/models/token_pagination_headers_spec.rb +1 -1
  486. data/spec/models/token_pagination_request_parameters_spec.rb +40 -0
  487. data/spec/models/token_pagination_response_headers_spec.rb +40 -0
  488. data/spec/models/token_pagination_spec.rb +1 -1
  489. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +64 -0
  490. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +76 -0
  491. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +40 -0
  492. data/spec/models/ui_container_spec.rb +1 -1
  493. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  494. data/spec/models/ui_node_attributes_spec.rb +1 -1
  495. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  496. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  497. data/spec/models/ui_node_meta_spec.rb +1 -1
  498. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  499. data/spec/models/ui_node_spec.rb +2 -2
  500. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  501. data/spec/models/ui_text_spec.rb +5 -1
  502. data/spec/models/update_identity_body_spec.rb +64 -0
  503. data/spec/models/update_login_flow_body_spec.rb +43 -0
  504. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +46 -0
  505. data/spec/models/update_login_flow_with_oidc_method_spec.rb +52 -0
  506. data/spec/models/update_login_flow_with_password_method_spec.rb +58 -0
  507. data/spec/models/update_login_flow_with_totp_method_spec.rb +46 -0
  508. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +52 -0
  509. data/spec/models/update_recovery_flow_body_spec.rb +43 -0
  510. data/spec/models/update_recovery_flow_with_code_method_spec.rb +52 -0
  511. data/spec/models/update_recovery_flow_with_link_method_spec.rb +46 -0
  512. data/spec/models/update_registration_flow_body_spec.rb +43 -0
  513. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +52 -0
  514. data/spec/models/update_registration_flow_with_password_method_spec.rb +52 -0
  515. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +58 -0
  516. data/spec/models/update_settings_flow_body_spec.rb +43 -0
  517. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +64 -0
  518. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +58 -0
  519. data/spec/models/update_settings_flow_with_password_method_spec.rb +46 -0
  520. data/spec/models/update_settings_flow_with_profile_method_spec.rb +46 -0
  521. data/spec/models/update_settings_flow_with_totp_method_spec.rb +52 -0
  522. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +58 -0
  523. data/spec/models/update_subscription_body_spec.rb +40 -0
  524. data/spec/models/update_verification_flow_body_spec.rb +43 -0
  525. data/spec/models/update_verification_flow_with_code_method_body_spec.rb +58 -0
  526. data/spec/models/update_verification_flow_with_link_method_spec.rb +46 -0
  527. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  528. data/spec/models/verification_flow_spec.rb +82 -0
  529. data/spec/models/verification_flow_state_spec.rb +28 -0
  530. data/spec/models/version_spec.rb +1 -1
  531. data/spec/models/warning_spec.rb +1 -1
  532. data/spec/spec_helper.rb +1 -1
  533. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.16.0.gem +0 -0
  534. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.3.0.gem +0 -0
  535. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.6.gem +0 -0
  536. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
  537. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  538. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  539. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  540. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
  541. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  542. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  543. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  544. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.5 → psych-4.0.6}/gem.build_complete +0 -0
  545. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +41 -0
  546. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.5 → psych-4.0.6}/mkmf.log +0 -0
  547. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/psych.so +0 -0
  548. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  549. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  550. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  551. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.gitignore +0 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.rspec +0 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Gemfile +0 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Guardfile +0 -0
  557. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/LICENSE +0 -0
  558. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/README.md +118 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Rakefile +0 -0
  560. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/ethon.gemspec +0 -0
  561. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curl.rb +0 -0
  562. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
  563. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/codes.rb +0 -0
  564. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/constants.rb +0 -0
  565. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/form_options.rb +0 -0
  566. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/functions.rb +0 -0
  567. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/infos.rb +0 -0
  568. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/messages.rb +0 -0
  569. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
  570. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/settings.rb +0 -0
  571. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
  572. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/debug_info.rb +0 -0
  573. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/features.rb +0 -0
  574. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/form.rb +0 -0
  575. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/header.rb +0 -0
  576. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/actionable.rb +0 -0
  577. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/custom.rb +0 -0
  578. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/delete.rb +0 -0
  579. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/get.rb +0 -0
  580. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/head.rb +0 -0
  581. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/options.rb +0 -0
  582. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/patch.rb +0 -0
  583. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/post.rb +0 -0
  584. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/postable.rb +0 -0
  585. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/put.rb +0 -0
  586. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/putable.rb +0 -0
  587. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http.rb +0 -0
  588. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
  589. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/mirror.rb +0 -0
  590. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/operations.rb +0 -0
  591. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/options.rb +0 -0
  592. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/params.rb +0 -0
  593. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/queryable.rb +0 -0
  594. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
  595. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/util.rb +0 -0
  596. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy.rb +0 -0
  597. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/ethon_error.rb +0 -0
  598. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/global_init.rb +0 -0
  599. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_option.rb +0 -0
  600. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_value.rb +0 -0
  601. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_add.rb +0 -0
  602. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  603. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_remove.rb +0 -0
  604. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  605. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/select.rb +0 -0
  606. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors.rb +0 -0
  607. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/libc.rb +0 -0
  608. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/loggable.rb +0 -0
  609. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/operations.rb +0 -0
  610. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/options.rb +0 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/stack.rb +0 -0
  612. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi.rb +0 -0
  613. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
  614. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon.rb +0 -0
  615. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/benchmarks.rb +0 -0
  616. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/memory_leaks.rb +0 -0
  617. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/perf_spec_helper.rb +0 -0
  618. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/memory_test_helpers.rb +0 -0
  619. 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
  620. 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
  621. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/curl_spec.rb +0 -0
  622. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
  623. 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
  624. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/features_spec.rb +0 -0
  625. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/form_spec.rb +0 -0
  626. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/header_spec.rb +0 -0
  627. 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
  628. 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
  629. 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
  630. 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
  631. 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
  632. 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
  633. 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
  634. 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
  635. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http_spec.rb +0 -0
  636. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
  637. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
  638. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
  639. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/options_spec.rb +0 -0
  640. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  641. 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
  642. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/util_spec.rb +0 -0
  643. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy_spec.rb +0 -0
  644. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/libc_spec.rb +0 -0
  645. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/loggable_spec.rb +0 -0
  646. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/operations_spec.rb +0 -0
  647. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/options_spec.rb +0 -0
  648. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/stack_spec.rb +0 -0
  649. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi_spec.rb +0 -0
  650. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/spec_helper.rb +0 -0
  651. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/localhost_server.rb +0 -0
  652. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/server.rb +0 -0
  653. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  654. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  655. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/LICENSE.txt +0 -0
  656. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/bin/ruby-parse +0 -0
  657. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/bin/ruby-rewrite +0 -0
  658. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/gauntlet_parser.rb +0 -0
  659. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/all.rb +0 -0
  660. 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
  661. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ast/processor.rb +291 -0
  662. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/base.rb +0 -0
  663. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/builders/default.rb +2317 -0
  664. 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
  665. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/color.rb +0 -0
  666. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/context.rb +0 -0
  667. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/current.rb +119 -0
  668. 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
  669. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/deprecation.rb +0 -0
  670. 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
  671. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/diagnostic.rb +0 -0
  672. 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
  673. 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
  674. 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
  675. 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
  676. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/lexer.rb +25045 -0
  677. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/macruby.rb +9632 -0
  678. 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
  679. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/messages.rb +120 -0
  680. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/meta.rb +40 -0
  681. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/rewriter.rb +0 -0
  682. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby18.rb +9270 -0
  683. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby19.rb +9556 -0
  684. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby20.rb +10227 -0
  685. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby21.rb +10201 -0
  686. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby22.rb +10300 -0
  687. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby23.rb +10320 -0
  688. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby24.rb +10452 -0
  689. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby25.rb +10372 -0
  690. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby26.rb +10350 -0
  691. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby27.rb +11945 -0
  692. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/ruby28.rb +0 -0
  693. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby30.rb +12241 -0
  694. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby31.rb +12714 -0
  695. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby32.rb +12691 -0
  696. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/rubymotion.rb +9513 -0
  697. 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
  698. 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
  699. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner.rb +0 -0
  700. 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
  701. 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
  702. 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
  703. 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
  704. 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
  705. 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
  706. 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
  707. 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
  708. 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
  709. 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
  710. 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
  711. 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
  712. 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
  713. 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
  714. 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
  715. 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
  716. 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
  717. 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
  718. 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
  719. 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
  720. 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
  721. 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
  722. 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
  723. 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
  724. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/static_environment.rb +87 -0
  725. 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
  726. 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
  727. 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
  728. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/version.rb +5 -0
  729. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser.rb +0 -0
  730. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/parser.gemspec +43 -0
  731. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/.gitignore +0 -0
  732. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/Gemfile +0 -0
  733. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/LICENSE +0 -0
  734. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/Mavenfile +0 -0
  735. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/README.md +0 -0
  736. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/Rakefile +0 -0
  737. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/bin/console +0 -0
  738. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/bin/setup +0 -0
  739. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/.sitearchdir.time +0 -0
  740. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +271 -0
  741. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/api.o +0 -0
  742. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/depend +0 -0
  743. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/dumper.o +0 -0
  744. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/emitter.o +0 -0
  745. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/extconf.rb +0 -0
  746. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/loader.o +0 -0
  747. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/parser.o +0 -0
  748. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych.c +0 -0
  749. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych.h +0 -0
  750. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych.o +0 -0
  751. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych.so +0 -0
  752. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_emitter.c +0 -0
  753. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_emitter.h +0 -0
  754. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_emitter.o +0 -0
  755. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_parser.c +0 -0
  756. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_parser.h +0 -0
  757. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_parser.o +0 -0
  758. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_to_ruby.c +0 -0
  759. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_to_ruby.h +0 -0
  760. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_to_ruby.o +0 -0
  761. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_yaml_tree.c +0 -0
  762. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/psych_yaml_tree.h +0 -0
  763. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/psych_yaml_tree.o +0 -0
  764. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/reader.o +0 -0
  765. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/scanner.o +0 -0
  766. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/writer.o +0 -0
  767. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/LICENSE +0 -0
  768. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/api.c +0 -0
  769. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/config.h +0 -0
  770. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/dumper.c +0 -0
  771. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/emitter.c +0 -0
  772. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/loader.c +0 -0
  773. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/parser.c +0 -0
  774. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/reader.c +0 -0
  775. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/scanner.c +0 -0
  776. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/writer.c +0 -0
  777. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/yaml.h +0 -0
  778. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/ext/psych/yaml/yaml_private.h +0 -0
  779. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/class_loader.rb +0 -0
  780. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/coder.rb +0 -0
  781. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/core_ext.rb +0 -0
  782. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/exception.rb +0 -0
  783. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/handler.rb +0 -0
  784. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/handlers/document_stream.rb +0 -0
  785. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/handlers/recorder.rb +0 -0
  786. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/ruby_events.rb +0 -0
  787. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/stream.rb +0 -0
  788. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/tree_builder.rb +0 -0
  789. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/json/yaml_events.rb +0 -0
  790. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/alias.rb +0 -0
  791. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/document.rb +0 -0
  792. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/mapping.rb +0 -0
  793. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/node.rb +0 -0
  794. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/scalar.rb +0 -0
  795. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/sequence.rb +0 -0
  796. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes/stream.rb +0 -0
  797. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/nodes.rb +0 -0
  798. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/omap.rb +0 -0
  799. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/parser.rb +0 -0
  800. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/scalar_scanner.rb +0 -0
  801. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/set.rb +0 -0
  802. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/stream.rb +0 -0
  803. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/streaming.rb +0 -0
  804. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/syntax_error.rb +0 -0
  805. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/tree_builder.rb +0 -0
  806. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych/versions.rb +10 -0
  807. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/depth_first.rb +0 -0
  808. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/emitter.rb +0 -0
  809. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/json_tree.rb +0 -0
  810. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/to_ruby.rb +0 -0
  811. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/visitor.rb +0 -0
  812. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors/yaml_tree.rb +0 -0
  813. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/visitors.rb +0 -0
  814. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych/y.rb +0 -0
  815. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/lib/psych.rb +0 -0
  816. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/lib/psych.so +0 -0
  817. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.5 → psych-4.0.6}/psych.gemspec +0 -0
  818. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
  819. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
  820. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
  821. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
  822. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
  823. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
  824. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/Changelog.md +2360 -0
  825. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
  826. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
  827. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
  828. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
  829. 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
  830. 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
  831. 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
  832. 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
  833. 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
  834. 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
  835. 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
  836. 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
  837. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb +2385 -0
  838. 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
  839. 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
  840. 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
  841. 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
  842. 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
  843. 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
  844. 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
  845. 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
  846. 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
  847. 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
  848. 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
  849. 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
  850. 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
  851. 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
  852. 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
  853. 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
  854. 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
  855. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb +525 -0
  856. 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
  857. 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
  858. 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
  859. 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
  860. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_printer.rb +412 -0
  861. 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
  862. 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
  863. 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
  864. 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
  865. 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
  866. 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
  867. 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
  868. 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
  869. 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
  870. 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
  871. 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
  872. 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
  873. 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
  874. 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
  875. 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
  876. 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
  877. 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
  878. 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
  879. 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
  880. 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
  881. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/option_parser.rb +323 -0
  882. 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
  883. 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
  884. 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
  885. 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
  886. 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
  887. 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
  888. 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
  889. 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
  890. 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
  891. 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
  892. 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
  893. 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
  894. 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
  895. 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
  896. 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
  897. 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
  898. 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
  899. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/version.rb +9 -0
  900. 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
  901. 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
  902. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
  903. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.document +0 -0
  904. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.yardopts +0 -0
  905. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/Changelog.md +1285 -0
  906. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
  907. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/README.md +0 -0
  908. 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
  909. 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
  910. 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
  911. 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
  912. 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
  913. 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
  914. 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
  915. 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
  916. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/expectations/version.rb +8 -0
  917. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
  918. 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
  919. 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
  920. 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
  921. 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
  922. 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
  923. 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
  924. 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
  925. 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
  926. 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
  927. 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
  928. 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
  929. 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
  930. 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
  931. 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
  932. 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
  933. 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
  934. 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
  935. 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
  936. 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
  937. 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
  938. 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
  939. 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
  940. 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
  941. 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
  942. 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
  943. 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
  944. 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
  945. 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
  946. 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
  947. 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
  948. 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
  949. 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
  950. 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
  951. 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
  952. 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
  953. 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
  954. 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
  955. 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
  956. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers.rb +1044 -0
  957. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.document +0 -0
  958. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.yardopts +0 -0
  959. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/Changelog.md +1212 -0
  960. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/LICENSE.md +0 -0
  961. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/README.md +0 -0
  962. 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
  963. 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
  964. 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
  965. 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
  966. 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
  967. 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
  968. 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
  969. 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
  970. 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
  971. 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
  972. 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
  973. 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
  974. 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
  975. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb +380 -0
  976. 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
  977. 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
  978. 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
  979. 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
  980. 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
  981. 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
  982. 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
  983. 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
  984. 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
  985. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/message_expectation.rb +820 -0
  986. 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
  987. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/method_reference.rb +214 -0
  988. 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
  989. 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
  990. 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
  991. 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
  992. 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
  993. 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
  994. 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
  995. 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
  996. 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
  997. 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
  998. 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
  999. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
  1000. 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
  1001. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/version.rb +9 -0
  1002. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks.rb +0 -0
  1003. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
  1004. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/LICENSE.md +0 -0
  1005. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/README.md +0 -0
  1006. 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
  1007. 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
  1008. 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
  1009. 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
  1010. 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
  1011. 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
  1012. 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
  1013. 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
  1014. 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
  1015. 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
  1016. 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
  1017. 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
  1018. 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
  1019. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
  1020. 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
  1021. 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
  1022. 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
  1023. 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
  1024. 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
  1025. 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
  1026. 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
  1027. 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
  1028. 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
  1029. 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
  1030. 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
  1031. 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
  1032. 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
  1033. 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
  1034. 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
  1035. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
  1036. 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
  1037. 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
  1038. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
  1039. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  1040. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.16.0.gemspec +32 -0
  1041. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.3.0.gemspec +63 -0
  1042. data/vendor/bundle/ruby/2.5.0/specifications/psych-4.0.6.gemspec +38 -0
  1043. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.12.0.gemspec +43 -0
  1044. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.12.0.gemspec +63 -0
  1045. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.12.0.gemspec +51 -0
  1046. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.12.0.gemspec +51 -0
  1047. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.12.0.gemspec +39 -0
  1048. metadata +979 -903
  1049. data/docs/AcceptConsentRequest.md +0 -28
  1050. data/docs/AcceptLoginRequest.md +0 -30
  1051. data/docs/ActiveProject.md +0 -18
  1052. data/docs/AdminApi.md +0 -2154
  1053. data/docs/AdminCreateIdentityBody.md +0 -32
  1054. data/docs/AdminCreateIdentityImportCredentialsOidc.md +0 -18
  1055. data/docs/AdminCreateIdentityImportCredentialsOidcConfig.md +0 -20
  1056. data/docs/AdminCreateIdentityImportCredentialsOidcProvider.md +0 -20
  1057. data/docs/AdminCreateIdentityImportCredentialsPassword.md +0 -18
  1058. data/docs/AdminCreateIdentityImportCredentialsPasswordConfig.md +0 -20
  1059. data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +0 -20
  1060. data/docs/AdminIdentityImportCredentials.md +0 -20
  1061. data/docs/AdminUpdateIdentityBody.md +0 -28
  1062. data/docs/CnameSettings.md +0 -34
  1063. data/docs/CompletedRequest.md +0 -18
  1064. data/docs/ConsentRequest.md +0 -42
  1065. data/docs/ConsentRequestSession.md +0 -20
  1066. data/docs/CreateCustomHostnameBody.md +0 -24
  1067. data/docs/CreateSubscriptionPayload.md +0 -22
  1068. data/docs/ExpandTree.md +0 -22
  1069. data/docs/FlushInactiveOAuth2TokensRequest.md +0 -18
  1070. data/docs/FlushLoginConsentRequest.md +0 -18
  1071. data/docs/GetCheckResponse.md +0 -18
  1072. data/docs/GetRelationTuplesResponse.md +0 -20
  1073. data/docs/InvitePayload.md +0 -18
  1074. data/docs/IsOwnerForProjectBySlugPayload.md +0 -22
  1075. data/docs/JSONWebKey.md +0 -50
  1076. data/docs/JSONWebKeySet.md +0 -18
  1077. data/docs/JsonError.md +0 -24
  1078. data/docs/JsonWebKeySetGeneratorRequest.md +0 -22
  1079. data/docs/LoginRequest.md +0 -34
  1080. data/docs/LogoutRequest.md +0 -28
  1081. data/docs/OAuth2TokenIntrospection.md +0 -44
  1082. data/docs/Oauth2TokenResponse.md +0 -28
  1083. data/docs/OauthTokenResponse.md +0 -28
  1084. data/docs/OpenIDConnectContext.md +0 -26
  1085. data/docs/PatchDelta.md +0 -20
  1086. data/docs/PatchDocument.md +0 -24
  1087. data/docs/PreviousConsentSession.md +0 -30
  1088. data/docs/ProvisionMockSubscriptionPayload.md +0 -20
  1089. data/docs/PublicApi.md +0 -738
  1090. data/docs/QuotaCustomDomains.md +0 -22
  1091. data/docs/QuotaProjectMemberSeats.md +0 -22
  1092. data/docs/ReadApi.md +0 -467
  1093. data/docs/RecoveryAddress.md +0 -26
  1094. data/docs/RefreshTokenHookRequest.md +0 -24
  1095. data/docs/RefreshTokenHookResponse.md +0 -18
  1096. data/docs/RejectRequest.md +0 -26
  1097. data/docs/RelationTuple.md +0 -26
  1098. data/docs/RequestWasHandledResponse.md +0 -18
  1099. data/docs/RevokedSessions.md +0 -18
  1100. data/docs/SelfServiceBrowserLocationChangeRequiredError.md +0 -34
  1101. data/docs/SelfServiceError.md +0 -24
  1102. data/docs/SelfServiceLoginFlow.md +0 -40
  1103. data/docs/SelfServiceLogoutUrl.md +0 -20
  1104. data/docs/SelfServiceRecoveryFlow.md +0 -34
  1105. data/docs/SelfServiceRecoveryFlowState.md +0 -15
  1106. data/docs/SelfServiceRecoveryLink.md +0 -20
  1107. data/docs/SelfServiceRegistrationFlow.md +0 -32
  1108. data/docs/SelfServiceSettingsFlow.md +0 -36
  1109. data/docs/SelfServiceSettingsFlowState.md +0 -15
  1110. data/docs/SelfServiceVerificationFlow.md +0 -34
  1111. data/docs/SelfServiceVerificationFlowState.md +0 -15
  1112. data/docs/SettingsProfileFormConfig.md +0 -24
  1113. data/docs/StripeCustomerResponse.md +0 -18
  1114. data/docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md +0 -20
  1115. data/docs/SubmitSelfServiceLoginFlowBody.md +0 -87
  1116. data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +0 -22
  1117. data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +0 -24
  1118. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +0 -26
  1119. data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +0 -22
  1120. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +0 -24
  1121. data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +0 -18
  1122. data/docs/SubmitSelfServiceRecoveryFlowBody.md +0 -75
  1123. data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +0 -22
  1124. data/docs/SubmitSelfServiceRegistrationFlowBody.md +0 -81
  1125. data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +0 -24
  1126. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +0 -24
  1127. data/docs/SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody.md +0 -26
  1128. data/docs/SubmitSelfServiceSettingsFlowBody.md +0 -90
  1129. data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +0 -28
  1130. data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +0 -26
  1131. data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +0 -22
  1132. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +0 -22
  1133. data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +0 -24
  1134. data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +0 -26
  1135. data/docs/SubmitSelfServiceVerificationFlowBody.md +0 -75
  1136. data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +0 -22
  1137. data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +0 -20
  1138. data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +0 -22
  1139. data/docs/TrustJwtGrantIssuerBody.md +0 -28
  1140. data/docs/TrustedJsonWebKey.md +0 -20
  1141. data/docs/TrustedJwtGrantIssuer.md +0 -32
  1142. data/docs/UpdateCustomHostnameBody.md +0 -24
  1143. data/docs/UpdateProject.md +0 -20
  1144. data/docs/UpdateSubscriptionPayload.md +0 -20
  1145. data/docs/UserinfoResponse.md +0 -54
  1146. data/docs/V0alpha2Api.md +0 -3623
  1147. data/docs/WellKnown.md +0 -70
  1148. data/docs/WriteApi.md +0 -233
  1149. data/lib/ory-client/api/admin_api.rb +0 -2184
  1150. data/lib/ory-client/api/public_api.rb +0 -723
  1151. data/lib/ory-client/api/read_api.rb +0 -449
  1152. data/lib/ory-client/api/v0alpha2_api.rb +0 -3484
  1153. data/lib/ory-client/api/write_api.rb +0 -228
  1154. data/lib/ory-client/models/accept_consent_request.rb +0 -270
  1155. data/lib/ory-client/models/accept_login_request.rb +0 -285
  1156. data/lib/ory-client/models/active_project.rb +0 -221
  1157. data/lib/ory-client/models/admin_create_identity_body.rb +0 -304
  1158. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +0 -219
  1159. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +0 -231
  1160. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +0 -240
  1161. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +0 -219
  1162. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +0 -230
  1163. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +0 -251
  1164. data/lib/ory-client/models/admin_identity_import_credentials.rb +0 -228
  1165. data/lib/ory-client/models/admin_update_identity_body.rb +0 -285
  1166. data/lib/ory-client/models/cname_settings.rb +0 -296
  1167. data/lib/ory-client/models/completed_request.rb +0 -225
  1168. data/lib/ory-client/models/consent_request.rb +0 -345
  1169. data/lib/ory-client/models/consent_request_session.rb +0 -232
  1170. data/lib/ory-client/models/create_custom_hostname_body.rb +0 -252
  1171. data/lib/ory-client/models/create_subscription_payload.rb +0 -247
  1172. data/lib/ory-client/models/expand_tree.rb +0 -280
  1173. data/lib/ory-client/models/flush_inactive_o_auth2_tokens_request.rb +0 -220
  1174. data/lib/ory-client/models/flush_login_consent_request.rb +0 -220
  1175. data/lib/ory-client/models/get_check_response.rb +0 -226
  1176. data/lib/ory-client/models/get_relation_tuples_response.rb +0 -231
  1177. data/lib/ory-client/models/invite_payload.rb +0 -219
  1178. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +0 -250
  1179. data/lib/ory-client/models/json_error.rb +0 -255
  1180. data/lib/ory-client/models/json_web_key_set_generator_request.rb +0 -255
  1181. data/lib/ory-client/models/login_request.rb +0 -335
  1182. data/lib/ory-client/models/logout_request.rb +0 -269
  1183. data/lib/ory-client/models/o_auth2_token_introspection.rb +0 -360
  1184. data/lib/ory-client/models/oauth2_token_response.rb +0 -265
  1185. data/lib/ory-client/models/oauth_token_response.rb +0 -271
  1186. data/lib/ory-client/models/open_id_connect_context.rb +0 -266
  1187. data/lib/ory-client/models/patch_delta.rb +0 -262
  1188. data/lib/ory-client/models/patch_document.rb +0 -261
  1189. data/lib/ory-client/models/previous_consent_session.rb +0 -280
  1190. data/lib/ory-client/models/provision_mock_subscription_payload.rb +0 -238
  1191. data/lib/ory-client/models/quota_custom_domains.rb +0 -237
  1192. data/lib/ory-client/models/quota_project_member_seats.rb +0 -237
  1193. data/lib/ory-client/models/recovery_address.rb +0 -272
  1194. data/lib/ory-client/models/refresh_token_hook_request.rb +0 -254
  1195. data/lib/ory-client/models/refresh_token_hook_response.rb +0 -219
  1196. data/lib/ory-client/models/reject_request.rb +0 -260
  1197. data/lib/ory-client/models/relation_tuple.rb +0 -274
  1198. data/lib/ory-client/models/request_was_handled_response.rb +0 -225
  1199. data/lib/ory-client/models/revoked_sessions.rb +0 -220
  1200. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +0 -307
  1201. data/lib/ory-client/models/self_service_error.rb +0 -253
  1202. data/lib/ory-client/models/self_service_login_flow.rb +0 -357
  1203. data/lib/ory-client/models/self_service_logout_url.rb +0 -240
  1204. data/lib/ory-client/models/self_service_recovery_flow.rb +0 -333
  1205. data/lib/ory-client/models/self_service_recovery_flow_state.rb +0 -38
  1206. data/lib/ory-client/models/self_service_recovery_link.rb +0 -235
  1207. data/lib/ory-client/models/self_service_registration_flow.rb +0 -317
  1208. data/lib/ory-client/models/self_service_settings_flow.rb +0 -347
  1209. data/lib/ory-client/models/self_service_settings_flow_state.rb +0 -37
  1210. data/lib/ory-client/models/self_service_verification_flow.rb +0 -318
  1211. data/lib/ory-client/models/self_service_verification_flow_state.rb +0 -38
  1212. data/lib/ory-client/models/settings_profile_form_config.rb +0 -267
  1213. data/lib/ory-client/models/stripe_customer_response.rb +0 -219
  1214. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +0 -230
  1215. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +0 -61
  1216. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +0 -250
  1217. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +0 -261
  1218. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +0 -275
  1219. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +0 -250
  1220. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +0 -260
  1221. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +0 -226
  1222. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +0 -53
  1223. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +0 -250
  1224. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +0 -57
  1225. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +0 -261
  1226. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +0 -266
  1227. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +0 -270
  1228. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +0 -63
  1229. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +0 -275
  1230. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +0 -266
  1231. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +0 -250
  1232. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +0 -251
  1233. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +0 -255
  1234. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +0 -265
  1235. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +0 -54
  1236. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +0 -250
  1237. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +0 -235
  1238. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +0 -244
  1239. data/lib/ory-client/models/trust_jwt_grant_issuer_body.rb +0 -291
  1240. data/lib/ory-client/models/trusted_json_web_key.rb +0 -230
  1241. data/lib/ory-client/models/trusted_jwt_grant_issuer.rb +0 -290
  1242. data/lib/ory-client/models/update_custom_hostname_body.rb +0 -252
  1243. data/lib/ory-client/models/update_project.rb +0 -239
  1244. data/lib/ory-client/models/update_subscription_payload.rb +0 -233
  1245. data/lib/ory-client/models/userinfo_response.rb +0 -401
  1246. data/lib/ory-client/models/well_known.rb +0 -538
  1247. data/spec/api/admin_api_spec.rb +0 -442
  1248. data/spec/api/public_api_spec.rb +0 -167
  1249. data/spec/api/read_api_spec.rb +0 -124
  1250. data/spec/api/v0alpha2_api_spec.rb +0 -695
  1251. data/spec/api/write_api_spec.rb +0 -77
  1252. data/spec/models/accept_consent_request_spec.rb +0 -64
  1253. data/spec/models/accept_login_request_spec.rb +0 -70
  1254. data/spec/models/active_project_spec.rb +0 -34
  1255. data/spec/models/admin_create_identity_body_spec.rb +0 -76
  1256. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +0 -40
  1257. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +0 -40
  1258. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +0 -34
  1259. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +0 -40
  1260. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +0 -34
  1261. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +0 -40
  1262. data/spec/models/admin_identity_import_credentials_spec.rb +0 -40
  1263. data/spec/models/admin_update_identity_body_spec.rb +0 -64
  1264. data/spec/models/cname_settings_spec.rb +0 -82
  1265. data/spec/models/completed_request_spec.rb +0 -34
  1266. data/spec/models/consent_request_session_spec.rb +0 -40
  1267. data/spec/models/consent_request_spec.rb +0 -106
  1268. data/spec/models/create_custom_hostname_body_spec.rb +0 -52
  1269. data/spec/models/create_subscription_payload_spec.rb +0 -46
  1270. data/spec/models/expand_tree_spec.rb +0 -50
  1271. data/spec/models/flush_inactive_o_auth2_tokens_request_spec.rb +0 -34
  1272. data/spec/models/flush_login_consent_request_spec.rb +0 -34
  1273. data/spec/models/get_check_response_spec.rb +0 -34
  1274. data/spec/models/get_relation_tuples_response_spec.rb +0 -40
  1275. data/spec/models/invite_payload_spec.rb +0 -34
  1276. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +0 -46
  1277. data/spec/models/json_error_spec.rb +0 -52
  1278. data/spec/models/json_web_key_set_generator_request_spec.rb +0 -46
  1279. data/spec/models/login_request_spec.rb +0 -82
  1280. data/spec/models/logout_request_spec.rb +0 -64
  1281. data/spec/models/o_auth2_token_introspection_spec.rb +0 -112
  1282. data/spec/models/oauth2_token_response_spec.rb +0 -64
  1283. data/spec/models/oauth_token_response_spec.rb +0 -64
  1284. data/spec/models/open_id_connect_context_spec.rb +0 -58
  1285. data/spec/models/patch_delta_spec.rb +0 -44
  1286. data/spec/models/patch_document_spec.rb +0 -52
  1287. data/spec/models/previous_consent_session_spec.rb +0 -70
  1288. data/spec/models/provision_mock_subscription_payload_spec.rb +0 -40
  1289. data/spec/models/quota_custom_domains_spec.rb +0 -46
  1290. data/spec/models/quota_project_member_seats_spec.rb +0 -46
  1291. data/spec/models/recovery_address_spec.rb +0 -58
  1292. data/spec/models/refresh_token_hook_request_spec.rb +0 -52
  1293. data/spec/models/refresh_token_hook_response_spec.rb +0 -34
  1294. data/spec/models/reject_request_spec.rb +0 -58
  1295. data/spec/models/relation_tuple_spec.rb +0 -58
  1296. data/spec/models/request_was_handled_response_spec.rb +0 -34
  1297. data/spec/models/revoked_sessions_spec.rb +0 -34
  1298. data/spec/models/self_service_browser_location_change_required_error_spec.rb +0 -82
  1299. data/spec/models/self_service_error_spec.rb +0 -52
  1300. data/spec/models/self_service_login_flow_spec.rb +0 -100
  1301. data/spec/models/self_service_logout_url_spec.rb +0 -40
  1302. data/spec/models/self_service_recovery_flow_spec.rb +0 -82
  1303. data/spec/models/self_service_recovery_flow_state_spec.rb +0 -28
  1304. data/spec/models/self_service_recovery_link_spec.rb +0 -40
  1305. data/spec/models/self_service_registration_flow_spec.rb +0 -76
  1306. data/spec/models/self_service_settings_flow_spec.rb +0 -88
  1307. data/spec/models/self_service_settings_flow_state_spec.rb +0 -28
  1308. data/spec/models/self_service_verification_flow_spec.rb +0 -82
  1309. data/spec/models/self_service_verification_flow_state_spec.rb +0 -28
  1310. data/spec/models/settings_profile_form_config_spec.rb +0 -52
  1311. data/spec/models/stripe_customer_response_spec.rb +0 -34
  1312. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +0 -40
  1313. data/spec/models/submit_self_service_login_flow_body_spec.rb +0 -43
  1314. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +0 -46
  1315. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +0 -52
  1316. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +0 -58
  1317. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +0 -46
  1318. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +0 -52
  1319. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +0 -34
  1320. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +0 -43
  1321. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +0 -46
  1322. data/spec/models/submit_self_service_registration_flow_body_spec.rb +0 -43
  1323. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +0 -52
  1324. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +0 -52
  1325. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +0 -58
  1326. data/spec/models/submit_self_service_settings_flow_body_spec.rb +0 -43
  1327. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +0 -64
  1328. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +0 -58
  1329. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +0 -46
  1330. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +0 -46
  1331. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +0 -52
  1332. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +0 -58
  1333. data/spec/models/submit_self_service_verification_flow_body_spec.rb +0 -43
  1334. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +0 -46
  1335. data/spec/models/successful_self_service_login_without_browser_spec.rb +0 -40
  1336. data/spec/models/successful_self_service_registration_without_browser_spec.rb +0 -46
  1337. data/spec/models/trust_jwt_grant_issuer_body_spec.rb +0 -64
  1338. data/spec/models/trusted_json_web_key_spec.rb +0 -40
  1339. data/spec/models/trusted_jwt_grant_issuer_spec.rb +0 -76
  1340. data/spec/models/update_custom_hostname_body_spec.rb +0 -52
  1341. data/spec/models/update_project_spec.rb +0 -40
  1342. data/spec/models/update_subscription_payload_spec.rb +0 -40
  1343. data/spec/models/userinfo_response_spec.rb +0 -142
  1344. data/spec/models/well_known_spec.rb +0 -190
  1345. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
  1346. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  1347. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.5.gem +0 -0
  1348. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
  1349. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
  1350. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.1.gem +0 -0
  1351. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
  1352. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.1.gem +0 -0
  1353. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.5/gem_make.out +0 -41
  1354. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.5/psych.so +0 -0
  1355. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
  1356. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
  1357. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/README.md +0 -95
  1358. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
  1359. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
  1360. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
  1361. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
  1362. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
  1363. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
  1364. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
  1365. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
  1366. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
  1367. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
  1368. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ast/processor.rb +0 -288
  1369. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/builders/default.rb +0 -2309
  1370. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/current.rb +0 -119
  1371. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
  1372. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
  1373. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/messages.rb +0 -118
  1374. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/meta.rb +0 -39
  1375. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
  1376. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
  1377. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
  1378. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
  1379. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
  1380. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
  1381. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
  1382. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
  1383. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
  1384. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
  1385. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
  1386. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
  1387. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
  1388. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
  1389. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/static_environment.rb +0 -69
  1390. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/version.rb +0 -5
  1391. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/parser.gemspec +0 -43
  1392. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/Makefile +0 -271
  1393. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/api.o +0 -0
  1394. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/dumper.o +0 -0
  1395. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/emitter.o +0 -0
  1396. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/loader.o +0 -0
  1397. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/parser.o +0 -0
  1398. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych.o +0 -0
  1399. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych.so +0 -0
  1400. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_emitter.o +0 -0
  1401. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_parser.o +0 -0
  1402. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_to_ruby.o +0 -0
  1403. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/psych_yaml_tree.o +0 -0
  1404. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/reader.o +0 -0
  1405. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/scanner.o +0 -0
  1406. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/ext/psych/writer.o +0 -0
  1407. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/lib/psych/versions.rb +0 -10
  1408. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.5/lib/psych.so +0 -0
  1409. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec/version.rb +0 -5
  1410. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/Changelog.md +0 -2355
  1411. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +0 -2383
  1412. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +0 -521
  1413. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +0 -414
  1414. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +0 -325
  1415. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +0 -9
  1416. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/Changelog.md +0 -1277
  1417. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/expectations/version.rb +0 -8
  1418. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/matchers.rb +0 -1041
  1419. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/Changelog.md +0 -1193
  1420. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +0 -369
  1421. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +0 -822
  1422. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +0 -202
  1423. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  1424. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +0 -9
  1425. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/Changelog.md +0 -357
  1426. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/ruby_features.rb +0 -194
  1427. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/version.rb +0 -7
  1428. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.15.0.gemspec +0 -32
  1429. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.2.1.gemspec +0 -63
  1430. data/vendor/bundle/ruby/2.5.0/specifications/psych-4.0.5.gemspec +0 -38
  1431. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +0 -43
  1432. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +0 -63
  1433. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.1.gemspec +0 -51
  1434. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.1.gemspec +0 -51
  1435. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.1.gemspec +0 -39
data/docs/V0alpha2Api.md DELETED
@@ -1,3623 +0,0 @@
1
- # OryClient::V0alpha2Api
2
-
3
- All URIs are relative to *https://playground.projects.oryapis.com*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**admin_create_identity**](V0alpha2Api.md#admin_create_identity) | **POST** /admin/identities | Create an Identity |
8
- | [**admin_create_self_service_recovery_link**](V0alpha2Api.md#admin_create_self_service_recovery_link) | **POST** /admin/recovery/link | Create a Recovery Link |
9
- | [**admin_delete_identity**](V0alpha2Api.md#admin_delete_identity) | **DELETE** /admin/identities/{id} | Delete an Identity |
10
- | [**admin_delete_identity_sessions**](V0alpha2Api.md#admin_delete_identity_sessions) | **DELETE** /admin/identities/{id}/sessions | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity. |
11
- | [**admin_extend_session**](V0alpha2Api.md#admin_extend_session) | **PATCH** /admin/sessions/{id}/extend | Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. |
12
- | [**admin_get_identity**](V0alpha2Api.md#admin_get_identity) | **GET** /admin/identities/{id} | Get an Identity |
13
- | [**admin_list_identities**](V0alpha2Api.md#admin_list_identities) | **GET** /admin/identities | List Identities |
14
- | [**admin_list_identity_sessions**](V0alpha2Api.md#admin_list_identity_sessions) | **GET** /admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity. |
15
- | [**admin_patch_identity**](V0alpha2Api.md#admin_patch_identity) | **PATCH** /admin/identities/{id} | Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/) |
16
- | [**admin_update_identity**](V0alpha2Api.md#admin_update_identity) | **PUT** /admin/identities/{id} | Update an Identity |
17
- | [**create_project**](V0alpha2Api.md#create_project) | **POST** /projects | # Create a Project |
18
- | [**create_project_api_key**](V0alpha2Api.md#create_project_api_key) | **POST** /projects/{project}/tokens | # Create API Token |
19
- | [**create_self_service_logout_flow_url_for_browsers**](V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers |
20
- | [**delete_project_api_key**](V0alpha2Api.md#delete_project_api_key) | **DELETE** /projects/{project}/tokens/{token_id} | # Delete API Token |
21
- | [**get_identity_schema**](V0alpha2Api.md#get_identity_schema) | **GET** /schemas/{id} | |
22
- | [**get_project**](V0alpha2Api.md#get_project) | **GET** /projects/{project_id} | # Get a Project |
23
- | [**get_project_members**](V0alpha2Api.md#get_project_members) | **GET** /projects/{project_id}/members | Get all members associated with this project. |
24
- | [**get_self_service_error**](V0alpha2Api.md#get_self_service_error) | **GET** /self-service/errors | Get Self-Service Errors |
25
- | [**get_self_service_login_flow**](V0alpha2Api.md#get_self_service_login_flow) | **GET** /self-service/login/flows | Get Login Flow |
26
- | [**get_self_service_recovery_flow**](V0alpha2Api.md#get_self_service_recovery_flow) | **GET** /self-service/recovery/flows | Get Recovery Flow |
27
- | [**get_self_service_registration_flow**](V0alpha2Api.md#get_self_service_registration_flow) | **GET** /self-service/registration/flows | Get Registration Flow |
28
- | [**get_self_service_settings_flow**](V0alpha2Api.md#get_self_service_settings_flow) | **GET** /self-service/settings/flows | Get Settings Flow |
29
- | [**get_self_service_verification_flow**](V0alpha2Api.md#get_self_service_verification_flow) | **GET** /self-service/verification/flows | # Get Verification Flow |
30
- | [**get_web_authn_java_script**](V0alpha2Api.md#get_web_authn_java_script) | **GET** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript |
31
- | [**initialize_self_service_login_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_login_flow_for_browsers) | **GET** /self-service/login/browser | Initialize Login Flow for Browsers |
32
- | [**initialize_self_service_login_flow_without_browser**](V0alpha2Api.md#initialize_self_service_login_flow_without_browser) | **GET** /self-service/login/api | Initialize Login Flow for APIs, Services, Apps, ... |
33
- | [**initialize_self_service_recovery_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_recovery_flow_for_browsers) | **GET** /self-service/recovery/browser | Initialize Recovery Flow for Browsers |
34
- | [**initialize_self_service_recovery_flow_without_browser**](V0alpha2Api.md#initialize_self_service_recovery_flow_without_browser) | **GET** /self-service/recovery/api | Initialize Recovery Flow for APIs, Services, Apps, ... |
35
- | [**initialize_self_service_registration_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_registration_flow_for_browsers) | **GET** /self-service/registration/browser | Initialize Registration Flow for Browsers |
36
- | [**initialize_self_service_registration_flow_without_browser**](V0alpha2Api.md#initialize_self_service_registration_flow_without_browser) | **GET** /self-service/registration/api | Initialize Registration Flow for APIs, Services, Apps, ... |
37
- | [**initialize_self_service_settings_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_settings_flow_for_browsers) | **GET** /self-service/settings/browser | Initialize Settings Flow for Browsers |
38
- | [**initialize_self_service_settings_flow_without_browser**](V0alpha2Api.md#initialize_self_service_settings_flow_without_browser) | **GET** /self-service/settings/api | Initialize Settings Flow for APIs, Services, Apps, ... |
39
- | [**initialize_self_service_verification_flow_for_browsers**](V0alpha2Api.md#initialize_self_service_verification_flow_for_browsers) | **GET** /self-service/verification/browser | Initialize Verification Flow for Browser Clients |
40
- | [**initialize_self_service_verification_flow_without_browser**](V0alpha2Api.md#initialize_self_service_verification_flow_without_browser) | **GET** /self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ... |
41
- | [**list_identity_schemas**](V0alpha2Api.md#list_identity_schemas) | **GET** /schemas | |
42
- | [**list_project_api_keys**](V0alpha2Api.md#list_project_api_keys) | **GET** /projects/{project}/tokens | # List a Project's API Tokens |
43
- | [**list_projects**](V0alpha2Api.md#list_projects) | **GET** /projects | # List All Projects |
44
- | [**list_sessions**](V0alpha2Api.md#list_sessions) | **GET** /sessions | This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint. |
45
- | [**patch_project**](V0alpha2Api.md#patch_project) | **PATCH** /projects/{project_id} | Patch an Ory Cloud Project Configuration` |
46
- | [**purge_project**](V0alpha2Api.md#purge_project) | **DELETE** /projects/{project_id} | # Irrecoverably Purge a Project |
47
- | [**remove_project_member**](V0alpha2Api.md#remove_project_member) | **DELETE** /projects/{project_id}/members/{member_id} | Remove a member associated with this project. This also sets their invite status to `REMOVED`. |
48
- | [**revoke_session**](V0alpha2Api.md#revoke_session) | **DELETE** /sessions/{id} | Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted. |
49
- | [**revoke_sessions**](V0alpha2Api.md#revoke_sessions) | **DELETE** /sessions | Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted. |
50
- | [**submit_self_service_login_flow**](V0alpha2Api.md#submit_self_service_login_flow) | **POST** /self-service/login | Submit a Login Flow |
51
- | [**submit_self_service_logout_flow**](V0alpha2Api.md#submit_self_service_logout_flow) | **GET** /self-service/logout | Complete Self-Service Logout |
52
- | [**submit_self_service_logout_flow_without_browser**](V0alpha2Api.md#submit_self_service_logout_flow_without_browser) | **DELETE** /self-service/logout/api | Perform Logout for APIs, Services, Apps, ... |
53
- | [**submit_self_service_recovery_flow**](V0alpha2Api.md#submit_self_service_recovery_flow) | **POST** /self-service/recovery | Complete Recovery Flow |
54
- | [**submit_self_service_registration_flow**](V0alpha2Api.md#submit_self_service_registration_flow) | **POST** /self-service/registration | Submit a Registration Flow |
55
- | [**submit_self_service_settings_flow**](V0alpha2Api.md#submit_self_service_settings_flow) | **POST** /self-service/settings | Complete Settings Flow |
56
- | [**submit_self_service_verification_flow**](V0alpha2Api.md#submit_self_service_verification_flow) | **POST** /self-service/verification | # Complete Verification Flow |
57
- | [**to_session**](V0alpha2Api.md#to_session) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To |
58
- | [**update_project**](V0alpha2Api.md#update_project) | **PUT** /projects/{project_id} | # Update an Ory Cloud Project Configuration |
59
-
60
-
61
- ## admin_create_identity
62
-
63
- > <Identity> admin_create_identity(opts)
64
-
65
- Create an Identity
66
-
67
- This endpoint creates an identity. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
68
-
69
- ### Examples
70
-
71
- ```ruby
72
- require 'time'
73
- require 'ory-client'
74
- # setup authorization
75
- OryClient.configure do |config|
76
- # Configure Bearer authorization: oryAccessToken
77
- config.access_token = 'YOUR_BEARER_TOKEN'
78
- end
79
-
80
- api_instance = OryClient::V0alpha2Api.new
81
- opts = {
82
- admin_create_identity_body: OryClient::AdminCreateIdentityBody.new({schema_id: 'schema_id_example', traits: 3.56}) # AdminCreateIdentityBody |
83
- }
84
-
85
- begin
86
- # Create an Identity
87
- result = api_instance.admin_create_identity(opts)
88
- p result
89
- rescue OryClient::ApiError => e
90
- puts "Error when calling V0alpha2Api->admin_create_identity: #{e}"
91
- end
92
- ```
93
-
94
- #### Using the admin_create_identity_with_http_info variant
95
-
96
- This returns an Array which contains the response data, status code and headers.
97
-
98
- > <Array(<Identity>, Integer, Hash)> admin_create_identity_with_http_info(opts)
99
-
100
- ```ruby
101
- begin
102
- # Create an Identity
103
- data, status_code, headers = api_instance.admin_create_identity_with_http_info(opts)
104
- p status_code # => 2xx
105
- p headers # => { ... }
106
- p data # => <Identity>
107
- rescue OryClient::ApiError => e
108
- puts "Error when calling V0alpha2Api->admin_create_identity_with_http_info: #{e}"
109
- end
110
- ```
111
-
112
- ### Parameters
113
-
114
- | Name | Type | Description | Notes |
115
- | ---- | ---- | ----------- | ----- |
116
- | **admin_create_identity_body** | [**AdminCreateIdentityBody**](AdminCreateIdentityBody.md) | | [optional] |
117
-
118
- ### Return type
119
-
120
- [**Identity**](Identity.md)
121
-
122
- ### Authorization
123
-
124
- [oryAccessToken](../README.md#oryAccessToken)
125
-
126
- ### HTTP request headers
127
-
128
- - **Content-Type**: application/json
129
- - **Accept**: application/json
130
-
131
-
132
- ## admin_create_self_service_recovery_link
133
-
134
- > <SelfServiceRecoveryLink> admin_create_self_service_recovery_link(opts)
135
-
136
- Create a Recovery Link
137
-
138
- This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
139
-
140
- ### Examples
141
-
142
- ```ruby
143
- require 'time'
144
- require 'ory-client'
145
- # setup authorization
146
- OryClient.configure do |config|
147
- # Configure Bearer authorization: oryAccessToken
148
- config.access_token = 'YOUR_BEARER_TOKEN'
149
- end
150
-
151
- api_instance = OryClient::V0alpha2Api.new
152
- opts = {
153
- admin_create_self_service_recovery_link_body: OryClient::AdminCreateSelfServiceRecoveryLinkBody.new({identity_id: 'identity_id_example'}) # AdminCreateSelfServiceRecoveryLinkBody |
154
- }
155
-
156
- begin
157
- # Create a Recovery Link
158
- result = api_instance.admin_create_self_service_recovery_link(opts)
159
- p result
160
- rescue OryClient::ApiError => e
161
- puts "Error when calling V0alpha2Api->admin_create_self_service_recovery_link: #{e}"
162
- end
163
- ```
164
-
165
- #### Using the admin_create_self_service_recovery_link_with_http_info variant
166
-
167
- This returns an Array which contains the response data, status code and headers.
168
-
169
- > <Array(<SelfServiceRecoveryLink>, Integer, Hash)> admin_create_self_service_recovery_link_with_http_info(opts)
170
-
171
- ```ruby
172
- begin
173
- # Create a Recovery Link
174
- data, status_code, headers = api_instance.admin_create_self_service_recovery_link_with_http_info(opts)
175
- p status_code # => 2xx
176
- p headers # => { ... }
177
- p data # => <SelfServiceRecoveryLink>
178
- rescue OryClient::ApiError => e
179
- puts "Error when calling V0alpha2Api->admin_create_self_service_recovery_link_with_http_info: #{e}"
180
- end
181
- ```
182
-
183
- ### Parameters
184
-
185
- | Name | Type | Description | Notes |
186
- | ---- | ---- | ----------- | ----- |
187
- | **admin_create_self_service_recovery_link_body** | [**AdminCreateSelfServiceRecoveryLinkBody**](AdminCreateSelfServiceRecoveryLinkBody.md) | | [optional] |
188
-
189
- ### Return type
190
-
191
- [**SelfServiceRecoveryLink**](SelfServiceRecoveryLink.md)
192
-
193
- ### Authorization
194
-
195
- [oryAccessToken](../README.md#oryAccessToken)
196
-
197
- ### HTTP request headers
198
-
199
- - **Content-Type**: application/json
200
- - **Accept**: application/json
201
-
202
-
203
- ## admin_delete_identity
204
-
205
- > admin_delete_identity(id)
206
-
207
- Delete an Identity
208
-
209
- Calling this endpoint irrecoverably and permanently deletes the identity given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
210
-
211
- ### Examples
212
-
213
- ```ruby
214
- require 'time'
215
- require 'ory-client'
216
- # setup authorization
217
- OryClient.configure do |config|
218
- # Configure Bearer authorization: oryAccessToken
219
- config.access_token = 'YOUR_BEARER_TOKEN'
220
- end
221
-
222
- api_instance = OryClient::V0alpha2Api.new
223
- id = 'id_example' # String | ID is the identity's ID.
224
-
225
- begin
226
- # Delete an Identity
227
- api_instance.admin_delete_identity(id)
228
- rescue OryClient::ApiError => e
229
- puts "Error when calling V0alpha2Api->admin_delete_identity: #{e}"
230
- end
231
- ```
232
-
233
- #### Using the admin_delete_identity_with_http_info variant
234
-
235
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
236
-
237
- > <Array(nil, Integer, Hash)> admin_delete_identity_with_http_info(id)
238
-
239
- ```ruby
240
- begin
241
- # Delete an Identity
242
- data, status_code, headers = api_instance.admin_delete_identity_with_http_info(id)
243
- p status_code # => 2xx
244
- p headers # => { ... }
245
- p data # => nil
246
- rescue OryClient::ApiError => e
247
- puts "Error when calling V0alpha2Api->admin_delete_identity_with_http_info: #{e}"
248
- end
249
- ```
250
-
251
- ### Parameters
252
-
253
- | Name | Type | Description | Notes |
254
- | ---- | ---- | ----------- | ----- |
255
- | **id** | **String** | ID is the identity&#39;s ID. | |
256
-
257
- ### Return type
258
-
259
- nil (empty response body)
260
-
261
- ### Authorization
262
-
263
- [oryAccessToken](../README.md#oryAccessToken)
264
-
265
- ### HTTP request headers
266
-
267
- - **Content-Type**: Not defined
268
- - **Accept**: application/json
269
-
270
-
271
- ## admin_delete_identity_sessions
272
-
273
- > admin_delete_identity_sessions(id)
274
-
275
- Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
276
-
277
- This endpoint is useful for: To forcefully logout Identity from all devices and sessions
278
-
279
- ### Examples
280
-
281
- ```ruby
282
- require 'time'
283
- require 'ory-client'
284
- # setup authorization
285
- OryClient.configure do |config|
286
- # Configure Bearer authorization: oryAccessToken
287
- config.access_token = 'YOUR_BEARER_TOKEN'
288
- end
289
-
290
- api_instance = OryClient::V0alpha2Api.new
291
- id = 'id_example' # String | ID is the identity's ID.
292
-
293
- begin
294
- # Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
295
- api_instance.admin_delete_identity_sessions(id)
296
- rescue OryClient::ApiError => e
297
- puts "Error when calling V0alpha2Api->admin_delete_identity_sessions: #{e}"
298
- end
299
- ```
300
-
301
- #### Using the admin_delete_identity_sessions_with_http_info variant
302
-
303
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
304
-
305
- > <Array(nil, Integer, Hash)> admin_delete_identity_sessions_with_http_info(id)
306
-
307
- ```ruby
308
- begin
309
- # Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
310
- data, status_code, headers = api_instance.admin_delete_identity_sessions_with_http_info(id)
311
- p status_code # => 2xx
312
- p headers # => { ... }
313
- p data # => nil
314
- rescue OryClient::ApiError => e
315
- puts "Error when calling V0alpha2Api->admin_delete_identity_sessions_with_http_info: #{e}"
316
- end
317
- ```
318
-
319
- ### Parameters
320
-
321
- | Name | Type | Description | Notes |
322
- | ---- | ---- | ----------- | ----- |
323
- | **id** | **String** | ID is the identity&#39;s ID. | |
324
-
325
- ### Return type
326
-
327
- nil (empty response body)
328
-
329
- ### Authorization
330
-
331
- [oryAccessToken](../README.md#oryAccessToken)
332
-
333
- ### HTTP request headers
334
-
335
- - **Content-Type**: Not defined
336
- - **Accept**: application/json
337
-
338
-
339
- ## admin_extend_session
340
-
341
- > <Session> admin_extend_session(id)
342
-
343
- Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
344
-
345
- Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
346
-
347
- ### Examples
348
-
349
- ```ruby
350
- require 'time'
351
- require 'ory-client'
352
- # setup authorization
353
- OryClient.configure do |config|
354
- # Configure Bearer authorization: oryAccessToken
355
- config.access_token = 'YOUR_BEARER_TOKEN'
356
- end
357
-
358
- api_instance = OryClient::V0alpha2Api.new
359
- id = 'id_example' # String | ID is the session's ID.
360
-
361
- begin
362
- # Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
363
- result = api_instance.admin_extend_session(id)
364
- p result
365
- rescue OryClient::ApiError => e
366
- puts "Error when calling V0alpha2Api->admin_extend_session: #{e}"
367
- end
368
- ```
369
-
370
- #### Using the admin_extend_session_with_http_info variant
371
-
372
- This returns an Array which contains the response data, status code and headers.
373
-
374
- > <Array(<Session>, Integer, Hash)> admin_extend_session_with_http_info(id)
375
-
376
- ```ruby
377
- begin
378
- # Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
379
- data, status_code, headers = api_instance.admin_extend_session_with_http_info(id)
380
- p status_code # => 2xx
381
- p headers # => { ... }
382
- p data # => <Session>
383
- rescue OryClient::ApiError => e
384
- puts "Error when calling V0alpha2Api->admin_extend_session_with_http_info: #{e}"
385
- end
386
- ```
387
-
388
- ### Parameters
389
-
390
- | Name | Type | Description | Notes |
391
- | ---- | ---- | ----------- | ----- |
392
- | **id** | **String** | ID is the session&#39;s ID. | |
393
-
394
- ### Return type
395
-
396
- [**Session**](Session.md)
397
-
398
- ### Authorization
399
-
400
- [oryAccessToken](../README.md#oryAccessToken)
401
-
402
- ### HTTP request headers
403
-
404
- - **Content-Type**: Not defined
405
- - **Accept**: application/json
406
-
407
-
408
- ## admin_get_identity
409
-
410
- > <Identity> admin_get_identity(id, opts)
411
-
412
- Get an Identity
413
-
414
- Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
415
-
416
- ### Examples
417
-
418
- ```ruby
419
- require 'time'
420
- require 'ory-client'
421
- # setup authorization
422
- OryClient.configure do |config|
423
- # Configure Bearer authorization: oryAccessToken
424
- config.access_token = 'YOUR_BEARER_TOKEN'
425
- end
426
-
427
- api_instance = OryClient::V0alpha2Api.new
428
- id = 'id_example' # String | ID must be set to the ID of identity you want to get
429
- opts = {
430
- include_credential: ['inner_example'] # Array<String> | DeclassifyCredentials will declassify one or more identity's credentials Currently, only `oidc` is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token.
431
- }
432
-
433
- begin
434
- # Get an Identity
435
- result = api_instance.admin_get_identity(id, opts)
436
- p result
437
- rescue OryClient::ApiError => e
438
- puts "Error when calling V0alpha2Api->admin_get_identity: #{e}"
439
- end
440
- ```
441
-
442
- #### Using the admin_get_identity_with_http_info variant
443
-
444
- This returns an Array which contains the response data, status code and headers.
445
-
446
- > <Array(<Identity>, Integer, Hash)> admin_get_identity_with_http_info(id, opts)
447
-
448
- ```ruby
449
- begin
450
- # Get an Identity
451
- data, status_code, headers = api_instance.admin_get_identity_with_http_info(id, opts)
452
- p status_code # => 2xx
453
- p headers # => { ... }
454
- p data # => <Identity>
455
- rescue OryClient::ApiError => e
456
- puts "Error when calling V0alpha2Api->admin_get_identity_with_http_info: #{e}"
457
- end
458
- ```
459
-
460
- ### Parameters
461
-
462
- | Name | Type | Description | Notes |
463
- | ---- | ---- | ----------- | ----- |
464
- | **id** | **String** | ID must be set to the ID of identity you want to get | |
465
- | **include_credential** | [**Array&lt;String&gt;**](String.md) | DeclassifyCredentials will declassify one or more identity&#39;s credentials Currently, only &#x60;oidc&#x60; is supported. This will return the initial OAuth 2.0 Access, Refresh and (optionally) OpenID Connect ID Token. | [optional] |
466
-
467
- ### Return type
468
-
469
- [**Identity**](Identity.md)
470
-
471
- ### Authorization
472
-
473
- [oryAccessToken](../README.md#oryAccessToken)
474
-
475
- ### HTTP request headers
476
-
477
- - **Content-Type**: Not defined
478
- - **Accept**: application/json
479
-
480
-
481
- ## admin_list_identities
482
-
483
- > <Array<Identity>> admin_list_identities(opts)
484
-
485
- List Identities
486
-
487
- Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
488
-
489
- ### Examples
490
-
491
- ```ruby
492
- require 'time'
493
- require 'ory-client'
494
- # setup authorization
495
- OryClient.configure do |config|
496
- # Configure Bearer authorization: oryAccessToken
497
- config.access_token = 'YOUR_BEARER_TOKEN'
498
- end
499
-
500
- api_instance = OryClient::V0alpha2Api.new
501
- opts = {
502
- per_page: 789, # Integer | Items per Page This is the number of items per page.
503
- 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.
504
- }
505
-
506
- begin
507
- # List Identities
508
- result = api_instance.admin_list_identities(opts)
509
- p result
510
- rescue OryClient::ApiError => e
511
- puts "Error when calling V0alpha2Api->admin_list_identities: #{e}"
512
- end
513
- ```
514
-
515
- #### Using the admin_list_identities_with_http_info variant
516
-
517
- This returns an Array which contains the response data, status code and headers.
518
-
519
- > <Array(<Array<Identity>>, Integer, Hash)> admin_list_identities_with_http_info(opts)
520
-
521
- ```ruby
522
- begin
523
- # List Identities
524
- data, status_code, headers = api_instance.admin_list_identities_with_http_info(opts)
525
- p status_code # => 2xx
526
- p headers # => { ... }
527
- p data # => <Array<Identity>>
528
- rescue OryClient::ApiError => e
529
- puts "Error when calling V0alpha2Api->admin_list_identities_with_http_info: #{e}"
530
- end
531
- ```
532
-
533
- ### Parameters
534
-
535
- | Name | Type | Description | Notes |
536
- | ---- | ---- | ----------- | ----- |
537
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
538
- | **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] |
539
-
540
- ### Return type
541
-
542
- [**Array&lt;Identity&gt;**](Identity.md)
543
-
544
- ### Authorization
545
-
546
- [oryAccessToken](../README.md#oryAccessToken)
547
-
548
- ### HTTP request headers
549
-
550
- - **Content-Type**: Not defined
551
- - **Accept**: application/json
552
-
553
-
554
- ## admin_list_identity_sessions
555
-
556
- > <Array<Session>> admin_list_identity_sessions(id, opts)
557
-
558
- This endpoint returns all sessions that belong to the given Identity.
559
-
560
- This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
561
-
562
- ### Examples
563
-
564
- ```ruby
565
- require 'time'
566
- require 'ory-client'
567
- # setup authorization
568
- OryClient.configure do |config|
569
- # Configure Bearer authorization: oryAccessToken
570
- config.access_token = 'YOUR_BEARER_TOKEN'
571
- end
572
-
573
- api_instance = OryClient::V0alpha2Api.new
574
- id = 'id_example' # String | ID is the identity's ID.
575
- opts = {
576
- per_page: 789, # Integer | Items per Page This is the number of items per page.
577
- 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.
578
- active: true # Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
579
- }
580
-
581
- begin
582
- # This endpoint returns all sessions that belong to the given Identity.
583
- result = api_instance.admin_list_identity_sessions(id, opts)
584
- p result
585
- rescue OryClient::ApiError => e
586
- puts "Error when calling V0alpha2Api->admin_list_identity_sessions: #{e}"
587
- end
588
- ```
589
-
590
- #### Using the admin_list_identity_sessions_with_http_info variant
591
-
592
- This returns an Array which contains the response data, status code and headers.
593
-
594
- > <Array(<Array<Session>>, Integer, Hash)> admin_list_identity_sessions_with_http_info(id, opts)
595
-
596
- ```ruby
597
- begin
598
- # This endpoint returns all sessions that belong to the given Identity.
599
- data, status_code, headers = api_instance.admin_list_identity_sessions_with_http_info(id, opts)
600
- p status_code # => 2xx
601
- p headers # => { ... }
602
- p data # => <Array<Session>>
603
- rescue OryClient::ApiError => e
604
- puts "Error when calling V0alpha2Api->admin_list_identity_sessions_with_http_info: #{e}"
605
- end
606
- ```
607
-
608
- ### Parameters
609
-
610
- | Name | Type | Description | Notes |
611
- | ---- | ---- | ----------- | ----- |
612
- | **id** | **String** | ID is the identity&#39;s ID. | |
613
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
614
- | **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] |
615
- | **active** | **Boolean** | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. | [optional] |
616
-
617
- ### Return type
618
-
619
- [**Array&lt;Session&gt;**](Session.md)
620
-
621
- ### Authorization
622
-
623
- [oryAccessToken](../README.md#oryAccessToken)
624
-
625
- ### HTTP request headers
626
-
627
- - **Content-Type**: Not defined
628
- - **Accept**: application/json
629
-
630
-
631
- ## admin_patch_identity
632
-
633
- > <Identity> admin_patch_identity(id, opts)
634
-
635
- Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
636
-
637
- NOTE: The fields `id`, `stateChangedAt` and `credentials` are not updateable. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
638
-
639
- ### Examples
640
-
641
- ```ruby
642
- require 'time'
643
- require 'ory-client'
644
- # setup authorization
645
- OryClient.configure do |config|
646
- # Configure Bearer authorization: oryAccessToken
647
- config.access_token = 'YOUR_BEARER_TOKEN'
648
- end
649
-
650
- api_instance = OryClient::V0alpha2Api.new
651
- id = 'id_example' # String | ID must be set to the ID of identity you want to update
652
- opts = {
653
- json_patch: [OryClient::JsonPatch.new({op: 'add', path: '/services/identity/config/smtp/from_name'})] # Array<JsonPatch> |
654
- }
655
-
656
- begin
657
- # Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
658
- result = api_instance.admin_patch_identity(id, opts)
659
- p result
660
- rescue OryClient::ApiError => e
661
- puts "Error when calling V0alpha2Api->admin_patch_identity: #{e}"
662
- end
663
- ```
664
-
665
- #### Using the admin_patch_identity_with_http_info variant
666
-
667
- This returns an Array which contains the response data, status code and headers.
668
-
669
- > <Array(<Identity>, Integer, Hash)> admin_patch_identity_with_http_info(id, opts)
670
-
671
- ```ruby
672
- begin
673
- # Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
674
- data, status_code, headers = api_instance.admin_patch_identity_with_http_info(id, opts)
675
- p status_code # => 2xx
676
- p headers # => { ... }
677
- p data # => <Identity>
678
- rescue OryClient::ApiError => e
679
- puts "Error when calling V0alpha2Api->admin_patch_identity_with_http_info: #{e}"
680
- end
681
- ```
682
-
683
- ### Parameters
684
-
685
- | Name | Type | Description | Notes |
686
- | ---- | ---- | ----------- | ----- |
687
- | **id** | **String** | ID must be set to the ID of identity you want to update | |
688
- | **json_patch** | [**Array&lt;JsonPatch&gt;**](JsonPatch.md) | | [optional] |
689
-
690
- ### Return type
691
-
692
- [**Identity**](Identity.md)
693
-
694
- ### Authorization
695
-
696
- [oryAccessToken](../README.md#oryAccessToken)
697
-
698
- ### HTTP request headers
699
-
700
- - **Content-Type**: application/json
701
- - **Accept**: application/json
702
-
703
-
704
- ## admin_update_identity
705
-
706
- > <Identity> admin_update_identity(id, opts)
707
-
708
- Update an Identity
709
-
710
- This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
711
-
712
- ### Examples
713
-
714
- ```ruby
715
- require 'time'
716
- require 'ory-client'
717
- # setup authorization
718
- OryClient.configure do |config|
719
- # Configure Bearer authorization: oryAccessToken
720
- config.access_token = 'YOUR_BEARER_TOKEN'
721
- end
722
-
723
- api_instance = OryClient::V0alpha2Api.new
724
- id = 'id_example' # String | ID must be set to the ID of identity you want to update
725
- opts = {
726
- admin_update_identity_body: OryClient::AdminUpdateIdentityBody.new({schema_id: 'schema_id_example', state: OryClient::IdentityState::ACTIVE, traits: 3.56}) # AdminUpdateIdentityBody |
727
- }
728
-
729
- begin
730
- # Update an Identity
731
- result = api_instance.admin_update_identity(id, opts)
732
- p result
733
- rescue OryClient::ApiError => e
734
- puts "Error when calling V0alpha2Api->admin_update_identity: #{e}"
735
- end
736
- ```
737
-
738
- #### Using the admin_update_identity_with_http_info variant
739
-
740
- This returns an Array which contains the response data, status code and headers.
741
-
742
- > <Array(<Identity>, Integer, Hash)> admin_update_identity_with_http_info(id, opts)
743
-
744
- ```ruby
745
- begin
746
- # Update an Identity
747
- data, status_code, headers = api_instance.admin_update_identity_with_http_info(id, opts)
748
- p status_code # => 2xx
749
- p headers # => { ... }
750
- p data # => <Identity>
751
- rescue OryClient::ApiError => e
752
- puts "Error when calling V0alpha2Api->admin_update_identity_with_http_info: #{e}"
753
- end
754
- ```
755
-
756
- ### Parameters
757
-
758
- | Name | Type | Description | Notes |
759
- | ---- | ---- | ----------- | ----- |
760
- | **id** | **String** | ID must be set to the ID of identity you want to update | |
761
- | **admin_update_identity_body** | [**AdminUpdateIdentityBody**](AdminUpdateIdentityBody.md) | | [optional] |
762
-
763
- ### Return type
764
-
765
- [**Identity**](Identity.md)
766
-
767
- ### Authorization
768
-
769
- [oryAccessToken](../README.md#oryAccessToken)
770
-
771
- ### HTTP request headers
772
-
773
- - **Content-Type**: application/json
774
- - **Accept**: application/json
775
-
776
-
777
- ## create_project
778
-
779
- > <Project> create_project(opts)
780
-
781
- # Create a Project
782
-
783
- Creates a new project.
784
-
785
- ### Examples
786
-
787
- ```ruby
788
- require 'time'
789
- require 'ory-client'
790
- # setup authorization
791
- OryClient.configure do |config|
792
- # Configure Bearer authorization: oryAccessToken
793
- config.access_token = 'YOUR_BEARER_TOKEN'
794
- end
795
-
796
- api_instance = OryClient::V0alpha2Api.new
797
- opts = {
798
- create_project_body: OryClient::CreateProjectBody.new({name: 'name_example'}) # CreateProjectBody |
799
- }
800
-
801
- begin
802
- # # Create a Project
803
- result = api_instance.create_project(opts)
804
- p result
805
- rescue OryClient::ApiError => e
806
- puts "Error when calling V0alpha2Api->create_project: #{e}"
807
- end
808
- ```
809
-
810
- #### Using the create_project_with_http_info variant
811
-
812
- This returns an Array which contains the response data, status code and headers.
813
-
814
- > <Array(<Project>, Integer, Hash)> create_project_with_http_info(opts)
815
-
816
- ```ruby
817
- begin
818
- # # Create a Project
819
- data, status_code, headers = api_instance.create_project_with_http_info(opts)
820
- p status_code # => 2xx
821
- p headers # => { ... }
822
- p data # => <Project>
823
- rescue OryClient::ApiError => e
824
- puts "Error when calling V0alpha2Api->create_project_with_http_info: #{e}"
825
- end
826
- ```
827
-
828
- ### Parameters
829
-
830
- | Name | Type | Description | Notes |
831
- | ---- | ---- | ----------- | ----- |
832
- | **create_project_body** | [**CreateProjectBody**](CreateProjectBody.md) | | [optional] |
833
-
834
- ### Return type
835
-
836
- [**Project**](Project.md)
837
-
838
- ### Authorization
839
-
840
- [oryAccessToken](../README.md#oryAccessToken)
841
-
842
- ### HTTP request headers
843
-
844
- - **Content-Type**: application/json
845
- - **Accept**: application/json
846
-
847
-
848
- ## create_project_api_key
849
-
850
- > <ProjectApiKey> create_project_api_key(project, opts)
851
-
852
- # Create API Token
853
-
854
- Create an API token for a project.
855
-
856
- ### Examples
857
-
858
- ```ruby
859
- require 'time'
860
- require 'ory-client'
861
- # setup authorization
862
- OryClient.configure do |config|
863
- # Configure Bearer authorization: oryAccessToken
864
- config.access_token = 'YOUR_BEARER_TOKEN'
865
- end
866
-
867
- api_instance = OryClient::V0alpha2Api.new
868
- project = 'project_example' # String | The Project ID or Project slug
869
- opts = {
870
- create_project_api_key_request: OryClient::CreateProjectApiKeyRequest.new({name: 'name_example'}) # CreateProjectApiKeyRequest |
871
- }
872
-
873
- begin
874
- # # Create API Token
875
- result = api_instance.create_project_api_key(project, opts)
876
- p result
877
- rescue OryClient::ApiError => e
878
- puts "Error when calling V0alpha2Api->create_project_api_key: #{e}"
879
- end
880
- ```
881
-
882
- #### Using the create_project_api_key_with_http_info variant
883
-
884
- This returns an Array which contains the response data, status code and headers.
885
-
886
- > <Array(<ProjectApiKey>, Integer, Hash)> create_project_api_key_with_http_info(project, opts)
887
-
888
- ```ruby
889
- begin
890
- # # Create API Token
891
- data, status_code, headers = api_instance.create_project_api_key_with_http_info(project, opts)
892
- p status_code # => 2xx
893
- p headers # => { ... }
894
- p data # => <ProjectApiKey>
895
- rescue OryClient::ApiError => e
896
- puts "Error when calling V0alpha2Api->create_project_api_key_with_http_info: #{e}"
897
- end
898
- ```
899
-
900
- ### Parameters
901
-
902
- | Name | Type | Description | Notes |
903
- | ---- | ---- | ----------- | ----- |
904
- | **project** | **String** | The Project ID or Project slug | |
905
- | **create_project_api_key_request** | [**CreateProjectApiKeyRequest**](CreateProjectApiKeyRequest.md) | | [optional] |
906
-
907
- ### Return type
908
-
909
- [**ProjectApiKey**](ProjectApiKey.md)
910
-
911
- ### Authorization
912
-
913
- [oryAccessToken](../README.md#oryAccessToken)
914
-
915
- ### HTTP request headers
916
-
917
- - **Content-Type**: application/json
918
- - **Accept**: application/json
919
-
920
-
921
- ## create_self_service_logout_flow_url_for_browsers
922
-
923
- > <SelfServiceLogoutUrl> create_self_service_logout_flow_url_for_browsers(opts)
924
-
925
- Create a Logout URL for Browsers
926
-
927
- 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.
928
-
929
- ### Examples
930
-
931
- ```ruby
932
- require 'time'
933
- require 'ory-client'
934
-
935
- api_instance = OryClient::V0alpha2Api.new
936
- opts = {
937
- cookie: 'cookie_example' # String | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
938
- }
939
-
940
- begin
941
- # Create a Logout URL for Browsers
942
- result = api_instance.create_self_service_logout_flow_url_for_browsers(opts)
943
- p result
944
- rescue OryClient::ApiError => e
945
- puts "Error when calling V0alpha2Api->create_self_service_logout_flow_url_for_browsers: #{e}"
946
- end
947
- ```
948
-
949
- #### Using the create_self_service_logout_flow_url_for_browsers_with_http_info variant
950
-
951
- This returns an Array which contains the response data, status code and headers.
952
-
953
- > <Array(<SelfServiceLogoutUrl>, Integer, Hash)> create_self_service_logout_flow_url_for_browsers_with_http_info(opts)
954
-
955
- ```ruby
956
- begin
957
- # Create a Logout URL for Browsers
958
- data, status_code, headers = api_instance.create_self_service_logout_flow_url_for_browsers_with_http_info(opts)
959
- p status_code # => 2xx
960
- p headers # => { ... }
961
- p data # => <SelfServiceLogoutUrl>
962
- rescue OryClient::ApiError => e
963
- puts "Error when calling V0alpha2Api->create_self_service_logout_flow_url_for_browsers_with_http_info: #{e}"
964
- end
965
- ```
966
-
967
- ### Parameters
968
-
969
- | Name | Type | Description | Notes |
970
- | ---- | ---- | ----------- | ----- |
971
- | **cookie** | **String** | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. | [optional] |
972
-
973
- ### Return type
974
-
975
- [**SelfServiceLogoutUrl**](SelfServiceLogoutUrl.md)
976
-
977
- ### Authorization
978
-
979
- No authorization required
980
-
981
- ### HTTP request headers
982
-
983
- - **Content-Type**: Not defined
984
- - **Accept**: application/json
985
-
986
-
987
- ## delete_project_api_key
988
-
989
- > delete_project_api_key(project, token_id)
990
-
991
- # Delete API Token
992
-
993
- Deletes an API Token and immediately removes it.
994
-
995
- ### Examples
996
-
997
- ```ruby
998
- require 'time'
999
- require 'ory-client'
1000
- # setup authorization
1001
- OryClient.configure do |config|
1002
- # Configure Bearer authorization: oryAccessToken
1003
- config.access_token = 'YOUR_BEARER_TOKEN'
1004
- end
1005
-
1006
- api_instance = OryClient::V0alpha2Api.new
1007
- project = 'project_example' # String | The Project ID or Project slug
1008
- token_id = 'token_id_example' # String | The Token ID
1009
-
1010
- begin
1011
- # # Delete API Token
1012
- api_instance.delete_project_api_key(project, token_id)
1013
- rescue OryClient::ApiError => e
1014
- puts "Error when calling V0alpha2Api->delete_project_api_key: #{e}"
1015
- end
1016
- ```
1017
-
1018
- #### Using the delete_project_api_key_with_http_info variant
1019
-
1020
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1021
-
1022
- > <Array(nil, Integer, Hash)> delete_project_api_key_with_http_info(project, token_id)
1023
-
1024
- ```ruby
1025
- begin
1026
- # # Delete API Token
1027
- data, status_code, headers = api_instance.delete_project_api_key_with_http_info(project, token_id)
1028
- p status_code # => 2xx
1029
- p headers # => { ... }
1030
- p data # => nil
1031
- rescue OryClient::ApiError => e
1032
- puts "Error when calling V0alpha2Api->delete_project_api_key_with_http_info: #{e}"
1033
- end
1034
- ```
1035
-
1036
- ### Parameters
1037
-
1038
- | Name | Type | Description | Notes |
1039
- | ---- | ---- | ----------- | ----- |
1040
- | **project** | **String** | The Project ID or Project slug | |
1041
- | **token_id** | **String** | The Token ID | |
1042
-
1043
- ### Return type
1044
-
1045
- nil (empty response body)
1046
-
1047
- ### Authorization
1048
-
1049
- [oryAccessToken](../README.md#oryAccessToken)
1050
-
1051
- ### HTTP request headers
1052
-
1053
- - **Content-Type**: Not defined
1054
- - **Accept**: application/json
1055
-
1056
-
1057
- ## get_identity_schema
1058
-
1059
- > Object get_identity_schema(id)
1060
-
1061
-
1062
-
1063
- Get a JSON Schema
1064
-
1065
- ### Examples
1066
-
1067
- ```ruby
1068
- require 'time'
1069
- require 'ory-client'
1070
-
1071
- api_instance = OryClient::V0alpha2Api.new
1072
- id = 'id_example' # String | ID must be set to the ID of schema you want to get
1073
-
1074
- begin
1075
-
1076
- result = api_instance.get_identity_schema(id)
1077
- p result
1078
- rescue OryClient::ApiError => e
1079
- puts "Error when calling V0alpha2Api->get_identity_schema: #{e}"
1080
- end
1081
- ```
1082
-
1083
- #### Using the get_identity_schema_with_http_info variant
1084
-
1085
- This returns an Array which contains the response data, status code and headers.
1086
-
1087
- > <Array(Object, Integer, Hash)> get_identity_schema_with_http_info(id)
1088
-
1089
- ```ruby
1090
- begin
1091
-
1092
- data, status_code, headers = api_instance.get_identity_schema_with_http_info(id)
1093
- p status_code # => 2xx
1094
- p headers # => { ... }
1095
- p data # => Object
1096
- rescue OryClient::ApiError => e
1097
- puts "Error when calling V0alpha2Api->get_identity_schema_with_http_info: #{e}"
1098
- end
1099
- ```
1100
-
1101
- ### Parameters
1102
-
1103
- | Name | Type | Description | Notes |
1104
- | ---- | ---- | ----------- | ----- |
1105
- | **id** | **String** | ID must be set to the ID of schema you want to get | |
1106
-
1107
- ### Return type
1108
-
1109
- **Object**
1110
-
1111
- ### Authorization
1112
-
1113
- No authorization required
1114
-
1115
- ### HTTP request headers
1116
-
1117
- - **Content-Type**: Not defined
1118
- - **Accept**: application/json
1119
-
1120
-
1121
- ## get_project
1122
-
1123
- > <Project> get_project(project_id)
1124
-
1125
- # Get a Project
1126
-
1127
- Get a projects you have access to by its ID.
1128
-
1129
- ### Examples
1130
-
1131
- ```ruby
1132
- require 'time'
1133
- require 'ory-client'
1134
- # setup authorization
1135
- OryClient.configure do |config|
1136
- # Configure Bearer authorization: oryAccessToken
1137
- config.access_token = 'YOUR_BEARER_TOKEN'
1138
- end
1139
-
1140
- api_instance = OryClient::V0alpha2Api.new
1141
- project_id = 'project_id_example' # String | Project ID The project's ID.
1142
-
1143
- begin
1144
- # # Get a Project
1145
- result = api_instance.get_project(project_id)
1146
- p result
1147
- rescue OryClient::ApiError => e
1148
- puts "Error when calling V0alpha2Api->get_project: #{e}"
1149
- end
1150
- ```
1151
-
1152
- #### Using the get_project_with_http_info variant
1153
-
1154
- This returns an Array which contains the response data, status code and headers.
1155
-
1156
- > <Array(<Project>, Integer, Hash)> get_project_with_http_info(project_id)
1157
-
1158
- ```ruby
1159
- begin
1160
- # # Get a Project
1161
- data, status_code, headers = api_instance.get_project_with_http_info(project_id)
1162
- p status_code # => 2xx
1163
- p headers # => { ... }
1164
- p data # => <Project>
1165
- rescue OryClient::ApiError => e
1166
- puts "Error when calling V0alpha2Api->get_project_with_http_info: #{e}"
1167
- end
1168
- ```
1169
-
1170
- ### Parameters
1171
-
1172
- | Name | Type | Description | Notes |
1173
- | ---- | ---- | ----------- | ----- |
1174
- | **project_id** | **String** | Project ID The project&#39;s ID. | |
1175
-
1176
- ### Return type
1177
-
1178
- [**Project**](Project.md)
1179
-
1180
- ### Authorization
1181
-
1182
- [oryAccessToken](../README.md#oryAccessToken)
1183
-
1184
- ### HTTP request headers
1185
-
1186
- - **Content-Type**: Not defined
1187
- - **Accept**: application/json
1188
-
1189
-
1190
- ## get_project_members
1191
-
1192
- > <Array<CloudAccount>> get_project_members(project_id)
1193
-
1194
- Get all members associated with this project.
1195
-
1196
- This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
1197
-
1198
- ### Examples
1199
-
1200
- ```ruby
1201
- require 'time'
1202
- require 'ory-client'
1203
- # setup authorization
1204
- OryClient.configure do |config|
1205
- # Configure Bearer authorization: oryAccessToken
1206
- config.access_token = 'YOUR_BEARER_TOKEN'
1207
- end
1208
-
1209
- api_instance = OryClient::V0alpha2Api.new
1210
- project_id = 'project_id_example' # String | Project ID The project's ID.
1211
-
1212
- begin
1213
- # Get all members associated with this project.
1214
- result = api_instance.get_project_members(project_id)
1215
- p result
1216
- rescue OryClient::ApiError => e
1217
- puts "Error when calling V0alpha2Api->get_project_members: #{e}"
1218
- end
1219
- ```
1220
-
1221
- #### Using the get_project_members_with_http_info variant
1222
-
1223
- This returns an Array which contains the response data, status code and headers.
1224
-
1225
- > <Array(<Array<CloudAccount>>, Integer, Hash)> get_project_members_with_http_info(project_id)
1226
-
1227
- ```ruby
1228
- begin
1229
- # Get all members associated with this project.
1230
- data, status_code, headers = api_instance.get_project_members_with_http_info(project_id)
1231
- p status_code # => 2xx
1232
- p headers # => { ... }
1233
- p data # => <Array<CloudAccount>>
1234
- rescue OryClient::ApiError => e
1235
- puts "Error when calling V0alpha2Api->get_project_members_with_http_info: #{e}"
1236
- end
1237
- ```
1238
-
1239
- ### Parameters
1240
-
1241
- | Name | Type | Description | Notes |
1242
- | ---- | ---- | ----------- | ----- |
1243
- | **project_id** | **String** | Project ID The project&#39;s ID. | |
1244
-
1245
- ### Return type
1246
-
1247
- [**Array&lt;CloudAccount&gt;**](CloudAccount.md)
1248
-
1249
- ### Authorization
1250
-
1251
- [oryAccessToken](../README.md#oryAccessToken)
1252
-
1253
- ### HTTP request headers
1254
-
1255
- - **Content-Type**: Not defined
1256
- - **Accept**: application/json
1257
-
1258
-
1259
- ## get_self_service_error
1260
-
1261
- > <SelfServiceError> get_self_service_error(id)
1262
-
1263
- Get Self-Service Errors
1264
-
1265
- 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).
1266
-
1267
- ### Examples
1268
-
1269
- ```ruby
1270
- require 'time'
1271
- require 'ory-client'
1272
-
1273
- api_instance = OryClient::V0alpha2Api.new
1274
- id = 'id_example' # String | Error is the error's ID
1275
-
1276
- begin
1277
- # Get Self-Service Errors
1278
- result = api_instance.get_self_service_error(id)
1279
- p result
1280
- rescue OryClient::ApiError => e
1281
- puts "Error when calling V0alpha2Api->get_self_service_error: #{e}"
1282
- end
1283
- ```
1284
-
1285
- #### Using the get_self_service_error_with_http_info variant
1286
-
1287
- This returns an Array which contains the response data, status code and headers.
1288
-
1289
- > <Array(<SelfServiceError>, Integer, Hash)> get_self_service_error_with_http_info(id)
1290
-
1291
- ```ruby
1292
- begin
1293
- # Get Self-Service Errors
1294
- data, status_code, headers = api_instance.get_self_service_error_with_http_info(id)
1295
- p status_code # => 2xx
1296
- p headers # => { ... }
1297
- p data # => <SelfServiceError>
1298
- rescue OryClient::ApiError => e
1299
- puts "Error when calling V0alpha2Api->get_self_service_error_with_http_info: #{e}"
1300
- end
1301
- ```
1302
-
1303
- ### Parameters
1304
-
1305
- | Name | Type | Description | Notes |
1306
- | ---- | ---- | ----------- | ----- |
1307
- | **id** | **String** | Error is the error&#39;s ID | |
1308
-
1309
- ### Return type
1310
-
1311
- [**SelfServiceError**](SelfServiceError.md)
1312
-
1313
- ### Authorization
1314
-
1315
- No authorization required
1316
-
1317
- ### HTTP request headers
1318
-
1319
- - **Content-Type**: Not defined
1320
- - **Accept**: application/json
1321
-
1322
-
1323
- ## get_self_service_login_flow
1324
-
1325
- > <SelfServiceLoginFlow> get_self_service_login_flow(id, opts)
1326
-
1327
- Get Login Flow
1328
-
1329
- This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1330
-
1331
- ### Examples
1332
-
1333
- ```ruby
1334
- require 'time'
1335
- require 'ory-client'
1336
-
1337
- api_instance = OryClient::V0alpha2Api.new
1338
- 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`).
1339
- opts = {
1340
- 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.
1341
- }
1342
-
1343
- begin
1344
- # Get Login Flow
1345
- result = api_instance.get_self_service_login_flow(id, opts)
1346
- p result
1347
- rescue OryClient::ApiError => e
1348
- puts "Error when calling V0alpha2Api->get_self_service_login_flow: #{e}"
1349
- end
1350
- ```
1351
-
1352
- #### Using the get_self_service_login_flow_with_http_info variant
1353
-
1354
- This returns an Array which contains the response data, status code and headers.
1355
-
1356
- > <Array(<SelfServiceLoginFlow>, Integer, Hash)> get_self_service_login_flow_with_http_info(id, opts)
1357
-
1358
- ```ruby
1359
- begin
1360
- # Get Login Flow
1361
- data, status_code, headers = api_instance.get_self_service_login_flow_with_http_info(id, opts)
1362
- p status_code # => 2xx
1363
- p headers # => { ... }
1364
- p data # => <SelfServiceLoginFlow>
1365
- rescue OryClient::ApiError => e
1366
- puts "Error when calling V0alpha2Api->get_self_service_login_flow_with_http_info: #{e}"
1367
- end
1368
- ```
1369
-
1370
- ### Parameters
1371
-
1372
- | Name | Type | Description | Notes |
1373
- | ---- | ---- | ----------- | ----- |
1374
- | **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;). | |
1375
- | **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] |
1376
-
1377
- ### Return type
1378
-
1379
- [**SelfServiceLoginFlow**](SelfServiceLoginFlow.md)
1380
-
1381
- ### Authorization
1382
-
1383
- No authorization required
1384
-
1385
- ### HTTP request headers
1386
-
1387
- - **Content-Type**: Not defined
1388
- - **Accept**: application/json
1389
-
1390
-
1391
- ## get_self_service_recovery_flow
1392
-
1393
- > <SelfServiceRecoveryFlow> get_self_service_recovery_flow(id, opts)
1394
-
1395
- Get Recovery Flow
1396
-
1397
- This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
1398
-
1399
- ### Examples
1400
-
1401
- ```ruby
1402
- require 'time'
1403
- require 'ory-client'
1404
-
1405
- api_instance = OryClient::V0alpha2Api.new
1406
- 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`).
1407
- opts = {
1408
- 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.
1409
- }
1410
-
1411
- begin
1412
- # Get Recovery Flow
1413
- result = api_instance.get_self_service_recovery_flow(id, opts)
1414
- p result
1415
- rescue OryClient::ApiError => e
1416
- puts "Error when calling V0alpha2Api->get_self_service_recovery_flow: #{e}"
1417
- end
1418
- ```
1419
-
1420
- #### Using the get_self_service_recovery_flow_with_http_info variant
1421
-
1422
- This returns an Array which contains the response data, status code and headers.
1423
-
1424
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> get_self_service_recovery_flow_with_http_info(id, opts)
1425
-
1426
- ```ruby
1427
- begin
1428
- # Get Recovery Flow
1429
- data, status_code, headers = api_instance.get_self_service_recovery_flow_with_http_info(id, opts)
1430
- p status_code # => 2xx
1431
- p headers # => { ... }
1432
- p data # => <SelfServiceRecoveryFlow>
1433
- rescue OryClient::ApiError => e
1434
- puts "Error when calling V0alpha2Api->get_self_service_recovery_flow_with_http_info: #{e}"
1435
- end
1436
- ```
1437
-
1438
- ### Parameters
1439
-
1440
- | Name | Type | Description | Notes |
1441
- | ---- | ---- | ----------- | ----- |
1442
- | **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;). | |
1443
- | **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] |
1444
-
1445
- ### Return type
1446
-
1447
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
1448
-
1449
- ### Authorization
1450
-
1451
- No authorization required
1452
-
1453
- ### HTTP request headers
1454
-
1455
- - **Content-Type**: Not defined
1456
- - **Accept**: application/json
1457
-
1458
-
1459
- ## get_self_service_registration_flow
1460
-
1461
- > <SelfServiceRegistrationFlow> get_self_service_registration_flow(id, opts)
1462
-
1463
- Get Registration Flow
1464
-
1465
- This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1466
-
1467
- ### Examples
1468
-
1469
- ```ruby
1470
- require 'time'
1471
- require 'ory-client'
1472
-
1473
- api_instance = OryClient::V0alpha2Api.new
1474
- 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`).
1475
- opts = {
1476
- 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.
1477
- }
1478
-
1479
- begin
1480
- # Get Registration Flow
1481
- result = api_instance.get_self_service_registration_flow(id, opts)
1482
- p result
1483
- rescue OryClient::ApiError => e
1484
- puts "Error when calling V0alpha2Api->get_self_service_registration_flow: #{e}"
1485
- end
1486
- ```
1487
-
1488
- #### Using the get_self_service_registration_flow_with_http_info variant
1489
-
1490
- This returns an Array which contains the response data, status code and headers.
1491
-
1492
- > <Array(<SelfServiceRegistrationFlow>, Integer, Hash)> get_self_service_registration_flow_with_http_info(id, opts)
1493
-
1494
- ```ruby
1495
- begin
1496
- # Get Registration Flow
1497
- data, status_code, headers = api_instance.get_self_service_registration_flow_with_http_info(id, opts)
1498
- p status_code # => 2xx
1499
- p headers # => { ... }
1500
- p data # => <SelfServiceRegistrationFlow>
1501
- rescue OryClient::ApiError => e
1502
- puts "Error when calling V0alpha2Api->get_self_service_registration_flow_with_http_info: #{e}"
1503
- end
1504
- ```
1505
-
1506
- ### Parameters
1507
-
1508
- | Name | Type | Description | Notes |
1509
- | ---- | ---- | ----------- | ----- |
1510
- | **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;). | |
1511
- | **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] |
1512
-
1513
- ### Return type
1514
-
1515
- [**SelfServiceRegistrationFlow**](SelfServiceRegistrationFlow.md)
1516
-
1517
- ### Authorization
1518
-
1519
- No authorization required
1520
-
1521
- ### HTTP request headers
1522
-
1523
- - **Content-Type**: Not defined
1524
- - **Accept**: application/json
1525
-
1526
-
1527
- ## get_self_service_settings_flow
1528
-
1529
- > <SelfServiceSettingsFlow> get_self_service_settings_flow(id, opts)
1530
-
1531
- Get Settings Flow
1532
-
1533
- 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).
1534
-
1535
- ### Examples
1536
-
1537
- ```ruby
1538
- require 'time'
1539
- require 'ory-client'
1540
-
1541
- api_instance = OryClient::V0alpha2Api.new
1542
- 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`).
1543
- opts = {
1544
- 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.
1545
- 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.
1546
- }
1547
-
1548
- begin
1549
- # Get Settings Flow
1550
- result = api_instance.get_self_service_settings_flow(id, opts)
1551
- p result
1552
- rescue OryClient::ApiError => e
1553
- puts "Error when calling V0alpha2Api->get_self_service_settings_flow: #{e}"
1554
- end
1555
- ```
1556
-
1557
- #### Using the get_self_service_settings_flow_with_http_info variant
1558
-
1559
- This returns an Array which contains the response data, status code and headers.
1560
-
1561
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> get_self_service_settings_flow_with_http_info(id, opts)
1562
-
1563
- ```ruby
1564
- begin
1565
- # Get Settings Flow
1566
- data, status_code, headers = api_instance.get_self_service_settings_flow_with_http_info(id, opts)
1567
- p status_code # => 2xx
1568
- p headers # => { ... }
1569
- p data # => <SelfServiceSettingsFlow>
1570
- rescue OryClient::ApiError => e
1571
- puts "Error when calling V0alpha2Api->get_self_service_settings_flow_with_http_info: #{e}"
1572
- end
1573
- ```
1574
-
1575
- ### Parameters
1576
-
1577
- | Name | Type | Description | Notes |
1578
- | ---- | ---- | ----------- | ----- |
1579
- | **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;). | |
1580
- | **x_session_token** | **String** | The Session Token When using the SDK in an app without a browser, please include the session token here. | [optional] |
1581
- | **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] |
1582
-
1583
- ### Return type
1584
-
1585
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
1586
-
1587
- ### Authorization
1588
-
1589
- No authorization required
1590
-
1591
- ### HTTP request headers
1592
-
1593
- - **Content-Type**: Not defined
1594
- - **Accept**: application/json
1595
-
1596
-
1597
- ## get_self_service_verification_flow
1598
-
1599
- > <SelfServiceVerificationFlow> get_self_service_verification_flow(id, opts)
1600
-
1601
- # Get Verification Flow
1602
-
1603
- This endpoint returns a verification flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceVerificationFlow(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
1604
-
1605
- ### Examples
1606
-
1607
- ```ruby
1608
- require 'time'
1609
- require 'ory-client'
1610
-
1611
- api_instance = OryClient::V0alpha2Api.new
1612
- 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`).
1613
- opts = {
1614
- 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.
1615
- }
1616
-
1617
- begin
1618
- # # Get Verification Flow
1619
- result = api_instance.get_self_service_verification_flow(id, opts)
1620
- p result
1621
- rescue OryClient::ApiError => e
1622
- puts "Error when calling V0alpha2Api->get_self_service_verification_flow: #{e}"
1623
- end
1624
- ```
1625
-
1626
- #### Using the get_self_service_verification_flow_with_http_info variant
1627
-
1628
- This returns an Array which contains the response data, status code and headers.
1629
-
1630
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> get_self_service_verification_flow_with_http_info(id, opts)
1631
-
1632
- ```ruby
1633
- begin
1634
- # # Get Verification Flow
1635
- data, status_code, headers = api_instance.get_self_service_verification_flow_with_http_info(id, opts)
1636
- p status_code # => 2xx
1637
- p headers # => { ... }
1638
- p data # => <SelfServiceVerificationFlow>
1639
- rescue OryClient::ApiError => e
1640
- puts "Error when calling V0alpha2Api->get_self_service_verification_flow_with_http_info: #{e}"
1641
- end
1642
- ```
1643
-
1644
- ### Parameters
1645
-
1646
- | Name | Type | Description | Notes |
1647
- | ---- | ---- | ----------- | ----- |
1648
- | **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;). | |
1649
- | **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] |
1650
-
1651
- ### Return type
1652
-
1653
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
1654
-
1655
- ### Authorization
1656
-
1657
- No authorization required
1658
-
1659
- ### HTTP request headers
1660
-
1661
- - **Content-Type**: Not defined
1662
- - **Accept**: application/json
1663
-
1664
-
1665
- ## get_web_authn_java_script
1666
-
1667
- > String get_web_authn_java_script
1668
-
1669
- Get WebAuthn JavaScript
1670
-
1671
- 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).
1672
-
1673
- ### Examples
1674
-
1675
- ```ruby
1676
- require 'time'
1677
- require 'ory-client'
1678
-
1679
- api_instance = OryClient::V0alpha2Api.new
1680
-
1681
- begin
1682
- # Get WebAuthn JavaScript
1683
- result = api_instance.get_web_authn_java_script
1684
- p result
1685
- rescue OryClient::ApiError => e
1686
- puts "Error when calling V0alpha2Api->get_web_authn_java_script: #{e}"
1687
- end
1688
- ```
1689
-
1690
- #### Using the get_web_authn_java_script_with_http_info variant
1691
-
1692
- This returns an Array which contains the response data, status code and headers.
1693
-
1694
- > <Array(String, Integer, Hash)> get_web_authn_java_script_with_http_info
1695
-
1696
- ```ruby
1697
- begin
1698
- # Get WebAuthn JavaScript
1699
- data, status_code, headers = api_instance.get_web_authn_java_script_with_http_info
1700
- p status_code # => 2xx
1701
- p headers # => { ... }
1702
- p data # => String
1703
- rescue OryClient::ApiError => e
1704
- puts "Error when calling V0alpha2Api->get_web_authn_java_script_with_http_info: #{e}"
1705
- end
1706
- ```
1707
-
1708
- ### Parameters
1709
-
1710
- This endpoint does not need any parameter.
1711
-
1712
- ### Return type
1713
-
1714
- **String**
1715
-
1716
- ### Authorization
1717
-
1718
- No authorization required
1719
-
1720
- ### HTTP request headers
1721
-
1722
- - **Content-Type**: Not defined
1723
- - **Accept**: application/json
1724
-
1725
-
1726
- ## initialize_self_service_login_flow_for_browsers
1727
-
1728
- > <SelfServiceLoginFlow> initialize_self_service_login_flow_for_browsers(opts)
1729
-
1730
- Initialize Login Flow for Browsers
1731
-
1732
- This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1733
-
1734
- ### Examples
1735
-
1736
- ```ruby
1737
- require 'time'
1738
- require 'ory-client'
1739
-
1740
- api_instance = OryClient::V0alpha2Api.new
1741
- opts = {
1742
- 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.
1743
- 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\".
1744
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1745
- }
1746
-
1747
- begin
1748
- # Initialize Login Flow for Browsers
1749
- result = api_instance.initialize_self_service_login_flow_for_browsers(opts)
1750
- p result
1751
- rescue OryClient::ApiError => e
1752
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_for_browsers: #{e}"
1753
- end
1754
- ```
1755
-
1756
- #### Using the initialize_self_service_login_flow_for_browsers_with_http_info variant
1757
-
1758
- This returns an Array which contains the response data, status code and headers.
1759
-
1760
- > <Array(<SelfServiceLoginFlow>, Integer, Hash)> initialize_self_service_login_flow_for_browsers_with_http_info(opts)
1761
-
1762
- ```ruby
1763
- begin
1764
- # Initialize Login Flow for Browsers
1765
- data, status_code, headers = api_instance.initialize_self_service_login_flow_for_browsers_with_http_info(opts)
1766
- p status_code # => 2xx
1767
- p headers # => { ... }
1768
- p data # => <SelfServiceLoginFlow>
1769
- rescue OryClient::ApiError => e
1770
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_for_browsers_with_http_info: #{e}"
1771
- end
1772
- ```
1773
-
1774
- ### Parameters
1775
-
1776
- | Name | Type | Description | Notes |
1777
- | ---- | ---- | ----------- | ----- |
1778
- | **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] |
1779
- | **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] |
1780
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1781
-
1782
- ### Return type
1783
-
1784
- [**SelfServiceLoginFlow**](SelfServiceLoginFlow.md)
1785
-
1786
- ### Authorization
1787
-
1788
- No authorization required
1789
-
1790
- ### HTTP request headers
1791
-
1792
- - **Content-Type**: Not defined
1793
- - **Accept**: application/json
1794
-
1795
-
1796
- ## initialize_self_service_login_flow_without_browser
1797
-
1798
- > <SelfServiceLoginFlow> initialize_self_service_login_flow_without_browser(opts)
1799
-
1800
- Initialize Login Flow for APIs, Services, Apps, ...
1801
-
1802
- This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1803
-
1804
- ### Examples
1805
-
1806
- ```ruby
1807
- require 'time'
1808
- require 'ory-client'
1809
-
1810
- api_instance = OryClient::V0alpha2Api.new
1811
- opts = {
1812
- 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.
1813
- 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\".
1814
- x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
1815
- }
1816
-
1817
- begin
1818
- # Initialize Login Flow for APIs, Services, Apps, ...
1819
- result = api_instance.initialize_self_service_login_flow_without_browser(opts)
1820
- p result
1821
- rescue OryClient::ApiError => e
1822
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_without_browser: #{e}"
1823
- end
1824
- ```
1825
-
1826
- #### Using the initialize_self_service_login_flow_without_browser_with_http_info variant
1827
-
1828
- This returns an Array which contains the response data, status code and headers.
1829
-
1830
- > <Array(<SelfServiceLoginFlow>, Integer, Hash)> initialize_self_service_login_flow_without_browser_with_http_info(opts)
1831
-
1832
- ```ruby
1833
- begin
1834
- # Initialize Login Flow for APIs, Services, Apps, ...
1835
- data, status_code, headers = api_instance.initialize_self_service_login_flow_without_browser_with_http_info(opts)
1836
- p status_code # => 2xx
1837
- p headers # => { ... }
1838
- p data # => <SelfServiceLoginFlow>
1839
- rescue OryClient::ApiError => e
1840
- puts "Error when calling V0alpha2Api->initialize_self_service_login_flow_without_browser_with_http_info: #{e}"
1841
- end
1842
- ```
1843
-
1844
- ### Parameters
1845
-
1846
- | Name | Type | Description | Notes |
1847
- | ---- | ---- | ----------- | ----- |
1848
- | **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] |
1849
- | **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] |
1850
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
1851
-
1852
- ### Return type
1853
-
1854
- [**SelfServiceLoginFlow**](SelfServiceLoginFlow.md)
1855
-
1856
- ### Authorization
1857
-
1858
- No authorization required
1859
-
1860
- ### HTTP request headers
1861
-
1862
- - **Content-Type**: Not defined
1863
- - **Accept**: application/json
1864
-
1865
-
1866
- ## initialize_self_service_recovery_flow_for_browsers
1867
-
1868
- > <SelfServiceRecoveryFlow> initialize_self_service_recovery_flow_for_browsers(opts)
1869
-
1870
- Initialize Recovery Flow for Browsers
1871
-
1872
- 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).
1873
-
1874
- ### Examples
1875
-
1876
- ```ruby
1877
- require 'time'
1878
- require 'ory-client'
1879
-
1880
- api_instance = OryClient::V0alpha2Api.new
1881
- opts = {
1882
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
1883
- }
1884
-
1885
- begin
1886
- # Initialize Recovery Flow for Browsers
1887
- result = api_instance.initialize_self_service_recovery_flow_for_browsers(opts)
1888
- p result
1889
- rescue OryClient::ApiError => e
1890
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_for_browsers: #{e}"
1891
- end
1892
- ```
1893
-
1894
- #### Using the initialize_self_service_recovery_flow_for_browsers_with_http_info variant
1895
-
1896
- This returns an Array which contains the response data, status code and headers.
1897
-
1898
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> initialize_self_service_recovery_flow_for_browsers_with_http_info(opts)
1899
-
1900
- ```ruby
1901
- begin
1902
- # Initialize Recovery Flow for Browsers
1903
- data, status_code, headers = api_instance.initialize_self_service_recovery_flow_for_browsers_with_http_info(opts)
1904
- p status_code # => 2xx
1905
- p headers # => { ... }
1906
- p data # => <SelfServiceRecoveryFlow>
1907
- rescue OryClient::ApiError => e
1908
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_for_browsers_with_http_info: #{e}"
1909
- end
1910
- ```
1911
-
1912
- ### Parameters
1913
-
1914
- | Name | Type | Description | Notes |
1915
- | ---- | ---- | ----------- | ----- |
1916
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
1917
-
1918
- ### Return type
1919
-
1920
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
1921
-
1922
- ### Authorization
1923
-
1924
- No authorization required
1925
-
1926
- ### HTTP request headers
1927
-
1928
- - **Content-Type**: Not defined
1929
- - **Accept**: application/json
1930
-
1931
-
1932
- ## initialize_self_service_recovery_flow_without_browser
1933
-
1934
- > <SelfServiceRecoveryFlow> initialize_self_service_recovery_flow_without_browser
1935
-
1936
- Initialize Recovery Flow for APIs, Services, Apps, ...
1937
-
1938
- 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).
1939
-
1940
- ### Examples
1941
-
1942
- ```ruby
1943
- require 'time'
1944
- require 'ory-client'
1945
-
1946
- api_instance = OryClient::V0alpha2Api.new
1947
-
1948
- begin
1949
- # Initialize Recovery Flow for APIs, Services, Apps, ...
1950
- result = api_instance.initialize_self_service_recovery_flow_without_browser
1951
- p result
1952
- rescue OryClient::ApiError => e
1953
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_without_browser: #{e}"
1954
- end
1955
- ```
1956
-
1957
- #### Using the initialize_self_service_recovery_flow_without_browser_with_http_info variant
1958
-
1959
- This returns an Array which contains the response data, status code and headers.
1960
-
1961
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> initialize_self_service_recovery_flow_without_browser_with_http_info
1962
-
1963
- ```ruby
1964
- begin
1965
- # Initialize Recovery Flow for APIs, Services, Apps, ...
1966
- data, status_code, headers = api_instance.initialize_self_service_recovery_flow_without_browser_with_http_info
1967
- p status_code # => 2xx
1968
- p headers # => { ... }
1969
- p data # => <SelfServiceRecoveryFlow>
1970
- rescue OryClient::ApiError => e
1971
- puts "Error when calling V0alpha2Api->initialize_self_service_recovery_flow_without_browser_with_http_info: #{e}"
1972
- end
1973
- ```
1974
-
1975
- ### Parameters
1976
-
1977
- This endpoint does not need any parameter.
1978
-
1979
- ### Return type
1980
-
1981
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
1982
-
1983
- ### Authorization
1984
-
1985
- No authorization required
1986
-
1987
- ### HTTP request headers
1988
-
1989
- - **Content-Type**: Not defined
1990
- - **Accept**: application/json
1991
-
1992
-
1993
- ## initialize_self_service_registration_flow_for_browsers
1994
-
1995
- > <SelfServiceRegistrationFlow> initialize_self_service_registration_flow_for_browsers(opts)
1996
-
1997
- Initialize Registration Flow for Browsers
1998
-
1999
- 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).
2000
-
2001
- ### Examples
2002
-
2003
- ```ruby
2004
- require 'time'
2005
- require 'ory-client'
2006
-
2007
- api_instance = OryClient::V0alpha2Api.new
2008
- opts = {
2009
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
2010
- }
2011
-
2012
- begin
2013
- # Initialize Registration Flow for Browsers
2014
- result = api_instance.initialize_self_service_registration_flow_for_browsers(opts)
2015
- p result
2016
- rescue OryClient::ApiError => e
2017
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_for_browsers: #{e}"
2018
- end
2019
- ```
2020
-
2021
- #### Using the initialize_self_service_registration_flow_for_browsers_with_http_info variant
2022
-
2023
- This returns an Array which contains the response data, status code and headers.
2024
-
2025
- > <Array(<SelfServiceRegistrationFlow>, Integer, Hash)> initialize_self_service_registration_flow_for_browsers_with_http_info(opts)
2026
-
2027
- ```ruby
2028
- begin
2029
- # Initialize Registration Flow for Browsers
2030
- data, status_code, headers = api_instance.initialize_self_service_registration_flow_for_browsers_with_http_info(opts)
2031
- p status_code # => 2xx
2032
- p headers # => { ... }
2033
- p data # => <SelfServiceRegistrationFlow>
2034
- rescue OryClient::ApiError => e
2035
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_for_browsers_with_http_info: #{e}"
2036
- end
2037
- ```
2038
-
2039
- ### Parameters
2040
-
2041
- | Name | Type | Description | Notes |
2042
- | ---- | ---- | ----------- | ----- |
2043
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
2044
-
2045
- ### Return type
2046
-
2047
- [**SelfServiceRegistrationFlow**](SelfServiceRegistrationFlow.md)
2048
-
2049
- ### Authorization
2050
-
2051
- No authorization required
2052
-
2053
- ### HTTP request headers
2054
-
2055
- - **Content-Type**: Not defined
2056
- - **Accept**: application/json
2057
-
2058
-
2059
- ## initialize_self_service_registration_flow_without_browser
2060
-
2061
- > <SelfServiceRegistrationFlow> initialize_self_service_registration_flow_without_browser
2062
-
2063
- Initialize Registration Flow for APIs, Services, Apps, ...
2064
-
2065
- 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).
2066
-
2067
- ### Examples
2068
-
2069
- ```ruby
2070
- require 'time'
2071
- require 'ory-client'
2072
-
2073
- api_instance = OryClient::V0alpha2Api.new
2074
-
2075
- begin
2076
- # Initialize Registration Flow for APIs, Services, Apps, ...
2077
- result = api_instance.initialize_self_service_registration_flow_without_browser
2078
- p result
2079
- rescue OryClient::ApiError => e
2080
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_without_browser: #{e}"
2081
- end
2082
- ```
2083
-
2084
- #### Using the initialize_self_service_registration_flow_without_browser_with_http_info variant
2085
-
2086
- This returns an Array which contains the response data, status code and headers.
2087
-
2088
- > <Array(<SelfServiceRegistrationFlow>, Integer, Hash)> initialize_self_service_registration_flow_without_browser_with_http_info
2089
-
2090
- ```ruby
2091
- begin
2092
- # Initialize Registration Flow for APIs, Services, Apps, ...
2093
- data, status_code, headers = api_instance.initialize_self_service_registration_flow_without_browser_with_http_info
2094
- p status_code # => 2xx
2095
- p headers # => { ... }
2096
- p data # => <SelfServiceRegistrationFlow>
2097
- rescue OryClient::ApiError => e
2098
- puts "Error when calling V0alpha2Api->initialize_self_service_registration_flow_without_browser_with_http_info: #{e}"
2099
- end
2100
- ```
2101
-
2102
- ### Parameters
2103
-
2104
- This endpoint does not need any parameter.
2105
-
2106
- ### Return type
2107
-
2108
- [**SelfServiceRegistrationFlow**](SelfServiceRegistrationFlow.md)
2109
-
2110
- ### Authorization
2111
-
2112
- No authorization required
2113
-
2114
- ### HTTP request headers
2115
-
2116
- - **Content-Type**: Not defined
2117
- - **Accept**: application/json
2118
-
2119
-
2120
- ## initialize_self_service_settings_flow_for_browsers
2121
-
2122
- > <SelfServiceSettingsFlow> initialize_self_service_settings_flow_for_browsers(opts)
2123
-
2124
- Initialize Settings Flow for Browsers
2125
-
2126
- 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).
2127
-
2128
- ### Examples
2129
-
2130
- ```ruby
2131
- require 'time'
2132
- require 'ory-client'
2133
-
2134
- api_instance = OryClient::V0alpha2Api.new
2135
- opts = {
2136
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
2137
- }
2138
-
2139
- begin
2140
- # Initialize Settings Flow for Browsers
2141
- result = api_instance.initialize_self_service_settings_flow_for_browsers(opts)
2142
- p result
2143
- rescue OryClient::ApiError => e
2144
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_for_browsers: #{e}"
2145
- end
2146
- ```
2147
-
2148
- #### Using the initialize_self_service_settings_flow_for_browsers_with_http_info variant
2149
-
2150
- This returns an Array which contains the response data, status code and headers.
2151
-
2152
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> initialize_self_service_settings_flow_for_browsers_with_http_info(opts)
2153
-
2154
- ```ruby
2155
- begin
2156
- # Initialize Settings Flow for Browsers
2157
- data, status_code, headers = api_instance.initialize_self_service_settings_flow_for_browsers_with_http_info(opts)
2158
- p status_code # => 2xx
2159
- p headers # => { ... }
2160
- p data # => <SelfServiceSettingsFlow>
2161
- rescue OryClient::ApiError => e
2162
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_for_browsers_with_http_info: #{e}"
2163
- end
2164
- ```
2165
-
2166
- ### Parameters
2167
-
2168
- | Name | Type | Description | Notes |
2169
- | ---- | ---- | ----------- | ----- |
2170
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
2171
-
2172
- ### Return type
2173
-
2174
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
2175
-
2176
- ### Authorization
2177
-
2178
- No authorization required
2179
-
2180
- ### HTTP request headers
2181
-
2182
- - **Content-Type**: Not defined
2183
- - **Accept**: application/json
2184
-
2185
-
2186
- ## initialize_self_service_settings_flow_without_browser
2187
-
2188
- > <SelfServiceSettingsFlow> initialize_self_service_settings_flow_without_browser(opts)
2189
-
2190
- Initialize Settings Flow for APIs, Services, Apps, ...
2191
-
2192
- 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).
2193
-
2194
- ### Examples
2195
-
2196
- ```ruby
2197
- require 'time'
2198
- require 'ory-client'
2199
-
2200
- api_instance = OryClient::V0alpha2Api.new
2201
- opts = {
2202
- x_session_token: 'x_session_token_example' # String | The Session Token of the Identity performing the settings flow.
2203
- }
2204
-
2205
- begin
2206
- # Initialize Settings Flow for APIs, Services, Apps, ...
2207
- result = api_instance.initialize_self_service_settings_flow_without_browser(opts)
2208
- p result
2209
- rescue OryClient::ApiError => e
2210
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_without_browser: #{e}"
2211
- end
2212
- ```
2213
-
2214
- #### Using the initialize_self_service_settings_flow_without_browser_with_http_info variant
2215
-
2216
- This returns an Array which contains the response data, status code and headers.
2217
-
2218
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> initialize_self_service_settings_flow_without_browser_with_http_info(opts)
2219
-
2220
- ```ruby
2221
- begin
2222
- # Initialize Settings Flow for APIs, Services, Apps, ...
2223
- data, status_code, headers = api_instance.initialize_self_service_settings_flow_without_browser_with_http_info(opts)
2224
- p status_code # => 2xx
2225
- p headers # => { ... }
2226
- p data # => <SelfServiceSettingsFlow>
2227
- rescue OryClient::ApiError => e
2228
- puts "Error when calling V0alpha2Api->initialize_self_service_settings_flow_without_browser_with_http_info: #{e}"
2229
- end
2230
- ```
2231
-
2232
- ### Parameters
2233
-
2234
- | Name | Type | Description | Notes |
2235
- | ---- | ---- | ----------- | ----- |
2236
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
2237
-
2238
- ### Return type
2239
-
2240
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
2241
-
2242
- ### Authorization
2243
-
2244
- No authorization required
2245
-
2246
- ### HTTP request headers
2247
-
2248
- - **Content-Type**: Not defined
2249
- - **Accept**: application/json
2250
-
2251
-
2252
- ## initialize_self_service_verification_flow_for_browsers
2253
-
2254
- > <SelfServiceVerificationFlow> initialize_self_service_verification_flow_for_browsers(opts)
2255
-
2256
- Initialize Verification Flow for Browser Clients
2257
-
2258
- 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).
2259
-
2260
- ### Examples
2261
-
2262
- ```ruby
2263
- require 'time'
2264
- require 'ory-client'
2265
-
2266
- api_instance = OryClient::V0alpha2Api.new
2267
- opts = {
2268
- return_to: 'return_to_example' # String | The URL to return the browser to after the flow was completed.
2269
- }
2270
-
2271
- begin
2272
- # Initialize Verification Flow for Browser Clients
2273
- result = api_instance.initialize_self_service_verification_flow_for_browsers(opts)
2274
- p result
2275
- rescue OryClient::ApiError => e
2276
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_for_browsers: #{e}"
2277
- end
2278
- ```
2279
-
2280
- #### Using the initialize_self_service_verification_flow_for_browsers_with_http_info variant
2281
-
2282
- This returns an Array which contains the response data, status code and headers.
2283
-
2284
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> initialize_self_service_verification_flow_for_browsers_with_http_info(opts)
2285
-
2286
- ```ruby
2287
- begin
2288
- # Initialize Verification Flow for Browser Clients
2289
- data, status_code, headers = api_instance.initialize_self_service_verification_flow_for_browsers_with_http_info(opts)
2290
- p status_code # => 2xx
2291
- p headers # => { ... }
2292
- p data # => <SelfServiceVerificationFlow>
2293
- rescue OryClient::ApiError => e
2294
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_for_browsers_with_http_info: #{e}"
2295
- end
2296
- ```
2297
-
2298
- ### Parameters
2299
-
2300
- | Name | Type | Description | Notes |
2301
- | ---- | ---- | ----------- | ----- |
2302
- | **return_to** | **String** | The URL to return the browser to after the flow was completed. | [optional] |
2303
-
2304
- ### Return type
2305
-
2306
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
2307
-
2308
- ### Authorization
2309
-
2310
- No authorization required
2311
-
2312
- ### HTTP request headers
2313
-
2314
- - **Content-Type**: Not defined
2315
- - **Accept**: application/json
2316
-
2317
-
2318
- ## initialize_self_service_verification_flow_without_browser
2319
-
2320
- > <SelfServiceVerificationFlow> initialize_self_service_verification_flow_without_browser
2321
-
2322
- Initialize Verification Flow for APIs, Services, Apps, ...
2323
-
2324
- This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on. To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`. You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks. This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).
2325
-
2326
- ### Examples
2327
-
2328
- ```ruby
2329
- require 'time'
2330
- require 'ory-client'
2331
-
2332
- api_instance = OryClient::V0alpha2Api.new
2333
-
2334
- begin
2335
- # Initialize Verification Flow for APIs, Services, Apps, ...
2336
- result = api_instance.initialize_self_service_verification_flow_without_browser
2337
- p result
2338
- rescue OryClient::ApiError => e
2339
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_without_browser: #{e}"
2340
- end
2341
- ```
2342
-
2343
- #### Using the initialize_self_service_verification_flow_without_browser_with_http_info variant
2344
-
2345
- This returns an Array which contains the response data, status code and headers.
2346
-
2347
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> initialize_self_service_verification_flow_without_browser_with_http_info
2348
-
2349
- ```ruby
2350
- begin
2351
- # Initialize Verification Flow for APIs, Services, Apps, ...
2352
- data, status_code, headers = api_instance.initialize_self_service_verification_flow_without_browser_with_http_info
2353
- p status_code # => 2xx
2354
- p headers # => { ... }
2355
- p data # => <SelfServiceVerificationFlow>
2356
- rescue OryClient::ApiError => e
2357
- puts "Error when calling V0alpha2Api->initialize_self_service_verification_flow_without_browser_with_http_info: #{e}"
2358
- end
2359
- ```
2360
-
2361
- ### Parameters
2362
-
2363
- This endpoint does not need any parameter.
2364
-
2365
- ### Return type
2366
-
2367
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
2368
-
2369
- ### Authorization
2370
-
2371
- No authorization required
2372
-
2373
- ### HTTP request headers
2374
-
2375
- - **Content-Type**: Not defined
2376
- - **Accept**: application/json
2377
-
2378
-
2379
- ## list_identity_schemas
2380
-
2381
- > <Array<IdentitySchemaContainer>> list_identity_schemas(opts)
2382
-
2383
-
2384
-
2385
- Get all Identity Schemas
2386
-
2387
- ### Examples
2388
-
2389
- ```ruby
2390
- require 'time'
2391
- require 'ory-client'
2392
-
2393
- api_instance = OryClient::V0alpha2Api.new
2394
- opts = {
2395
- per_page: 789, # Integer | Items per Page This is the number of items per page.
2396
- 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.
2397
- }
2398
-
2399
- begin
2400
-
2401
- result = api_instance.list_identity_schemas(opts)
2402
- p result
2403
- rescue OryClient::ApiError => e
2404
- puts "Error when calling V0alpha2Api->list_identity_schemas: #{e}"
2405
- end
2406
- ```
2407
-
2408
- #### Using the list_identity_schemas_with_http_info variant
2409
-
2410
- This returns an Array which contains the response data, status code and headers.
2411
-
2412
- > <Array(<Array<IdentitySchemaContainer>>, Integer, Hash)> list_identity_schemas_with_http_info(opts)
2413
-
2414
- ```ruby
2415
- begin
2416
-
2417
- data, status_code, headers = api_instance.list_identity_schemas_with_http_info(opts)
2418
- p status_code # => 2xx
2419
- p headers # => { ... }
2420
- p data # => <Array<IdentitySchemaContainer>>
2421
- rescue OryClient::ApiError => e
2422
- puts "Error when calling V0alpha2Api->list_identity_schemas_with_http_info: #{e}"
2423
- end
2424
- ```
2425
-
2426
- ### Parameters
2427
-
2428
- | Name | Type | Description | Notes |
2429
- | ---- | ---- | ----------- | ----- |
2430
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
2431
- | **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] |
2432
-
2433
- ### Return type
2434
-
2435
- [**Array&lt;IdentitySchemaContainer&gt;**](IdentitySchemaContainer.md)
2436
-
2437
- ### Authorization
2438
-
2439
- No authorization required
2440
-
2441
- ### HTTP request headers
2442
-
2443
- - **Content-Type**: Not defined
2444
- - **Accept**: application/json
2445
-
2446
-
2447
- ## list_project_api_keys
2448
-
2449
- > <Array<ProjectApiKey>> list_project_api_keys(project)
2450
-
2451
- # List a Project's API Tokens
2452
-
2453
- A list of all the project's API tokens.
2454
-
2455
- ### Examples
2456
-
2457
- ```ruby
2458
- require 'time'
2459
- require 'ory-client'
2460
- # setup authorization
2461
- OryClient.configure do |config|
2462
- # Configure Bearer authorization: oryAccessToken
2463
- config.access_token = 'YOUR_BEARER_TOKEN'
2464
- end
2465
-
2466
- api_instance = OryClient::V0alpha2Api.new
2467
- project = 'project_example' # String | The Project ID or Project slug
2468
-
2469
- begin
2470
- # # List a Project's API Tokens
2471
- result = api_instance.list_project_api_keys(project)
2472
- p result
2473
- rescue OryClient::ApiError => e
2474
- puts "Error when calling V0alpha2Api->list_project_api_keys: #{e}"
2475
- end
2476
- ```
2477
-
2478
- #### Using the list_project_api_keys_with_http_info variant
2479
-
2480
- This returns an Array which contains the response data, status code and headers.
2481
-
2482
- > <Array(<Array<ProjectApiKey>>, Integer, Hash)> list_project_api_keys_with_http_info(project)
2483
-
2484
- ```ruby
2485
- begin
2486
- # # List a Project's API Tokens
2487
- data, status_code, headers = api_instance.list_project_api_keys_with_http_info(project)
2488
- p status_code # => 2xx
2489
- p headers # => { ... }
2490
- p data # => <Array<ProjectApiKey>>
2491
- rescue OryClient::ApiError => e
2492
- puts "Error when calling V0alpha2Api->list_project_api_keys_with_http_info: #{e}"
2493
- end
2494
- ```
2495
-
2496
- ### Parameters
2497
-
2498
- | Name | Type | Description | Notes |
2499
- | ---- | ---- | ----------- | ----- |
2500
- | **project** | **String** | The Project ID or Project slug | |
2501
-
2502
- ### Return type
2503
-
2504
- [**Array&lt;ProjectApiKey&gt;**](ProjectApiKey.md)
2505
-
2506
- ### Authorization
2507
-
2508
- [oryAccessToken](../README.md#oryAccessToken)
2509
-
2510
- ### HTTP request headers
2511
-
2512
- - **Content-Type**: Not defined
2513
- - **Accept**: application/json
2514
-
2515
-
2516
- ## list_projects
2517
-
2518
- > <Array<ProjectMetadata>> list_projects
2519
-
2520
- # List All Projects
2521
-
2522
- Lists all projects you have access to.
2523
-
2524
- ### Examples
2525
-
2526
- ```ruby
2527
- require 'time'
2528
- require 'ory-client'
2529
- # setup authorization
2530
- OryClient.configure do |config|
2531
- # Configure Bearer authorization: oryAccessToken
2532
- config.access_token = 'YOUR_BEARER_TOKEN'
2533
- end
2534
-
2535
- api_instance = OryClient::V0alpha2Api.new
2536
-
2537
- begin
2538
- # # List All Projects
2539
- result = api_instance.list_projects
2540
- p result
2541
- rescue OryClient::ApiError => e
2542
- puts "Error when calling V0alpha2Api->list_projects: #{e}"
2543
- end
2544
- ```
2545
-
2546
- #### Using the list_projects_with_http_info variant
2547
-
2548
- This returns an Array which contains the response data, status code and headers.
2549
-
2550
- > <Array(<Array<ProjectMetadata>>, Integer, Hash)> list_projects_with_http_info
2551
-
2552
- ```ruby
2553
- begin
2554
- # # List All Projects
2555
- data, status_code, headers = api_instance.list_projects_with_http_info
2556
- p status_code # => 2xx
2557
- p headers # => { ... }
2558
- p data # => <Array<ProjectMetadata>>
2559
- rescue OryClient::ApiError => e
2560
- puts "Error when calling V0alpha2Api->list_projects_with_http_info: #{e}"
2561
- end
2562
- ```
2563
-
2564
- ### Parameters
2565
-
2566
- This endpoint does not need any parameter.
2567
-
2568
- ### Return type
2569
-
2570
- [**Array&lt;ProjectMetadata&gt;**](ProjectMetadata.md)
2571
-
2572
- ### Authorization
2573
-
2574
- [oryAccessToken](../README.md#oryAccessToken)
2575
-
2576
- ### HTTP request headers
2577
-
2578
- - **Content-Type**: Not defined
2579
- - **Accept**: application/json
2580
-
2581
-
2582
- ## list_sessions
2583
-
2584
- > <Array<Session>> list_sessions(opts)
2585
-
2586
- 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.
2587
-
2588
- This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
2589
-
2590
- ### Examples
2591
-
2592
- ```ruby
2593
- require 'time'
2594
- require 'ory-client'
2595
-
2596
- api_instance = OryClient::V0alpha2Api.new
2597
- opts = {
2598
- 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`.
2599
- 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.
2600
- per_page: 789, # Integer | Items per Page This is the number of items per page.
2601
- 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.
2602
- }
2603
-
2604
- begin
2605
- # 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.
2606
- result = api_instance.list_sessions(opts)
2607
- p result
2608
- rescue OryClient::ApiError => e
2609
- puts "Error when calling V0alpha2Api->list_sessions: #{e}"
2610
- end
2611
- ```
2612
-
2613
- #### Using the list_sessions_with_http_info variant
2614
-
2615
- This returns an Array which contains the response data, status code and headers.
2616
-
2617
- > <Array(<Array<Session>>, Integer, Hash)> list_sessions_with_http_info(opts)
2618
-
2619
- ```ruby
2620
- begin
2621
- # 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.
2622
- data, status_code, headers = api_instance.list_sessions_with_http_info(opts)
2623
- p status_code # => 2xx
2624
- p headers # => { ... }
2625
- p data # => <Array<Session>>
2626
- rescue OryClient::ApiError => e
2627
- puts "Error when calling V0alpha2Api->list_sessions_with_http_info: #{e}"
2628
- end
2629
- ```
2630
-
2631
- ### Parameters
2632
-
2633
- | Name | Type | Description | Notes |
2634
- | ---- | ---- | ----------- | ----- |
2635
- | **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] |
2636
- | **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] |
2637
- | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
2638
- | **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] |
2639
-
2640
- ### Return type
2641
-
2642
- [**Array&lt;Session&gt;**](Session.md)
2643
-
2644
- ### Authorization
2645
-
2646
- No authorization required
2647
-
2648
- ### HTTP request headers
2649
-
2650
- - **Content-Type**: Not defined
2651
- - **Accept**: application/json
2652
-
2653
-
2654
- ## patch_project
2655
-
2656
- > <SuccessfulProjectUpdate> patch_project(project_id, opts)
2657
-
2658
- Patch an Ory Cloud Project Configuration`
2659
-
2660
- Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for. This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
2661
-
2662
- ### Examples
2663
-
2664
- ```ruby
2665
- require 'time'
2666
- require 'ory-client'
2667
- # setup authorization
2668
- OryClient.configure do |config|
2669
- # Configure Bearer authorization: oryAccessToken
2670
- config.access_token = 'YOUR_BEARER_TOKEN'
2671
- end
2672
-
2673
- api_instance = OryClient::V0alpha2Api.new
2674
- project_id = 'project_id_example' # String | Project ID The project's ID.
2675
- opts = {
2676
- json_patch: [OryClient::JsonPatch.new({op: 'add', path: '/services/identity/config/smtp/from_name'})] # Array<JsonPatch> |
2677
- }
2678
-
2679
- begin
2680
- # Patch an Ory Cloud Project Configuration`
2681
- result = api_instance.patch_project(project_id, opts)
2682
- p result
2683
- rescue OryClient::ApiError => e
2684
- puts "Error when calling V0alpha2Api->patch_project: #{e}"
2685
- end
2686
- ```
2687
-
2688
- #### Using the patch_project_with_http_info variant
2689
-
2690
- This returns an Array which contains the response data, status code and headers.
2691
-
2692
- > <Array(<SuccessfulProjectUpdate>, Integer, Hash)> patch_project_with_http_info(project_id, opts)
2693
-
2694
- ```ruby
2695
- begin
2696
- # Patch an Ory Cloud Project Configuration`
2697
- data, status_code, headers = api_instance.patch_project_with_http_info(project_id, opts)
2698
- p status_code # => 2xx
2699
- p headers # => { ... }
2700
- p data # => <SuccessfulProjectUpdate>
2701
- rescue OryClient::ApiError => e
2702
- puts "Error when calling V0alpha2Api->patch_project_with_http_info: #{e}"
2703
- end
2704
- ```
2705
-
2706
- ### Parameters
2707
-
2708
- | Name | Type | Description | Notes |
2709
- | ---- | ---- | ----------- | ----- |
2710
- | **project_id** | **String** | Project ID The project&#39;s ID. | |
2711
- | **json_patch** | [**Array&lt;JsonPatch&gt;**](JsonPatch.md) | | [optional] |
2712
-
2713
- ### Return type
2714
-
2715
- [**SuccessfulProjectUpdate**](SuccessfulProjectUpdate.md)
2716
-
2717
- ### Authorization
2718
-
2719
- [oryAccessToken](../README.md#oryAccessToken)
2720
-
2721
- ### HTTP request headers
2722
-
2723
- - **Content-Type**: application/json
2724
- - **Accept**: application/json
2725
-
2726
-
2727
- ## purge_project
2728
-
2729
- > purge_project(project_id)
2730
-
2731
- # Irrecoverably Purge a Project
2732
-
2733
- !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
2734
-
2735
- ### Examples
2736
-
2737
- ```ruby
2738
- require 'time'
2739
- require 'ory-client'
2740
- # setup authorization
2741
- OryClient.configure do |config|
2742
- # Configure Bearer authorization: oryAccessToken
2743
- config.access_token = 'YOUR_BEARER_TOKEN'
2744
- end
2745
-
2746
- api_instance = OryClient::V0alpha2Api.new
2747
- project_id = 'project_id_example' # String | Project ID The project's ID.
2748
-
2749
- begin
2750
- # # Irrecoverably Purge a Project
2751
- api_instance.purge_project(project_id)
2752
- rescue OryClient::ApiError => e
2753
- puts "Error when calling V0alpha2Api->purge_project: #{e}"
2754
- end
2755
- ```
2756
-
2757
- #### Using the purge_project_with_http_info variant
2758
-
2759
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
2760
-
2761
- > <Array(nil, Integer, Hash)> purge_project_with_http_info(project_id)
2762
-
2763
- ```ruby
2764
- begin
2765
- # # Irrecoverably Purge a Project
2766
- data, status_code, headers = api_instance.purge_project_with_http_info(project_id)
2767
- p status_code # => 2xx
2768
- p headers # => { ... }
2769
- p data # => nil
2770
- rescue OryClient::ApiError => e
2771
- puts "Error when calling V0alpha2Api->purge_project_with_http_info: #{e}"
2772
- end
2773
- ```
2774
-
2775
- ### Parameters
2776
-
2777
- | Name | Type | Description | Notes |
2778
- | ---- | ---- | ----------- | ----- |
2779
- | **project_id** | **String** | Project ID The project&#39;s ID. | |
2780
-
2781
- ### Return type
2782
-
2783
- nil (empty response body)
2784
-
2785
- ### Authorization
2786
-
2787
- [oryAccessToken](../README.md#oryAccessToken)
2788
-
2789
- ### HTTP request headers
2790
-
2791
- - **Content-Type**: Not defined
2792
- - **Accept**: application/json
2793
-
2794
-
2795
- ## remove_project_member
2796
-
2797
- > remove_project_member(project_id, member_id)
2798
-
2799
- Remove a member associated with this project. This also sets their invite status to `REMOVED`.
2800
-
2801
- This endpoint requires the user to be a member of the project with the role `OWNER`.
2802
-
2803
- ### Examples
2804
-
2805
- ```ruby
2806
- require 'time'
2807
- require 'ory-client'
2808
- # setup authorization
2809
- OryClient.configure do |config|
2810
- # Configure Bearer authorization: oryAccessToken
2811
- config.access_token = 'YOUR_BEARER_TOKEN'
2812
- end
2813
-
2814
- api_instance = OryClient::V0alpha2Api.new
2815
- project_id = 'project_id_example' # String | Project ID The project's ID.
2816
- member_id = 'member_id_example' # String | Member ID
2817
-
2818
- begin
2819
- # Remove a member associated with this project. This also sets their invite status to `REMOVED`.
2820
- api_instance.remove_project_member(project_id, member_id)
2821
- rescue OryClient::ApiError => e
2822
- puts "Error when calling V0alpha2Api->remove_project_member: #{e}"
2823
- end
2824
- ```
2825
-
2826
- #### Using the remove_project_member_with_http_info variant
2827
-
2828
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
2829
-
2830
- > <Array(nil, Integer, Hash)> remove_project_member_with_http_info(project_id, member_id)
2831
-
2832
- ```ruby
2833
- begin
2834
- # Remove a member associated with this project. This also sets their invite status to `REMOVED`.
2835
- data, status_code, headers = api_instance.remove_project_member_with_http_info(project_id, member_id)
2836
- p status_code # => 2xx
2837
- p headers # => { ... }
2838
- p data # => nil
2839
- rescue OryClient::ApiError => e
2840
- puts "Error when calling V0alpha2Api->remove_project_member_with_http_info: #{e}"
2841
- end
2842
- ```
2843
-
2844
- ### Parameters
2845
-
2846
- | Name | Type | Description | Notes |
2847
- | ---- | ---- | ----------- | ----- |
2848
- | **project_id** | **String** | Project ID The project&#39;s ID. | |
2849
- | **member_id** | **String** | Member ID | |
2850
-
2851
- ### Return type
2852
-
2853
- nil (empty response body)
2854
-
2855
- ### Authorization
2856
-
2857
- [oryAccessToken](../README.md#oryAccessToken)
2858
-
2859
- ### HTTP request headers
2860
-
2861
- - **Content-Type**: Not defined
2862
- - **Accept**: application/json
2863
-
2864
-
2865
- ## revoke_session
2866
-
2867
- > revoke_session(id)
2868
-
2869
- Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
2870
-
2871
- This endpoint is useful for: To forcefully logout the current user from another device or session
2872
-
2873
- ### Examples
2874
-
2875
- ```ruby
2876
- require 'time'
2877
- require 'ory-client'
2878
-
2879
- api_instance = OryClient::V0alpha2Api.new
2880
- id = 'id_example' # String | ID is the session's ID.
2881
-
2882
- begin
2883
- # Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
2884
- api_instance.revoke_session(id)
2885
- rescue OryClient::ApiError => e
2886
- puts "Error when calling V0alpha2Api->revoke_session: #{e}"
2887
- end
2888
- ```
2889
-
2890
- #### Using the revoke_session_with_http_info variant
2891
-
2892
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
2893
-
2894
- > <Array(nil, Integer, Hash)> revoke_session_with_http_info(id)
2895
-
2896
- ```ruby
2897
- begin
2898
- # Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
2899
- data, status_code, headers = api_instance.revoke_session_with_http_info(id)
2900
- p status_code # => 2xx
2901
- p headers # => { ... }
2902
- p data # => nil
2903
- rescue OryClient::ApiError => e
2904
- puts "Error when calling V0alpha2Api->revoke_session_with_http_info: #{e}"
2905
- end
2906
- ```
2907
-
2908
- ### Parameters
2909
-
2910
- | Name | Type | Description | Notes |
2911
- | ---- | ---- | ----------- | ----- |
2912
- | **id** | **String** | ID is the session&#39;s ID. | |
2913
-
2914
- ### Return type
2915
-
2916
- nil (empty response body)
2917
-
2918
- ### Authorization
2919
-
2920
- No authorization required
2921
-
2922
- ### HTTP request headers
2923
-
2924
- - **Content-Type**: Not defined
2925
- - **Accept**: application/json
2926
-
2927
-
2928
- ## revoke_sessions
2929
-
2930
- > <RevokedSessions> revoke_sessions(opts)
2931
-
2932
- Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
2933
-
2934
- This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
2935
-
2936
- ### Examples
2937
-
2938
- ```ruby
2939
- require 'time'
2940
- require 'ory-client'
2941
-
2942
- api_instance = OryClient::V0alpha2Api.new
2943
- opts = {
2944
- 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`.
2945
- 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.
2946
- }
2947
-
2948
- begin
2949
- # Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
2950
- result = api_instance.revoke_sessions(opts)
2951
- p result
2952
- rescue OryClient::ApiError => e
2953
- puts "Error when calling V0alpha2Api->revoke_sessions: #{e}"
2954
- end
2955
- ```
2956
-
2957
- #### Using the revoke_sessions_with_http_info variant
2958
-
2959
- This returns an Array which contains the response data, status code and headers.
2960
-
2961
- > <Array(<RevokedSessions>, Integer, Hash)> revoke_sessions_with_http_info(opts)
2962
-
2963
- ```ruby
2964
- begin
2965
- # Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
2966
- data, status_code, headers = api_instance.revoke_sessions_with_http_info(opts)
2967
- p status_code # => 2xx
2968
- p headers # => { ... }
2969
- p data # => <RevokedSessions>
2970
- rescue OryClient::ApiError => e
2971
- puts "Error when calling V0alpha2Api->revoke_sessions_with_http_info: #{e}"
2972
- end
2973
- ```
2974
-
2975
- ### Parameters
2976
-
2977
- | Name | Type | Description | Notes |
2978
- | ---- | ---- | ----------- | ----- |
2979
- | **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] |
2980
- | **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] |
2981
-
2982
- ### Return type
2983
-
2984
- [**RevokedSessions**](RevokedSessions.md)
2985
-
2986
- ### Authorization
2987
-
2988
- No authorization required
2989
-
2990
- ### HTTP request headers
2991
-
2992
- - **Content-Type**: Not defined
2993
- - **Accept**: application/json
2994
-
2995
-
2996
- ## submit_self_service_login_flow
2997
-
2998
- > <SuccessfulSelfServiceLoginWithoutBrowser> submit_self_service_login_flow(flow, submit_self_service_login_flow_body, opts)
2999
-
3000
- Submit a Login Flow
3001
-
3002
- :::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).
3003
-
3004
- ### Examples
3005
-
3006
- ```ruby
3007
- require 'time'
3008
- require 'ory-client'
3009
-
3010
- api_instance = OryClient::V0alpha2Api.new
3011
- 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`).
3012
- submit_self_service_login_flow_body = OryClient::SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.new({lookup_secret: 'lookup_secret_example', method: 'method_example'}) # SubmitSelfServiceLoginFlowBody |
3013
- opts = {
3014
- x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
3015
- 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.
3016
- }
3017
-
3018
- begin
3019
- # Submit a Login Flow
3020
- result = api_instance.submit_self_service_login_flow(flow, submit_self_service_login_flow_body, opts)
3021
- p result
3022
- rescue OryClient::ApiError => e
3023
- puts "Error when calling V0alpha2Api->submit_self_service_login_flow: #{e}"
3024
- end
3025
- ```
3026
-
3027
- #### Using the submit_self_service_login_flow_with_http_info variant
3028
-
3029
- This returns an Array which contains the response data, status code and headers.
3030
-
3031
- > <Array(<SuccessfulSelfServiceLoginWithoutBrowser>, Integer, Hash)> submit_self_service_login_flow_with_http_info(flow, submit_self_service_login_flow_body, opts)
3032
-
3033
- ```ruby
3034
- begin
3035
- # Submit a Login Flow
3036
- data, status_code, headers = api_instance.submit_self_service_login_flow_with_http_info(flow, submit_self_service_login_flow_body, opts)
3037
- p status_code # => 2xx
3038
- p headers # => { ... }
3039
- p data # => <SuccessfulSelfServiceLoginWithoutBrowser>
3040
- rescue OryClient::ApiError => e
3041
- puts "Error when calling V0alpha2Api->submit_self_service_login_flow_with_http_info: #{e}"
3042
- end
3043
- ```
3044
-
3045
- ### Parameters
3046
-
3047
- | Name | Type | Description | Notes |
3048
- | ---- | ---- | ----------- | ----- |
3049
- | **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;). | |
3050
- | **submit_self_service_login_flow_body** | [**SubmitSelfServiceLoginFlowBody**](SubmitSelfServiceLoginFlowBody.md) | | |
3051
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
3052
- | **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] |
3053
-
3054
- ### Return type
3055
-
3056
- [**SuccessfulSelfServiceLoginWithoutBrowser**](SuccessfulSelfServiceLoginWithoutBrowser.md)
3057
-
3058
- ### Authorization
3059
-
3060
- No authorization required
3061
-
3062
- ### HTTP request headers
3063
-
3064
- - **Content-Type**: application/json, application/x-www-form-urlencoded
3065
- - **Accept**: application/json
3066
-
3067
-
3068
- ## submit_self_service_logout_flow
3069
-
3070
- > submit_self_service_logout_flow(opts)
3071
-
3072
- Complete Self-Service Logout
3073
-
3074
- 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).
3075
-
3076
- ### Examples
3077
-
3078
- ```ruby
3079
- require 'time'
3080
- require 'ory-client'
3081
-
3082
- api_instance = OryClient::V0alpha2Api.new
3083
- opts = {
3084
- 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.
3085
- return_to: 'return_to_example' # String | The URL to return to after the logout was completed.
3086
- }
3087
-
3088
- begin
3089
- # Complete Self-Service Logout
3090
- api_instance.submit_self_service_logout_flow(opts)
3091
- rescue OryClient::ApiError => e
3092
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow: #{e}"
3093
- end
3094
- ```
3095
-
3096
- #### Using the submit_self_service_logout_flow_with_http_info variant
3097
-
3098
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
3099
-
3100
- > <Array(nil, Integer, Hash)> submit_self_service_logout_flow_with_http_info(opts)
3101
-
3102
- ```ruby
3103
- begin
3104
- # Complete Self-Service Logout
3105
- data, status_code, headers = api_instance.submit_self_service_logout_flow_with_http_info(opts)
3106
- p status_code # => 2xx
3107
- p headers # => { ... }
3108
- p data # => nil
3109
- rescue OryClient::ApiError => e
3110
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow_with_http_info: #{e}"
3111
- end
3112
- ```
3113
-
3114
- ### Parameters
3115
-
3116
- | Name | Type | Description | Notes |
3117
- | ---- | ---- | ----------- | ----- |
3118
- | **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] |
3119
- | **return_to** | **String** | The URL to return to after the logout was completed. | [optional] |
3120
-
3121
- ### Return type
3122
-
3123
- nil (empty response body)
3124
-
3125
- ### Authorization
3126
-
3127
- No authorization required
3128
-
3129
- ### HTTP request headers
3130
-
3131
- - **Content-Type**: Not defined
3132
- - **Accept**: application/json
3133
-
3134
-
3135
- ## submit_self_service_logout_flow_without_browser
3136
-
3137
- > submit_self_service_logout_flow_without_browser(submit_self_service_logout_flow_without_browser_body)
3138
-
3139
- Perform Logout for APIs, Services, Apps, ...
3140
-
3141
- 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.
3142
-
3143
- ### Examples
3144
-
3145
- ```ruby
3146
- require 'time'
3147
- require 'ory-client'
3148
-
3149
- api_instance = OryClient::V0alpha2Api.new
3150
- submit_self_service_logout_flow_without_browser_body = OryClient::SubmitSelfServiceLogoutFlowWithoutBrowserBody.new({session_token: 'session_token_example'}) # SubmitSelfServiceLogoutFlowWithoutBrowserBody |
3151
-
3152
- begin
3153
- # Perform Logout for APIs, Services, Apps, ...
3154
- api_instance.submit_self_service_logout_flow_without_browser(submit_self_service_logout_flow_without_browser_body)
3155
- rescue OryClient::ApiError => e
3156
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow_without_browser: #{e}"
3157
- end
3158
- ```
3159
-
3160
- #### Using the submit_self_service_logout_flow_without_browser_with_http_info variant
3161
-
3162
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
3163
-
3164
- > <Array(nil, Integer, Hash)> submit_self_service_logout_flow_without_browser_with_http_info(submit_self_service_logout_flow_without_browser_body)
3165
-
3166
- ```ruby
3167
- begin
3168
- # Perform Logout for APIs, Services, Apps, ...
3169
- data, status_code, headers = api_instance.submit_self_service_logout_flow_without_browser_with_http_info(submit_self_service_logout_flow_without_browser_body)
3170
- p status_code # => 2xx
3171
- p headers # => { ... }
3172
- p data # => nil
3173
- rescue OryClient::ApiError => e
3174
- puts "Error when calling V0alpha2Api->submit_self_service_logout_flow_without_browser_with_http_info: #{e}"
3175
- end
3176
- ```
3177
-
3178
- ### Parameters
3179
-
3180
- | Name | Type | Description | Notes |
3181
- | ---- | ---- | ----------- | ----- |
3182
- | **submit_self_service_logout_flow_without_browser_body** | [**SubmitSelfServiceLogoutFlowWithoutBrowserBody**](SubmitSelfServiceLogoutFlowWithoutBrowserBody.md) | | |
3183
-
3184
- ### Return type
3185
-
3186
- nil (empty response body)
3187
-
3188
- ### Authorization
3189
-
3190
- No authorization required
3191
-
3192
- ### HTTP request headers
3193
-
3194
- - **Content-Type**: application/json
3195
- - **Accept**: application/json
3196
-
3197
-
3198
- ## submit_self_service_recovery_flow
3199
-
3200
- > <SelfServiceRecoveryFlow> submit_self_service_recovery_flow(flow, submit_self_service_recovery_flow_body, opts)
3201
-
3202
- Complete Recovery Flow
3203
-
3204
- 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).
3205
-
3206
- ### Examples
3207
-
3208
- ```ruby
3209
- require 'time'
3210
- require 'ory-client'
3211
-
3212
- api_instance = OryClient::V0alpha2Api.new
3213
- 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`).
3214
- submit_self_service_recovery_flow_body = OryClient::SubmitSelfServiceRecoveryFlowWithLinkMethodBody.new({email: 'email_example', method: 'method_example'}) # SubmitSelfServiceRecoveryFlowBody |
3215
- opts = {
3216
- 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.
3217
- 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.
3218
- }
3219
-
3220
- begin
3221
- # Complete Recovery Flow
3222
- result = api_instance.submit_self_service_recovery_flow(flow, submit_self_service_recovery_flow_body, opts)
3223
- p result
3224
- rescue OryClient::ApiError => e
3225
- puts "Error when calling V0alpha2Api->submit_self_service_recovery_flow: #{e}"
3226
- end
3227
- ```
3228
-
3229
- #### Using the submit_self_service_recovery_flow_with_http_info variant
3230
-
3231
- This returns an Array which contains the response data, status code and headers.
3232
-
3233
- > <Array(<SelfServiceRecoveryFlow>, Integer, Hash)> submit_self_service_recovery_flow_with_http_info(flow, submit_self_service_recovery_flow_body, opts)
3234
-
3235
- ```ruby
3236
- begin
3237
- # Complete Recovery Flow
3238
- data, status_code, headers = api_instance.submit_self_service_recovery_flow_with_http_info(flow, submit_self_service_recovery_flow_body, opts)
3239
- p status_code # => 2xx
3240
- p headers # => { ... }
3241
- p data # => <SelfServiceRecoveryFlow>
3242
- rescue OryClient::ApiError => e
3243
- puts "Error when calling V0alpha2Api->submit_self_service_recovery_flow_with_http_info: #{e}"
3244
- end
3245
- ```
3246
-
3247
- ### Parameters
3248
-
3249
- | Name | Type | Description | Notes |
3250
- | ---- | ---- | ----------- | ----- |
3251
- | **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;). | |
3252
- | **submit_self_service_recovery_flow_body** | [**SubmitSelfServiceRecoveryFlowBody**](SubmitSelfServiceRecoveryFlowBody.md) | | |
3253
- | **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] |
3254
- | **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] |
3255
-
3256
- ### Return type
3257
-
3258
- [**SelfServiceRecoveryFlow**](SelfServiceRecoveryFlow.md)
3259
-
3260
- ### Authorization
3261
-
3262
- No authorization required
3263
-
3264
- ### HTTP request headers
3265
-
3266
- - **Content-Type**: application/json, application/x-www-form-urlencoded
3267
- - **Accept**: application/json
3268
-
3269
-
3270
- ## submit_self_service_registration_flow
3271
-
3272
- > <SuccessfulSelfServiceRegistrationWithoutBrowser> submit_self_service_registration_flow(flow, submit_self_service_registration_flow_body, opts)
3273
-
3274
- Submit a Registration Flow
3275
-
3276
- 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).
3277
-
3278
- ### Examples
3279
-
3280
- ```ruby
3281
- require 'time'
3282
- require 'ory-client'
3283
-
3284
- api_instance = OryClient::V0alpha2Api.new
3285
- 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`).
3286
- submit_self_service_registration_flow_body = OryClient::SubmitSelfServiceRegistrationFlowWithOidcMethodBody.new({method: 'method_example', provider: 'provider_example'}) # SubmitSelfServiceRegistrationFlowBody |
3287
- opts = {
3288
- 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.
3289
- }
3290
-
3291
- begin
3292
- # Submit a Registration Flow
3293
- result = api_instance.submit_self_service_registration_flow(flow, submit_self_service_registration_flow_body, opts)
3294
- p result
3295
- rescue OryClient::ApiError => e
3296
- puts "Error when calling V0alpha2Api->submit_self_service_registration_flow: #{e}"
3297
- end
3298
- ```
3299
-
3300
- #### Using the submit_self_service_registration_flow_with_http_info variant
3301
-
3302
- This returns an Array which contains the response data, status code and headers.
3303
-
3304
- > <Array(<SuccessfulSelfServiceRegistrationWithoutBrowser>, Integer, Hash)> submit_self_service_registration_flow_with_http_info(flow, submit_self_service_registration_flow_body, opts)
3305
-
3306
- ```ruby
3307
- begin
3308
- # Submit a Registration Flow
3309
- data, status_code, headers = api_instance.submit_self_service_registration_flow_with_http_info(flow, submit_self_service_registration_flow_body, opts)
3310
- p status_code # => 2xx
3311
- p headers # => { ... }
3312
- p data # => <SuccessfulSelfServiceRegistrationWithoutBrowser>
3313
- rescue OryClient::ApiError => e
3314
- puts "Error when calling V0alpha2Api->submit_self_service_registration_flow_with_http_info: #{e}"
3315
- end
3316
- ```
3317
-
3318
- ### Parameters
3319
-
3320
- | Name | Type | Description | Notes |
3321
- | ---- | ---- | ----------- | ----- |
3322
- | **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;). | |
3323
- | **submit_self_service_registration_flow_body** | [**SubmitSelfServiceRegistrationFlowBody**](SubmitSelfServiceRegistrationFlowBody.md) | | |
3324
- | **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] |
3325
-
3326
- ### Return type
3327
-
3328
- [**SuccessfulSelfServiceRegistrationWithoutBrowser**](SuccessfulSelfServiceRegistrationWithoutBrowser.md)
3329
-
3330
- ### Authorization
3331
-
3332
- No authorization required
3333
-
3334
- ### HTTP request headers
3335
-
3336
- - **Content-Type**: application/json, application/x-www-form-urlencoded
3337
- - **Accept**: application/json
3338
-
3339
-
3340
- ## submit_self_service_settings_flow
3341
-
3342
- > <SelfServiceSettingsFlow> submit_self_service_settings_flow(flow, submit_self_service_settings_flow_body, opts)
3343
-
3344
- Complete Settings Flow
3345
-
3346
- 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).
3347
-
3348
- ### Examples
3349
-
3350
- ```ruby
3351
- require 'time'
3352
- require 'ory-client'
3353
-
3354
- api_instance = OryClient::V0alpha2Api.new
3355
- 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`).
3356
- submit_self_service_settings_flow_body = OryClient::SubmitSelfServiceSettingsFlowWithLookupMethodBody.new({method: 'method_example'}) # SubmitSelfServiceSettingsFlowBody |
3357
- opts = {
3358
- x_session_token: 'x_session_token_example', # String | The Session Token of the Identity performing the settings flow.
3359
- 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.
3360
- }
3361
-
3362
- begin
3363
- # Complete Settings Flow
3364
- result = api_instance.submit_self_service_settings_flow(flow, submit_self_service_settings_flow_body, opts)
3365
- p result
3366
- rescue OryClient::ApiError => e
3367
- puts "Error when calling V0alpha2Api->submit_self_service_settings_flow: #{e}"
3368
- end
3369
- ```
3370
-
3371
- #### Using the submit_self_service_settings_flow_with_http_info variant
3372
-
3373
- This returns an Array which contains the response data, status code and headers.
3374
-
3375
- > <Array(<SelfServiceSettingsFlow>, Integer, Hash)> submit_self_service_settings_flow_with_http_info(flow, submit_self_service_settings_flow_body, opts)
3376
-
3377
- ```ruby
3378
- begin
3379
- # Complete Settings Flow
3380
- data, status_code, headers = api_instance.submit_self_service_settings_flow_with_http_info(flow, submit_self_service_settings_flow_body, opts)
3381
- p status_code # => 2xx
3382
- p headers # => { ... }
3383
- p data # => <SelfServiceSettingsFlow>
3384
- rescue OryClient::ApiError => e
3385
- puts "Error when calling V0alpha2Api->submit_self_service_settings_flow_with_http_info: #{e}"
3386
- end
3387
- ```
3388
-
3389
- ### Parameters
3390
-
3391
- | Name | Type | Description | Notes |
3392
- | ---- | ---- | ----------- | ----- |
3393
- | **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;). | |
3394
- | **submit_self_service_settings_flow_body** | [**SubmitSelfServiceSettingsFlowBody**](SubmitSelfServiceSettingsFlowBody.md) | | |
3395
- | **x_session_token** | **String** | The Session Token of the Identity performing the settings flow. | [optional] |
3396
- | **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] |
3397
-
3398
- ### Return type
3399
-
3400
- [**SelfServiceSettingsFlow**](SelfServiceSettingsFlow.md)
3401
-
3402
- ### Authorization
3403
-
3404
- No authorization required
3405
-
3406
- ### HTTP request headers
3407
-
3408
- - **Content-Type**: application/json, application/x-www-form-urlencoded
3409
- - **Accept**: application/json
3410
-
3411
-
3412
- ## submit_self_service_verification_flow
3413
-
3414
- > <SelfServiceVerificationFlow> submit_self_service_verification_flow(flow, submit_self_service_verification_flow_body, opts)
3415
-
3416
- # Complete Verification Flow
3417
-
3418
- 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).
3419
-
3420
- ### Examples
3421
-
3422
- ```ruby
3423
- require 'time'
3424
- require 'ory-client'
3425
-
3426
- api_instance = OryClient::V0alpha2Api.new
3427
- 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`).
3428
- submit_self_service_verification_flow_body = OryClient::SubmitSelfServiceVerificationFlowWithLinkMethodBody.new({email: 'email_example', method: 'method_example'}) # SubmitSelfServiceVerificationFlowBody |
3429
- opts = {
3430
- 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.
3431
- 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.
3432
- }
3433
-
3434
- begin
3435
- # # Complete Verification Flow
3436
- result = api_instance.submit_self_service_verification_flow(flow, submit_self_service_verification_flow_body, opts)
3437
- p result
3438
- rescue OryClient::ApiError => e
3439
- puts "Error when calling V0alpha2Api->submit_self_service_verification_flow: #{e}"
3440
- end
3441
- ```
3442
-
3443
- #### Using the submit_self_service_verification_flow_with_http_info variant
3444
-
3445
- This returns an Array which contains the response data, status code and headers.
3446
-
3447
- > <Array(<SelfServiceVerificationFlow>, Integer, Hash)> submit_self_service_verification_flow_with_http_info(flow, submit_self_service_verification_flow_body, opts)
3448
-
3449
- ```ruby
3450
- begin
3451
- # # Complete Verification Flow
3452
- data, status_code, headers = api_instance.submit_self_service_verification_flow_with_http_info(flow, submit_self_service_verification_flow_body, opts)
3453
- p status_code # => 2xx
3454
- p headers # => { ... }
3455
- p data # => <SelfServiceVerificationFlow>
3456
- rescue OryClient::ApiError => e
3457
- puts "Error when calling V0alpha2Api->submit_self_service_verification_flow_with_http_info: #{e}"
3458
- end
3459
- ```
3460
-
3461
- ### Parameters
3462
-
3463
- | Name | Type | Description | Notes |
3464
- | ---- | ---- | ----------- | ----- |
3465
- | **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;). | |
3466
- | **submit_self_service_verification_flow_body** | [**SubmitSelfServiceVerificationFlowBody**](SubmitSelfServiceVerificationFlowBody.md) | | |
3467
- | **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] |
3468
- | **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] |
3469
-
3470
- ### Return type
3471
-
3472
- [**SelfServiceVerificationFlow**](SelfServiceVerificationFlow.md)
3473
-
3474
- ### Authorization
3475
-
3476
- No authorization required
3477
-
3478
- ### HTTP request headers
3479
-
3480
- - **Content-Type**: application/json, application/x-www-form-urlencoded
3481
- - **Accept**: application/json
3482
-
3483
-
3484
- ## to_session
3485
-
3486
- > <Session> to_session(opts)
3487
-
3488
- Check Who the Current HTTP Session Belongs To
3489
-
3490
- Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. Additionally when the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSession(undefined, req.header('cookie')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
3491
-
3492
- ### Examples
3493
-
3494
- ```ruby
3495
- require 'time'
3496
- require 'ory-client'
3497
-
3498
- api_instance = OryClient::V0alpha2Api.new
3499
- opts = {
3500
- x_session_token: 'MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj', # String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.
3501
- cookie: 'ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==' # String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored.
3502
- }
3503
-
3504
- begin
3505
- # Check Who the Current HTTP Session Belongs To
3506
- result = api_instance.to_session(opts)
3507
- p result
3508
- rescue OryClient::ApiError => e
3509
- puts "Error when calling V0alpha2Api->to_session: #{e}"
3510
- end
3511
- ```
3512
-
3513
- #### Using the to_session_with_http_info variant
3514
-
3515
- This returns an Array which contains the response data, status code and headers.
3516
-
3517
- > <Array(<Session>, Integer, Hash)> to_session_with_http_info(opts)
3518
-
3519
- ```ruby
3520
- begin
3521
- # Check Who the Current HTTP Session Belongs To
3522
- data, status_code, headers = api_instance.to_session_with_http_info(opts)
3523
- p status_code # => 2xx
3524
- p headers # => { ... }
3525
- p data # => <Session>
3526
- rescue OryClient::ApiError => e
3527
- puts "Error when calling V0alpha2Api->to_session_with_http_info: #{e}"
3528
- end
3529
- ```
3530
-
3531
- ### Parameters
3532
-
3533
- | Name | Type | Description | Notes |
3534
- | ---- | ---- | ----------- | ----- |
3535
- | **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] |
3536
- | **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] |
3537
-
3538
- ### Return type
3539
-
3540
- [**Session**](Session.md)
3541
-
3542
- ### Authorization
3543
-
3544
- No authorization required
3545
-
3546
- ### HTTP request headers
3547
-
3548
- - **Content-Type**: Not defined
3549
- - **Accept**: application/json
3550
-
3551
-
3552
- ## update_project
3553
-
3554
- > <SuccessfulProjectUpdate> update_project(project_id, opts)
3555
-
3556
- # Update an Ory Cloud Project Configuration
3557
-
3558
- This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
3559
-
3560
- ### Examples
3561
-
3562
- ```ruby
3563
- require 'time'
3564
- require 'ory-client'
3565
- # setup authorization
3566
- OryClient.configure do |config|
3567
- # Configure Bearer authorization: oryAccessToken
3568
- config.access_token = 'YOUR_BEARER_TOKEN'
3569
- end
3570
-
3571
- api_instance = OryClient::V0alpha2Api.new
3572
- project_id = 'project_id_example' # String | Project ID The project's ID.
3573
- opts = {
3574
- update_project: OryClient::UpdateProject.new({name: 'name_example', services: OryClient::ProjectServices.new}) # UpdateProject |
3575
- }
3576
-
3577
- begin
3578
- # # Update an Ory Cloud Project Configuration
3579
- result = api_instance.update_project(project_id, opts)
3580
- p result
3581
- rescue OryClient::ApiError => e
3582
- puts "Error when calling V0alpha2Api->update_project: #{e}"
3583
- end
3584
- ```
3585
-
3586
- #### Using the update_project_with_http_info variant
3587
-
3588
- This returns an Array which contains the response data, status code and headers.
3589
-
3590
- > <Array(<SuccessfulProjectUpdate>, Integer, Hash)> update_project_with_http_info(project_id, opts)
3591
-
3592
- ```ruby
3593
- begin
3594
- # # Update an Ory Cloud Project Configuration
3595
- data, status_code, headers = api_instance.update_project_with_http_info(project_id, opts)
3596
- p status_code # => 2xx
3597
- p headers # => { ... }
3598
- p data # => <SuccessfulProjectUpdate>
3599
- rescue OryClient::ApiError => e
3600
- puts "Error when calling V0alpha2Api->update_project_with_http_info: #{e}"
3601
- end
3602
- ```
3603
-
3604
- ### Parameters
3605
-
3606
- | Name | Type | Description | Notes |
3607
- | ---- | ---- | ----------- | ----- |
3608
- | **project_id** | **String** | Project ID The project&#39;s ID. | |
3609
- | **update_project** | [**UpdateProject**](UpdateProject.md) | | [optional] |
3610
-
3611
- ### Return type
3612
-
3613
- [**SuccessfulProjectUpdate**](SuccessfulProjectUpdate.md)
3614
-
3615
- ### Authorization
3616
-
3617
- [oryAccessToken](../README.md#oryAccessToken)
3618
-
3619
- ### HTTP request headers
3620
-
3621
- - **Content-Type**: application/json
3622
- - **Accept**: application/json
3623
-