ory-client 0.2.0.alpha60 → 1.0.0.alpha0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1277) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +14 -14
  3. data/README.md +216 -205
  4. data/docs/ActiveProjectInConsole.md +18 -0
  5. data/docs/CheckOplSyntaxResult.md +18 -0
  6. data/docs/CheckPermissionResult.md +18 -0
  7. data/docs/CourierApi.md +85 -0
  8. data/docs/CreateCustomDomainBody.md +24 -0
  9. data/docs/CreateIdentityBody.md +32 -0
  10. data/docs/CreateJsonWebKeySet.md +22 -0
  11. data/docs/CreateProjectInvite.md +18 -0
  12. data/docs/CreateRecoveryCodeForIdentityBody.md +20 -0
  13. data/docs/CreateRecoveryLinkForIdentityBody.md +20 -0
  14. data/docs/CreateRelationshipBody.md +26 -0
  15. data/docs/CreateSubscriptionBody.md +22 -0
  16. data/docs/CustomDomain.md +34 -0
  17. data/docs/CustomDomainQuota.md +22 -0
  18. data/docs/DeleteMySessionsCount.md +18 -0
  19. data/docs/ErrorBrowserLocationChangeRequired.md +34 -0
  20. data/docs/ErrorFlowReplaced.md +34 -0
  21. data/docs/ErrorGeneric.md +18 -0
  22. data/docs/ErrorOAuth2.md +26 -0
  23. data/docs/ExpandedPermissionTree.md +22 -0
  24. data/docs/FlowError.md +24 -0
  25. data/docs/FrontendApi.md +1995 -0
  26. data/docs/IdentityApi.md +1160 -0
  27. data/docs/IdentityWithCredentials.md +20 -0
  28. data/docs/IdentityWithCredentialsOidc.md +18 -0
  29. data/docs/IdentityWithCredentialsOidcConfig.md +20 -0
  30. data/docs/IdentityWithCredentialsOidcConfigProvider.md +20 -0
  31. data/docs/IdentityWithCredentialsPassword.md +18 -0
  32. data/docs/IdentityWithCredentialsPasswordConfig.md +20 -0
  33. data/docs/InternalIsOwnerForProjectBySlugBody.md +22 -0
  34. data/docs/InternalProvisionMockSubscription.md +20 -0
  35. data/docs/InviteQuota.md +22 -0
  36. data/docs/JsonWebKeySet.md +1 -1
  37. data/docs/JwkApi.md +511 -0
  38. data/docs/LoginFlow.md +44 -0
  39. data/docs/LogoutFlow.md +20 -0
  40. data/docs/ManagedIdentitySchema.md +1 -1
  41. data/docs/NormalizedProject.md +2 -4
  42. data/docs/NormalizedProjectRevision.md +54 -36
  43. data/docs/NormalizedProjectRevisionHook.md +2 -2
  44. data/docs/NormalizedProjectRevisionIdentitySchema.md +2 -2
  45. data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
  46. data/docs/OAuth2Api.md +2026 -0
  47. data/docs/OAuth2Client.md +26 -30
  48. data/docs/OAuth2ClientTokenLifespans.md +36 -0
  49. data/docs/OAuth2ConsentSession.md +14 -20
  50. data/docs/OAuth2RedirectTo.md +18 -0
  51. data/docs/OAuth2TokenExchange.md +28 -0
  52. data/docs/OidcApi.md +473 -0
  53. data/docs/OidcConfiguration.md +30 -30
  54. data/docs/PerformNativeLogoutBody.md +18 -0
  55. data/docs/PermissionApi.md +405 -0
  56. data/docs/PostCheckPermissionBody.md +26 -0
  57. data/docs/PostCheckPermissionOrErrorBody.md +26 -0
  58. data/docs/Project.md +3 -3
  59. data/docs/ProjectApi.md +927 -0
  60. data/docs/ProjectApiKey.md +3 -3
  61. data/docs/ProjectHost.md +2 -2
  62. data/docs/ProjectInvite.md +3 -3
  63. data/docs/ProjectMetadata.md +2 -2
  64. data/docs/RecoveryCodeForIdentity.md +22 -0
  65. data/docs/RecoveryFlow.md +34 -0
  66. data/docs/RecoveryFlowState.md +15 -0
  67. data/docs/RecoveryLinkForIdentity.md +20 -0
  68. data/docs/RegistrationFlow.md +36 -0
  69. data/docs/Relationship.md +26 -0
  70. data/docs/RelationshipApi.md +460 -0
  71. data/docs/RelationshipNamespaces.md +18 -0
  72. data/docs/RelationshipPatch.md +20 -0
  73. data/docs/Relationships.md +20 -0
  74. data/docs/SelfServiceFlowExpiredError.md +2 -0
  75. data/docs/SetActiveProjectInConsoleBody.md +18 -0
  76. data/docs/SetCustomDomainBody.md +24 -0
  77. data/docs/SetProject.md +20 -0
  78. data/docs/SettingsFlow.md +36 -0
  79. data/docs/SettingsFlowState.md +15 -0
  80. data/docs/StripeCustomer.md +18 -0
  81. data/docs/Subscription.md +2 -2
  82. data/docs/SuccessfulNativeLogin.md +20 -0
  83. data/docs/SuccessfulNativeRegistration.md +22 -0
  84. data/docs/SuccessfulProjectUpdate.md +1 -1
  85. data/docs/TokenPaginationRequestParameters.md +20 -0
  86. data/docs/TokenPaginationResponseHeaders.md +20 -0
  87. data/docs/TrustOAuth2JwtGrantIssuer.md +28 -0
  88. data/docs/UiText.md +1 -1
  89. data/docs/UpdateIdentityBody.md +28 -0
  90. data/docs/UpdateLoginFlowBody.md +87 -0
  91. data/docs/UpdateLoginFlowWithLookupSecretMethod.md +22 -0
  92. data/docs/UpdateLoginFlowWithOidcMethod.md +24 -0
  93. data/docs/UpdateLoginFlowWithPasswordMethod.md +26 -0
  94. data/docs/UpdateLoginFlowWithTotpMethod.md +22 -0
  95. data/docs/UpdateLoginFlowWithWebAuthnMethod.md +24 -0
  96. data/docs/UpdateRecoveryFlowBody.md +78 -0
  97. data/docs/UpdateRecoveryFlowWithCodeMethod.md +24 -0
  98. data/docs/UpdateRecoveryFlowWithLinkMethod.md +22 -0
  99. data/docs/UpdateRegistrationFlowBody.md +81 -0
  100. data/docs/UpdateRegistrationFlowWithOidcMethod.md +24 -0
  101. data/docs/UpdateRegistrationFlowWithPasswordMethod.md +24 -0
  102. data/docs/UpdateRegistrationFlowWithWebAuthnMethod.md +26 -0
  103. data/docs/UpdateSettingsFlowBody.md +90 -0
  104. data/docs/UpdateSettingsFlowWithLookupMethod.md +28 -0
  105. data/docs/UpdateSettingsFlowWithOidcMethod.md +26 -0
  106. data/docs/UpdateSettingsFlowWithPasswordMethod.md +22 -0
  107. data/docs/UpdateSettingsFlowWithProfileMethod.md +22 -0
  108. data/docs/UpdateSettingsFlowWithTotpMethod.md +24 -0
  109. data/docs/UpdateSettingsFlowWithWebAuthnMethod.md +26 -0
  110. data/docs/UpdateSubscriptionBody.md +20 -0
  111. data/docs/UpdateVerificationFlowBody.md +75 -0
  112. data/docs/UpdateVerificationFlowWithCodeMethodBody.md +26 -0
  113. data/docs/UpdateVerificationFlowWithLinkMethod.md +22 -0
  114. data/docs/VerificationFlow.md +34 -0
  115. data/docs/VerificationFlowState.md +15 -0
  116. data/docs/WellknownApi.md +69 -0
  117. data/lib/ory-client/api/courier_api.rb +103 -0
  118. data/lib/ory-client/api/frontend_api.rb +1965 -0
  119. data/lib/ory-client/api/identity_api.rb +1120 -0
  120. data/lib/ory-client/api/jwk_api.rb +506 -0
  121. data/lib/ory-client/api/metadata_api.rb +1 -1
  122. data/lib/ory-client/api/o_auth2_api.rb +1926 -0
  123. data/lib/ory-client/api/oidc_api.rb +459 -0
  124. data/lib/ory-client/api/permission_api.rb +399 -0
  125. data/lib/ory-client/api/project_api.rb +864 -0
  126. data/lib/ory-client/api/relationship_api.rb +433 -0
  127. data/lib/ory-client/api/wellknown_api.rb +79 -0
  128. data/lib/ory-client/api_client.rb +1 -1
  129. data/lib/ory-client/api_error.rb +1 -1
  130. data/lib/ory-client/configuration.rb +1 -1
  131. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +1 -1
  132. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  133. data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
  134. data/lib/ory-client/models/active_project_in_console.rb +221 -0
  135. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  136. data/lib/ory-client/models/check_opl_syntax_result.rb +222 -0
  137. data/lib/ory-client/models/check_permission_result.rb +226 -0
  138. data/lib/ory-client/models/cloud_account.rb +1 -1
  139. data/lib/ory-client/models/courier_message_status.rb +1 -1
  140. data/lib/ory-client/models/courier_message_type.rb +1 -1
  141. data/lib/ory-client/models/create_custom_domain_body.rb +253 -0
  142. data/lib/ory-client/models/create_identity_body.rb +305 -0
  143. data/lib/ory-client/models/create_json_web_key_set.rb +256 -0
  144. data/lib/ory-client/models/create_project_api_key_request.rb +1 -1
  145. data/lib/ory-client/models/create_project_body.rb +2 -1
  146. data/lib/ory-client/models/create_project_invite.rb +220 -0
  147. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +253 -0
  148. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +253 -0
  149. data/lib/ory-client/models/create_relationship_body.rb +260 -0
  150. data/lib/ory-client/models/create_subscription_body.rb +248 -0
  151. data/lib/ory-client/models/custom_domain.rb +297 -0
  152. data/lib/ory-client/models/custom_domain_quota.rb +238 -0
  153. data/lib/ory-client/models/delete_my_sessions_count.rb +221 -0
  154. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  155. data/lib/ory-client/models/error_browser_location_change_required.rb +307 -0
  156. data/lib/ory-client/models/error_flow_replaced.rb +308 -0
  157. data/lib/ory-client/models/error_generic.rb +225 -0
  158. data/lib/ory-client/models/error_o_auth2.rb +261 -0
  159. data/lib/ory-client/models/expanded_permission_tree.rb +280 -0
  160. data/lib/ory-client/models/flow_error.rb +254 -0
  161. data/lib/ory-client/models/generic_error.rb +1 -1
  162. data/lib/ory-client/models/generic_error_content.rb +1 -1
  163. data/lib/ory-client/models/get_managed_identity_schema_location.rb +2 -1
  164. data/lib/ory-client/models/get_version200_response.rb +1 -1
  165. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  166. data/lib/ory-client/models/health_status.rb +1 -1
  167. data/lib/ory-client/models/identity.rb +4 -2
  168. data/lib/ory-client/models/identity_credentials.rb +1 -1
  169. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  170. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  171. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  172. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  173. data/lib/ory-client/models/identity_schema_container.rb +2 -1
  174. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  175. data/lib/ory-client/models/identity_state.rb +1 -1
  176. data/lib/ory-client/models/identity_with_credentials.rb +229 -0
  177. data/lib/ory-client/models/identity_with_credentials_oidc.rb +220 -0
  178. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +231 -0
  179. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +241 -0
  180. data/lib/ory-client/models/identity_with_credentials_password.rb +220 -0
  181. data/lib/ory-client/models/identity_with_credentials_password_config.rb +231 -0
  182. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +251 -0
  183. data/lib/ory-client/models/internal_provision_mock_subscription.rb +240 -0
  184. data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
  185. data/lib/ory-client/models/invite_quota.rb +238 -0
  186. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  187. data/lib/ory-client/models/is_ready200_response.rb +1 -1
  188. data/lib/ory-client/models/is_ready503_response.rb +1 -1
  189. data/lib/ory-client/models/json_patch.rb +1 -2
  190. data/lib/ory-client/models/json_web_key.rb +1 -1
  191. data/lib/ory-client/models/json_web_key_set.rb +3 -3
  192. data/lib/ory-client/models/keto_namespace.rb +1 -1
  193. data/lib/ory-client/models/login_flow.rb +377 -0
  194. data/lib/ory-client/models/logout_flow.rb +241 -0
  195. data/lib/ory-client/models/managed_identity_schema.rb +1 -2
  196. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +2 -1
  197. data/lib/ory-client/models/message.rb +35 -1
  198. data/lib/ory-client/models/namespace.rb +1 -1
  199. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  200. data/lib/ory-client/models/normalized_project.rb +3 -20
  201. data/lib/ory-client/models/normalized_project_revision.rb +175 -49
  202. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -3
  203. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -3
  204. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -2
  205. data/lib/ory-client/models/null_plan.rb +1 -1
  206. data/lib/ory-client/models/o_auth2_client.rb +30 -81
  207. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +481 -0
  208. data/lib/ory-client/models/o_auth2_consent_request.rb +1 -1
  209. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  210. data/lib/ory-client/models/o_auth2_consent_session.rb +50 -74
  211. data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +1 -1
  212. data/lib/ory-client/models/o_auth2_login_request.rb +1 -1
  213. data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
  214. data/lib/ory-client/models/o_auth2_redirect_to.rb +226 -0
  215. data/lib/ory-client/models/o_auth2_token_exchange.rb +271 -0
  216. data/lib/ory-client/models/oidc_configuration.rb +31 -31
  217. data/lib/ory-client/models/oidc_user_info.rb +2 -2
  218. data/lib/ory-client/models/pagination.rb +1 -1
  219. data/lib/ory-client/models/pagination_headers.rb +1 -1
  220. data/lib/ory-client/models/parse_error.rb +1 -1
  221. data/lib/ory-client/models/perform_native_logout_body.rb +226 -0
  222. data/lib/ory-client/models/post_check_permission_body.rb +260 -0
  223. data/lib/ory-client/models/post_check_permission_or_error_body.rb +260 -0
  224. data/lib/ory-client/models/project.rb +2 -4
  225. data/lib/ory-client/models/project_api_key.rb +1 -4
  226. data/lib/ory-client/models/project_host.rb +1 -3
  227. data/lib/ory-client/models/project_invite.rb +35 -4
  228. data/lib/ory-client/models/project_metadata.rb +2 -3
  229. data/lib/ory-client/models/project_service_identity.rb +1 -1
  230. data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
  231. data/lib/ory-client/models/project_service_permission.rb +1 -1
  232. data/lib/ory-client/models/project_services.rb +1 -1
  233. data/lib/ory-client/models/recovery_code_for_identity.rb +251 -0
  234. data/lib/ory-client/models/recovery_flow.rb +334 -0
  235. data/lib/ory-client/models/recovery_flow_state.rb +38 -0
  236. data/lib/ory-client/models/recovery_identity_address.rb +1 -1
  237. data/lib/ory-client/models/recovery_link_for_identity.rb +236 -0
  238. data/lib/ory-client/models/registration_flow.rb +337 -0
  239. data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
  240. data/lib/ory-client/models/relation_query.rb +2 -1
  241. data/lib/ory-client/models/relationship.rb +275 -0
  242. data/lib/ory-client/models/relationship_namespaces.rb +222 -0
  243. data/lib/ory-client/models/relationship_patch.rb +263 -0
  244. data/lib/ory-client/models/relationships.rb +232 -0
  245. data/lib/ory-client/models/schema_patch.rb +1 -1
  246. data/lib/ory-client/models/self_service_flow_expired_error.rb +12 -2
  247. data/lib/ory-client/models/session.rb +1 -1
  248. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  249. data/lib/ory-client/models/session_device.rb +1 -1
  250. data/lib/ory-client/models/set_active_project_in_console_body.rb +226 -0
  251. data/lib/ory-client/models/set_custom_domain_body.rb +253 -0
  252. data/lib/ory-client/models/set_project.rb +239 -0
  253. data/lib/ory-client/models/settings_flow.rb +348 -0
  254. data/lib/ory-client/models/settings_flow_state.rb +37 -0
  255. data/lib/ory-client/models/source_position.rb +1 -1
  256. data/lib/ory-client/models/stripe_customer.rb +219 -0
  257. data/lib/ory-client/models/subject_set.rb +1 -1
  258. data/lib/ory-client/models/subscription.rb +2 -3
  259. data/lib/ory-client/models/successful_native_login.rb +235 -0
  260. data/lib/ory-client/models/successful_native_registration.rb +244 -0
  261. data/lib/ory-client/models/successful_project_update.rb +2 -2
  262. data/lib/ory-client/models/token_pagination.rb +1 -1
  263. data/lib/ory-client/models/token_pagination_headers.rb +1 -1
  264. data/lib/ory-client/models/token_pagination_request_parameters.rb +265 -0
  265. data/lib/ory-client/models/token_pagination_response_headers.rb +231 -0
  266. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +292 -0
  267. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +2 -1
  268. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +2 -1
  269. data/lib/ory-client/models/ui_container.rb +1 -1
  270. data/lib/ory-client/models/ui_node.rb +1 -1
  271. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  272. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  273. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  274. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  275. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  276. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  277. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  278. data/lib/ory-client/models/ui_text.rb +36 -1
  279. data/lib/ory-client/models/update_identity_body.rb +286 -0
  280. data/lib/ory-client/models/update_login_flow_body.rb +61 -0
  281. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +251 -0
  282. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +261 -0
  283. data/lib/ory-client/models/update_login_flow_with_password_method.rb +276 -0
  284. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +251 -0
  285. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +261 -0
  286. data/lib/ory-client/models/update_recovery_flow_body.rb +56 -0
  287. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +256 -0
  288. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +251 -0
  289. data/lib/ory-client/models/update_registration_flow_body.rb +58 -0
  290. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +261 -0
  291. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +266 -0
  292. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +271 -0
  293. data/lib/ory-client/models/update_settings_flow_body.rb +64 -0
  294. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +276 -0
  295. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +266 -0
  296. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +251 -0
  297. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +251 -0
  298. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +256 -0
  299. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +266 -0
  300. data/lib/ory-client/models/update_subscription_body.rb +234 -0
  301. data/lib/ory-client/models/update_verification_flow_body.rb +54 -0
  302. data/lib/ory-client/models/update_verification_flow_with_code_method_body.rb +260 -0
  303. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +251 -0
  304. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  305. data/lib/ory-client/models/verification_flow.rb +319 -0
  306. data/lib/ory-client/models/verification_flow_state.rb +38 -0
  307. data/lib/ory-client/models/version.rb +1 -1
  308. data/lib/ory-client/models/warning.rb +1 -1
  309. data/lib/ory-client/version.rb +2 -2
  310. data/lib/ory-client.rb +95 -94
  311. data/ory-client.gemspec +1 -1
  312. data/spec/api/courier_api_spec.rb +50 -0
  313. data/spec/api/frontend_api_spec.rb +415 -0
  314. data/spec/api/identity_api_spec.rb +239 -0
  315. data/spec/api/jwk_api_spec.rb +125 -0
  316. data/spec/api/metadata_api_spec.rb +1 -1
  317. data/spec/api/o_auth2_api_spec.rb +391 -0
  318. data/spec/api/oidc_api_spec.rb +117 -0
  319. data/spec/api/permission_api_spec.rb +114 -0
  320. data/spec/api/project_api_spec.rb +194 -0
  321. data/spec/api/relationship_api_spec.rb +120 -0
  322. data/spec/api/wellknown_api_spec.rb +46 -0
  323. data/spec/api_client_spec.rb +1 -1
  324. data/spec/configuration_spec.rb +1 -1
  325. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  326. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  327. data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
  328. data/spec/models/active_project_in_console_spec.rb +34 -0
  329. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  330. data/spec/models/check_opl_syntax_result_spec.rb +34 -0
  331. data/spec/models/check_permission_result_spec.rb +34 -0
  332. data/spec/models/cloud_account_spec.rb +1 -1
  333. data/spec/models/courier_message_status_spec.rb +1 -1
  334. data/spec/models/courier_message_type_spec.rb +1 -1
  335. data/spec/models/create_custom_domain_body_spec.rb +52 -0
  336. data/spec/models/create_identity_body_spec.rb +76 -0
  337. data/spec/models/create_json_web_key_set_spec.rb +46 -0
  338. data/spec/models/create_project_api_key_request_spec.rb +1 -1
  339. data/spec/models/create_project_body_spec.rb +1 -1
  340. data/spec/models/create_project_invite_spec.rb +34 -0
  341. data/spec/models/create_recovery_code_for_identity_body_spec.rb +40 -0
  342. data/spec/models/create_recovery_link_for_identity_body_spec.rb +40 -0
  343. data/spec/models/create_relationship_body_spec.rb +58 -0
  344. data/spec/models/create_subscription_body_spec.rb +46 -0
  345. data/spec/models/custom_domain_quota_spec.rb +46 -0
  346. data/spec/models/custom_domain_spec.rb +82 -0
  347. data/spec/models/delete_my_sessions_count_spec.rb +34 -0
  348. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  349. data/spec/models/error_browser_location_change_required_spec.rb +82 -0
  350. data/spec/models/error_flow_replaced_spec.rb +82 -0
  351. data/spec/models/error_generic_spec.rb +34 -0
  352. data/spec/models/error_o_auth2_spec.rb +58 -0
  353. data/spec/models/expanded_permission_tree_spec.rb +50 -0
  354. data/spec/models/flow_error_spec.rb +52 -0
  355. data/spec/models/generic_error_content_spec.rb +1 -1
  356. data/spec/models/generic_error_spec.rb +1 -1
  357. data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
  358. data/spec/models/get_version200_response_spec.rb +1 -1
  359. data/spec/models/health_not_ready_status_spec.rb +1 -1
  360. data/spec/models/health_status_spec.rb +1 -1
  361. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  362. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  363. data/spec/models/identity_credentials_password_spec.rb +1 -1
  364. data/spec/models/identity_credentials_spec.rb +1 -1
  365. data/spec/models/identity_credentials_type_spec.rb +1 -1
  366. data/spec/models/identity_schema_container_spec.rb +1 -1
  367. data/spec/models/identity_schema_preset_spec.rb +1 -1
  368. data/spec/models/identity_spec.rb +1 -1
  369. data/spec/models/identity_state_spec.rb +1 -1
  370. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +40 -0
  371. data/spec/models/identity_with_credentials_oidc_config_spec.rb +40 -0
  372. data/spec/models/identity_with_credentials_oidc_spec.rb +34 -0
  373. data/spec/models/identity_with_credentials_password_config_spec.rb +40 -0
  374. data/spec/models/identity_with_credentials_password_spec.rb +34 -0
  375. data/spec/models/identity_with_credentials_spec.rb +40 -0
  376. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +46 -0
  377. data/spec/models/internal_provision_mock_subscription_spec.rb +40 -0
  378. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  379. data/spec/models/invite_quota_spec.rb +46 -0
  380. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  381. data/spec/models/is_ready200_response_spec.rb +1 -1
  382. data/spec/models/is_ready503_response_spec.rb +1 -1
  383. data/spec/models/json_patch_spec.rb +1 -1
  384. data/spec/models/json_web_key_set_spec.rb +1 -1
  385. data/spec/models/json_web_key_spec.rb +1 -1
  386. data/spec/models/keto_namespace_spec.rb +1 -1
  387. data/spec/models/login_flow_spec.rb +112 -0
  388. data/spec/models/logout_flow_spec.rb +40 -0
  389. data/spec/models/managed_identity_schema_spec.rb +1 -1
  390. data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
  391. data/spec/models/message_spec.rb +5 -1
  392. data/spec/models/namespace_spec.rb +1 -1
  393. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  394. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  395. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  396. data/spec/models/normalized_project_revision_spec.rb +63 -1
  397. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  398. data/spec/models/normalized_project_spec.rb +1 -7
  399. data/spec/models/null_plan_spec.rb +1 -1
  400. data/spec/models/o_auth2_client_spec.rb +1 -13
  401. data/spec/models/o_auth2_client_token_lifespans_spec.rb +88 -0
  402. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  403. data/spec/models/o_auth2_consent_request_spec.rb +1 -1
  404. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
  405. data/spec/models/o_auth2_consent_session_spec.rb +8 -26
  406. data/spec/models/o_auth2_login_request_spec.rb +1 -1
  407. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  408. data/spec/models/o_auth2_redirect_to_spec.rb +34 -0
  409. data/spec/models/o_auth2_token_exchange_spec.rb +64 -0
  410. data/spec/models/oidc_configuration_spec.rb +1 -1
  411. data/spec/models/oidc_user_info_spec.rb +1 -1
  412. data/spec/models/pagination_headers_spec.rb +1 -1
  413. data/spec/models/pagination_spec.rb +1 -1
  414. data/spec/models/parse_error_spec.rb +1 -1
  415. data/spec/models/perform_native_logout_body_spec.rb +34 -0
  416. data/spec/models/post_check_permission_body_spec.rb +58 -0
  417. data/spec/models/post_check_permission_or_error_body_spec.rb +58 -0
  418. data/spec/models/project_api_key_spec.rb +1 -1
  419. data/spec/models/project_host_spec.rb +1 -1
  420. data/spec/models/project_invite_spec.rb +5 -1
  421. data/spec/models/project_metadata_spec.rb +1 -1
  422. data/spec/models/project_service_identity_spec.rb +1 -1
  423. data/spec/models/project_service_o_auth2_spec.rb +1 -1
  424. data/spec/models/project_service_permission_spec.rb +1 -1
  425. data/spec/models/project_services_spec.rb +1 -1
  426. data/spec/models/project_spec.rb +1 -1
  427. data/spec/models/recovery_code_for_identity_spec.rb +46 -0
  428. data/spec/models/recovery_flow_spec.rb +82 -0
  429. data/spec/models/recovery_flow_state_spec.rb +28 -0
  430. data/spec/models/recovery_identity_address_spec.rb +1 -1
  431. data/spec/models/recovery_link_for_identity_spec.rb +40 -0
  432. data/spec/models/registration_flow_spec.rb +88 -0
  433. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  434. data/spec/models/relation_query_spec.rb +1 -1
  435. data/spec/models/relationship_namespaces_spec.rb +34 -0
  436. data/spec/models/relationship_patch_spec.rb +44 -0
  437. data/spec/models/relationship_spec.rb +58 -0
  438. data/spec/models/relationships_spec.rb +40 -0
  439. data/spec/models/schema_patch_spec.rb +1 -1
  440. data/spec/models/self_service_flow_expired_error_spec.rb +7 -1
  441. data/spec/models/session_authentication_method_spec.rb +1 -1
  442. data/spec/models/session_device_spec.rb +1 -1
  443. data/spec/models/session_spec.rb +1 -1
  444. data/spec/models/set_active_project_in_console_body_spec.rb +34 -0
  445. data/spec/models/set_custom_domain_body_spec.rb +52 -0
  446. data/spec/models/set_project_spec.rb +40 -0
  447. data/spec/models/settings_flow_spec.rb +88 -0
  448. data/spec/models/settings_flow_state_spec.rb +28 -0
  449. data/spec/models/source_position_spec.rb +1 -1
  450. data/spec/models/stripe_customer_spec.rb +34 -0
  451. data/spec/models/subject_set_spec.rb +1 -1
  452. data/spec/models/subscription_spec.rb +1 -1
  453. data/spec/models/successful_native_login_spec.rb +40 -0
  454. data/spec/models/successful_native_registration_spec.rb +46 -0
  455. data/spec/models/successful_project_update_spec.rb +1 -1
  456. data/spec/models/token_pagination_headers_spec.rb +1 -1
  457. data/spec/models/token_pagination_request_parameters_spec.rb +40 -0
  458. data/spec/models/token_pagination_response_headers_spec.rb +40 -0
  459. data/spec/models/token_pagination_spec.rb +1 -1
  460. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +64 -0
  461. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  462. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  463. data/spec/models/ui_container_spec.rb +1 -1
  464. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  465. data/spec/models/ui_node_attributes_spec.rb +1 -1
  466. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  467. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  468. data/spec/models/ui_node_meta_spec.rb +1 -1
  469. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  470. data/spec/models/ui_node_spec.rb +1 -1
  471. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  472. data/spec/models/ui_text_spec.rb +5 -1
  473. data/spec/models/update_identity_body_spec.rb +64 -0
  474. data/spec/models/update_login_flow_body_spec.rb +43 -0
  475. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +46 -0
  476. data/spec/models/update_login_flow_with_oidc_method_spec.rb +52 -0
  477. data/spec/models/update_login_flow_with_password_method_spec.rb +58 -0
  478. data/spec/models/update_login_flow_with_totp_method_spec.rb +46 -0
  479. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +52 -0
  480. data/spec/models/update_recovery_flow_body_spec.rb +43 -0
  481. data/spec/models/update_recovery_flow_with_code_method_spec.rb +52 -0
  482. data/spec/models/update_recovery_flow_with_link_method_spec.rb +46 -0
  483. data/spec/models/update_registration_flow_body_spec.rb +43 -0
  484. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +52 -0
  485. data/spec/models/update_registration_flow_with_password_method_spec.rb +52 -0
  486. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +58 -0
  487. data/spec/models/update_settings_flow_body_spec.rb +43 -0
  488. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +64 -0
  489. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +58 -0
  490. data/spec/models/update_settings_flow_with_password_method_spec.rb +46 -0
  491. data/spec/models/update_settings_flow_with_profile_method_spec.rb +46 -0
  492. data/spec/models/update_settings_flow_with_totp_method_spec.rb +52 -0
  493. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +58 -0
  494. data/spec/models/update_subscription_body_spec.rb +40 -0
  495. data/spec/models/update_verification_flow_body_spec.rb +43 -0
  496. data/spec/models/update_verification_flow_with_code_method_body_spec.rb +58 -0
  497. data/spec/models/update_verification_flow_with_link_method_spec.rb +46 -0
  498. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  499. data/spec/models/verification_flow_spec.rb +82 -0
  500. data/spec/models/verification_flow_state_spec.rb +28 -0
  501. data/spec/models/version_spec.rb +1 -1
  502. data/spec/models/warning_spec.rb +1 -1
  503. data/spec/spec_helper.rb +1 -1
  504. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.16.0.gem +0 -0
  505. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.3.0.gem +0 -0
  506. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
  507. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  508. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  509. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  510. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
  511. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  512. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  513. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  514. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
  515. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  516. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  517. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  518. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/.github/workflows/ruby.yml +41 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.gitignore +0 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.rspec +0 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/CHANGELOG.md +375 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Gemfile +0 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Guardfile +0 -0
  524. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/LICENSE +0 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/README.md +118 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Rakefile +0 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/ethon.gemspec +0 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curl.rb +0 -0
  529. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/classes.rb +65 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/codes.rb +0 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/constants.rb +0 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/form_options.rb +0 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/functions.rb +0 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/infos.rb +0 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/messages.rb +0 -0
  536. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/curls/options.rb +503 -0
  537. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/settings.rb +0 -0
  538. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/callbacks.rb +149 -0
  539. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/debug_info.rb +0 -0
  540. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/features.rb +0 -0
  541. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/form.rb +0 -0
  542. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/header.rb +0 -0
  543. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/actionable.rb +0 -0
  544. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/custom.rb +0 -0
  545. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/delete.rb +0 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/get.rb +0 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/head.rb +0 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/options.rb +0 -0
  549. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/patch.rb +0 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/post.rb +0 -0
  551. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/postable.rb +0 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/put.rb +0 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/putable.rb +0 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http.rb +0 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/informations.rb +116 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/mirror.rb +0 -0
  557. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/operations.rb +0 -0
  558. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/options.rb +0 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/params.rb +0 -0
  560. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/queryable.rb +0 -0
  561. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb +136 -0
  562. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/util.rb +0 -0
  563. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy.rb +0 -0
  564. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/ethon_error.rb +0 -0
  565. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/global_init.rb +0 -0
  566. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_option.rb +0 -0
  567. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_value.rb +0 -0
  568. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_add.rb +0 -0
  569. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  570. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_remove.rb +0 -0
  571. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  572. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/select.rb +0 -0
  573. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors.rb +0 -0
  574. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/libc.rb +0 -0
  575. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/loggable.rb +0 -0
  576. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/operations.rb +0 -0
  577. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/options.rb +0 -0
  578. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/stack.rb +0 -0
  579. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi.rb +0 -0
  580. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/lib/ethon/version.rb +6 -0
  581. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon.rb +0 -0
  582. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/benchmarks.rb +0 -0
  583. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/memory_leaks.rb +0 -0
  584. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/perf_spec_helper.rb +0 -0
  585. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/memory_test_helpers.rb +0 -0
  586. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/os_memory_leak_tracker.rb +0 -0
  587. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
  588. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/curl_spec.rb +0 -0
  589. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/callbacks_spec.rb +81 -0
  590. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
  591. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/features_spec.rb +0 -0
  592. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/form_spec.rb +0 -0
  593. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/header_spec.rb +0 -0
  594. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
  595. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
  596. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/get_spec.rb +0 -0
  597. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/head_spec.rb +0 -0
  598. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/options_spec.rb +0 -0
  599. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
  600. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/post_spec.rb +0 -0
  601. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/put_spec.rb +0 -0
  602. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http_spec.rb +0 -0
  603. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/informations_spec.rb +126 -0
  604. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/mirror_spec.rb +47 -0
  605. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.16.0/spec/ethon/easy/operations_spec.rb +271 -0
  606. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/options_spec.rb +0 -0
  607. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  608. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
  609. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/util_spec.rb +0 -0
  610. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy_spec.rb +0 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/libc_spec.rb +0 -0
  612. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/loggable_spec.rb +0 -0
  613. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/operations_spec.rb +0 -0
  614. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/options_spec.rb +0 -0
  615. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/stack_spec.rb +0 -0
  616. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi_spec.rb +0 -0
  617. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/spec_helper.rb +0 -0
  618. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/localhost_server.rb +0 -0
  619. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/server.rb +0 -0
  620. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  621. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  622. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/LICENSE.txt +0 -0
  623. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/bin/ruby-parse +0 -0
  624. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/bin/ruby-rewrite +0 -0
  625. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/gauntlet_parser.rb +0 -0
  626. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/all.rb +0 -0
  627. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/ast/node.rb +0 -0
  628. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ast/processor.rb +291 -0
  629. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/base.rb +0 -0
  630. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/builders/default.rb +2317 -0
  631. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/clobbering_error.rb +0 -0
  632. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/color.rb +0 -0
  633. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/context.rb +0 -0
  634. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/current.rb +119 -0
  635. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/current_arg_stack.rb +0 -0
  636. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/deprecation.rb +0 -0
  637. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/diagnostic/engine.rb +0 -0
  638. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/diagnostic.rb +0 -0
  639. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/dedenter.rb +0 -0
  640. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/explanation.rb +0 -0
  641. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/literal.rb +0 -0
  642. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/lexer/stack_state.rb +0 -0
  643. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/lexer.rb +25045 -0
  644. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/macruby.rb +9632 -0
  645. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/max_numparam_stack.rb +0 -0
  646. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/messages.rb +120 -0
  647. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/meta.rb +40 -0
  648. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/rewriter.rb +0 -0
  649. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby18.rb +9270 -0
  650. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby19.rb +9556 -0
  651. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby20.rb +10227 -0
  652. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby21.rb +10201 -0
  653. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby22.rb +10300 -0
  654. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby23.rb +10320 -0
  655. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby24.rb +10452 -0
  656. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby25.rb +10372 -0
  657. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby26.rb +10350 -0
  658. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby27.rb +11945 -0
  659. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/ruby28.rb +0 -0
  660. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby30.rb +12241 -0
  661. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby31.rb +12714 -0
  662. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/ruby32.rb +12691 -0
  663. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/rubymotion.rb +9513 -0
  664. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner/ruby_parse.rb +0 -0
  665. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  666. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/runner.rb +0 -0
  667. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/buffer.rb +0 -0
  668. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/comment/associator.rb +0 -0
  669. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/comment.rb +0 -0
  670. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/collection.rb +0 -0
  671. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/condition.rb +0 -0
  672. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/constant.rb +0 -0
  673. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/definition.rb +0 -0
  674. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/for.rb +0 -0
  675. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/heredoc.rb +0 -0
  676. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/index.rb +0 -0
  677. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/keyword.rb +0 -0
  678. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/method_definition.rb +0 -0
  679. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  680. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/operator.rb +0 -0
  681. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/rescue_body.rb +0 -0
  682. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/send.rb +0 -0
  683. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/ternary.rb +0 -0
  684. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map/variable.rb +0 -0
  685. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/map.rb +0 -0
  686. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/range.rb +0 -0
  687. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/rewriter/action.rb +0 -0
  688. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/rewriter.rb +0 -0
  689. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  690. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/source/tree_rewriter.rb +0 -0
  691. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/static_environment.rb +87 -0
  692. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/syntax_error.rb +0 -0
  693. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/tree_rewriter.rb +0 -0
  694. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser/variables_stack.rb +0 -0
  695. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/lib/parser/version.rb +5 -0
  696. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.1.3.0}/lib/parser.rb +0 -0
  697. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.3.0/parser.gemspec +43 -0
  698. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  699. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
  700. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
  701. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.12.0/lib/rspec/version.rb +5 -0
  702. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
  703. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
  704. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
  705. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/Changelog.md +2360 -0
  706. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
  707. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
  708. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
  709. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
  710. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/backtrace_formatter.rb +0 -0
  711. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/coordinator.rb +0 -0
  712. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  713. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  714. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/server.rb +0 -0
  715. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_command.rb +0 -0
  716. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  717. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/bisect/utilities.rb +0 -0
  718. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb +2385 -0
  719. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/configuration_options.rb +0 -0
  720. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/did_you_mean.rb +0 -0
  721. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/drb.rb +0 -0
  722. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/dsl.rb +0 -0
  723. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example.rb +0 -0
  724. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_group.rb +0 -0
  725. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/example_status_persister.rb +0 -0
  726. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/filter_manager.rb +0 -0
  727. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/flat_map.rb +0 -0
  728. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  729. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  730. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  731. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  732. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  733. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/console_codes.rb +0 -0
  734. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  735. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  736. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/exception_presenter.rb +525 -0
  737. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  738. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  739. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/helpers.rb +0 -0
  740. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  741. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/formatters/html_printer.rb +412 -0
  742. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  743. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  744. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  745. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  746. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/protocol.rb +0 -0
  747. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  748. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  749. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters.rb +0 -0
  750. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/hooks.rb +0 -0
  751. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/invocations.rb +0 -0
  752. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/memoized_helpers.rb +0 -0
  753. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata.rb +0 -0
  754. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/metadata_filter.rb +0 -0
  755. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  756. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  757. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  758. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  759. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  760. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  761. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/notifications.rb +0 -0
  762. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/option_parser.rb +323 -0
  763. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ordering.rb +0 -0
  764. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/output_wrapper.rb +0 -0
  765. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/pending.rb +0 -0
  766. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/profiler.rb +0 -0
  767. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/.rspec +0 -0
  768. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  769. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/project_initializer.rb +0 -0
  770. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/rake_task.rb +0 -0
  771. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/reporter.rb +0 -0
  772. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/ruby_project.rb +0 -0
  773. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/runner.rb +0 -0
  774. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/sandbox.rb +0 -0
  775. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/set.rb +0 -0
  776. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_context.rb +0 -0
  777. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shared_example_group.rb +0 -0
  778. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/shell_escape.rb +0 -0
  779. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  780. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.12.0/lib/rspec/core/version.rb +9 -0
  781. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/warnings.rb +0 -0
  782. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/world.rb +0 -0
  783. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
  784. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.document +0 -0
  785. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/.yardopts +0 -0
  786. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/Changelog.md +1285 -0
  787. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
  788. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/README.md +0 -0
  789. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  790. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/configuration.rb +0 -0
  791. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/expectation_target.rb +0 -0
  792. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/fail_with.rb +0 -0
  793. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  794. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/handler.rb +0 -0
  795. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
  796. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations/syntax.rb +0 -0
  797. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/expectations/version.rb +8 -0
  798. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
  799. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  800. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/all.rb +0 -0
  801. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  802. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be.rb +0 -0
  803. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  804. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  805. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  806. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  807. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/change.rb +0 -0
  808. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/compound.rb +0 -0
  809. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  810. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  811. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
  812. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
  813. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
  814. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
  815. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/exist.rb +0 -0
  816. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/has.rb +0 -0
  817. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  818. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/include.rb +0 -0
  819. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/match.rb +0 -0
  820. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
  821. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/output.rb +0 -0
  822. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  823. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  824. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  825. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  826. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  827. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/yield.rb +0 -0
  828. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in.rb +0 -0
  829. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/composable.rb +0 -0
  830. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/dsl.rb +0 -0
  831. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
  832. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  833. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
  834. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  835. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  836. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.1 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  837. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers.rb +1044 -0
  838. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.document +0 -0
  839. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.yardopts +0 -0
  840. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/Changelog.md +1212 -0
  841. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/LICENSE.md +0 -0
  842. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/README.md +0 -0
  843. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  844. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  845. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  846. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  847. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  848. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  849. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  850. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  851. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  852. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance.rb +0 -0
  853. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  854. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
  855. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/configuration.rb +0 -0
  856. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb +380 -0
  857. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/example_methods.rb +0 -0
  858. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  859. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
  860. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  861. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  862. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
  863. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  864. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  865. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_chain.rb +0 -0
  866. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/message_expectation.rb +820 -0
  867. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_double.rb +0 -0
  868. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/method_reference.rb +214 -0
  869. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
  870. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/mutate_const.rb +0 -0
  871. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/object_reference.rb +0 -0
  872. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/order_group.rb +0 -0
  873. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/proxy.rb +0 -0
  874. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/space.rb +0 -0
  875. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/standalone.rb +0 -0
  876. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/syntax.rb +0 -0
  877. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/targets.rb +0 -0
  878. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/test_double.rb +0 -0
  879. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_double.rb +0 -0
  880. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
  881. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  882. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/version.rb +9 -0
  883. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks.rb +0 -0
  884. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/Changelog.md +364 -0
  885. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/LICENSE.md +0 -0
  886. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/README.md +0 -0
  887. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/caller_filter.rb +0 -0
  888. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/comparable_version.rb +0 -0
  889. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/differ.rb +0 -0
  890. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/directory_maker.rb +0 -0
  891. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/encoded_string.rb +0 -0
  892. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  893. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/hunk_generator.rb +0 -0
  894. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/matcher_definition.rb +0 -0
  895. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/method_signature_verifier.rb +0 -0
  896. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/mutex.rb +0 -0
  897. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/object_formatter.rb +0 -0
  898. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
  899. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
  900. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb +198 -0
  901. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/location.rb +0 -0
  902. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/node.rb +0 -0
  903. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source/token.rb +0 -0
  904. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/source.rb +0 -0
  905. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  906. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  907. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
  908. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/in_sub_process.rb +0 -0
  909. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  910. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/shell_out.rb +0 -0
  911. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
  912. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
  913. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  914. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  915. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/spec.rb +0 -0
  916. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.12.0/lib/rspec/support/version.rb +7 -0
  917. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/warnings.rb +0 -0
  918. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
  919. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.1 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
  920. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  921. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.16.0.gemspec +32 -0
  922. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.3.0.gemspec +63 -0
  923. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.12.0.gemspec +43 -0
  924. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.12.0.gemspec +63 -0
  925. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.12.0.gemspec +51 -0
  926. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.12.0.gemspec +51 -0
  927. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.12.0.gemspec +39 -0
  928. metadata +791 -787
  929. data/docs/ActiveProject.md +0 -18
  930. data/docs/AdminApi.md +0 -76
  931. data/docs/AdminCreateIdentityBody.md +0 -32
  932. data/docs/AdminCreateIdentityImportCredentialsOidc.md +0 -18
  933. data/docs/AdminCreateIdentityImportCredentialsOidcConfig.md +0 -20
  934. data/docs/AdminCreateIdentityImportCredentialsOidcProvider.md +0 -20
  935. data/docs/AdminCreateIdentityImportCredentialsPassword.md +0 -18
  936. data/docs/AdminCreateIdentityImportCredentialsPasswordConfig.md +0 -20
  937. data/docs/AdminCreateJsonWebKeySetBody.md +0 -22
  938. data/docs/AdminCreateSelfServiceRecoveryCodeBody.md +0 -20
  939. data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +0 -20
  940. data/docs/AdminIdentityImportCredentials.md +0 -20
  941. data/docs/AdminTrustOAuth2JwtGrantIssuerBody.md +0 -28
  942. data/docs/AdminUpdateIdentityBody.md +0 -28
  943. data/docs/CnameSettings.md +0 -34
  944. data/docs/CreateCustomHostnameBody.md +0 -24
  945. data/docs/CreateSubscriptionPayload.md +0 -22
  946. data/docs/ExpandTree.md +0 -22
  947. data/docs/GetCheckResponse.md +0 -18
  948. data/docs/GetNamespacesResponse.md +0 -18
  949. data/docs/GetRelationTuplesResponse.md +0 -20
  950. data/docs/HandledOAuth2ConsentRequest.md +0 -18
  951. data/docs/HandledOAuth2LoginRequest.md +0 -18
  952. data/docs/HandledOAuth2LogoutRequest.md +0 -18
  953. data/docs/Headers.md +0 -18
  954. data/docs/IDTokenClaims.md +0 -44
  955. data/docs/InvitePayload.md +0 -18
  956. data/docs/IsOwnerForProjectBySlugPayload.md +0 -22
  957. data/docs/JsonError.md +0 -18
  958. data/docs/NamespacesApi.md +0 -74
  959. data/docs/OAuth2AccessRequest.md +0 -24
  960. data/docs/OAuth2ApiError.md +0 -24
  961. data/docs/OAuth2TokenResponse.md +0 -28
  962. data/docs/PatchDelta.md +0 -20
  963. data/docs/PostCheckOplSyntaxResponse.md +0 -18
  964. data/docs/PreviousOAuth2ConsentSession.md +0 -30
  965. data/docs/ProvisionMockSubscriptionPayload.md +0 -20
  966. data/docs/QuotaCustomDomains.md +0 -22
  967. data/docs/QuotaProjectMemberSeats.md +0 -22
  968. data/docs/ReadApi.md +0 -467
  969. data/docs/RefreshTokenHookRequest.md +0 -28
  970. data/docs/RefreshTokenHookResponse.md +0 -18
  971. data/docs/RelationTuple.md +0 -26
  972. data/docs/RevokedSessions.md +0 -18
  973. data/docs/SelfServiceBrowserLocationChangeRequiredError.md +0 -34
  974. data/docs/SelfServiceError.md +0 -24
  975. data/docs/SelfServiceLoginFlow.md +0 -40
  976. data/docs/SelfServiceLogoutUrl.md +0 -20
  977. data/docs/SelfServiceRecoveryCode.md +0 -22
  978. data/docs/SelfServiceRecoveryFlow.md +0 -34
  979. data/docs/SelfServiceRecoveryFlowState.md +0 -15
  980. data/docs/SelfServiceRecoveryLink.md +0 -20
  981. data/docs/SelfServiceRegistrationFlow.md +0 -32
  982. data/docs/SelfServiceSettingsFlow.md +0 -36
  983. data/docs/SelfServiceSettingsFlowState.md +0 -15
  984. data/docs/SelfServiceVerificationFlow.md +0 -34
  985. data/docs/SelfServiceVerificationFlowState.md +0 -15
  986. data/docs/SettingsProfileFormConfig.md +0 -24
  987. data/docs/StripeCustomerResponse.md +0 -18
  988. data/docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md +0 -20
  989. data/docs/SubmitSelfServiceLoginFlowBody.md +0 -87
  990. data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +0 -22
  991. data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +0 -24
  992. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +0 -26
  993. data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +0 -22
  994. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +0 -24
  995. data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +0 -18
  996. data/docs/SubmitSelfServiceRecoveryFlowBody.md +0 -78
  997. data/docs/SubmitSelfServiceRecoveryFlowWithCodeMethodBody.md +0 -24
  998. data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +0 -22
  999. data/docs/SubmitSelfServiceRegistrationFlowBody.md +0 -81
  1000. data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +0 -24
  1001. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +0 -24
  1002. data/docs/SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody.md +0 -26
  1003. data/docs/SubmitSelfServiceSettingsFlowBody.md +0 -90
  1004. data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +0 -28
  1005. data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +0 -26
  1006. data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +0 -22
  1007. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +0 -22
  1008. data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +0 -24
  1009. data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +0 -26
  1010. data/docs/SubmitSelfServiceVerificationFlowBody.md +0 -75
  1011. data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +0 -22
  1012. data/docs/SuccessfulOAuth2RequestResponse.md +0 -18
  1013. data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +0 -20
  1014. data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +0 -22
  1015. data/docs/SyntaxApi.md +0 -77
  1016. data/docs/UpdateCustomHostnameBody.md +0 -24
  1017. data/docs/UpdateOAuth2ClientLifespans.md +0 -40
  1018. data/docs/UpdateProject.md +0 -20
  1019. data/docs/UpdateSubscriptionPayload.md +0 -20
  1020. data/docs/V0alpha2Api.md +0 -6762
  1021. data/docs/WriteApi.md +0 -233
  1022. data/lib/ory-client/api/admin_api.rb +0 -90
  1023. data/lib/ory-client/api/namespaces_api.rb +0 -79
  1024. data/lib/ory-client/api/read_api.rb +0 -449
  1025. data/lib/ory-client/api/syntax_api.rb +0 -90
  1026. data/lib/ory-client/api/v0alpha2_api.rb +0 -6452
  1027. data/lib/ory-client/api/write_api.rb +0 -228
  1028. data/lib/ory-client/models/active_project.rb +0 -221
  1029. data/lib/ory-client/models/admin_create_identity_body.rb +0 -304
  1030. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +0 -219
  1031. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +0 -231
  1032. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +0 -240
  1033. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +0 -219
  1034. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +0 -230
  1035. data/lib/ory-client/models/admin_create_json_web_key_set_body.rb +0 -255
  1036. data/lib/ory-client/models/admin_create_self_service_recovery_code_body.rb +0 -252
  1037. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +0 -252
  1038. data/lib/ory-client/models/admin_identity_import_credentials.rb +0 -228
  1039. data/lib/ory-client/models/admin_trust_o_auth2_jwt_grant_issuer_body.rb +0 -291
  1040. data/lib/ory-client/models/admin_update_identity_body.rb +0 -285
  1041. data/lib/ory-client/models/cname_settings.rb +0 -296
  1042. data/lib/ory-client/models/create_custom_hostname_body.rb +0 -252
  1043. data/lib/ory-client/models/create_subscription_payload.rb +0 -247
  1044. data/lib/ory-client/models/expand_tree.rb +0 -280
  1045. data/lib/ory-client/models/get_check_response.rb +0 -226
  1046. data/lib/ory-client/models/get_namespaces_response.rb +0 -221
  1047. data/lib/ory-client/models/get_relation_tuples_response.rb +0 -231
  1048. data/lib/ory-client/models/handled_o_auth2_consent_request.rb +0 -225
  1049. data/lib/ory-client/models/handled_o_auth2_login_request.rb +0 -225
  1050. data/lib/ory-client/models/handled_o_auth2_logout_request.rb +0 -225
  1051. data/lib/ory-client/models/headers.rb +0 -222
  1052. data/lib/ory-client/models/id_token_claims.rb +0 -343
  1053. data/lib/ory-client/models/invite_payload.rb +0 -219
  1054. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +0 -250
  1055. data/lib/ory-client/models/json_error.rb +0 -225
  1056. data/lib/ory-client/models/o_auth2_access_request.rb +0 -256
  1057. data/lib/ory-client/models/o_auth2_api_error.rb +0 -251
  1058. data/lib/ory-client/models/o_auth2_token_response.rb +0 -271
  1059. data/lib/ory-client/models/patch_delta.rb +0 -262
  1060. data/lib/ory-client/models/post_check_opl_syntax_response.rb +0 -222
  1061. data/lib/ory-client/models/previous_o_auth2_consent_session.rb +0 -280
  1062. data/lib/ory-client/models/provision_mock_subscription_payload.rb +0 -238
  1063. data/lib/ory-client/models/quota_custom_domains.rb +0 -237
  1064. data/lib/ory-client/models/quota_project_member_seats.rb +0 -237
  1065. data/lib/ory-client/models/refresh_token_hook_request.rb +0 -272
  1066. data/lib/ory-client/models/refresh_token_hook_response.rb +0 -219
  1067. data/lib/ory-client/models/relation_tuple.rb +0 -274
  1068. data/lib/ory-client/models/revoked_sessions.rb +0 -220
  1069. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +0 -307
  1070. data/lib/ory-client/models/self_service_error.rb +0 -254
  1071. data/lib/ory-client/models/self_service_login_flow.rb +0 -358
  1072. data/lib/ory-client/models/self_service_logout_url.rb +0 -240
  1073. data/lib/ory-client/models/self_service_recovery_code.rb +0 -250
  1074. data/lib/ory-client/models/self_service_recovery_flow.rb +0 -334
  1075. data/lib/ory-client/models/self_service_recovery_flow_state.rb +0 -38
  1076. data/lib/ory-client/models/self_service_recovery_link.rb +0 -235
  1077. data/lib/ory-client/models/self_service_registration_flow.rb +0 -318
  1078. data/lib/ory-client/models/self_service_settings_flow.rb +0 -348
  1079. data/lib/ory-client/models/self_service_settings_flow_state.rb +0 -37
  1080. data/lib/ory-client/models/self_service_verification_flow.rb +0 -319
  1081. data/lib/ory-client/models/self_service_verification_flow_state.rb +0 -38
  1082. data/lib/ory-client/models/settings_profile_form_config.rb +0 -267
  1083. data/lib/ory-client/models/stripe_customer_response.rb +0 -219
  1084. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +0 -230
  1085. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +0 -61
  1086. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +0 -250
  1087. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +0 -261
  1088. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +0 -275
  1089. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +0 -250
  1090. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +0 -260
  1091. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +0 -226
  1092. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +0 -55
  1093. data/lib/ory-client/models/submit_self_service_recovery_flow_with_code_method_body.rb +0 -255
  1094. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +0 -250
  1095. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +0 -57
  1096. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +0 -261
  1097. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +0 -266
  1098. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +0 -270
  1099. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +0 -63
  1100. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +0 -275
  1101. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +0 -266
  1102. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +0 -250
  1103. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +0 -251
  1104. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +0 -255
  1105. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +0 -265
  1106. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +0 -54
  1107. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +0 -250
  1108. data/lib/ory-client/models/successful_o_auth2_request_response.rb +0 -225
  1109. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +0 -235
  1110. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +0 -244
  1111. data/lib/ory-client/models/update_custom_hostname_body.rb +0 -252
  1112. data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +0 -535
  1113. data/lib/ory-client/models/update_project.rb +0 -239
  1114. data/lib/ory-client/models/update_subscription_payload.rb +0 -233
  1115. data/spec/api/admin_api_spec.rb +0 -47
  1116. data/spec/api/namespaces_api_spec.rb +0 -46
  1117. data/spec/api/read_api_spec.rb +0 -124
  1118. data/spec/api/syntax_api_spec.rb +0 -47
  1119. data/spec/api/v0alpha2_api_spec.rb +0 -1253
  1120. data/spec/api/write_api_spec.rb +0 -77
  1121. data/spec/models/active_project_spec.rb +0 -34
  1122. data/spec/models/admin_create_identity_body_spec.rb +0 -76
  1123. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +0 -40
  1124. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +0 -40
  1125. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +0 -34
  1126. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +0 -40
  1127. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +0 -34
  1128. data/spec/models/admin_create_json_web_key_set_body_spec.rb +0 -46
  1129. data/spec/models/admin_create_self_service_recovery_code_body_spec.rb +0 -40
  1130. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +0 -40
  1131. data/spec/models/admin_identity_import_credentials_spec.rb +0 -40
  1132. data/spec/models/admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb +0 -64
  1133. data/spec/models/admin_update_identity_body_spec.rb +0 -64
  1134. data/spec/models/cname_settings_spec.rb +0 -82
  1135. data/spec/models/create_custom_hostname_body_spec.rb +0 -52
  1136. data/spec/models/create_subscription_payload_spec.rb +0 -46
  1137. data/spec/models/expand_tree_spec.rb +0 -50
  1138. data/spec/models/get_check_response_spec.rb +0 -34
  1139. data/spec/models/get_namespaces_response_spec.rb +0 -34
  1140. data/spec/models/get_relation_tuples_response_spec.rb +0 -40
  1141. data/spec/models/handled_o_auth2_consent_request_spec.rb +0 -34
  1142. data/spec/models/handled_o_auth2_login_request_spec.rb +0 -34
  1143. data/spec/models/handled_o_auth2_logout_request_spec.rb +0 -34
  1144. data/spec/models/headers_spec.rb +0 -34
  1145. data/spec/models/id_token_claims_spec.rb +0 -112
  1146. data/spec/models/invite_payload_spec.rb +0 -34
  1147. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +0 -46
  1148. data/spec/models/json_error_spec.rb +0 -34
  1149. data/spec/models/o_auth2_access_request_spec.rb +0 -52
  1150. data/spec/models/o_auth2_api_error_spec.rb +0 -52
  1151. data/spec/models/o_auth2_token_response_spec.rb +0 -64
  1152. data/spec/models/patch_delta_spec.rb +0 -44
  1153. data/spec/models/post_check_opl_syntax_response_spec.rb +0 -34
  1154. data/spec/models/previous_o_auth2_consent_session_spec.rb +0 -70
  1155. data/spec/models/provision_mock_subscription_payload_spec.rb +0 -40
  1156. data/spec/models/quota_custom_domains_spec.rb +0 -46
  1157. data/spec/models/quota_project_member_seats_spec.rb +0 -46
  1158. data/spec/models/refresh_token_hook_request_spec.rb +0 -64
  1159. data/spec/models/refresh_token_hook_response_spec.rb +0 -34
  1160. data/spec/models/relation_tuple_spec.rb +0 -58
  1161. data/spec/models/revoked_sessions_spec.rb +0 -34
  1162. data/spec/models/self_service_browser_location_change_required_error_spec.rb +0 -82
  1163. data/spec/models/self_service_error_spec.rb +0 -52
  1164. data/spec/models/self_service_login_flow_spec.rb +0 -100
  1165. data/spec/models/self_service_logout_url_spec.rb +0 -40
  1166. data/spec/models/self_service_recovery_code_spec.rb +0 -46
  1167. data/spec/models/self_service_recovery_flow_spec.rb +0 -82
  1168. data/spec/models/self_service_recovery_flow_state_spec.rb +0 -28
  1169. data/spec/models/self_service_recovery_link_spec.rb +0 -40
  1170. data/spec/models/self_service_registration_flow_spec.rb +0 -76
  1171. data/spec/models/self_service_settings_flow_spec.rb +0 -88
  1172. data/spec/models/self_service_settings_flow_state_spec.rb +0 -28
  1173. data/spec/models/self_service_verification_flow_spec.rb +0 -82
  1174. data/spec/models/self_service_verification_flow_state_spec.rb +0 -28
  1175. data/spec/models/settings_profile_form_config_spec.rb +0 -52
  1176. data/spec/models/stripe_customer_response_spec.rb +0 -34
  1177. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +0 -40
  1178. data/spec/models/submit_self_service_login_flow_body_spec.rb +0 -43
  1179. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +0 -46
  1180. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +0 -52
  1181. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +0 -58
  1182. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +0 -46
  1183. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +0 -52
  1184. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +0 -34
  1185. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +0 -43
  1186. data/spec/models/submit_self_service_recovery_flow_with_code_method_body_spec.rb +0 -52
  1187. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +0 -46
  1188. data/spec/models/submit_self_service_registration_flow_body_spec.rb +0 -43
  1189. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +0 -52
  1190. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +0 -52
  1191. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +0 -58
  1192. data/spec/models/submit_self_service_settings_flow_body_spec.rb +0 -43
  1193. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +0 -64
  1194. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +0 -58
  1195. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +0 -46
  1196. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +0 -46
  1197. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +0 -52
  1198. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +0 -58
  1199. data/spec/models/submit_self_service_verification_flow_body_spec.rb +0 -43
  1200. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +0 -46
  1201. data/spec/models/successful_o_auth2_request_response_spec.rb +0 -34
  1202. data/spec/models/successful_self_service_login_without_browser_spec.rb +0 -40
  1203. data/spec/models/successful_self_service_registration_without_browser_spec.rb +0 -46
  1204. data/spec/models/update_custom_hostname_body_spec.rb +0 -52
  1205. data/spec/models/update_o_auth2_client_lifespans_spec.rb +0 -100
  1206. data/spec/models/update_project_spec.rb +0 -40
  1207. data/spec/models/update_subscription_payload_spec.rb +0 -40
  1208. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
  1209. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  1210. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
  1211. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
  1212. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.1.gem +0 -0
  1213. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
  1214. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.1.gem +0 -0
  1215. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
  1216. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
  1217. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/README.md +0 -95
  1218. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
  1219. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
  1220. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
  1221. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
  1222. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
  1223. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
  1224. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
  1225. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
  1226. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
  1227. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
  1228. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ast/processor.rb +0 -288
  1229. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/builders/default.rb +0 -2309
  1230. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/current.rb +0 -119
  1231. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
  1232. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
  1233. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/messages.rb +0 -118
  1234. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/meta.rb +0 -39
  1235. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
  1236. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
  1237. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
  1238. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
  1239. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
  1240. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
  1241. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
  1242. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
  1243. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
  1244. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
  1245. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
  1246. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
  1247. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
  1248. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
  1249. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/static_environment.rb +0 -69
  1250. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/version.rb +0 -5
  1251. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/parser.gemspec +0 -43
  1252. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec/version.rb +0 -5
  1253. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/Changelog.md +0 -2355
  1254. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +0 -2383
  1255. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +0 -521
  1256. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +0 -414
  1257. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +0 -325
  1258. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +0 -9
  1259. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/Changelog.md +0 -1277
  1260. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/expectations/version.rb +0 -8
  1261. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/matchers.rb +0 -1041
  1262. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/Changelog.md +0 -1193
  1263. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +0 -369
  1264. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +0 -822
  1265. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +0 -202
  1266. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  1267. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +0 -9
  1268. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/Changelog.md +0 -357
  1269. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/ruby_features.rb +0 -194
  1270. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/version.rb +0 -7
  1271. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.15.0.gemspec +0 -32
  1272. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.2.1.gemspec +0 -63
  1273. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +0 -43
  1274. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +0 -63
  1275. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.1.gemspec +0 -51
  1276. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.1.gemspec +0 -51
  1277. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.1.gemspec +0 -39
@@ -1,1253 +0,0 @@
1
- =begin
2
- #Ory APIs
3
-
4
- #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
-
6
- The version of the OpenAPI document: v0.2.0-alpha.60
7
- Contact: support@ory.sh
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.0.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
-
16
- # Unit tests for OryClient::V0alpha2Api
17
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
- # Please update as you see appropriate
19
- describe 'V0alpha2Api' do
20
- before do
21
- # run before each test
22
- @api_instance = OryClient::V0alpha2Api.new
23
- end
24
-
25
- after do
26
- # run after each test
27
- end
28
-
29
- describe 'test an instance of V0alpha2Api' do
30
- it 'should create an instance of V0alpha2Api' do
31
- expect(@api_instance).to be_instance_of(OryClient::V0alpha2Api)
32
- end
33
- end
34
-
35
- # unit tests for admin_accept_o_auth2_consent_request
36
- # Accept an OAuth 2.0 Consent Request
37
- # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests. The response contains a redirect URL which the consent provider should redirect the user-agent to.
38
- # @param consent_challenge
39
- # @param [Hash] opts the optional parameters
40
- # @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
41
- # @return [SuccessfulOAuth2RequestResponse]
42
- describe 'admin_accept_o_auth2_consent_request test' do
43
- it 'should work' do
44
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
- end
46
- end
47
-
48
- # unit tests for admin_accept_o_auth2_login_request
49
- # Accept an OAuth 2.0 Login Request
50
- # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell Ory Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has successfully authenticated and includes additional information such as the subject's ID and if ORY Hydra should remember the subject's subject agent for future authentication attempts by setting a cookie. The response contains a redirect URL which the login provider should redirect the user-agent to.
51
- # @param login_challenge
52
- # @param [Hash] opts the optional parameters
53
- # @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
54
- # @return [SuccessfulOAuth2RequestResponse]
55
- describe 'admin_accept_o_auth2_login_request test' do
56
- it 'should work' do
57
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
- end
59
- end
60
-
61
- # unit tests for admin_accept_o_auth2_logout_request
62
- # Accept an OAuth 2.0 Logout Request
63
- # When a user or an application requests ORY Hydra to log out a user, this endpoint is used to confirm that logout request. The response contains a redirect URL which the consent provider should redirect the user-agent to.
64
- # @param logout_challenge
65
- # @param [Hash] opts the optional parameters
66
- # @return [SuccessfulOAuth2RequestResponse]
67
- describe 'admin_accept_o_auth2_logout_request test' do
68
- it 'should work' do
69
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
- end
71
- end
72
-
73
- # unit tests for admin_create_identity
74
- # Create an Identity
75
- # 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).
76
- # @param [Hash] opts the optional parameters
77
- # @option opts [AdminCreateIdentityBody] :admin_create_identity_body
78
- # @return [Identity]
79
- describe 'admin_create_identity test' do
80
- it 'should work' do
81
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
- end
83
- end
84
-
85
- # unit tests for admin_create_json_web_key_set
86
- # Generate a New JSON Web Key
87
- # This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
88
- # @param set The JSON Web Key Set
89
- # @param admin_create_json_web_key_set_body
90
- # @param [Hash] opts the optional parameters
91
- # @return [JsonWebKeySet]
92
- describe 'admin_create_json_web_key_set test' do
93
- it 'should work' do
94
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
- end
96
- end
97
-
98
- # unit tests for admin_create_o_auth2_client
99
- # Create an OAuth 2.0 Client
100
- # Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
101
- # @param o_auth2_client
102
- # @param [Hash] opts the optional parameters
103
- # @return [OAuth2Client]
104
- describe 'admin_create_o_auth2_client test' do
105
- it 'should work' do
106
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
- end
108
- end
109
-
110
- # unit tests for admin_create_self_service_recovery_code
111
- # Create a Recovery Link
112
- # This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account.
113
- # @param [Hash] opts the optional parameters
114
- # @option opts [AdminCreateSelfServiceRecoveryCodeBody] :admin_create_self_service_recovery_code_body
115
- # @return [SelfServiceRecoveryCode]
116
- describe 'admin_create_self_service_recovery_code test' do
117
- it 'should work' do
118
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
- end
120
- end
121
-
122
- # unit tests for admin_create_self_service_recovery_link
123
- # Create a Recovery Link
124
- # This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account.
125
- # @param [Hash] opts the optional parameters
126
- # @option opts [AdminCreateSelfServiceRecoveryLinkBody] :admin_create_self_service_recovery_link_body
127
- # @return [SelfServiceRecoveryLink]
128
- describe 'admin_create_self_service_recovery_link test' do
129
- it 'should work' do
130
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
131
- end
132
- end
133
-
134
- # unit tests for admin_delete_identity
135
- # Delete an Identity
136
- # 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).
137
- # @param id ID is the identity's ID.
138
- # @param [Hash] opts the optional parameters
139
- # @return [nil]
140
- describe 'admin_delete_identity test' do
141
- it 'should work' do
142
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
143
- end
144
- end
145
-
146
- # unit tests for admin_delete_identity_sessions
147
- # Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
148
- # This endpoint is useful for: To forcefully logout Identity from all devices and sessions
149
- # @param id ID is the identity's ID.
150
- # @param [Hash] opts the optional parameters
151
- # @return [nil]
152
- describe 'admin_delete_identity_sessions test' do
153
- it 'should work' do
154
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
155
- end
156
- end
157
-
158
- # unit tests for admin_delete_json_web_key
159
- # Delete a JSON Web Key
160
- # Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
161
- # @param set The JSON Web Key Set
162
- # @param kid The JSON Web Key ID (kid)
163
- # @param [Hash] opts the optional parameters
164
- # @return [nil]
165
- describe 'admin_delete_json_web_key test' do
166
- it 'should work' do
167
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
168
- end
169
- end
170
-
171
- # unit tests for admin_delete_json_web_key_set
172
- # Delete a JSON Web Key Set
173
- # Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
174
- # @param set The JSON Web Key Set
175
- # @param [Hash] opts the optional parameters
176
- # @return [nil]
177
- describe 'admin_delete_json_web_key_set test' do
178
- it 'should work' do
179
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
180
- end
181
- end
182
-
183
- # unit tests for admin_delete_o_auth2_client
184
- # Deletes an OAuth 2.0 Client
185
- # Delete an existing OAuth 2.0 Client by its ID. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. Make sure that this endpoint is well protected and only callable by first-party components.
186
- # @param id The id of the OAuth 2.0 Client.
187
- # @param [Hash] opts the optional parameters
188
- # @return [nil]
189
- describe 'admin_delete_o_auth2_client test' do
190
- it 'should work' do
191
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
192
- end
193
- end
194
-
195
- # unit tests for admin_delete_o_auth2_token
196
- # Delete OAuth2 Access Tokens from a Client
197
- # This endpoint deletes OAuth2 access tokens issued for a client from the database
198
- # @param client_id
199
- # @param [Hash] opts the optional parameters
200
- # @return [nil]
201
- describe 'admin_delete_o_auth2_token test' do
202
- it 'should work' do
203
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
204
- end
205
- end
206
-
207
- # unit tests for admin_delete_trusted_o_auth2_jwt_grant_issuer
208
- # Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer
209
- # Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship. Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grant.
210
- # @param id The id of the desired grant
211
- # @param [Hash] opts the optional parameters
212
- # @return [nil]
213
- describe 'admin_delete_trusted_o_auth2_jwt_grant_issuer test' do
214
- it 'should work' do
215
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
216
- end
217
- end
218
-
219
- # unit tests for admin_extend_session
220
- # 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.
221
- # Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
222
- # @param id ID is the session's ID.
223
- # @param [Hash] opts the optional parameters
224
- # @return [Session]
225
- describe 'admin_extend_session test' do
226
- it 'should work' do
227
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
228
- end
229
- end
230
-
231
- # unit tests for admin_get_identity
232
- # Get an Identity
233
- # Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
234
- # @param id ID must be set to the ID of identity you want to get
235
- # @param [Hash] opts the optional parameters
236
- # @option opts [Array<String>] :include_credential 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.
237
- # @return [Identity]
238
- describe 'admin_get_identity test' do
239
- it 'should work' do
240
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
241
- end
242
- end
243
-
244
- # unit tests for admin_get_json_web_key
245
- # Fetch a JSON Web Key
246
- # This endpoint returns a singular JSON Web Key. It is identified by the set and the specific key ID (kid).
247
- # @param set The JSON Web Key Set
248
- # @param kid The JSON Web Key ID (kid)
249
- # @param [Hash] opts the optional parameters
250
- # @return [JsonWebKeySet]
251
- describe 'admin_get_json_web_key test' do
252
- it 'should work' do
253
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
254
- end
255
- end
256
-
257
- # unit tests for admin_get_json_web_key_set
258
- # Retrieve a JSON Web Key Set
259
- # This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
260
- # @param set The JSON Web Key Set
261
- # @param [Hash] opts the optional parameters
262
- # @return [JsonWebKeySet]
263
- describe 'admin_get_json_web_key_set test' do
264
- it 'should work' do
265
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
266
- end
267
- end
268
-
269
- # unit tests for admin_get_o_auth2_client
270
- # Get an OAuth 2.0 Client
271
- # Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
272
- # @param id The id of the OAuth 2.0 Client.
273
- # @param [Hash] opts the optional parameters
274
- # @return [OAuth2Client]
275
- describe 'admin_get_o_auth2_client test' do
276
- it 'should work' do
277
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
278
- end
279
- end
280
-
281
- # unit tests for admin_get_o_auth2_consent_request
282
- # Get OAuth 2.0 Consent Request Information
283
- # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject&#39;s behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\&quot;Application my-dropbox-app wants write access to all your private files\&quot;). The consent challenge is appended to the consent provider&#39;s URL to which the subject&#39;s user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request.
284
- # @param consent_challenge
285
- # @param [Hash] opts the optional parameters
286
- # @return [OAuth2ConsentRequest]
287
- describe 'admin_get_o_auth2_consent_request test' do
288
- it 'should work' do
289
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
290
- end
291
- end
292
-
293
- # unit tests for admin_get_o_auth2_login_request
294
- # Get an OAuth 2.0 Login Request
295
- # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \&quot;identity provider\&quot;) to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\&quot;show the subject a login screen\&quot;) a subject (in OAuth2 the proper name for subject is \&quot;resource owner\&quot;). The authentication challenge is appended to the login provider URL to which the subject&#39;s user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
296
- # @param login_challenge
297
- # @param [Hash] opts the optional parameters
298
- # @return [OAuth2LoginRequest]
299
- describe 'admin_get_o_auth2_login_request test' do
300
- it 'should work' do
301
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
302
- end
303
- end
304
-
305
- # unit tests for admin_get_o_auth2_logout_request
306
- # Get an OAuth 2.0 Logout Request
307
- # Use this endpoint to fetch a logout request.
308
- # @param logout_challenge
309
- # @param [Hash] opts the optional parameters
310
- # @return [OAuth2LogoutRequest]
311
- describe 'admin_get_o_auth2_logout_request test' do
312
- it 'should work' do
313
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
314
- end
315
- end
316
-
317
- # unit tests for admin_get_trusted_o_auth2_jwt_grant_issuer
318
- # Get a Trusted OAuth2 JWT Bearer Grant Type Issuer
319
- # Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
320
- # @param id The id of the desired grant
321
- # @param [Hash] opts the optional parameters
322
- # @return [TrustedOAuth2JwtGrantIssuer]
323
- describe 'admin_get_trusted_o_auth2_jwt_grant_issuer test' do
324
- it 'should work' do
325
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
326
- end
327
- end
328
-
329
- # unit tests for admin_introspect_o_auth2_token
330
- # Introspect OAuth2 Access or Refresh Tokens
331
- # The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting &#x60;accessTokenExtra&#x60; during the consent flow. For more information [read this blog post](https://www.oauth.com/oauth2-servers/token-introspection-endpoint/).
332
- # @param token The string value of the token. For access tokens, this is the \\\&quot;access_token\\\&quot; value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\&quot;refresh_token\\\&quot; value returned.
333
- # @param [Hash] opts the optional parameters
334
- # @option opts [String] :scope An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false.
335
- # @return [IntrospectedOAuth2Token]
336
- describe 'admin_introspect_o_auth2_token test' do
337
- it 'should work' do
338
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
339
- end
340
- end
341
-
342
- # unit tests for admin_list_courier_messages
343
- # List Messages
344
- # Lists all messages by given status and recipient.
345
- # @param [Hash] opts the optional parameters
346
- # @option opts [Integer] :per_page Items per Page This is the number of items per page.
347
- # @option opts [Integer] :page 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.
348
- # @option opts [CourierMessageStatus] :status Status filters out messages based on status. If no value is provided, it doesn&#39;t take effect on filter.
349
- # @option opts [String] :recipient Recipient filters out messages based on recipient. If no value is provided, it doesn&#39;t take effect on filter.
350
- # @return [Array<Message>]
351
- describe 'admin_list_courier_messages test' do
352
- it 'should work' do
353
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
354
- end
355
- end
356
-
357
- # unit tests for admin_list_identities
358
- # List Identities
359
- # Lists all identities. Does not support search at the moment. Learn how identities work in [Ory Kratos&#39; User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
360
- # @param [Hash] opts the optional parameters
361
- # @option opts [Integer] :per_page Items per Page This is the number of items per page.
362
- # @option opts [Integer] :page 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.
363
- # @return [Array<Identity>]
364
- describe 'admin_list_identities test' do
365
- it 'should work' do
366
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
367
- end
368
- end
369
-
370
- # unit tests for admin_list_identity_sessions
371
- # This endpoint returns all sessions that belong to the given Identity.
372
- # This endpoint is useful for: Listing all sessions that belong to an Identity in an administrative context.
373
- # @param id ID is the identity&#39;s ID.
374
- # @param [Hash] opts the optional parameters
375
- # @option opts [Integer] :per_page Items per Page This is the number of items per page.
376
- # @option opts [Integer] :page 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.
377
- # @option opts [Boolean] :active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.
378
- # @return [Array<Session>]
379
- describe 'admin_list_identity_sessions test' do
380
- it 'should work' do
381
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
382
- end
383
- end
384
-
385
- # unit tests for admin_list_o_auth2_clients
386
- # List OAuth 2.0 Clients
387
- # This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients. The &#x60;limit&#x60; parameter can be used to retrieve more clients, but it has an upper bound at 500 objects. Pagination should be used to retrieve more than 500 objects. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. The \&quot;Link\&quot; header is also included in successful responses, which contains one or more links for pagination, formatted like so: &#39;&lt;https://project-slug.projects.oryapis.com/admin/clients?limit&#x3D;{limit}&amp;offset&#x3D;{offset}&gt;; rel&#x3D;\&quot;{page}\&quot;&#39;, where page is one of the following applicable pages: &#39;first&#39;, &#39;next&#39;, &#39;last&#39;, and &#39;previous&#39;. Multiple links can be included in this header, and will be separated by a comma.
388
- # @param [Hash] opts the optional parameters
389
- # @option opts [Integer] :page_size Items per page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
390
- # @option opts [String] :page_token Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
391
- # @option opts [String] :client_name The name of the clients to filter by.
392
- # @option opts [String] :owner The owner of the clients to filter by.
393
- # @return [Array<OAuth2Client>]
394
- describe 'admin_list_o_auth2_clients test' do
395
- it 'should work' do
396
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
397
- end
398
- end
399
-
400
- # unit tests for admin_list_o_auth2_subject_consent_sessions
401
- # List OAuth 2.0 Consent Sessions of a Subject
402
- # This endpoint lists all subject&#39;s granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. The \&quot;Link\&quot; header is also included in successful responses, which contains one or more links for pagination, formatted like so: &#39;&lt;https://hydra-url/admin/oauth2/auth/sessions/consent?subject&#x3D;{user}&amp;limit&#x3D;{limit}&amp;offset&#x3D;{offset}&gt;; rel&#x3D;\&quot;{page}\&quot;&#39;, where page is one of the following applicable pages: &#39;first&#39;, &#39;next&#39;, &#39;last&#39;, and &#39;previous&#39;. Multiple links can be included in this header, and will be separated by a comma.
403
- # @param subject The subject to list the consent sessions for.
404
- # @param [Hash] opts the optional parameters
405
- # @option opts [String] :link The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).
406
- # @option opts [String] :x_total_count The total number of clients.
407
- # @return [Array<PreviousOAuth2ConsentSession>]
408
- describe 'admin_list_o_auth2_subject_consent_sessions test' do
409
- it 'should work' do
410
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
411
- end
412
- end
413
-
414
- # unit tests for admin_list_trusted_o_auth2_jwt_grant_issuers
415
- # List Trusted OAuth2 JWT Bearer Grant Type Issuers
416
- # Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
417
- # @param [Hash] opts the optional parameters
418
- # @option opts [Integer] :max_items
419
- # @option opts [Integer] :default_items
420
- # @option opts [String] :issuer If optional \&quot;issuer\&quot; is supplied, only jwt-bearer grants with this issuer will be returned.
421
- # @option opts [Integer] :limit The maximum amount of policies returned, upper bound is 500 policies
422
- # @option opts [Integer] :offset The offset from where to start looking.
423
- # @return [Array<TrustedOAuth2JwtGrantIssuer>]
424
- describe 'admin_list_trusted_o_auth2_jwt_grant_issuers test' do
425
- it 'should work' do
426
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
427
- end
428
- end
429
-
430
- # unit tests for admin_patch_identity
431
- # Patch an Identity
432
- # Partially updates an Identity&#39;s field using [JSON Patch](https://jsonpatch.com/) NOTE: The fields &#x60;id&#x60;, &#x60;stateChangedAt&#x60; and &#x60;credentials&#x60; are not updateable. Learn how identities work in [Ory Kratos&#39; User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
433
- # @param id ID must be set to the ID of identity you want to update
434
- # @param [Hash] opts the optional parameters
435
- # @option opts [Array<JsonPatch>] :json_patch
436
- # @return [Identity]
437
- describe 'admin_patch_identity test' do
438
- it 'should work' do
439
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
440
- end
441
- end
442
-
443
- # unit tests for admin_patch_o_auth2_client
444
- # Patch an OAuth 2.0 Client
445
- # Patch an existing OAuth 2.0 Client. If you pass &#x60;client_secret&#x60; the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
446
- # @param id The id of the OAuth 2.0 Client.
447
- # @param json_patch
448
- # @param [Hash] opts the optional parameters
449
- # @return [OAuth2Client]
450
- describe 'admin_patch_o_auth2_client test' do
451
- it 'should work' do
452
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
453
- end
454
- end
455
-
456
- # unit tests for admin_reject_o_auth2_consent_request
457
- # Reject an OAuth 2.0 Consent Request
458
- # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject&#39;s behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\&quot;Application my-dropbox-app wants write access to all your private files\&quot;). The consent challenge is appended to the consent provider&#39;s URL to which the subject&#39;s user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider must include a reason why the consent was not granted. The response contains a redirect URL which the consent provider should redirect the user-agent to.
459
- # @param consent_challenge
460
- # @param [Hash] opts the optional parameters
461
- # @option opts [RejectOAuth2Request] :reject_o_auth2_request
462
- # @return [SuccessfulOAuth2RequestResponse]
463
- describe 'admin_reject_o_auth2_consent_request test' do
464
- it 'should work' do
465
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
466
- end
467
- end
468
-
469
- # unit tests for admin_reject_o_auth2_login_request
470
- # Reject an OAuth 2.0 Login Request
471
- # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \&quot;identity provider\&quot;) to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\&quot;show the subject a login screen\&quot;) a subject (in OAuth2 the proper name for subject is \&quot;resource owner\&quot;). The authentication challenge is appended to the login provider URL to which the subject&#39;s user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has not authenticated and includes a reason why the authentication was denied. The response contains a redirect URL which the login provider should redirect the user-agent to.
472
- # @param login_challenge
473
- # @param [Hash] opts the optional parameters
474
- # @option opts [RejectOAuth2Request] :reject_o_auth2_request
475
- # @return [SuccessfulOAuth2RequestResponse]
476
- describe 'admin_reject_o_auth2_login_request test' do
477
- it 'should work' do
478
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
479
- end
480
- end
481
-
482
- # unit tests for admin_reject_o_auth2_logout_request
483
- # Reject an OAuth 2.0 Logout Request
484
- # When a user or an application requests ORY Hydra to log out a user, this endpoint is used to deny that logout request. No body is required. The response is empty as the logout provider has to chose what action to perform next.
485
- # @param logout_challenge
486
- # @param [Hash] opts the optional parameters
487
- # @option opts [RejectOAuth2Request] :reject_o_auth2_request
488
- # @return [nil]
489
- describe 'admin_reject_o_auth2_logout_request test' do
490
- it 'should work' do
491
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
492
- end
493
- end
494
-
495
- # unit tests for admin_revoke_o_auth2_consent_sessions
496
- # Revokes OAuth 2.0 Consent Sessions of a Subject for a Specific OAuth 2.0 Client
497
- # This endpoint revokes a subject&#39;s granted consent sessions for a specific OAuth 2.0 Client and invalidates all associated OAuth 2.0 Access Tokens.
498
- # @param subject The subject (Subject) whose consent sessions should be deleted.
499
- # @param [Hash] opts the optional parameters
500
- # @option opts [String] :client If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID
501
- # @option opts [Boolean] :all If set to &#x60;true&#x60; deletes all consent sessions by the Subject that have been granted.
502
- # @return [nil]
503
- describe 'admin_revoke_o_auth2_consent_sessions test' do
504
- it 'should work' do
505
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
506
- end
507
- end
508
-
509
- # unit tests for admin_revoke_o_auth2_login_sessions
510
- # Invalidates All OAuth 2.0 Login Sessions of a Certain User
511
- # This endpoint invalidates a subject&#39;s authentication session. After revoking the authentication session, the subject has to re-authenticate at ORY Hydra. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
512
- # @param subject The subject to revoke authentication sessions for.
513
- # @param [Hash] opts the optional parameters
514
- # @return [nil]
515
- describe 'admin_revoke_o_auth2_login_sessions test' do
516
- it 'should work' do
517
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
518
- end
519
- end
520
-
521
- # unit tests for admin_trust_o_auth2_jwt_grant_issuer
522
- # Trust an OAuth2 JWT Bearer Grant Type Issuer
523
- # Use this endpoint to establish a trust relationship for a JWT issuer to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).
524
- # @param [Hash] opts the optional parameters
525
- # @option opts [AdminTrustOAuth2JwtGrantIssuerBody] :admin_trust_o_auth2_jwt_grant_issuer_body
526
- # @return [TrustedOAuth2JwtGrantIssuer]
527
- describe 'admin_trust_o_auth2_jwt_grant_issuer test' do
528
- it 'should work' do
529
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
530
- end
531
- end
532
-
533
- # unit tests for admin_update_identity
534
- # Update an Identity
535
- # 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&#39; User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
536
- # @param id ID must be set to the ID of identity you want to update
537
- # @param [Hash] opts the optional parameters
538
- # @option opts [AdminUpdateIdentityBody] :admin_update_identity_body
539
- # @return [Identity]
540
- describe 'admin_update_identity test' do
541
- it 'should work' do
542
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
543
- end
544
- end
545
-
546
- # unit tests for admin_update_json_web_key
547
- # Update a JSON Web Key
548
- # Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
549
- # @param set The JSON Web Key Set
550
- # @param kid The JSON Web Key ID (kid)
551
- # @param [Hash] opts the optional parameters
552
- # @option opts [JsonWebKey] :json_web_key
553
- # @return [JsonWebKey]
554
- describe 'admin_update_json_web_key test' do
555
- it 'should work' do
556
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
557
- end
558
- end
559
-
560
- # unit tests for admin_update_json_web_key_set
561
- # Update a JSON Web Key Set
562
- # Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
563
- # @param set The JSON Web Key Set
564
- # @param [Hash] opts the optional parameters
565
- # @option opts [JsonWebKeySet] :json_web_key_set
566
- # @return [JsonWebKeySet]
567
- describe 'admin_update_json_web_key_set test' do
568
- it 'should work' do
569
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
570
- end
571
- end
572
-
573
- # unit tests for admin_update_o_auth2_client
574
- # Update an OAuth 2.0 Client
575
- # Update an existing OAuth 2.0 Client. If you pass &#x60;client_secret&#x60; the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
576
- # @param id The id of the OAuth 2.0 Client.
577
- # @param o_auth2_client
578
- # @param [Hash] opts the optional parameters
579
- # @return [OAuth2Client]
580
- describe 'admin_update_o_auth2_client test' do
581
- it 'should work' do
582
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
583
- end
584
- end
585
-
586
- # unit tests for create_project
587
- # Create a Project
588
- # Creates a new project.
589
- # @param [Hash] opts the optional parameters
590
- # @option opts [CreateProjectBody] :create_project_body
591
- # @return [Project]
592
- describe 'create_project test' do
593
- it 'should work' do
594
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
595
- end
596
- end
597
-
598
- # unit tests for create_project_api_key
599
- # Create API Token
600
- # Create an API token for a project.
601
- # @param project The Project ID or Project slug
602
- # @param [Hash] opts the optional parameters
603
- # @option opts [CreateProjectApiKeyRequest] :create_project_api_key_request
604
- # @return [ProjectApiKey]
605
- describe 'create_project_api_key test' do
606
- it 'should work' do
607
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
608
- end
609
- end
610
-
611
- # unit tests for create_self_service_logout_flow_url_for_browsers
612
- # Create a Logout URL for Browsers
613
- # 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 &#x60;/self-service/logout/api&#x60; 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.
614
- # @param [Hash] opts the optional parameters
615
- # @option opts [String] :cookie HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request.
616
- # @return [SelfServiceLogoutUrl]
617
- describe 'create_self_service_logout_flow_url_for_browsers test' do
618
- it 'should work' do
619
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
620
- end
621
- end
622
-
623
- # unit tests for delete_project_api_key
624
- # Delete API Token
625
- # Deletes an API Token and immediately removes it.
626
- # @param project The Project ID or Project slug
627
- # @param token_id The Token ID
628
- # @param [Hash] opts the optional parameters
629
- # @return [nil]
630
- describe 'delete_project_api_key test' do
631
- it 'should work' do
632
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
633
- end
634
- end
635
-
636
- # unit tests for discover_json_web_keys
637
- # Discover JSON Web Keys
638
- # This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.
639
- # @param [Hash] opts the optional parameters
640
- # @return [JsonWebKeySet]
641
- describe 'discover_json_web_keys test' do
642
- it 'should work' do
643
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
644
- end
645
- end
646
-
647
- # unit tests for discover_oidc_configuration
648
- # OpenID Connect Discovery
649
- # The well known endpoint an be used to retrieve information for OpenID Connect clients. We encourage you to not roll your own OpenID Connect client but to use an OpenID Connect client library instead. You can learn more on this flow at https://openid.net/specs/openid-connect-discovery-1_0.html . Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/
650
- # @param [Hash] opts the optional parameters
651
- # @return [OidcConfiguration]
652
- describe 'discover_oidc_configuration test' do
653
- it 'should work' do
654
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
655
- end
656
- end
657
-
658
- # unit tests for dynamic_client_registration_create_o_auth2_client
659
- # Register an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
660
- # This endpoint behaves like the administrative counterpart (&#x60;createOAuth2Client&#x60;) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. Please note that using this endpoint you are not able to choose the &#x60;client_secret&#x60; nor the &#x60;client_id&#x60; as those values will be server generated when specifying &#x60;token_endpoint_auth_method&#x60; as &#x60;client_secret_basic&#x60; or &#x60;client_secret_post&#x60;. The &#x60;client_secret&#x60; will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe.
661
- # @param o_auth2_client
662
- # @param [Hash] opts the optional parameters
663
- # @return [OAuth2Client]
664
- describe 'dynamic_client_registration_create_o_auth2_client test' do
665
- it 'should work' do
666
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
667
- end
668
- end
669
-
670
- # unit tests for dynamic_client_registration_delete_o_auth2_client
671
- # Deletes an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
672
- # This endpoint behaves like the administrative counterpart (&#x60;deleteOAuth2Client&#x60;) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client&#39;s authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method &#x60;client_secret_post&#x60;, you need to present the client secret in the URL query. If it uses &#x60;client_secret_basic&#x60;, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
673
- # @param id The id of the OAuth 2.0 Client.
674
- # @param [Hash] opts the optional parameters
675
- # @return [nil]
676
- describe 'dynamic_client_registration_delete_o_auth2_client test' do
677
- it 'should work' do
678
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
679
- end
680
- end
681
-
682
- # unit tests for dynamic_client_registration_get_o_auth2_client
683
- # Get an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
684
- # This endpoint behaves like the administrative counterpart (&#x60;getOAuth2Client&#x60;) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client&#39;s authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method &#x60;client_secret_post&#x60;, you need to present the client secret in the URL query. If it uses &#x60;client_secret_basic&#x60;, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
685
- # @param id The id of the OAuth 2.0 Client.
686
- # @param [Hash] opts the optional parameters
687
- # @return [OAuth2Client]
688
- describe 'dynamic_client_registration_get_o_auth2_client test' do
689
- it 'should work' do
690
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
691
- end
692
- end
693
-
694
- # unit tests for dynamic_client_registration_update_o_auth2_client
695
- # Update an OAuth 2.0 Client using the OpenID / OAuth2 Dynamic Client Registration Management Protocol
696
- # This endpoint behaves like the administrative counterpart (&#x60;updateOAuth2Client&#x60;) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. If you pass &#x60;client_secret&#x60; the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. To use this endpoint, you will need to present the client&#39;s authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method &#x60;client_secret_post&#x60;, you need to present the client secret in the URL query. If it uses &#x60;client_secret_basic&#x60;, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
697
- # @param id The id of the OAuth 2.0 Client.
698
- # @param o_auth2_client
699
- # @param [Hash] opts the optional parameters
700
- # @return [OAuth2Client]
701
- describe 'dynamic_client_registration_update_o_auth2_client test' do
702
- it 'should work' do
703
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
704
- end
705
- end
706
-
707
- # unit tests for get_identity_schema
708
- # Get a JSON Schema
709
- # @param id ID must be set to the ID of schema you want to get
710
- # @param [Hash] opts the optional parameters
711
- # @return [Object]
712
- describe 'get_identity_schema test' do
713
- it 'should work' do
714
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
715
- end
716
- end
717
-
718
- # unit tests for get_oidc_user_info
719
- # OpenID Connect Userinfo
720
- # This endpoint returns the payload of the ID Token, including the idTokenExtra values, of the provided OAuth 2.0 Access Token. For more information please [refer to the spec](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo). In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format.
721
- # @param [Hash] opts the optional parameters
722
- # @return [OidcUserInfo]
723
- describe 'get_oidc_user_info test' do
724
- it 'should work' do
725
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
726
- end
727
- end
728
-
729
- # unit tests for get_project
730
- # Get a Project
731
- # Get a projects you have access to by its ID.
732
- # @param project_id Project ID The project&#39;s ID.
733
- # @param [Hash] opts the optional parameters
734
- # @return [Project]
735
- describe 'get_project test' do
736
- it 'should work' do
737
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
738
- end
739
- end
740
-
741
- # unit tests for get_project_members
742
- # Get all members associated with this project.
743
- # This endpoint requires the user to be a member of the project with the role &#x60;OWNER&#x60; or &#x60;DEVELOPER&#x60;.
744
- # @param project_id Project ID The project&#39;s ID.
745
- # @param [Hash] opts the optional parameters
746
- # @return [Array<CloudAccount>]
747
- describe 'get_project_members test' do
748
- it 'should work' do
749
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
750
- end
751
- end
752
-
753
- # unit tests for get_self_service_error
754
- # Get Self-Service Errors
755
- # 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: &#x60;?id&#x3D;stub:500&#x60; - 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).
756
- # @param id Error is the error&#39;s ID
757
- # @param [Hash] opts the optional parameters
758
- # @return [SelfServiceError]
759
- describe 'get_self_service_error test' do
760
- it 'should work' do
761
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
762
- end
763
- end
764
-
765
- # unit tests for get_self_service_login_flow
766
- # Get Login Flow
767
- # This endpoint returns a login flow&#39;s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request&#39;s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/login&#39;, async function (req, res) { const flow &#x3D; await client.getSelfServiceLoginFlow(req.header(&#39;cookie&#39;), req.query[&#39;flow&#39;]) res.render(&#39;login&#39;, flow) }) &#x60;&#x60;&#x60; This request may fail due to several reasons. The &#x60;error.id&#x60; can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;self_service_flow_expired&#x60;: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
768
- # @param id 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;).
769
- # @param [Hash] opts the optional parameters
770
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
771
- # @return [SelfServiceLoginFlow]
772
- describe 'get_self_service_login_flow test' do
773
- it 'should work' do
774
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
775
- end
776
- end
777
-
778
- # unit tests for get_self_service_recovery_flow
779
- # Get Recovery Flow
780
- # This endpoint returns a recovery flow&#39;s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request&#39;s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/recovery&#39;, async function (req, res) { const flow &#x3D; await client.getSelfServiceRecoveryFlow(req.header(&#39;Cookie&#39;), req.query[&#39;flow&#39;]) res.render(&#39;recovery&#39;, flow) }) &#x60;&#x60;&#x60; More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
781
- # @param id 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;).
782
- # @param [Hash] opts the optional parameters
783
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
784
- # @return [SelfServiceRecoveryFlow]
785
- describe 'get_self_service_recovery_flow test' do
786
- it 'should work' do
787
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
788
- end
789
- end
790
-
791
- # unit tests for get_self_service_registration_flow
792
- # Get Registration Flow
793
- # This endpoint returns a registration flow&#39;s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request&#39;s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/registration&#39;, async function (req, res) { const flow &#x3D; await client.getSelfServiceRegistrationFlow(req.header(&#39;cookie&#39;), req.query[&#39;flow&#39;]) res.render(&#39;registration&#39;, flow) }) &#x60;&#x60;&#x60; This request may fail due to several reasons. The &#x60;error.id&#x60; can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;self_service_flow_expired&#x60;: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
794
- # @param id 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;).
795
- # @param [Hash] opts the optional parameters
796
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
797
- # @return [SelfServiceRegistrationFlow]
798
- describe 'get_self_service_registration_flow test' do
799
- it 'should work' do
800
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
801
- end
802
- end
803
-
804
- # unit tests for get_self_service_settings_flow
805
- # Get Settings Flow
806
- # When accessing this endpoint through Ory Kratos&#39; 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&#39; 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 &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;session_inactive&#x60;: No Ory Session was found - sign in a user first. &#x60;security_identity_mismatch&#x60;: The flow was interrupted with &#x60;session_refresh_required&#x60; but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings &amp; Profile Management Documentation](../self-service/flows/user-settings).
807
- # @param id 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;).
808
- # @param [Hash] opts the optional parameters
809
- # @option opts [String] :x_session_token The Session Token When using the SDK in an app without a browser, please include the session token here.
810
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
811
- # @return [SelfServiceSettingsFlow]
812
- describe 'get_self_service_settings_flow test' do
813
- it 'should work' do
814
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
815
- end
816
- end
817
-
818
- # unit tests for get_self_service_verification_flow
819
- # Get Verification Flow
820
- # This endpoint returns a verification flow&#39;s context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request&#39;s HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/recovery&#39;, async function (req, res) { const flow &#x3D; await client.getSelfServiceVerificationFlow(req.header(&#39;cookie&#39;), req.query[&#39;flow&#39;]) res.render(&#39;verification&#39;, 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).
821
- # @param id 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;).
822
- # @param [Hash] opts the optional parameters
823
- # @option opts [String] :cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here.
824
- # @return [SelfServiceVerificationFlow]
825
- describe 'get_self_service_verification_flow test' do
826
- it 'should work' do
827
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
828
- end
829
- end
830
-
831
- # unit tests for get_web_authn_java_script
832
- # Get WebAuthn JavaScript
833
- # 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: &#x60;&#x60;&#x60;html &lt;script src&#x3D;\&quot;https://public-kratos.example.org/.well-known/ory/webauthn.js\&quot; type&#x3D;\&quot;script\&quot; async /&gt; &#x60;&#x60;&#x60; 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).
834
- # @param [Hash] opts the optional parameters
835
- # @return [String]
836
- describe 'get_web_authn_java_script test' do
837
- it 'should work' do
838
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
839
- end
840
- end
841
-
842
- # unit tests for initialize_self_service_login_flow_for_browsers
843
- # Initialize Login Flow for Browsers
844
- # 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 &#x60;selfservice.flows.login.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. If a valid user session exists already, the browser will be redirected to &#x60;urls.default_redirect_url&#x60; unless the query parameter &#x60;?refresh&#x3D;true&#x60; 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 &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;session_aal1_required&#x60;: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; address is not allowed to be used. Adjust this in the configuration! 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).
845
- # @param [Hash] opts the optional parameters
846
- # @option opts [Boolean] :refresh 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.
847
- # @option opts [String] :aal 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;.
848
- # @option opts [String] :return_to The URL to return the browser to after the flow was completed.
849
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
850
- # @return [SelfServiceLoginFlow]
851
- describe 'initialize_self_service_login_flow_for_browsers test' do
852
- it 'should work' do
853
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
854
- end
855
- end
856
-
857
- # unit tests for initialize_self_service_login_flow_without_browser
858
- # Initialize Login Flow for APIs, Services, Apps, ...
859
- # 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 &#x60;?refresh&#x3D;true&#x60; is set. To fetch an existing login flow call &#x60;/self-service/login/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. 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 &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;session_aal1_required&#x60;: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. &#x60;security_csrf_violation&#x60;: 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).
860
- # @param [Hash] opts the optional parameters
861
- # @option opts [Boolean] :refresh 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.
862
- # @option opts [String] :aal 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;.
863
- # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
864
- # @return [SelfServiceLoginFlow]
865
- describe 'initialize_self_service_login_flow_without_browser test' do
866
- it 'should work' do
867
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
868
- end
869
- end
870
-
871
- # unit tests for initialize_self_service_recovery_flow_for_browsers
872
- # Initialize Recovery Flow for Browsers
873
- # This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to &#x60;selfservice.flows.recovery.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. 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).
874
- # @param [Hash] opts the optional parameters
875
- # @option opts [String] :return_to The URL to return the browser to after the flow was completed.
876
- # @return [SelfServiceRecoveryFlow]
877
- describe 'initialize_self_service_recovery_flow_for_browsers test' do
878
- it 'should work' do
879
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
880
- end
881
- end
882
-
883
- # unit tests for initialize_self_service_recovery_flow_without_browser
884
- # Initialize Recovery Flow for APIs, Services, Apps, ...
885
- # 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 &#x60;/self-service/recovery/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. 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).
886
- # @param [Hash] opts the optional parameters
887
- # @return [SelfServiceRecoveryFlow]
888
- describe 'initialize_self_service_recovery_flow_without_browser test' do
889
- it 'should work' do
890
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
891
- end
892
- end
893
-
894
- # unit tests for initialize_self_service_registration_flow_for_browsers
895
- # Initialize Registration Flow for Browsers
896
- # 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 &#x60;selfservice.flows.registration.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. If a valid user session exists already, the browser will be redirected to &#x60;urls.default_redirect_url&#x60;. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; address is not allowed to be used. Adjust this in the configuration! 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).
897
- # @param [Hash] opts the optional parameters
898
- # @option opts [String] :return_to The URL to return the browser to after the flow was completed.
899
- # @return [SelfServiceRegistrationFlow]
900
- describe 'initialize_self_service_registration_flow_for_browsers test' do
901
- it 'should work' do
902
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
903
- end
904
- end
905
-
906
- # unit tests for initialize_self_service_registration_flow_without_browser
907
- # Initialize Registration Flow for APIs, Services, Apps, ...
908
- # 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 &#x60;?refresh&#x3D;true&#x60; is set. To fetch an existing registration flow call &#x60;/self-service/registration/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. 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 &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. 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).
909
- # @param [Hash] opts the optional parameters
910
- # @return [SelfServiceRegistrationFlow]
911
- describe 'initialize_self_service_registration_flow_without_browser test' do
912
- it 'should work' do
913
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
914
- end
915
- end
916
-
917
- # unit tests for initialize_self_service_settings_flow_for_browsers
918
- # Initialize Settings Flow for Browsers
919
- # This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to &#x60;selfservice.flows.settings.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. 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 &#x60;selfservice.flows.settings.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. 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 &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;session_inactive&#x60;: No Ory Session was found - sign in a user first. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; 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 &amp; Profile Management Documentation](../self-service/flows/user-settings).
920
- # @param [Hash] opts the optional parameters
921
- # @option opts [String] :return_to The URL to return the browser to after the flow was completed.
922
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
923
- # @return [SelfServiceSettingsFlow]
924
- describe 'initialize_self_service_settings_flow_for_browsers test' do
925
- it 'should work' do
926
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
927
- end
928
- end
929
-
930
- # unit tests for initialize_self_service_settings_flow_without_browser
931
- # Initialize Settings Flow for APIs, Services, Apps, ...
932
- # 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 &#x60;/self-service/settings/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. 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 &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;session_inactive&#x60;: 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 &amp; Profile Management Documentation](../self-service/flows/user-settings).
933
- # @param [Hash] opts the optional parameters
934
- # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
935
- # @return [SelfServiceSettingsFlow]
936
- describe 'initialize_self_service_settings_flow_without_browser test' do
937
- it 'should work' do
938
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
939
- end
940
- end
941
-
942
- # unit tests for initialize_self_service_verification_flow_for_browsers
943
- # Initialize Verification Flow for Browser Clients
944
- # This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to &#x60;selfservice.flows.verification.ui_url&#x60; with the flow ID set as the query parameter &#x60;?flow&#x3D;&#x60;. 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).
945
- # @param [Hash] opts the optional parameters
946
- # @option opts [String] :return_to The URL to return the browser to after the flow was completed.
947
- # @return [SelfServiceVerificationFlow]
948
- describe 'initialize_self_service_verification_flow_for_browsers test' do
949
- it 'should work' do
950
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
951
- end
952
- end
953
-
954
- # unit tests for initialize_self_service_verification_flow_without_browser
955
- # Initialize Verification Flow for APIs, Services, Apps, ...
956
- # 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 &#x60;/self-service/verification/flows?flow&#x3D;&lt;flow_id&gt;&#x60;. 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).
957
- # @param [Hash] opts the optional parameters
958
- # @return [SelfServiceVerificationFlow]
959
- describe 'initialize_self_service_verification_flow_without_browser test' do
960
- it 'should work' do
961
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
962
- end
963
- end
964
-
965
- # unit tests for list_identity_schemas
966
- # Get all Identity Schemas
967
- # @param [Hash] opts the optional parameters
968
- # @option opts [Integer] :per_page Items per Page This is the number of items per page.
969
- # @option opts [Integer] :page 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.
970
- # @return [Array<IdentitySchemaContainer>]
971
- describe 'list_identity_schemas test' do
972
- it 'should work' do
973
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
974
- end
975
- end
976
-
977
- # unit tests for list_project_api_keys
978
- # List a Project&#39;s API Tokens
979
- # A list of all the project&#39;s API tokens.
980
- # @param project The Project ID or Project slug
981
- # @param [Hash] opts the optional parameters
982
- # @return [Array<ProjectApiKey>]
983
- describe 'list_project_api_keys test' do
984
- it 'should work' do
985
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
986
- end
987
- end
988
-
989
- # unit tests for list_projects
990
- # List All Projects
991
- # Lists all projects you have access to.
992
- # @param [Hash] opts the optional parameters
993
- # @return [Array<ProjectMetadata>]
994
- describe 'list_projects test' do
995
- it 'should work' do
996
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
997
- end
998
- end
999
-
1000
- # unit tests for list_sessions
1001
- # This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the &#x60;/sessions/whoami&#x60; endpoint.
1002
- # This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
1003
- # @param [Hash] opts the optional parameters
1004
- # @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.
1005
- # @option opts [String] :cookie 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.
1006
- # @option opts [Integer] :per_page Items per Page This is the number of items per page.
1007
- # @option opts [Integer] :page 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.
1008
- # @return [Array<Session>]
1009
- describe 'list_sessions test' do
1010
- it 'should work' do
1011
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1012
- end
1013
- end
1014
-
1015
- # unit tests for patch_project
1016
- # Patch an Ory Cloud Project Configuration&#x60;
1017
- # Deprecated: Use the &#x60;patchProjectWithRevision&#x60; 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&#39;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 &#x60;version&#x60; 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.
1018
- # @param project_id Project ID The project&#39;s ID.
1019
- # @param [Hash] opts the optional parameters
1020
- # @option opts [Array<JsonPatch>] :json_patch
1021
- # @return [SuccessfulProjectUpdate]
1022
- describe 'patch_project test' do
1023
- it 'should work' do
1024
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1025
- end
1026
- end
1027
-
1028
- # unit tests for perform_o_auth2_authorization_flow
1029
- # The OAuth 2.0 Authorize Endpoint
1030
- # This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows. OAuth2 is a very popular protocol and a library for your programming language will exists. To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc6749
1031
- # @param [Hash] opts the optional parameters
1032
- # @return [OAuth2ApiError]
1033
- describe 'perform_o_auth2_authorization_flow test' do
1034
- it 'should work' do
1035
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1036
- end
1037
- end
1038
-
1039
- # unit tests for perform_o_auth2_token_flow
1040
- # The OAuth 2.0 Token Endpoint
1041
- # The client makes a request to the token endpoint by sending the following parameters using the \&quot;application/x-www-form-urlencoded\&quot; HTTP request entity-body. &gt; Do not implement a client for this endpoint yourself. Use a library. There are many libraries &gt; available for any programming language. You can find a list of libraries here: https://oauth.net/code/ &gt; &gt; Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above
1042
- # @param grant_type
1043
- # @param [Hash] opts the optional parameters
1044
- # @option opts [String] :client_id
1045
- # @option opts [String] :code
1046
- # @option opts [String] :redirect_uri
1047
- # @option opts [String] :refresh_token
1048
- # @return [OAuth2TokenResponse]
1049
- describe 'perform_o_auth2_token_flow test' do
1050
- it 'should work' do
1051
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1052
- end
1053
- end
1054
-
1055
- # unit tests for perform_oidc_front_or_back_channel_logout
1056
- # OpenID Connect Front- or Back-channel Enabled Logout
1057
- # This endpoint initiates and completes user logout at Ory Hydra and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow.
1058
- # @param [Hash] opts the optional parameters
1059
- # @return [nil]
1060
- describe 'perform_oidc_front_or_back_channel_logout test' do
1061
- it 'should work' do
1062
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1063
- end
1064
- end
1065
-
1066
- # unit tests for purge_project
1067
- # Irrecoverably Purge a Project
1068
- # !! 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 !!
1069
- # @param project_id Project ID The project&#39;s ID.
1070
- # @param [Hash] opts the optional parameters
1071
- # @return [nil]
1072
- describe 'purge_project test' do
1073
- it 'should work' do
1074
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1075
- end
1076
- end
1077
-
1078
- # unit tests for remove_project_member
1079
- # Remove a member associated with this project. This also sets their invite status to &#x60;REMOVED&#x60;.
1080
- # This endpoint requires the user to be a member of the project with the role &#x60;OWNER&#x60;.
1081
- # @param project_id Project ID The project&#39;s ID.
1082
- # @param member_id Member ID
1083
- # @param [Hash] opts the optional parameters
1084
- # @return [nil]
1085
- describe 'remove_project_member test' do
1086
- it 'should work' do
1087
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1088
- end
1089
- end
1090
-
1091
- # unit tests for revoke_o_auth2_token
1092
- # Revoke an OAuth2 Access or Refresh Token
1093
- # Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for.
1094
- # @param token
1095
- # @param [Hash] opts the optional parameters
1096
- # @return [nil]
1097
- describe 'revoke_o_auth2_token test' do
1098
- it 'should work' do
1099
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1100
- end
1101
- end
1102
-
1103
- # unit tests for revoke_session
1104
- # Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
1105
- # This endpoint is useful for: To forcefully logout the current user from another device or session
1106
- # @param id ID is the session&#39;s ID.
1107
- # @param [Hash] opts the optional parameters
1108
- # @return [nil]
1109
- describe 'revoke_session test' do
1110
- it 'should work' do
1111
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1112
- end
1113
- end
1114
-
1115
- # unit tests for revoke_sessions
1116
- # Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
1117
- # This endpoint is useful for: To forcefully logout the current user from all other devices and sessions
1118
- # @param [Hash] opts the optional parameters
1119
- # @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.
1120
- # @option opts [String] :cookie 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.
1121
- # @return [RevokedSessions]
1122
- describe 'revoke_sessions test' do
1123
- it 'should work' do
1124
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1125
- end
1126
- end
1127
-
1128
- # unit tests for submit_self_service_login_flow
1129
- # Submit a Login Flow
1130
- # :::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 &#x60;application/json&#x60; 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 &#x60;use_flow_id&#x60; parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of &#x60;application/x-www-form-urlencoded&#x60; or &#x60;application/json&#x60; to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the &#x60;return_to&#x60; 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 &#x60;application/json&#x60; will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a &#x60;Set-Cookie&#x60; header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with &#x60;Accept: application/json&#x60; in the header, the response contains the flow without a redirect. In the case of an error, the &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; address is not allowed to be used. Adjust this in the configuration! &#x60;browser_location_change_required&#x60;: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1131
- # @param flow 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;).
1132
- # @param submit_self_service_login_flow_body
1133
- # @param [Hash] opts the optional parameters
1134
- # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
1135
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1136
- # @return [SuccessfulSelfServiceLoginWithoutBrowser]
1137
- describe 'submit_self_service_login_flow test' do
1138
- it 'should work' do
1139
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1140
- end
1141
- end
1142
-
1143
- # unit tests for submit_self_service_logout_flow
1144
- # Complete Self-Service Logout
1145
- # This endpoint logs out an identity in a self-service manner. If the &#x60;Accept&#x60; HTTP header is not set to &#x60;application/json&#x60;, the browser will be redirected (HTTP 303 See Other) to the &#x60;return_to&#x60; parameter of the initial request or fall back to &#x60;urls.default_return_to&#x60;. If the &#x60;Accept&#x60; HTTP header is set to &#x60;application/json&#x60;, 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 &#x60;/self-service/logout/api&#x60; 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).
1146
- # @param [Hash] opts the optional parameters
1147
- # @option opts [String] :token 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.
1148
- # @option opts [String] :return_to The URL to return to after the logout was completed.
1149
- # @return [nil]
1150
- describe 'submit_self_service_logout_flow test' do
1151
- it 'should work' do
1152
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1153
- end
1154
- end
1155
-
1156
- # unit tests for submit_self_service_logout_flow_without_browser
1157
- # Perform Logout for APIs, Services, Apps, ...
1158
- # 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.
1159
- # @param submit_self_service_logout_flow_without_browser_body
1160
- # @param [Hash] opts the optional parameters
1161
- # @return [nil]
1162
- describe 'submit_self_service_logout_flow_without_browser test' do
1163
- it 'should work' do
1164
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1165
- end
1166
- end
1167
-
1168
- # unit tests for submit_self_service_recovery_flow
1169
- # Complete Recovery Flow
1170
- # Use this endpoint to complete a recovery flow. This endpoint behaves differently for API and browser flows and has several states: &#x60;choose_method&#x60; expects &#x60;flow&#x60; (in the URL query) and &#x60;email&#x60; (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header &#x60;Accept: application/json&#x60; 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 &#x60;Accept&#x60; or with &#x60;Accept: text/*&#x60; it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. &#x60;sent_email&#x60; is the success state after &#x60;choose_method&#x60; for the &#x60;link&#x60; 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 &#x60;choose_method&#x60; state. &#x60;passed_challenge&#x60; expects a &#x60;token&#x60; to be sent in the URL query and given the nature of the flow (\&quot;sending a recovery link\&quot;) 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).
1171
- # @param flow 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;).
1172
- # @param submit_self_service_recovery_flow_body
1173
- # @param [Hash] opts the optional parameters
1174
- # @option opts [String] :token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
1175
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1176
- # @return [SelfServiceRecoveryFlow]
1177
- describe 'submit_self_service_recovery_flow test' do
1178
- it 'should work' do
1179
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1180
- end
1181
- end
1182
-
1183
- # unit tests for submit_self_service_registration_flow
1184
- # Submit a Registration Flow
1185
- # Use this endpoint to complete a registration flow by sending an identity&#39;s traits and password. This endpoint behaves differently for API and browser flows. API flows expect &#x60;application/json&#x60; to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the &#x60;session&#x60; and &#x60;session_token&#x60; will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a &#x60;use_flow_id&#x60; parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of &#x60;application/x-www-form-urlencoded&#x60; or &#x60;application/json&#x60; to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the &#x60;return_to&#x60; value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of &#x60;application/json&#x60; will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a &#x60;Set-Cookie&#x60; header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with &#x60;Accept: application/json&#x60; in the header, the response contains the flow without a redirect. In the case of an error, the &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_already_available&#x60;: The user is already signed in. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; address is not allowed to be used. Adjust this in the configuration! &#x60;browser_location_change_required&#x60;: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
1186
- # @param flow 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;).
1187
- # @param submit_self_service_registration_flow_body
1188
- # @param [Hash] opts the optional parameters
1189
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1190
- # @return [SuccessfulSelfServiceRegistrationWithoutBrowser]
1191
- describe 'submit_self_service_registration_flow test' do
1192
- it 'should work' do
1193
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1194
- end
1195
- end
1196
-
1197
- # unit tests for submit_self_service_settings_flow
1198
- # Complete Settings Flow
1199
- # Use this endpoint to complete a settings flow by sending an identity&#39;s updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect &#x60;application/json&#x60; 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 &#x60;selfservice.flows.settings.privileged_session_max_age&#x60; was reached or the session&#39;s AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header &#x60;Accept&#x60; or with &#x60;Accept: text/*&#x60; respond with a HTTP 303 redirect to the post/after settings URL or the &#x60;return_to&#x60; 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 &#x60;selfservice.flows.settings.privileged_session_max_age&#x60; was reached or the session&#39;s AAL is too low. Browser flows with HTTP Header &#x60;Accept: application/json&#x60; respond with HTTP 200 and a application/json body with the signed in identity and a &#x60;Set-Cookie&#x60; header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 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&#39;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 &#x60;Accept: application/json&#x60; HTTP header, the response contains the flow without a redirect. In the case of an error, the &#x60;error.id&#x60; of the JSON response body can be one of: &#x60;session_refresh_required&#x60;: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters &#x60;?refresh&#x3D;true&amp;return_to&#x3D;&lt;the-current-browser-url&gt;&#x60;, or initiate a refresh login flow otherwise. &#x60;security_csrf_violation&#x60;: Unable to fetch the flow because a CSRF violation occurred. &#x60;session_inactive&#x60;: No Ory Session was found - sign in a user first. &#x60;security_identity_mismatch&#x60;: The flow was interrupted with &#x60;session_refresh_required&#x60; but apparently some other identity logged in instead. &#x60;security_identity_mismatch&#x60;: The requested &#x60;?return_to&#x60; address is not allowed to be used. Adjust this in the configuration! &#x60;browser_location_change_required&#x60;: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings &amp; Profile Management Documentation](../self-service/flows/user-settings).
1200
- # @param flow 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;).
1201
- # @param submit_self_service_settings_flow_body
1202
- # @param [Hash] opts the optional parameters
1203
- # @option opts [String] :x_session_token The Session Token of the Identity performing the settings flow.
1204
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1205
- # @return [SelfServiceSettingsFlow]
1206
- describe 'submit_self_service_settings_flow test' do
1207
- it 'should work' do
1208
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1209
- end
1210
- end
1211
-
1212
- # unit tests for submit_self_service_verification_flow
1213
- # Complete Verification Flow
1214
- # Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: &#x60;choose_method&#x60; expects &#x60;flow&#x60; (in the URL query) and &#x60;email&#x60; (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header &#x60;Accept: application/json&#x60; 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 &#x60;Accept&#x60; or with &#x60;Accept: text/*&#x60; it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. &#x60;sent_email&#x60; is the success state after &#x60;choose_method&#x60; when using the &#x60;link&#x60; 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 &#x60;choose_method&#x60; state. &#x60;passed_challenge&#x60; expects a &#x60;token&#x60; to be sent in the URL query and given the nature of the flow (\&quot;sending a verification link\&quot;) 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).
1215
- # @param flow 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;).
1216
- # @param submit_self_service_verification_flow_body
1217
- # @param [Hash] opts the optional parameters
1218
- # @option opts [String] :token Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call.
1219
- # @option opts [String] :cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected.
1220
- # @return [SelfServiceVerificationFlow]
1221
- describe 'submit_self_service_verification_flow test' do
1222
- it 'should work' do
1223
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1224
- end
1225
- end
1226
-
1227
- # unit tests for to_session
1228
- # Check Who the Current HTTP Session Belongs To
1229
- # 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 &#39;X-Kratos-Authenticated-Identity-Id&#39; header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: &#x60;&#x60;&#x60;js pseudo-code example router.get(&#39;/protected-endpoint&#39;, async function (req, res) { const session &#x3D; await client.toSession(undefined, req.header(&#39;cookie&#39;)) console.log(session) }) &#x60;&#x60;&#x60; When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: &#x60;&#x60;&#x60;js pseudo-code example ... const session &#x3D; await client.toSession(\&quot;the-session-token\&quot;) console.log(session) &#x60;&#x60;&#x60; 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 &#x60;X-Session-Token&#x60; header! # This endpoint authenticates users by checking if the &#x60;Cookie&#x60; HTTP header was set containing an Ory Kratos Session Cookie; if the &#x60;Authorization: bearer &lt;ory-session-token&gt;&#x60; HTTP header was set with a valid Ory Kratos Session Token; if the &#x60;X-Session-Token&#x60; 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 &#x60;error.id&#x60; can be one of: &#x60;session_inactive&#x60;: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). &#x60;session_aal2_required&#x60;: 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.
1230
- # @param [Hash] opts the optional parameters
1231
- # @option opts [String] :x_session_token Set the Session Token when calling from non-browser clients. A session token has a format of &#x60;MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj&#x60;.
1232
- # @option opts [String] :cookie 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.
1233
- # @return [Session]
1234
- describe 'to_session test' do
1235
- it 'should work' do
1236
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1237
- end
1238
- end
1239
-
1240
- # unit tests for update_project
1241
- # Update an Ory Cloud Project Configuration
1242
- # 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 &#x60;version&#x60; 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&#39;s configuration will completely override your current configuration for that service!
1243
- # @param project_id Project ID The project&#39;s ID.
1244
- # @param [Hash] opts the optional parameters
1245
- # @option opts [UpdateProject] :update_project
1246
- # @return [SuccessfulProjectUpdate]
1247
- describe 'update_project test' do
1248
- it 'should work' do
1249
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1250
- end
1251
- end
1252
-
1253
- end