ory-client 0.2.0.alpha60 → 1.0.0

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 +793 -789
  929. data/docs/ActiveProject.md +0 -18
  930. data/docs/AdminApi.md +0 -76
  931. data/docs/AdminCreateIdentityBody.md +0 -32
  932. data/docs/AdminCreateIdentityImportCredentialsOidc.md +0 -18
  933. data/docs/AdminCreateIdentityImportCredentialsOidcConfig.md +0 -20
  934. data/docs/AdminCreateIdentityImportCredentialsOidcProvider.md +0 -20
  935. data/docs/AdminCreateIdentityImportCredentialsPassword.md +0 -18
  936. data/docs/AdminCreateIdentityImportCredentialsPasswordConfig.md +0 -20
  937. data/docs/AdminCreateJsonWebKeySetBody.md +0 -22
  938. data/docs/AdminCreateSelfServiceRecoveryCodeBody.md +0 -20
  939. data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +0 -20
  940. data/docs/AdminIdentityImportCredentials.md +0 -20
  941. data/docs/AdminTrustOAuth2JwtGrantIssuerBody.md +0 -28
  942. data/docs/AdminUpdateIdentityBody.md +0 -28
  943. data/docs/CnameSettings.md +0 -34
  944. data/docs/CreateCustomHostnameBody.md +0 -24
  945. data/docs/CreateSubscriptionPayload.md +0 -22
  946. data/docs/ExpandTree.md +0 -22
  947. data/docs/GetCheckResponse.md +0 -18
  948. data/docs/GetNamespacesResponse.md +0 -18
  949. data/docs/GetRelationTuplesResponse.md +0 -20
  950. data/docs/HandledOAuth2ConsentRequest.md +0 -18
  951. data/docs/HandledOAuth2LoginRequest.md +0 -18
  952. data/docs/HandledOAuth2LogoutRequest.md +0 -18
  953. data/docs/Headers.md +0 -18
  954. data/docs/IDTokenClaims.md +0 -44
  955. data/docs/InvitePayload.md +0 -18
  956. data/docs/IsOwnerForProjectBySlugPayload.md +0 -22
  957. data/docs/JsonError.md +0 -18
  958. data/docs/NamespacesApi.md +0 -74
  959. data/docs/OAuth2AccessRequest.md +0 -24
  960. data/docs/OAuth2ApiError.md +0 -24
  961. data/docs/OAuth2TokenResponse.md +0 -28
  962. data/docs/PatchDelta.md +0 -20
  963. data/docs/PostCheckOplSyntaxResponse.md +0 -18
  964. data/docs/PreviousOAuth2ConsentSession.md +0 -30
  965. data/docs/ProvisionMockSubscriptionPayload.md +0 -20
  966. data/docs/QuotaCustomDomains.md +0 -22
  967. data/docs/QuotaProjectMemberSeats.md +0 -22
  968. data/docs/ReadApi.md +0 -467
  969. data/docs/RefreshTokenHookRequest.md +0 -28
  970. data/docs/RefreshTokenHookResponse.md +0 -18
  971. data/docs/RelationTuple.md +0 -26
  972. data/docs/RevokedSessions.md +0 -18
  973. data/docs/SelfServiceBrowserLocationChangeRequiredError.md +0 -34
  974. data/docs/SelfServiceError.md +0 -24
  975. data/docs/SelfServiceLoginFlow.md +0 -40
  976. data/docs/SelfServiceLogoutUrl.md +0 -20
  977. data/docs/SelfServiceRecoveryCode.md +0 -22
  978. data/docs/SelfServiceRecoveryFlow.md +0 -34
  979. data/docs/SelfServiceRecoveryFlowState.md +0 -15
  980. data/docs/SelfServiceRecoveryLink.md +0 -20
  981. data/docs/SelfServiceRegistrationFlow.md +0 -32
  982. data/docs/SelfServiceSettingsFlow.md +0 -36
  983. data/docs/SelfServiceSettingsFlowState.md +0 -15
  984. data/docs/SelfServiceVerificationFlow.md +0 -34
  985. data/docs/SelfServiceVerificationFlowState.md +0 -15
  986. data/docs/SettingsProfileFormConfig.md +0 -24
  987. data/docs/StripeCustomerResponse.md +0 -18
  988. data/docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md +0 -20
  989. data/docs/SubmitSelfServiceLoginFlowBody.md +0 -87
  990. data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +0 -22
  991. data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +0 -24
  992. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +0 -26
  993. data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +0 -22
  994. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +0 -24
  995. data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +0 -18
  996. data/docs/SubmitSelfServiceRecoveryFlowBody.md +0 -78
  997. data/docs/SubmitSelfServiceRecoveryFlowWithCodeMethodBody.md +0 -24
  998. data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +0 -22
  999. data/docs/SubmitSelfServiceRegistrationFlowBody.md +0 -81
  1000. data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +0 -24
  1001. data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +0 -24
  1002. data/docs/SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody.md +0 -26
  1003. data/docs/SubmitSelfServiceSettingsFlowBody.md +0 -90
  1004. data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +0 -28
  1005. data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +0 -26
  1006. data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +0 -22
  1007. data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +0 -22
  1008. data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +0 -24
  1009. data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +0 -26
  1010. data/docs/SubmitSelfServiceVerificationFlowBody.md +0 -75
  1011. data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +0 -22
  1012. data/docs/SuccessfulOAuth2RequestResponse.md +0 -18
  1013. data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +0 -20
  1014. data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +0 -22
  1015. data/docs/SyntaxApi.md +0 -77
  1016. data/docs/UpdateCustomHostnameBody.md +0 -24
  1017. data/docs/UpdateOAuth2ClientLifespans.md +0 -40
  1018. data/docs/UpdateProject.md +0 -20
  1019. data/docs/UpdateSubscriptionPayload.md +0 -20
  1020. data/docs/V0alpha2Api.md +0 -6762
  1021. data/docs/WriteApi.md +0 -233
  1022. data/lib/ory-client/api/admin_api.rb +0 -90
  1023. data/lib/ory-client/api/namespaces_api.rb +0 -79
  1024. data/lib/ory-client/api/read_api.rb +0 -449
  1025. data/lib/ory-client/api/syntax_api.rb +0 -90
  1026. data/lib/ory-client/api/v0alpha2_api.rb +0 -6452
  1027. data/lib/ory-client/api/write_api.rb +0 -228
  1028. data/lib/ory-client/models/active_project.rb +0 -221
  1029. data/lib/ory-client/models/admin_create_identity_body.rb +0 -304
  1030. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +0 -219
  1031. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +0 -231
  1032. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +0 -240
  1033. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +0 -219
  1034. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +0 -230
  1035. data/lib/ory-client/models/admin_create_json_web_key_set_body.rb +0 -255
  1036. data/lib/ory-client/models/admin_create_self_service_recovery_code_body.rb +0 -252
  1037. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +0 -252
  1038. data/lib/ory-client/models/admin_identity_import_credentials.rb +0 -228
  1039. data/lib/ory-client/models/admin_trust_o_auth2_jwt_grant_issuer_body.rb +0 -291
  1040. data/lib/ory-client/models/admin_update_identity_body.rb +0 -285
  1041. data/lib/ory-client/models/cname_settings.rb +0 -296
  1042. data/lib/ory-client/models/create_custom_hostname_body.rb +0 -252
  1043. data/lib/ory-client/models/create_subscription_payload.rb +0 -247
  1044. data/lib/ory-client/models/expand_tree.rb +0 -280
  1045. data/lib/ory-client/models/get_check_response.rb +0 -226
  1046. data/lib/ory-client/models/get_namespaces_response.rb +0 -221
  1047. data/lib/ory-client/models/get_relation_tuples_response.rb +0 -231
  1048. data/lib/ory-client/models/handled_o_auth2_consent_request.rb +0 -225
  1049. data/lib/ory-client/models/handled_o_auth2_login_request.rb +0 -225
  1050. data/lib/ory-client/models/handled_o_auth2_logout_request.rb +0 -225
  1051. data/lib/ory-client/models/headers.rb +0 -222
  1052. data/lib/ory-client/models/id_token_claims.rb +0 -343
  1053. data/lib/ory-client/models/invite_payload.rb +0 -219
  1054. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +0 -250
  1055. data/lib/ory-client/models/json_error.rb +0 -225
  1056. data/lib/ory-client/models/o_auth2_access_request.rb +0 -256
  1057. data/lib/ory-client/models/o_auth2_api_error.rb +0 -251
  1058. data/lib/ory-client/models/o_auth2_token_response.rb +0 -271
  1059. data/lib/ory-client/models/patch_delta.rb +0 -262
  1060. data/lib/ory-client/models/post_check_opl_syntax_response.rb +0 -222
  1061. data/lib/ory-client/models/previous_o_auth2_consent_session.rb +0 -280
  1062. data/lib/ory-client/models/provision_mock_subscription_payload.rb +0 -238
  1063. data/lib/ory-client/models/quota_custom_domains.rb +0 -237
  1064. data/lib/ory-client/models/quota_project_member_seats.rb +0 -237
  1065. data/lib/ory-client/models/refresh_token_hook_request.rb +0 -272
  1066. data/lib/ory-client/models/refresh_token_hook_response.rb +0 -219
  1067. data/lib/ory-client/models/relation_tuple.rb +0 -274
  1068. data/lib/ory-client/models/revoked_sessions.rb +0 -220
  1069. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +0 -307
  1070. data/lib/ory-client/models/self_service_error.rb +0 -254
  1071. data/lib/ory-client/models/self_service_login_flow.rb +0 -358
  1072. data/lib/ory-client/models/self_service_logout_url.rb +0 -240
  1073. data/lib/ory-client/models/self_service_recovery_code.rb +0 -250
  1074. data/lib/ory-client/models/self_service_recovery_flow.rb +0 -334
  1075. data/lib/ory-client/models/self_service_recovery_flow_state.rb +0 -38
  1076. data/lib/ory-client/models/self_service_recovery_link.rb +0 -235
  1077. data/lib/ory-client/models/self_service_registration_flow.rb +0 -318
  1078. data/lib/ory-client/models/self_service_settings_flow.rb +0 -348
  1079. data/lib/ory-client/models/self_service_settings_flow_state.rb +0 -37
  1080. data/lib/ory-client/models/self_service_verification_flow.rb +0 -319
  1081. data/lib/ory-client/models/self_service_verification_flow_state.rb +0 -38
  1082. data/lib/ory-client/models/settings_profile_form_config.rb +0 -267
  1083. data/lib/ory-client/models/stripe_customer_response.rb +0 -219
  1084. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +0 -230
  1085. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +0 -61
  1086. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +0 -250
  1087. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +0 -261
  1088. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +0 -275
  1089. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +0 -250
  1090. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +0 -260
  1091. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +0 -226
  1092. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +0 -55
  1093. data/lib/ory-client/models/submit_self_service_recovery_flow_with_code_method_body.rb +0 -255
  1094. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +0 -250
  1095. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +0 -57
  1096. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +0 -261
  1097. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +0 -266
  1098. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +0 -270
  1099. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +0 -63
  1100. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +0 -275
  1101. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +0 -266
  1102. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +0 -250
  1103. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +0 -251
  1104. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +0 -255
  1105. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +0 -265
  1106. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +0 -54
  1107. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +0 -250
  1108. data/lib/ory-client/models/successful_o_auth2_request_response.rb +0 -225
  1109. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +0 -235
  1110. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +0 -244
  1111. data/lib/ory-client/models/update_custom_hostname_body.rb +0 -252
  1112. data/lib/ory-client/models/update_o_auth2_client_lifespans.rb +0 -535
  1113. data/lib/ory-client/models/update_project.rb +0 -239
  1114. data/lib/ory-client/models/update_subscription_payload.rb +0 -233
  1115. data/spec/api/admin_api_spec.rb +0 -47
  1116. data/spec/api/namespaces_api_spec.rb +0 -46
  1117. data/spec/api/read_api_spec.rb +0 -124
  1118. data/spec/api/syntax_api_spec.rb +0 -47
  1119. data/spec/api/v0alpha2_api_spec.rb +0 -1253
  1120. data/spec/api/write_api_spec.rb +0 -77
  1121. data/spec/models/active_project_spec.rb +0 -34
  1122. data/spec/models/admin_create_identity_body_spec.rb +0 -76
  1123. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +0 -40
  1124. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +0 -40
  1125. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +0 -34
  1126. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +0 -40
  1127. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +0 -34
  1128. data/spec/models/admin_create_json_web_key_set_body_spec.rb +0 -46
  1129. data/spec/models/admin_create_self_service_recovery_code_body_spec.rb +0 -40
  1130. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +0 -40
  1131. data/spec/models/admin_identity_import_credentials_spec.rb +0 -40
  1132. data/spec/models/admin_trust_o_auth2_jwt_grant_issuer_body_spec.rb +0 -64
  1133. data/spec/models/admin_update_identity_body_spec.rb +0 -64
  1134. data/spec/models/cname_settings_spec.rb +0 -82
  1135. data/spec/models/create_custom_hostname_body_spec.rb +0 -52
  1136. data/spec/models/create_subscription_payload_spec.rb +0 -46
  1137. data/spec/models/expand_tree_spec.rb +0 -50
  1138. data/spec/models/get_check_response_spec.rb +0 -34
  1139. data/spec/models/get_namespaces_response_spec.rb +0 -34
  1140. data/spec/models/get_relation_tuples_response_spec.rb +0 -40
  1141. data/spec/models/handled_o_auth2_consent_request_spec.rb +0 -34
  1142. data/spec/models/handled_o_auth2_login_request_spec.rb +0 -34
  1143. data/spec/models/handled_o_auth2_logout_request_spec.rb +0 -34
  1144. data/spec/models/headers_spec.rb +0 -34
  1145. data/spec/models/id_token_claims_spec.rb +0 -112
  1146. data/spec/models/invite_payload_spec.rb +0 -34
  1147. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +0 -46
  1148. data/spec/models/json_error_spec.rb +0 -34
  1149. data/spec/models/o_auth2_access_request_spec.rb +0 -52
  1150. data/spec/models/o_auth2_api_error_spec.rb +0 -52
  1151. data/spec/models/o_auth2_token_response_spec.rb +0 -64
  1152. data/spec/models/patch_delta_spec.rb +0 -44
  1153. data/spec/models/post_check_opl_syntax_response_spec.rb +0 -34
  1154. data/spec/models/previous_o_auth2_consent_session_spec.rb +0 -70
  1155. data/spec/models/provision_mock_subscription_payload_spec.rb +0 -40
  1156. data/spec/models/quota_custom_domains_spec.rb +0 -46
  1157. data/spec/models/quota_project_member_seats_spec.rb +0 -46
  1158. data/spec/models/refresh_token_hook_request_spec.rb +0 -64
  1159. data/spec/models/refresh_token_hook_response_spec.rb +0 -34
  1160. data/spec/models/relation_tuple_spec.rb +0 -58
  1161. data/spec/models/revoked_sessions_spec.rb +0 -34
  1162. data/spec/models/self_service_browser_location_change_required_error_spec.rb +0 -82
  1163. data/spec/models/self_service_error_spec.rb +0 -52
  1164. data/spec/models/self_service_login_flow_spec.rb +0 -100
  1165. data/spec/models/self_service_logout_url_spec.rb +0 -40
  1166. data/spec/models/self_service_recovery_code_spec.rb +0 -46
  1167. data/spec/models/self_service_recovery_flow_spec.rb +0 -82
  1168. data/spec/models/self_service_recovery_flow_state_spec.rb +0 -28
  1169. data/spec/models/self_service_recovery_link_spec.rb +0 -40
  1170. data/spec/models/self_service_registration_flow_spec.rb +0 -76
  1171. data/spec/models/self_service_settings_flow_spec.rb +0 -88
  1172. data/spec/models/self_service_settings_flow_state_spec.rb +0 -28
  1173. data/spec/models/self_service_verification_flow_spec.rb +0 -82
  1174. data/spec/models/self_service_verification_flow_state_spec.rb +0 -28
  1175. data/spec/models/settings_profile_form_config_spec.rb +0 -52
  1176. data/spec/models/stripe_customer_response_spec.rb +0 -34
  1177. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +0 -40
  1178. data/spec/models/submit_self_service_login_flow_body_spec.rb +0 -43
  1179. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +0 -46
  1180. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +0 -52
  1181. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +0 -58
  1182. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +0 -46
  1183. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +0 -52
  1184. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +0 -34
  1185. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +0 -43
  1186. data/spec/models/submit_self_service_recovery_flow_with_code_method_body_spec.rb +0 -52
  1187. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +0 -46
  1188. data/spec/models/submit_self_service_registration_flow_body_spec.rb +0 -43
  1189. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +0 -52
  1190. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +0 -52
  1191. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +0 -58
  1192. data/spec/models/submit_self_service_settings_flow_body_spec.rb +0 -43
  1193. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +0 -64
  1194. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +0 -58
  1195. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +0 -46
  1196. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +0 -46
  1197. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +0 -52
  1198. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +0 -58
  1199. data/spec/models/submit_self_service_verification_flow_body_spec.rb +0 -43
  1200. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +0 -46
  1201. data/spec/models/successful_o_auth2_request_response_spec.rb +0 -34
  1202. data/spec/models/successful_self_service_login_without_browser_spec.rb +0 -40
  1203. data/spec/models/successful_self_service_registration_without_browser_spec.rb +0 -46
  1204. data/spec/models/update_custom_hostname_body_spec.rb +0 -52
  1205. data/spec/models/update_o_auth2_client_lifespans_spec.rb +0 -100
  1206. data/spec/models/update_project_spec.rb +0 -40
  1207. data/spec/models/update_subscription_payload_spec.rb +0 -40
  1208. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
  1209. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  1210. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
  1211. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
  1212. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.1.gem +0 -0
  1213. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
  1214. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.1.gem +0 -0
  1215. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/.github/workflows/ruby.yml +0 -41
  1216. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/CHANGELOG.md +0 -372
  1217. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/README.md +0 -95
  1218. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb +0 -55
  1219. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/curls/options.rb +0 -502
  1220. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/callbacks.rb +0 -148
  1221. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/informations.rb +0 -113
  1222. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/response_callbacks.rb +0 -131
  1223. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/version.rb +0 -6
  1224. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/callbacks_spec.rb +0 -59
  1225. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/informations_spec.rb +0 -120
  1226. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/mirror_spec.rb +0 -47
  1227. data/vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/easy/operations_spec.rb +0 -268
  1228. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ast/processor.rb +0 -288
  1229. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/builders/default.rb +0 -2309
  1230. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/current.rb +0 -119
  1231. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
  1232. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
  1233. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/messages.rb +0 -118
  1234. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/meta.rb +0 -39
  1235. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
  1236. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
  1237. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
  1238. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
  1239. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
  1240. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
  1241. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
  1242. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
  1243. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
  1244. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
  1245. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
  1246. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
  1247. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
  1248. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
  1249. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/static_environment.rb +0 -69
  1250. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/version.rb +0 -5
  1251. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/parser.gemspec +0 -43
  1252. data/vendor/bundle/ruby/2.5.0/gems/rspec-3.11.0/lib/rspec/version.rb +0 -5
  1253. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/Changelog.md +0 -2355
  1254. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/configuration.rb +0 -2383
  1255. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/exception_presenter.rb +0 -521
  1256. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/formatters/html_printer.rb +0 -414
  1257. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/option_parser.rb +0 -325
  1258. data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.11.0/lib/rspec/core/version.rb +0 -9
  1259. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/Changelog.md +0 -1277
  1260. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/expectations/version.rb +0 -8
  1261. data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.11.1/lib/rspec/matchers.rb +0 -1041
  1262. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/Changelog.md +0 -1193
  1263. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/error_generator.rb +0 -369
  1264. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/message_expectation.rb +0 -822
  1265. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/method_reference.rb +0 -202
  1266. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/verifying_message_expectation.rb +0 -54
  1267. data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.11.1/lib/rspec/mocks/version.rb +0 -9
  1268. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/Changelog.md +0 -357
  1269. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/ruby_features.rb +0 -194
  1270. data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.11.1/lib/rspec/support/version.rb +0 -7
  1271. data/vendor/bundle/ruby/2.5.0/specifications/ethon-0.15.0.gemspec +0 -32
  1272. data/vendor/bundle/ruby/2.5.0/specifications/parser-3.1.2.1.gemspec +0 -63
  1273. data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.11.0.gemspec +0 -43
  1274. data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.11.0.gemspec +0 -63
  1275. data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.11.1.gemspec +0 -51
  1276. data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.11.1.gemspec +0 -51
  1277. data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.11.1.gemspec +0 -39
@@ -0,0 +1,1926 @@
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: v1.0.0
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 'cgi'
14
+
15
+ module OryClient
16
+ class OAuth2Api
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Accept OAuth 2.0 Consent Request
23
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. This endpoint tells Ory 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. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
24
+ # @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
27
+ # @return [OAuth2RedirectTo]
28
+ def accept_o_auth2_consent_request(consent_challenge, opts = {})
29
+ data, _status_code, _headers = accept_o_auth2_consent_request_with_http_info(consent_challenge, opts)
30
+ data
31
+ end
32
+
33
+ # Accept OAuth 2.0 Consent Request
34
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. This endpoint tells Ory 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. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
35
+ # @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [AcceptOAuth2ConsentRequest] :accept_o_auth2_consent_request
38
+ # @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
39
+ def accept_o_auth2_consent_request_with_http_info(consent_challenge, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.accept_o_auth2_consent_request ...'
42
+ end
43
+ # verify the required parameter 'consent_challenge' is set
44
+ if @api_client.config.client_side_validation && consent_challenge.nil?
45
+ fail ArgumentError, "Missing the required parameter 'consent_challenge' when calling OAuth2Api.accept_o_auth2_consent_request"
46
+ end
47
+ # resource path
48
+ local_var_path = '/admin/oauth2/auth/requests/consent/accept'
49
+
50
+ # query parameters
51
+ query_params = opts[:query_params] || {}
52
+ query_params[:'consent_challenge'] = consent_challenge
53
+
54
+ # header parameters
55
+ header_params = opts[:header_params] || {}
56
+ # HTTP header 'Accept' (if needed)
57
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
58
+ # HTTP header 'Content-Type'
59
+ content_type = @api_client.select_header_content_type(['application/json'])
60
+ if !content_type.nil?
61
+ header_params['Content-Type'] = content_type
62
+ end
63
+
64
+ # form parameters
65
+ form_params = opts[:form_params] || {}
66
+
67
+ # http body (model)
68
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'accept_o_auth2_consent_request'])
69
+
70
+ # return_type
71
+ return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
72
+
73
+ # auth_names
74
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
75
+
76
+ new_options = opts.merge(
77
+ :operation => :"OAuth2Api.accept_o_auth2_consent_request",
78
+ :header_params => header_params,
79
+ :query_params => query_params,
80
+ :form_params => form_params,
81
+ :body => post_body,
82
+ :auth_names => auth_names,
83
+ :return_type => return_type
84
+ )
85
+
86
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
87
+ if @api_client.config.debugging
88
+ @api_client.config.logger.debug "API called: OAuth2Api#accept_o_auth2_consent_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
89
+ end
90
+ return data, status_code, headers
91
+ end
92
+
93
+ # Accept OAuth 2.0 Login Request
94
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. 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 that the subject has successfully authenticated and includes additional information such as the subject's ID and if Ory 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.
95
+ # @param login_challenge [String] OAuth 2.0 Login Request Challenge
96
+ # @param [Hash] opts the optional parameters
97
+ # @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
98
+ # @return [OAuth2RedirectTo]
99
+ def accept_o_auth2_login_request(login_challenge, opts = {})
100
+ data, _status_code, _headers = accept_o_auth2_login_request_with_http_info(login_challenge, opts)
101
+ data
102
+ end
103
+
104
+ # Accept OAuth 2.0 Login Request
105
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. 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 that the subject has successfully authenticated and includes additional information such as the subject&#39;s ID and if Ory should remember the subject&#39;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.
106
+ # @param login_challenge [String] OAuth 2.0 Login Request Challenge
107
+ # @param [Hash] opts the optional parameters
108
+ # @option opts [AcceptOAuth2LoginRequest] :accept_o_auth2_login_request
109
+ # @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
110
+ def accept_o_auth2_login_request_with_http_info(login_challenge, opts = {})
111
+ if @api_client.config.debugging
112
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.accept_o_auth2_login_request ...'
113
+ end
114
+ # verify the required parameter 'login_challenge' is set
115
+ if @api_client.config.client_side_validation && login_challenge.nil?
116
+ fail ArgumentError, "Missing the required parameter 'login_challenge' when calling OAuth2Api.accept_o_auth2_login_request"
117
+ end
118
+ # resource path
119
+ local_var_path = '/admin/oauth2/auth/requests/login/accept'
120
+
121
+ # query parameters
122
+ query_params = opts[:query_params] || {}
123
+ query_params[:'login_challenge'] = login_challenge
124
+
125
+ # header parameters
126
+ header_params = opts[:header_params] || {}
127
+ # HTTP header 'Accept' (if needed)
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
129
+ # HTTP header 'Content-Type'
130
+ content_type = @api_client.select_header_content_type(['application/json'])
131
+ if !content_type.nil?
132
+ header_params['Content-Type'] = content_type
133
+ end
134
+
135
+ # form parameters
136
+ form_params = opts[:form_params] || {}
137
+
138
+ # http body (model)
139
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'accept_o_auth2_login_request'])
140
+
141
+ # return_type
142
+ return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
143
+
144
+ # auth_names
145
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
146
+
147
+ new_options = opts.merge(
148
+ :operation => :"OAuth2Api.accept_o_auth2_login_request",
149
+ :header_params => header_params,
150
+ :query_params => query_params,
151
+ :form_params => form_params,
152
+ :body => post_body,
153
+ :auth_names => auth_names,
154
+ :return_type => return_type
155
+ )
156
+
157
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
158
+ if @api_client.config.debugging
159
+ @api_client.config.logger.debug "API called: OAuth2Api#accept_o_auth2_login_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
160
+ end
161
+ return data, status_code, headers
162
+ end
163
+
164
+ # Accept OAuth 2.0 Session Logout Request
165
+ # When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, 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.
166
+ # @param logout_challenge [String] OAuth 2.0 Logout Request Challenge
167
+ # @param [Hash] opts the optional parameters
168
+ # @return [OAuth2RedirectTo]
169
+ def accept_o_auth2_logout_request(logout_challenge, opts = {})
170
+ data, _status_code, _headers = accept_o_auth2_logout_request_with_http_info(logout_challenge, opts)
171
+ data
172
+ end
173
+
174
+ # Accept OAuth 2.0 Session Logout Request
175
+ # When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, 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.
176
+ # @param logout_challenge [String] OAuth 2.0 Logout Request Challenge
177
+ # @param [Hash] opts the optional parameters
178
+ # @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
179
+ def accept_o_auth2_logout_request_with_http_info(logout_challenge, opts = {})
180
+ if @api_client.config.debugging
181
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.accept_o_auth2_logout_request ...'
182
+ end
183
+ # verify the required parameter 'logout_challenge' is set
184
+ if @api_client.config.client_side_validation && logout_challenge.nil?
185
+ fail ArgumentError, "Missing the required parameter 'logout_challenge' when calling OAuth2Api.accept_o_auth2_logout_request"
186
+ end
187
+ # resource path
188
+ local_var_path = '/admin/oauth2/auth/requests/logout/accept'
189
+
190
+ # query parameters
191
+ query_params = opts[:query_params] || {}
192
+ query_params[:'logout_challenge'] = logout_challenge
193
+
194
+ # header parameters
195
+ header_params = opts[:header_params] || {}
196
+ # HTTP header 'Accept' (if needed)
197
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
198
+
199
+ # form parameters
200
+ form_params = opts[:form_params] || {}
201
+
202
+ # http body (model)
203
+ post_body = opts[:debug_body]
204
+
205
+ # return_type
206
+ return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
207
+
208
+ # auth_names
209
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
210
+
211
+ new_options = opts.merge(
212
+ :operation => :"OAuth2Api.accept_o_auth2_logout_request",
213
+ :header_params => header_params,
214
+ :query_params => query_params,
215
+ :form_params => form_params,
216
+ :body => post_body,
217
+ :auth_names => auth_names,
218
+ :return_type => return_type
219
+ )
220
+
221
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
222
+ if @api_client.config.debugging
223
+ @api_client.config.logger.debug "API called: OAuth2Api#accept_o_auth2_logout_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
224
+ end
225
+ return data, status_code, headers
226
+ end
227
+
228
+ # Create OAuth 2.0 Client
229
+ # 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.
230
+ # @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
231
+ # @param [Hash] opts the optional parameters
232
+ # @return [OAuth2Client]
233
+ def create_o_auth2_client(o_auth2_client, opts = {})
234
+ data, _status_code, _headers = create_o_auth2_client_with_http_info(o_auth2_client, opts)
235
+ data
236
+ end
237
+
238
+ # Create OAuth 2.0 Client
239
+ # Create a new 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.
240
+ # @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
243
+ def create_o_auth2_client_with_http_info(o_auth2_client, opts = {})
244
+ if @api_client.config.debugging
245
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.create_o_auth2_client ...'
246
+ end
247
+ # verify the required parameter 'o_auth2_client' is set
248
+ if @api_client.config.client_side_validation && o_auth2_client.nil?
249
+ fail ArgumentError, "Missing the required parameter 'o_auth2_client' when calling OAuth2Api.create_o_auth2_client"
250
+ end
251
+ # resource path
252
+ local_var_path = '/admin/clients'
253
+
254
+ # query parameters
255
+ query_params = opts[:query_params] || {}
256
+
257
+ # header parameters
258
+ header_params = opts[:header_params] || {}
259
+ # HTTP header 'Accept' (if needed)
260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
261
+ # HTTP header 'Content-Type'
262
+ content_type = @api_client.select_header_content_type(['application/json'])
263
+ if !content_type.nil?
264
+ header_params['Content-Type'] = content_type
265
+ end
266
+
267
+ # form parameters
268
+ form_params = opts[:form_params] || {}
269
+
270
+ # http body (model)
271
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(o_auth2_client)
272
+
273
+ # return_type
274
+ return_type = opts[:debug_return_type] || 'OAuth2Client'
275
+
276
+ # auth_names
277
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
278
+
279
+ new_options = opts.merge(
280
+ :operation => :"OAuth2Api.create_o_auth2_client",
281
+ :header_params => header_params,
282
+ :query_params => query_params,
283
+ :form_params => form_params,
284
+ :body => post_body,
285
+ :auth_names => auth_names,
286
+ :return_type => return_type
287
+ )
288
+
289
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
290
+ if @api_client.config.debugging
291
+ @api_client.config.logger.debug "API called: OAuth2Api#create_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
292
+ end
293
+ return data, status_code, headers
294
+ end
295
+
296
+ # Delete OAuth 2.0 Client
297
+ # 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.
298
+ # @param id [String] The id of the OAuth 2.0 Client.
299
+ # @param [Hash] opts the optional parameters
300
+ # @return [nil]
301
+ def delete_o_auth2_client(id, opts = {})
302
+ delete_o_auth2_client_with_http_info(id, opts)
303
+ nil
304
+ end
305
+
306
+ # Delete OAuth 2.0 Client
307
+ # 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.
308
+ # @param id [String] The id of the OAuth 2.0 Client.
309
+ # @param [Hash] opts the optional parameters
310
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
311
+ def delete_o_auth2_client_with_http_info(id, opts = {})
312
+ if @api_client.config.debugging
313
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.delete_o_auth2_client ...'
314
+ end
315
+ # verify the required parameter 'id' is set
316
+ if @api_client.config.client_side_validation && id.nil?
317
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.delete_o_auth2_client"
318
+ end
319
+ # resource path
320
+ local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
321
+
322
+ # query parameters
323
+ query_params = opts[:query_params] || {}
324
+
325
+ # header parameters
326
+ header_params = opts[:header_params] || {}
327
+ # HTTP header 'Accept' (if needed)
328
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
329
+
330
+ # form parameters
331
+ form_params = opts[:form_params] || {}
332
+
333
+ # http body (model)
334
+ post_body = opts[:debug_body]
335
+
336
+ # return_type
337
+ return_type = opts[:debug_return_type]
338
+
339
+ # auth_names
340
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
341
+
342
+ new_options = opts.merge(
343
+ :operation => :"OAuth2Api.delete_o_auth2_client",
344
+ :header_params => header_params,
345
+ :query_params => query_params,
346
+ :form_params => form_params,
347
+ :body => post_body,
348
+ :auth_names => auth_names,
349
+ :return_type => return_type
350
+ )
351
+
352
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
353
+ if @api_client.config.debugging
354
+ @api_client.config.logger.debug "API called: OAuth2Api#delete_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
355
+ end
356
+ return data, status_code, headers
357
+ end
358
+
359
+ # Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
360
+ # This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
361
+ # @param client_id [String] OAuth 2.0 Client ID
362
+ # @param [Hash] opts the optional parameters
363
+ # @return [nil]
364
+ def delete_o_auth2_token(client_id, opts = {})
365
+ delete_o_auth2_token_with_http_info(client_id, opts)
366
+ nil
367
+ end
368
+
369
+ # Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
370
+ # This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
371
+ # @param client_id [String] OAuth 2.0 Client ID
372
+ # @param [Hash] opts the optional parameters
373
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
374
+ def delete_o_auth2_token_with_http_info(client_id, opts = {})
375
+ if @api_client.config.debugging
376
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.delete_o_auth2_token ...'
377
+ end
378
+ # verify the required parameter 'client_id' is set
379
+ if @api_client.config.client_side_validation && client_id.nil?
380
+ fail ArgumentError, "Missing the required parameter 'client_id' when calling OAuth2Api.delete_o_auth2_token"
381
+ end
382
+ # resource path
383
+ local_var_path = '/admin/oauth2/tokens'
384
+
385
+ # query parameters
386
+ query_params = opts[:query_params] || {}
387
+ query_params[:'client_id'] = client_id
388
+
389
+ # header parameters
390
+ header_params = opts[:header_params] || {}
391
+ # HTTP header 'Accept' (if needed)
392
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
393
+
394
+ # form parameters
395
+ form_params = opts[:form_params] || {}
396
+
397
+ # http body (model)
398
+ post_body = opts[:debug_body]
399
+
400
+ # return_type
401
+ return_type = opts[:debug_return_type]
402
+
403
+ # auth_names
404
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
405
+
406
+ new_options = opts.merge(
407
+ :operation => :"OAuth2Api.delete_o_auth2_token",
408
+ :header_params => header_params,
409
+ :query_params => query_params,
410
+ :form_params => form_params,
411
+ :body => post_body,
412
+ :auth_names => auth_names,
413
+ :return_type => return_type
414
+ )
415
+
416
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
417
+ if @api_client.config.debugging
418
+ @api_client.config.logger.debug "API called: OAuth2Api#delete_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
419
+ end
420
+ return data, status_code, headers
421
+ end
422
+
423
+ # Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
424
+ # 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.
425
+ # @param id [String] The id of the desired grant
426
+ # @param [Hash] opts the optional parameters
427
+ # @return [nil]
428
+ def delete_trusted_o_auth2_jwt_grant_issuer(id, opts = {})
429
+ delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts)
430
+ nil
431
+ end
432
+
433
+ # Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
434
+ # 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.
435
+ # @param id [String] The id of the desired grant
436
+ # @param [Hash] opts the optional parameters
437
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
438
+ def delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts = {})
439
+ if @api_client.config.debugging
440
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.delete_trusted_o_auth2_jwt_grant_issuer ...'
441
+ end
442
+ # verify the required parameter 'id' is set
443
+ if @api_client.config.client_side_validation && id.nil?
444
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.delete_trusted_o_auth2_jwt_grant_issuer"
445
+ end
446
+ # resource path
447
+ local_var_path = '/admin/trust/grants/jwt-bearer/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
448
+
449
+ # query parameters
450
+ query_params = opts[:query_params] || {}
451
+
452
+ # header parameters
453
+ header_params = opts[:header_params] || {}
454
+ # HTTP header 'Accept' (if needed)
455
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
456
+
457
+ # form parameters
458
+ form_params = opts[:form_params] || {}
459
+
460
+ # http body (model)
461
+ post_body = opts[:debug_body]
462
+
463
+ # return_type
464
+ return_type = opts[:debug_return_type]
465
+
466
+ # auth_names
467
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
468
+
469
+ new_options = opts.merge(
470
+ :operation => :"OAuth2Api.delete_trusted_o_auth2_jwt_grant_issuer",
471
+ :header_params => header_params,
472
+ :query_params => query_params,
473
+ :form_params => form_params,
474
+ :body => post_body,
475
+ :auth_names => auth_names,
476
+ :return_type => return_type
477
+ )
478
+
479
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
480
+ if @api_client.config.debugging
481
+ @api_client.config.logger.debug "API called: OAuth2Api#delete_trusted_o_auth2_jwt_grant_issuer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
482
+ end
483
+ return data, status_code, headers
484
+ end
485
+
486
+ # Get an OAuth 2.0 Client
487
+ # 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.
488
+ # @param id [String] The id of the OAuth 2.0 Client.
489
+ # @param [Hash] opts the optional parameters
490
+ # @return [OAuth2Client]
491
+ def get_o_auth2_client(id, opts = {})
492
+ data, _status_code, _headers = get_o_auth2_client_with_http_info(id, opts)
493
+ data
494
+ end
495
+
496
+ # Get an OAuth 2.0 Client
497
+ # 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.
498
+ # @param id [String] The id of the OAuth 2.0 Client.
499
+ # @param [Hash] opts the optional parameters
500
+ # @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
501
+ def get_o_auth2_client_with_http_info(id, opts = {})
502
+ if @api_client.config.debugging
503
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_client ...'
504
+ end
505
+ # verify the required parameter 'id' is set
506
+ if @api_client.config.client_side_validation && id.nil?
507
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.get_o_auth2_client"
508
+ end
509
+ # resource path
510
+ local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
511
+
512
+ # query parameters
513
+ query_params = opts[:query_params] || {}
514
+
515
+ # header parameters
516
+ header_params = opts[:header_params] || {}
517
+ # HTTP header 'Accept' (if needed)
518
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
519
+
520
+ # form parameters
521
+ form_params = opts[:form_params] || {}
522
+
523
+ # http body (model)
524
+ post_body = opts[:debug_body]
525
+
526
+ # return_type
527
+ return_type = opts[:debug_return_type] || 'OAuth2Client'
528
+
529
+ # auth_names
530
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
531
+
532
+ new_options = opts.merge(
533
+ :operation => :"OAuth2Api.get_o_auth2_client",
534
+ :header_params => header_params,
535
+ :query_params => query_params,
536
+ :form_params => form_params,
537
+ :body => post_body,
538
+ :auth_names => auth_names,
539
+ :return_type => return_type
540
+ )
541
+
542
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
543
+ if @api_client.config.debugging
544
+ @api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
545
+ end
546
+ return data, status_code, headers
547
+ end
548
+
549
+ # Get OAuth 2.0 Consent Request
550
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
551
+ # @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
552
+ # @param [Hash] opts the optional parameters
553
+ # @return [OAuth2ConsentRequest]
554
+ def get_o_auth2_consent_request(consent_challenge, opts = {})
555
+ data, _status_code, _headers = get_o_auth2_consent_request_with_http_info(consent_challenge, opts)
556
+ data
557
+ end
558
+
559
+ # Get OAuth 2.0 Consent Request
560
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
561
+ # @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
562
+ # @param [Hash] opts the optional parameters
563
+ # @return [Array<(OAuth2ConsentRequest, Integer, Hash)>] OAuth2ConsentRequest data, response status code and response headers
564
+ def get_o_auth2_consent_request_with_http_info(consent_challenge, opts = {})
565
+ if @api_client.config.debugging
566
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_consent_request ...'
567
+ end
568
+ # verify the required parameter 'consent_challenge' is set
569
+ if @api_client.config.client_side_validation && consent_challenge.nil?
570
+ fail ArgumentError, "Missing the required parameter 'consent_challenge' when calling OAuth2Api.get_o_auth2_consent_request"
571
+ end
572
+ # resource path
573
+ local_var_path = '/admin/oauth2/auth/requests/consent'
574
+
575
+ # query parameters
576
+ query_params = opts[:query_params] || {}
577
+ query_params[:'consent_challenge'] = consent_challenge
578
+
579
+ # header parameters
580
+ header_params = opts[:header_params] || {}
581
+ # HTTP header 'Accept' (if needed)
582
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
583
+
584
+ # form parameters
585
+ form_params = opts[:form_params] || {}
586
+
587
+ # http body (model)
588
+ post_body = opts[:debug_body]
589
+
590
+ # return_type
591
+ return_type = opts[:debug_return_type] || 'OAuth2ConsentRequest'
592
+
593
+ # auth_names
594
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
595
+
596
+ new_options = opts.merge(
597
+ :operation => :"OAuth2Api.get_o_auth2_consent_request",
598
+ :header_params => header_params,
599
+ :query_params => query_params,
600
+ :form_params => form_params,
601
+ :body => post_body,
602
+ :auth_names => auth_names,
603
+ :return_type => return_type
604
+ )
605
+
606
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
607
+ if @api_client.config.debugging
608
+ @api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_consent_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
609
+ end
610
+ return data, status_code, headers
611
+ end
612
+
613
+ # Get OAuth 2.0 Login Request
614
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. Per default, the login provider is Ory itself. You may use a different login provider which needs to be a 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.
615
+ # @param login_challenge [String] OAuth 2.0 Login Request Challenge
616
+ # @param [Hash] opts the optional parameters
617
+ # @return [OAuth2LoginRequest]
618
+ def get_o_auth2_login_request(login_challenge, opts = {})
619
+ data, _status_code, _headers = get_o_auth2_login_request_with_http_info(login_challenge, opts)
620
+ data
621
+ end
622
+
623
+ # Get OAuth 2.0 Login Request
624
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. Per default, the login provider is Ory itself. You may use a different login provider which needs to be a 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.
625
+ # @param login_challenge [String] OAuth 2.0 Login Request Challenge
626
+ # @param [Hash] opts the optional parameters
627
+ # @return [Array<(OAuth2LoginRequest, Integer, Hash)>] OAuth2LoginRequest data, response status code and response headers
628
+ def get_o_auth2_login_request_with_http_info(login_challenge, opts = {})
629
+ if @api_client.config.debugging
630
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_login_request ...'
631
+ end
632
+ # verify the required parameter 'login_challenge' is set
633
+ if @api_client.config.client_side_validation && login_challenge.nil?
634
+ fail ArgumentError, "Missing the required parameter 'login_challenge' when calling OAuth2Api.get_o_auth2_login_request"
635
+ end
636
+ # resource path
637
+ local_var_path = '/admin/oauth2/auth/requests/login'
638
+
639
+ # query parameters
640
+ query_params = opts[:query_params] || {}
641
+ query_params[:'login_challenge'] = login_challenge
642
+
643
+ # header parameters
644
+ header_params = opts[:header_params] || {}
645
+ # HTTP header 'Accept' (if needed)
646
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
647
+
648
+ # form parameters
649
+ form_params = opts[:form_params] || {}
650
+
651
+ # http body (model)
652
+ post_body = opts[:debug_body]
653
+
654
+ # return_type
655
+ return_type = opts[:debug_return_type] || 'OAuth2LoginRequest'
656
+
657
+ # auth_names
658
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
659
+
660
+ new_options = opts.merge(
661
+ :operation => :"OAuth2Api.get_o_auth2_login_request",
662
+ :header_params => header_params,
663
+ :query_params => query_params,
664
+ :form_params => form_params,
665
+ :body => post_body,
666
+ :auth_names => auth_names,
667
+ :return_type => return_type
668
+ )
669
+
670
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
671
+ if @api_client.config.debugging
672
+ @api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_login_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
673
+ end
674
+ return data, status_code, headers
675
+ end
676
+
677
+ # Get OAuth 2.0 Session Logout Request
678
+ # Use this endpoint to fetch an Ory OAuth 2.0 logout request.
679
+ # @param logout_challenge [String]
680
+ # @param [Hash] opts the optional parameters
681
+ # @return [OAuth2LogoutRequest]
682
+ def get_o_auth2_logout_request(logout_challenge, opts = {})
683
+ data, _status_code, _headers = get_o_auth2_logout_request_with_http_info(logout_challenge, opts)
684
+ data
685
+ end
686
+
687
+ # Get OAuth 2.0 Session Logout Request
688
+ # Use this endpoint to fetch an Ory OAuth 2.0 logout request.
689
+ # @param logout_challenge [String]
690
+ # @param [Hash] opts the optional parameters
691
+ # @return [Array<(OAuth2LogoutRequest, Integer, Hash)>] OAuth2LogoutRequest data, response status code and response headers
692
+ def get_o_auth2_logout_request_with_http_info(logout_challenge, opts = {})
693
+ if @api_client.config.debugging
694
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.get_o_auth2_logout_request ...'
695
+ end
696
+ # verify the required parameter 'logout_challenge' is set
697
+ if @api_client.config.client_side_validation && logout_challenge.nil?
698
+ fail ArgumentError, "Missing the required parameter 'logout_challenge' when calling OAuth2Api.get_o_auth2_logout_request"
699
+ end
700
+ # resource path
701
+ local_var_path = '/admin/oauth2/auth/requests/logout'
702
+
703
+ # query parameters
704
+ query_params = opts[:query_params] || {}
705
+ query_params[:'logout_challenge'] = logout_challenge
706
+
707
+ # header parameters
708
+ header_params = opts[:header_params] || {}
709
+ # HTTP header 'Accept' (if needed)
710
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
711
+
712
+ # form parameters
713
+ form_params = opts[:form_params] || {}
714
+
715
+ # http body (model)
716
+ post_body = opts[:debug_body]
717
+
718
+ # return_type
719
+ return_type = opts[:debug_return_type] || 'OAuth2LogoutRequest'
720
+
721
+ # auth_names
722
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
723
+
724
+ new_options = opts.merge(
725
+ :operation => :"OAuth2Api.get_o_auth2_logout_request",
726
+ :header_params => header_params,
727
+ :query_params => query_params,
728
+ :form_params => form_params,
729
+ :body => post_body,
730
+ :auth_names => auth_names,
731
+ :return_type => return_type
732
+ )
733
+
734
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
735
+ if @api_client.config.debugging
736
+ @api_client.config.logger.debug "API called: OAuth2Api#get_o_auth2_logout_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
737
+ end
738
+ return data, status_code, headers
739
+ end
740
+
741
+ # Get Trusted OAuth2 JWT Bearer Grant Type Issuer
742
+ # Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
743
+ # @param id [String] The id of the desired grant
744
+ # @param [Hash] opts the optional parameters
745
+ # @return [TrustedOAuth2JwtGrantIssuer]
746
+ def get_trusted_o_auth2_jwt_grant_issuer(id, opts = {})
747
+ data, _status_code, _headers = get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts)
748
+ data
749
+ end
750
+
751
+ # Get Trusted OAuth2 JWT Bearer Grant Type Issuer
752
+ # Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
753
+ # @param id [String] The id of the desired grant
754
+ # @param [Hash] opts the optional parameters
755
+ # @return [Array<(TrustedOAuth2JwtGrantIssuer, Integer, Hash)>] TrustedOAuth2JwtGrantIssuer data, response status code and response headers
756
+ def get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id, opts = {})
757
+ if @api_client.config.debugging
758
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.get_trusted_o_auth2_jwt_grant_issuer ...'
759
+ end
760
+ # verify the required parameter 'id' is set
761
+ if @api_client.config.client_side_validation && id.nil?
762
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.get_trusted_o_auth2_jwt_grant_issuer"
763
+ end
764
+ # resource path
765
+ local_var_path = '/admin/trust/grants/jwt-bearer/issuers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
766
+
767
+ # query parameters
768
+ query_params = opts[:query_params] || {}
769
+
770
+ # header parameters
771
+ header_params = opts[:header_params] || {}
772
+ # HTTP header 'Accept' (if needed)
773
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
774
+
775
+ # form parameters
776
+ form_params = opts[:form_params] || {}
777
+
778
+ # http body (model)
779
+ post_body = opts[:debug_body]
780
+
781
+ # return_type
782
+ return_type = opts[:debug_return_type] || 'TrustedOAuth2JwtGrantIssuer'
783
+
784
+ # auth_names
785
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
786
+
787
+ new_options = opts.merge(
788
+ :operation => :"OAuth2Api.get_trusted_o_auth2_jwt_grant_issuer",
789
+ :header_params => header_params,
790
+ :query_params => query_params,
791
+ :form_params => form_params,
792
+ :body => post_body,
793
+ :auth_names => auth_names,
794
+ :return_type => return_type
795
+ )
796
+
797
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
798
+ if @api_client.config.debugging
799
+ @api_client.config.logger.debug "API called: OAuth2Api#get_trusted_o_auth2_jwt_grant_issuer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
800
+ end
801
+ return data, status_code, headers
802
+ end
803
+
804
+ # Introspect OAuth2 Access and Refresh Tokens
805
+ # 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 `session.access_token` during the consent flow.
806
+ # @param token [String] 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.
807
+ # @param [Hash] opts the optional parameters
808
+ # @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.
809
+ # @return [IntrospectedOAuth2Token]
810
+ def introspect_o_auth2_token(token, opts = {})
811
+ data, _status_code, _headers = introspect_o_auth2_token_with_http_info(token, opts)
812
+ data
813
+ end
814
+
815
+ # Introspect OAuth2 Access and Refresh Tokens
816
+ # 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;session.access_token&#x60; during the consent flow.
817
+ # @param token [String] 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.
818
+ # @param [Hash] opts the optional parameters
819
+ # @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.
820
+ # @return [Array<(IntrospectedOAuth2Token, Integer, Hash)>] IntrospectedOAuth2Token data, response status code and response headers
821
+ def introspect_o_auth2_token_with_http_info(token, opts = {})
822
+ if @api_client.config.debugging
823
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.introspect_o_auth2_token ...'
824
+ end
825
+ # verify the required parameter 'token' is set
826
+ if @api_client.config.client_side_validation && token.nil?
827
+ fail ArgumentError, "Missing the required parameter 'token' when calling OAuth2Api.introspect_o_auth2_token"
828
+ end
829
+ # resource path
830
+ local_var_path = '/admin/oauth2/introspect'
831
+
832
+ # query parameters
833
+ query_params = opts[:query_params] || {}
834
+
835
+ # header parameters
836
+ header_params = opts[:header_params] || {}
837
+ # HTTP header 'Accept' (if needed)
838
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
839
+ # HTTP header 'Content-Type'
840
+ content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
841
+ if !content_type.nil?
842
+ header_params['Content-Type'] = content_type
843
+ end
844
+
845
+ # form parameters
846
+ form_params = opts[:form_params] || {}
847
+ form_params['token'] = token
848
+ form_params['scope'] = opts[:'scope'] if !opts[:'scope'].nil?
849
+
850
+ # http body (model)
851
+ post_body = opts[:debug_body]
852
+
853
+ # return_type
854
+ return_type = opts[:debug_return_type] || 'IntrospectedOAuth2Token'
855
+
856
+ # auth_names
857
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
858
+
859
+ new_options = opts.merge(
860
+ :operation => :"OAuth2Api.introspect_o_auth2_token",
861
+ :header_params => header_params,
862
+ :query_params => query_params,
863
+ :form_params => form_params,
864
+ :body => post_body,
865
+ :auth_names => auth_names,
866
+ :return_type => return_type
867
+ )
868
+
869
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
870
+ if @api_client.config.debugging
871
+ @api_client.config.logger.debug "API called: OAuth2Api#introspect_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
872
+ end
873
+ return data, status_code, headers
874
+ end
875
+
876
+ # List OAuth 2.0 Clients
877
+ # This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.
878
+ # @param [Hash] opts the optional parameters
879
+ # @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). (default to 250)
880
+ # @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). (default to '1')
881
+ # @option opts [String] :client_name The name of the clients to filter by.
882
+ # @option opts [String] :owner The owner of the clients to filter by.
883
+ # @return [Array<OAuth2Client>]
884
+ def list_o_auth2_clients(opts = {})
885
+ data, _status_code, _headers = list_o_auth2_clients_with_http_info(opts)
886
+ data
887
+ end
888
+
889
+ # List OAuth 2.0 Clients
890
+ # This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.
891
+ # @param [Hash] opts the optional parameters
892
+ # @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). (default to 250)
893
+ # @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). (default to '1')
894
+ # @option opts [String] :client_name The name of the clients to filter by.
895
+ # @option opts [String] :owner The owner of the clients to filter by.
896
+ # @return [Array<(Array<OAuth2Client>, Integer, Hash)>] Array<OAuth2Client> data, response status code and response headers
897
+ def list_o_auth2_clients_with_http_info(opts = {})
898
+ if @api_client.config.debugging
899
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.list_o_auth2_clients ...'
900
+ end
901
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 500
902
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_clients, must be smaller than or equal to 500.'
903
+ end
904
+
905
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
906
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_clients, must be greater than or equal to 1.'
907
+ end
908
+
909
+ # resource path
910
+ local_var_path = '/admin/clients'
911
+
912
+ # query parameters
913
+ query_params = opts[:query_params] || {}
914
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
915
+ query_params[:'page_token'] = opts[:'page_token'] if !opts[:'page_token'].nil?
916
+ query_params[:'client_name'] = opts[:'client_name'] if !opts[:'client_name'].nil?
917
+ query_params[:'owner'] = opts[:'owner'] if !opts[:'owner'].nil?
918
+
919
+ # header parameters
920
+ header_params = opts[:header_params] || {}
921
+ # HTTP header 'Accept' (if needed)
922
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
923
+
924
+ # form parameters
925
+ form_params = opts[:form_params] || {}
926
+
927
+ # http body (model)
928
+ post_body = opts[:debug_body]
929
+
930
+ # return_type
931
+ return_type = opts[:debug_return_type] || 'Array<OAuth2Client>'
932
+
933
+ # auth_names
934
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
935
+
936
+ new_options = opts.merge(
937
+ :operation => :"OAuth2Api.list_o_auth2_clients",
938
+ :header_params => header_params,
939
+ :query_params => query_params,
940
+ :form_params => form_params,
941
+ :body => post_body,
942
+ :auth_names => auth_names,
943
+ :return_type => return_type
944
+ )
945
+
946
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
947
+ if @api_client.config.debugging
948
+ @api_client.config.logger.debug "API called: OAuth2Api#list_o_auth2_clients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
949
+ end
950
+ return data, status_code, headers
951
+ end
952
+
953
+ # List OAuth 2.0 Consent Sessions of a Subject
954
+ # This endpoint lists all subject'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.
955
+ # @param subject [String] The subject to list the consent sessions for.
956
+ # @param [Hash] opts the optional parameters
957
+ # @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). (default to 250)
958
+ # @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). (default to '1')
959
+ # @return [Array<OAuth2ConsentSession>]
960
+ def list_o_auth2_consent_sessions(subject, opts = {})
961
+ data, _status_code, _headers = list_o_auth2_consent_sessions_with_http_info(subject, opts)
962
+ data
963
+ end
964
+
965
+ # List OAuth 2.0 Consent Sessions of a Subject
966
+ # 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.
967
+ # @param subject [String] The subject to list the consent sessions for.
968
+ # @param [Hash] opts the optional parameters
969
+ # @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). (default to 250)
970
+ # @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). (default to '1')
971
+ # @return [Array<(Array<OAuth2ConsentSession>, Integer, Hash)>] Array<OAuth2ConsentSession> data, response status code and response headers
972
+ def list_o_auth2_consent_sessions_with_http_info(subject, opts = {})
973
+ if @api_client.config.debugging
974
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.list_o_auth2_consent_sessions ...'
975
+ end
976
+ # verify the required parameter 'subject' is set
977
+ if @api_client.config.client_side_validation && subject.nil?
978
+ fail ArgumentError, "Missing the required parameter 'subject' when calling OAuth2Api.list_o_auth2_consent_sessions"
979
+ end
980
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] > 500
981
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_consent_sessions, must be smaller than or equal to 500.'
982
+ end
983
+
984
+ if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
985
+ fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling OAuth2Api.list_o_auth2_consent_sessions, must be greater than or equal to 1.'
986
+ end
987
+
988
+ # resource path
989
+ local_var_path = '/admin/oauth2/auth/sessions/consent'
990
+
991
+ # query parameters
992
+ query_params = opts[:query_params] || {}
993
+ query_params[:'subject'] = subject
994
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
995
+ query_params[:'page_token'] = opts[:'page_token'] if !opts[:'page_token'].nil?
996
+
997
+ # header parameters
998
+ header_params = opts[:header_params] || {}
999
+ # HTTP header 'Accept' (if needed)
1000
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1001
+
1002
+ # form parameters
1003
+ form_params = opts[:form_params] || {}
1004
+
1005
+ # http body (model)
1006
+ post_body = opts[:debug_body]
1007
+
1008
+ # return_type
1009
+ return_type = opts[:debug_return_type] || 'Array<OAuth2ConsentSession>'
1010
+
1011
+ # auth_names
1012
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1013
+
1014
+ new_options = opts.merge(
1015
+ :operation => :"OAuth2Api.list_o_auth2_consent_sessions",
1016
+ :header_params => header_params,
1017
+ :query_params => query_params,
1018
+ :form_params => form_params,
1019
+ :body => post_body,
1020
+ :auth_names => auth_names,
1021
+ :return_type => return_type
1022
+ )
1023
+
1024
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1025
+ if @api_client.config.debugging
1026
+ @api_client.config.logger.debug "API called: OAuth2Api#list_o_auth2_consent_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1027
+ end
1028
+ return data, status_code, headers
1029
+ end
1030
+
1031
+ # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1032
+ # Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
1033
+ # @param [Hash] opts the optional parameters
1034
+ # @option opts [Integer] :max_items
1035
+ # @option opts [Integer] :default_items
1036
+ # @option opts [String] :issuer If optional \&quot;issuer\&quot; is supplied, only jwt-bearer grants with this issuer will be returned.
1037
+ # @return [Array<TrustedOAuth2JwtGrantIssuer>]
1038
+ def list_trusted_o_auth2_jwt_grant_issuers(opts = {})
1039
+ data, _status_code, _headers = list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts)
1040
+ data
1041
+ end
1042
+
1043
+ # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1044
+ # Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
1045
+ # @param [Hash] opts the optional parameters
1046
+ # @option opts [Integer] :max_items
1047
+ # @option opts [Integer] :default_items
1048
+ # @option opts [String] :issuer If optional \&quot;issuer\&quot; is supplied, only jwt-bearer grants with this issuer will be returned.
1049
+ # @return [Array<(Array<TrustedOAuth2JwtGrantIssuer>, Integer, Hash)>] Array<TrustedOAuth2JwtGrantIssuer> data, response status code and response headers
1050
+ def list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts = {})
1051
+ if @api_client.config.debugging
1052
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.list_trusted_o_auth2_jwt_grant_issuers ...'
1053
+ end
1054
+ # resource path
1055
+ local_var_path = '/admin/trust/grants/jwt-bearer/issuers'
1056
+
1057
+ # query parameters
1058
+ query_params = opts[:query_params] || {}
1059
+ query_params[:'MaxItems'] = opts[:'max_items'] if !opts[:'max_items'].nil?
1060
+ query_params[:'DefaultItems'] = opts[:'default_items'] if !opts[:'default_items'].nil?
1061
+ query_params[:'issuer'] = opts[:'issuer'] if !opts[:'issuer'].nil?
1062
+
1063
+ # header parameters
1064
+ header_params = opts[:header_params] || {}
1065
+ # HTTP header 'Accept' (if needed)
1066
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1067
+
1068
+ # form parameters
1069
+ form_params = opts[:form_params] || {}
1070
+
1071
+ # http body (model)
1072
+ post_body = opts[:debug_body]
1073
+
1074
+ # return_type
1075
+ return_type = opts[:debug_return_type] || 'Array<TrustedOAuth2JwtGrantIssuer>'
1076
+
1077
+ # auth_names
1078
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1079
+
1080
+ new_options = opts.merge(
1081
+ :operation => :"OAuth2Api.list_trusted_o_auth2_jwt_grant_issuers",
1082
+ :header_params => header_params,
1083
+ :query_params => query_params,
1084
+ :form_params => form_params,
1085
+ :body => post_body,
1086
+ :auth_names => auth_names,
1087
+ :return_type => return_type
1088
+ )
1089
+
1090
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1091
+ if @api_client.config.debugging
1092
+ @api_client.config.logger.debug "API called: OAuth2Api#list_trusted_o_auth2_jwt_grant_issuers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1093
+ end
1094
+ return data, status_code, headers
1095
+ end
1096
+
1097
+ # OAuth 2.0 Authorize Endpoint
1098
+ # Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.
1099
+ # @param [Hash] opts the optional parameters
1100
+ # @return [ErrorOAuth2]
1101
+ def o_auth2_authorize(opts = {})
1102
+ data, _status_code, _headers = o_auth2_authorize_with_http_info(opts)
1103
+ data
1104
+ end
1105
+
1106
+ # OAuth 2.0 Authorize Endpoint
1107
+ # Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.
1108
+ # @param [Hash] opts the optional parameters
1109
+ # @return [Array<(ErrorOAuth2, Integer, Hash)>] ErrorOAuth2 data, response status code and response headers
1110
+ def o_auth2_authorize_with_http_info(opts = {})
1111
+ if @api_client.config.debugging
1112
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.o_auth2_authorize ...'
1113
+ end
1114
+ # resource path
1115
+ local_var_path = '/oauth2/auth'
1116
+
1117
+ # query parameters
1118
+ query_params = opts[:query_params] || {}
1119
+
1120
+ # header parameters
1121
+ header_params = opts[:header_params] || {}
1122
+ # HTTP header 'Accept' (if needed)
1123
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1124
+
1125
+ # form parameters
1126
+ form_params = opts[:form_params] || {}
1127
+
1128
+ # http body (model)
1129
+ post_body = opts[:debug_body]
1130
+
1131
+ # return_type
1132
+ return_type = opts[:debug_return_type] || 'ErrorOAuth2'
1133
+
1134
+ # auth_names
1135
+ auth_names = opts[:debug_auth_names] || []
1136
+
1137
+ new_options = opts.merge(
1138
+ :operation => :"OAuth2Api.o_auth2_authorize",
1139
+ :header_params => header_params,
1140
+ :query_params => query_params,
1141
+ :form_params => form_params,
1142
+ :body => post_body,
1143
+ :auth_names => auth_names,
1144
+ :return_type => return_type
1145
+ )
1146
+
1147
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1148
+ if @api_client.config.debugging
1149
+ @api_client.config.logger.debug "API called: OAuth2Api#o_auth2_authorize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1150
+ end
1151
+ return data, status_code, headers
1152
+ end
1153
+
1154
+ # The OAuth 2.0 Token Endpoint
1155
+ # Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.
1156
+ # @param grant_type [String]
1157
+ # @param [Hash] opts the optional parameters
1158
+ # @option opts [String] :client_id
1159
+ # @option opts [String] :code
1160
+ # @option opts [String] :redirect_uri
1161
+ # @option opts [String] :refresh_token
1162
+ # @return [OAuth2TokenExchange]
1163
+ def oauth2_token_exchange(grant_type, opts = {})
1164
+ data, _status_code, _headers = oauth2_token_exchange_with_http_info(grant_type, opts)
1165
+ data
1166
+ end
1167
+
1168
+ # The OAuth 2.0 Token Endpoint
1169
+ # Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ The Ory SDK is not yet able to this endpoint properly.
1170
+ # @param grant_type [String]
1171
+ # @param [Hash] opts the optional parameters
1172
+ # @option opts [String] :client_id
1173
+ # @option opts [String] :code
1174
+ # @option opts [String] :redirect_uri
1175
+ # @option opts [String] :refresh_token
1176
+ # @return [Array<(OAuth2TokenExchange, Integer, Hash)>] OAuth2TokenExchange data, response status code and response headers
1177
+ def oauth2_token_exchange_with_http_info(grant_type, opts = {})
1178
+ if @api_client.config.debugging
1179
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.oauth2_token_exchange ...'
1180
+ end
1181
+ # verify the required parameter 'grant_type' is set
1182
+ if @api_client.config.client_side_validation && grant_type.nil?
1183
+ fail ArgumentError, "Missing the required parameter 'grant_type' when calling OAuth2Api.oauth2_token_exchange"
1184
+ end
1185
+ # resource path
1186
+ local_var_path = '/oauth2/token'
1187
+
1188
+ # query parameters
1189
+ query_params = opts[:query_params] || {}
1190
+
1191
+ # header parameters
1192
+ header_params = opts[:header_params] || {}
1193
+ # HTTP header 'Accept' (if needed)
1194
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1195
+ # HTTP header 'Content-Type'
1196
+ content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1197
+ if !content_type.nil?
1198
+ header_params['Content-Type'] = content_type
1199
+ end
1200
+
1201
+ # form parameters
1202
+ form_params = opts[:form_params] || {}
1203
+ form_params['grant_type'] = grant_type
1204
+ form_params['client_id'] = opts[:'client_id'] if !opts[:'client_id'].nil?
1205
+ form_params['code'] = opts[:'code'] if !opts[:'code'].nil?
1206
+ form_params['redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
1207
+ form_params['refresh_token'] = opts[:'refresh_token'] if !opts[:'refresh_token'].nil?
1208
+
1209
+ # http body (model)
1210
+ post_body = opts[:debug_body]
1211
+
1212
+ # return_type
1213
+ return_type = opts[:debug_return_type] || 'OAuth2TokenExchange'
1214
+
1215
+ # auth_names
1216
+ auth_names = opts[:debug_auth_names] || ['basic', 'oauth2']
1217
+
1218
+ new_options = opts.merge(
1219
+ :operation => :"OAuth2Api.oauth2_token_exchange",
1220
+ :header_params => header_params,
1221
+ :query_params => query_params,
1222
+ :form_params => form_params,
1223
+ :body => post_body,
1224
+ :auth_names => auth_names,
1225
+ :return_type => return_type
1226
+ )
1227
+
1228
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1229
+ if @api_client.config.debugging
1230
+ @api_client.config.logger.debug "API called: OAuth2Api#oauth2_token_exchange\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1231
+ end
1232
+ return data, status_code, headers
1233
+ end
1234
+
1235
+ # Patch OAuth 2.0 Client
1236
+ # Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret` 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.
1237
+ # @param id [String] The id of the OAuth 2.0 Client.
1238
+ # @param json_patch [Array<JsonPatch>] OAuth 2.0 Client JSON Patch Body
1239
+ # @param [Hash] opts the optional parameters
1240
+ # @return [OAuth2Client]
1241
+ def patch_o_auth2_client(id, json_patch, opts = {})
1242
+ data, _status_code, _headers = patch_o_auth2_client_with_http_info(id, json_patch, opts)
1243
+ data
1244
+ end
1245
+
1246
+ # Patch OAuth 2.0 Client
1247
+ # Patch an existing OAuth 2.0 Client using JSON Patch. 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.
1248
+ # @param id [String] The id of the OAuth 2.0 Client.
1249
+ # @param json_patch [Array<JsonPatch>] OAuth 2.0 Client JSON Patch Body
1250
+ # @param [Hash] opts the optional parameters
1251
+ # @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
1252
+ def patch_o_auth2_client_with_http_info(id, json_patch, opts = {})
1253
+ if @api_client.config.debugging
1254
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.patch_o_auth2_client ...'
1255
+ end
1256
+ # verify the required parameter 'id' is set
1257
+ if @api_client.config.client_side_validation && id.nil?
1258
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.patch_o_auth2_client"
1259
+ end
1260
+ # verify the required parameter 'json_patch' is set
1261
+ if @api_client.config.client_side_validation && json_patch.nil?
1262
+ fail ArgumentError, "Missing the required parameter 'json_patch' when calling OAuth2Api.patch_o_auth2_client"
1263
+ end
1264
+ # resource path
1265
+ local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1266
+
1267
+ # query parameters
1268
+ query_params = opts[:query_params] || {}
1269
+
1270
+ # header parameters
1271
+ header_params = opts[:header_params] || {}
1272
+ # HTTP header 'Accept' (if needed)
1273
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1274
+ # HTTP header 'Content-Type'
1275
+ content_type = @api_client.select_header_content_type(['application/json'])
1276
+ if !content_type.nil?
1277
+ header_params['Content-Type'] = content_type
1278
+ end
1279
+
1280
+ # form parameters
1281
+ form_params = opts[:form_params] || {}
1282
+
1283
+ # http body (model)
1284
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(json_patch)
1285
+
1286
+ # return_type
1287
+ return_type = opts[:debug_return_type] || 'OAuth2Client'
1288
+
1289
+ # auth_names
1290
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1291
+
1292
+ new_options = opts.merge(
1293
+ :operation => :"OAuth2Api.patch_o_auth2_client",
1294
+ :header_params => header_params,
1295
+ :query_params => query_params,
1296
+ :form_params => form_params,
1297
+ :body => post_body,
1298
+ :auth_names => auth_names,
1299
+ :return_type => return_type
1300
+ )
1301
+
1302
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
1303
+ if @api_client.config.debugging
1304
+ @api_client.config.logger.debug "API called: OAuth2Api#patch_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1305
+ end
1306
+ return data, status_code, headers
1307
+ end
1308
+
1309
+ # Reject OAuth 2.0 Consent Request
1310
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. This endpoint tells Ory 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. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
1311
+ # @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
1312
+ # @param [Hash] opts the optional parameters
1313
+ # @option opts [RejectOAuth2Request] :reject_o_auth2_request
1314
+ # @return [OAuth2RedirectTo]
1315
+ def reject_o_auth2_consent_request(consent_challenge, opts = {})
1316
+ data, _status_code, _headers = reject_o_auth2_consent_request_with_http_info(consent_challenge, opts)
1317
+ data
1318
+ end
1319
+
1320
+ # Reject OAuth 2.0 Consent Request
1321
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory 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 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 if the subject accepted or rejected the request. This endpoint tells Ory 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. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation.
1322
+ # @param consent_challenge [String] OAuth 2.0 Consent Request Challenge
1323
+ # @param [Hash] opts the optional parameters
1324
+ # @option opts [RejectOAuth2Request] :reject_o_auth2_request
1325
+ # @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
1326
+ def reject_o_auth2_consent_request_with_http_info(consent_challenge, opts = {})
1327
+ if @api_client.config.debugging
1328
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.reject_o_auth2_consent_request ...'
1329
+ end
1330
+ # verify the required parameter 'consent_challenge' is set
1331
+ if @api_client.config.client_side_validation && consent_challenge.nil?
1332
+ fail ArgumentError, "Missing the required parameter 'consent_challenge' when calling OAuth2Api.reject_o_auth2_consent_request"
1333
+ end
1334
+ # resource path
1335
+ local_var_path = '/admin/oauth2/auth/requests/consent/reject'
1336
+
1337
+ # query parameters
1338
+ query_params = opts[:query_params] || {}
1339
+ query_params[:'consent_challenge'] = consent_challenge
1340
+
1341
+ # header parameters
1342
+ header_params = opts[:header_params] || {}
1343
+ # HTTP header 'Accept' (if needed)
1344
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1345
+ # HTTP header 'Content-Type'
1346
+ content_type = @api_client.select_header_content_type(['application/json'])
1347
+ if !content_type.nil?
1348
+ header_params['Content-Type'] = content_type
1349
+ end
1350
+
1351
+ # form parameters
1352
+ form_params = opts[:form_params] || {}
1353
+
1354
+ # http body (model)
1355
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'reject_o_auth2_request'])
1356
+
1357
+ # return_type
1358
+ return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
1359
+
1360
+ # auth_names
1361
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1362
+
1363
+ new_options = opts.merge(
1364
+ :operation => :"OAuth2Api.reject_o_auth2_consent_request",
1365
+ :header_params => header_params,
1366
+ :query_params => query_params,
1367
+ :form_params => form_params,
1368
+ :body => post_body,
1369
+ :auth_names => auth_names,
1370
+ :return_type => return_type
1371
+ )
1372
+
1373
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1374
+ if @api_client.config.debugging
1375
+ @api_client.config.logger.debug "API called: OAuth2Api#reject_o_auth2_consent_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1376
+ end
1377
+ return data, status_code, headers
1378
+ end
1379
+
1380
+ # Reject OAuth 2.0 Login Request
1381
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. 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 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.
1382
+ # @param login_challenge [String] OAuth 2.0 Login Request Challenge
1383
+ # @param [Hash] opts the optional parameters
1384
+ # @option opts [RejectOAuth2Request] :reject_o_auth2_request
1385
+ # @return [OAuth2RedirectTo]
1386
+ def reject_o_auth2_login_request(login_challenge, opts = {})
1387
+ data, _status_code, _headers = reject_o_auth2_login_request_with_http_info(login_challenge, opts)
1388
+ data
1389
+ end
1390
+
1391
+ # Reject OAuth 2.0 Login Request
1392
+ # When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. 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 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.
1393
+ # @param login_challenge [String] OAuth 2.0 Login Request Challenge
1394
+ # @param [Hash] opts the optional parameters
1395
+ # @option opts [RejectOAuth2Request] :reject_o_auth2_request
1396
+ # @return [Array<(OAuth2RedirectTo, Integer, Hash)>] OAuth2RedirectTo data, response status code and response headers
1397
+ def reject_o_auth2_login_request_with_http_info(login_challenge, opts = {})
1398
+ if @api_client.config.debugging
1399
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.reject_o_auth2_login_request ...'
1400
+ end
1401
+ # verify the required parameter 'login_challenge' is set
1402
+ if @api_client.config.client_side_validation && login_challenge.nil?
1403
+ fail ArgumentError, "Missing the required parameter 'login_challenge' when calling OAuth2Api.reject_o_auth2_login_request"
1404
+ end
1405
+ # resource path
1406
+ local_var_path = '/admin/oauth2/auth/requests/login/reject'
1407
+
1408
+ # query parameters
1409
+ query_params = opts[:query_params] || {}
1410
+ query_params[:'login_challenge'] = login_challenge
1411
+
1412
+ # header parameters
1413
+ header_params = opts[:header_params] || {}
1414
+ # HTTP header 'Accept' (if needed)
1415
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1416
+ # HTTP header 'Content-Type'
1417
+ content_type = @api_client.select_header_content_type(['application/json'])
1418
+ if !content_type.nil?
1419
+ header_params['Content-Type'] = content_type
1420
+ end
1421
+
1422
+ # form parameters
1423
+ form_params = opts[:form_params] || {}
1424
+
1425
+ # http body (model)
1426
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'reject_o_auth2_request'])
1427
+
1428
+ # return_type
1429
+ return_type = opts[:debug_return_type] || 'OAuth2RedirectTo'
1430
+
1431
+ # auth_names
1432
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1433
+
1434
+ new_options = opts.merge(
1435
+ :operation => :"OAuth2Api.reject_o_auth2_login_request",
1436
+ :header_params => header_params,
1437
+ :query_params => query_params,
1438
+ :form_params => form_params,
1439
+ :body => post_body,
1440
+ :auth_names => auth_names,
1441
+ :return_type => return_type
1442
+ )
1443
+
1444
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1445
+ if @api_client.config.debugging
1446
+ @api_client.config.logger.debug "API called: OAuth2Api#reject_o_auth2_login_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1447
+ end
1448
+ return data, status_code, headers
1449
+ end
1450
+
1451
+ # Reject OAuth 2.0 Session Logout Request
1452
+ # When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request. No HTTP request body is required. The response is empty as the logout provider has to chose what action to perform next.
1453
+ # @param logout_challenge [String]
1454
+ # @param [Hash] opts the optional parameters
1455
+ # @return [nil]
1456
+ def reject_o_auth2_logout_request(logout_challenge, opts = {})
1457
+ reject_o_auth2_logout_request_with_http_info(logout_challenge, opts)
1458
+ nil
1459
+ end
1460
+
1461
+ # Reject OAuth 2.0 Session Logout Request
1462
+ # When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request. No HTTP request body is required. The response is empty as the logout provider has to chose what action to perform next.
1463
+ # @param logout_challenge [String]
1464
+ # @param [Hash] opts the optional parameters
1465
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1466
+ def reject_o_auth2_logout_request_with_http_info(logout_challenge, opts = {})
1467
+ if @api_client.config.debugging
1468
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.reject_o_auth2_logout_request ...'
1469
+ end
1470
+ # verify the required parameter 'logout_challenge' is set
1471
+ if @api_client.config.client_side_validation && logout_challenge.nil?
1472
+ fail ArgumentError, "Missing the required parameter 'logout_challenge' when calling OAuth2Api.reject_o_auth2_logout_request"
1473
+ end
1474
+ # resource path
1475
+ local_var_path = '/admin/oauth2/auth/requests/logout/reject'
1476
+
1477
+ # query parameters
1478
+ query_params = opts[:query_params] || {}
1479
+ query_params[:'logout_challenge'] = logout_challenge
1480
+
1481
+ # header parameters
1482
+ header_params = opts[:header_params] || {}
1483
+ # HTTP header 'Accept' (if needed)
1484
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1485
+
1486
+ # form parameters
1487
+ form_params = opts[:form_params] || {}
1488
+
1489
+ # http body (model)
1490
+ post_body = opts[:debug_body]
1491
+
1492
+ # return_type
1493
+ return_type = opts[:debug_return_type]
1494
+
1495
+ # auth_names
1496
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1497
+
1498
+ new_options = opts.merge(
1499
+ :operation => :"OAuth2Api.reject_o_auth2_logout_request",
1500
+ :header_params => header_params,
1501
+ :query_params => query_params,
1502
+ :form_params => form_params,
1503
+ :body => post_body,
1504
+ :auth_names => auth_names,
1505
+ :return_type => return_type
1506
+ )
1507
+
1508
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1509
+ if @api_client.config.debugging
1510
+ @api_client.config.logger.debug "API called: OAuth2Api#reject_o_auth2_logout_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1511
+ end
1512
+ return data, status_code, headers
1513
+ end
1514
+
1515
+ # Revoke OAuth 2.0 Consent Sessions of a Subject
1516
+ # This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
1517
+ # @param subject [String] OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
1518
+ # @param [Hash] opts the optional parameters
1519
+ # @option opts [String] :client OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
1520
+ # @option opts [Boolean] :all Revoke All Consent Sessions If set to &#x60;true&#x60; deletes all consent sessions by the Subject that have been granted.
1521
+ # @return [nil]
1522
+ def revoke_o_auth2_consent_sessions(subject, opts = {})
1523
+ revoke_o_auth2_consent_sessions_with_http_info(subject, opts)
1524
+ nil
1525
+ end
1526
+
1527
+ # Revoke OAuth 2.0 Consent Sessions of a Subject
1528
+ # This endpoint revokes a subject&#39;s granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.
1529
+ # @param subject [String] OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
1530
+ # @param [Hash] opts the optional parameters
1531
+ # @option opts [String] :client OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
1532
+ # @option opts [Boolean] :all Revoke All Consent Sessions If set to &#x60;true&#x60; deletes all consent sessions by the Subject that have been granted.
1533
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1534
+ def revoke_o_auth2_consent_sessions_with_http_info(subject, opts = {})
1535
+ if @api_client.config.debugging
1536
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.revoke_o_auth2_consent_sessions ...'
1537
+ end
1538
+ # verify the required parameter 'subject' is set
1539
+ if @api_client.config.client_side_validation && subject.nil?
1540
+ fail ArgumentError, "Missing the required parameter 'subject' when calling OAuth2Api.revoke_o_auth2_consent_sessions"
1541
+ end
1542
+ # resource path
1543
+ local_var_path = '/admin/oauth2/auth/sessions/consent'
1544
+
1545
+ # query parameters
1546
+ query_params = opts[:query_params] || {}
1547
+ query_params[:'subject'] = subject
1548
+ query_params[:'client'] = opts[:'client'] if !opts[:'client'].nil?
1549
+ query_params[:'all'] = opts[:'all'] if !opts[:'all'].nil?
1550
+
1551
+ # header parameters
1552
+ header_params = opts[:header_params] || {}
1553
+ # HTTP header 'Accept' (if needed)
1554
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1555
+
1556
+ # form parameters
1557
+ form_params = opts[:form_params] || {}
1558
+
1559
+ # http body (model)
1560
+ post_body = opts[:debug_body]
1561
+
1562
+ # return_type
1563
+ return_type = opts[:debug_return_type]
1564
+
1565
+ # auth_names
1566
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1567
+
1568
+ new_options = opts.merge(
1569
+ :operation => :"OAuth2Api.revoke_o_auth2_consent_sessions",
1570
+ :header_params => header_params,
1571
+ :query_params => query_params,
1572
+ :form_params => form_params,
1573
+ :body => post_body,
1574
+ :auth_names => auth_names,
1575
+ :return_type => return_type
1576
+ )
1577
+
1578
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
1579
+ if @api_client.config.debugging
1580
+ @api_client.config.logger.debug "API called: OAuth2Api#revoke_o_auth2_consent_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1581
+ end
1582
+ return data, status_code, headers
1583
+ end
1584
+
1585
+ # Revokes All OAuth 2.0 Login Sessions of a Subject
1586
+ # This endpoint invalidates a subject's authentication session. After revoking the authentication session, the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
1587
+ # @param subject [String] OAuth 2.0 Subject The subject to revoke authentication sessions for.
1588
+ # @param [Hash] opts the optional parameters
1589
+ # @return [nil]
1590
+ def revoke_o_auth2_login_sessions(subject, opts = {})
1591
+ revoke_o_auth2_login_sessions_with_http_info(subject, opts)
1592
+ nil
1593
+ end
1594
+
1595
+ # Revokes All OAuth 2.0 Login Sessions of a Subject
1596
+ # This endpoint invalidates a subject&#39;s authentication session. After revoking the authentication session, the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
1597
+ # @param subject [String] OAuth 2.0 Subject The subject to revoke authentication sessions for.
1598
+ # @param [Hash] opts the optional parameters
1599
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1600
+ def revoke_o_auth2_login_sessions_with_http_info(subject, opts = {})
1601
+ if @api_client.config.debugging
1602
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.revoke_o_auth2_login_sessions ...'
1603
+ end
1604
+ # verify the required parameter 'subject' is set
1605
+ if @api_client.config.client_side_validation && subject.nil?
1606
+ fail ArgumentError, "Missing the required parameter 'subject' when calling OAuth2Api.revoke_o_auth2_login_sessions"
1607
+ end
1608
+ # resource path
1609
+ local_var_path = '/admin/oauth2/auth/sessions/login'
1610
+
1611
+ # query parameters
1612
+ query_params = opts[:query_params] || {}
1613
+ query_params[:'subject'] = subject
1614
+
1615
+ # header parameters
1616
+ header_params = opts[:header_params] || {}
1617
+ # HTTP header 'Accept' (if needed)
1618
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1619
+
1620
+ # form parameters
1621
+ form_params = opts[:form_params] || {}
1622
+
1623
+ # http body (model)
1624
+ post_body = opts[:debug_body]
1625
+
1626
+ # return_type
1627
+ return_type = opts[:debug_return_type]
1628
+
1629
+ # auth_names
1630
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1631
+
1632
+ new_options = opts.merge(
1633
+ :operation => :"OAuth2Api.revoke_o_auth2_login_sessions",
1634
+ :header_params => header_params,
1635
+ :query_params => query_params,
1636
+ :form_params => form_params,
1637
+ :body => post_body,
1638
+ :auth_names => auth_names,
1639
+ :return_type => return_type
1640
+ )
1641
+
1642
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
1643
+ if @api_client.config.debugging
1644
+ @api_client.config.logger.debug "API called: OAuth2Api#revoke_o_auth2_login_sessions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1645
+ end
1646
+ return data, status_code, headers
1647
+ end
1648
+
1649
+ # Revoke OAuth 2.0 Access or Refresh Token
1650
+ # 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.
1651
+ # @param token [String]
1652
+ # @param [Hash] opts the optional parameters
1653
+ # @return [nil]
1654
+ def revoke_o_auth2_token(token, opts = {})
1655
+ revoke_o_auth2_token_with_http_info(token, opts)
1656
+ nil
1657
+ end
1658
+
1659
+ # Revoke OAuth 2.0 Access or Refresh Token
1660
+ # 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.
1661
+ # @param token [String]
1662
+ # @param [Hash] opts the optional parameters
1663
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1664
+ def revoke_o_auth2_token_with_http_info(token, opts = {})
1665
+ if @api_client.config.debugging
1666
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.revoke_o_auth2_token ...'
1667
+ end
1668
+ # verify the required parameter 'token' is set
1669
+ if @api_client.config.client_side_validation && token.nil?
1670
+ fail ArgumentError, "Missing the required parameter 'token' when calling OAuth2Api.revoke_o_auth2_token"
1671
+ end
1672
+ # resource path
1673
+ local_var_path = '/oauth2/revoke'
1674
+
1675
+ # query parameters
1676
+ query_params = opts[:query_params] || {}
1677
+
1678
+ # header parameters
1679
+ header_params = opts[:header_params] || {}
1680
+ # HTTP header 'Accept' (if needed)
1681
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1682
+ # HTTP header 'Content-Type'
1683
+ content_type = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1684
+ if !content_type.nil?
1685
+ header_params['Content-Type'] = content_type
1686
+ end
1687
+
1688
+ # form parameters
1689
+ form_params = opts[:form_params] || {}
1690
+ form_params['token'] = token
1691
+
1692
+ # http body (model)
1693
+ post_body = opts[:debug_body]
1694
+
1695
+ # return_type
1696
+ return_type = opts[:debug_return_type]
1697
+
1698
+ # auth_names
1699
+ auth_names = opts[:debug_auth_names] || ['basic', 'oauth2']
1700
+
1701
+ new_options = opts.merge(
1702
+ :operation => :"OAuth2Api.revoke_o_auth2_token",
1703
+ :header_params => header_params,
1704
+ :query_params => query_params,
1705
+ :form_params => form_params,
1706
+ :body => post_body,
1707
+ :auth_names => auth_names,
1708
+ :return_type => return_type
1709
+ )
1710
+
1711
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1712
+ if @api_client.config.debugging
1713
+ @api_client.config.logger.debug "API called: OAuth2Api#revoke_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1714
+ end
1715
+ return data, status_code, headers
1716
+ end
1717
+
1718
+ # Set OAuth 2.0 Client
1719
+ # Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, 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.
1720
+ # @param id [String] OAuth 2.0 Client ID
1721
+ # @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
1722
+ # @param [Hash] opts the optional parameters
1723
+ # @return [OAuth2Client]
1724
+ def set_o_auth2_client(id, o_auth2_client, opts = {})
1725
+ data, _status_code, _headers = set_o_auth2_client_with_http_info(id, o_auth2_client, opts)
1726
+ data
1727
+ end
1728
+
1729
+ # Set OAuth 2.0 Client
1730
+ # Replaces an existing OAuth 2.0 Client with the payload you send. If you pass &#x60;client_secret&#x60; the secret is used, otherwise the existing secret is used. If set, 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.
1731
+ # @param id [String] OAuth 2.0 Client ID
1732
+ # @param o_auth2_client [OAuth2Client] OAuth 2.0 Client Request Body
1733
+ # @param [Hash] opts the optional parameters
1734
+ # @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
1735
+ def set_o_auth2_client_with_http_info(id, o_auth2_client, opts = {})
1736
+ if @api_client.config.debugging
1737
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.set_o_auth2_client ...'
1738
+ end
1739
+ # verify the required parameter 'id' is set
1740
+ if @api_client.config.client_side_validation && id.nil?
1741
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.set_o_auth2_client"
1742
+ end
1743
+ # verify the required parameter 'o_auth2_client' is set
1744
+ if @api_client.config.client_side_validation && o_auth2_client.nil?
1745
+ fail ArgumentError, "Missing the required parameter 'o_auth2_client' when calling OAuth2Api.set_o_auth2_client"
1746
+ end
1747
+ # resource path
1748
+ local_var_path = '/admin/clients/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1749
+
1750
+ # query parameters
1751
+ query_params = opts[:query_params] || {}
1752
+
1753
+ # header parameters
1754
+ header_params = opts[:header_params] || {}
1755
+ # HTTP header 'Accept' (if needed)
1756
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1757
+ # HTTP header 'Content-Type'
1758
+ content_type = @api_client.select_header_content_type(['application/json'])
1759
+ if !content_type.nil?
1760
+ header_params['Content-Type'] = content_type
1761
+ end
1762
+
1763
+ # form parameters
1764
+ form_params = opts[:form_params] || {}
1765
+
1766
+ # http body (model)
1767
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(o_auth2_client)
1768
+
1769
+ # return_type
1770
+ return_type = opts[:debug_return_type] || 'OAuth2Client'
1771
+
1772
+ # auth_names
1773
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1774
+
1775
+ new_options = opts.merge(
1776
+ :operation => :"OAuth2Api.set_o_auth2_client",
1777
+ :header_params => header_params,
1778
+ :query_params => query_params,
1779
+ :form_params => form_params,
1780
+ :body => post_body,
1781
+ :auth_names => auth_names,
1782
+ :return_type => return_type
1783
+ )
1784
+
1785
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1786
+ if @api_client.config.debugging
1787
+ @api_client.config.logger.debug "API called: OAuth2Api#set_o_auth2_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1788
+ end
1789
+ return data, status_code, headers
1790
+ end
1791
+
1792
+ # Set OAuth2 Client Token Lifespans
1793
+ # Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.
1794
+ # @param id [String] OAuth 2.0 Client ID
1795
+ # @param [Hash] opts the optional parameters
1796
+ # @option opts [OAuth2ClientTokenLifespans] :o_auth2_client_token_lifespans
1797
+ # @return [OAuth2Client]
1798
+ def set_o_auth2_client_lifespans(id, opts = {})
1799
+ data, _status_code, _headers = set_o_auth2_client_lifespans_with_http_info(id, opts)
1800
+ data
1801
+ end
1802
+
1803
+ # Set OAuth2 Client Token Lifespans
1804
+ # Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.
1805
+ # @param id [String] OAuth 2.0 Client ID
1806
+ # @param [Hash] opts the optional parameters
1807
+ # @option opts [OAuth2ClientTokenLifespans] :o_auth2_client_token_lifespans
1808
+ # @return [Array<(OAuth2Client, Integer, Hash)>] OAuth2Client data, response status code and response headers
1809
+ def set_o_auth2_client_lifespans_with_http_info(id, opts = {})
1810
+ if @api_client.config.debugging
1811
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.set_o_auth2_client_lifespans ...'
1812
+ end
1813
+ # verify the required parameter 'id' is set
1814
+ if @api_client.config.client_side_validation && id.nil?
1815
+ fail ArgumentError, "Missing the required parameter 'id' when calling OAuth2Api.set_o_auth2_client_lifespans"
1816
+ end
1817
+ # resource path
1818
+ local_var_path = '/admin/clients/{id}/lifespans'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
1819
+
1820
+ # query parameters
1821
+ query_params = opts[:query_params] || {}
1822
+
1823
+ # header parameters
1824
+ header_params = opts[:header_params] || {}
1825
+ # HTTP header 'Accept' (if needed)
1826
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1827
+ # HTTP header 'Content-Type'
1828
+ content_type = @api_client.select_header_content_type(['application/json'])
1829
+ if !content_type.nil?
1830
+ header_params['Content-Type'] = content_type
1831
+ end
1832
+
1833
+ # form parameters
1834
+ form_params = opts[:form_params] || {}
1835
+
1836
+ # http body (model)
1837
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'o_auth2_client_token_lifespans'])
1838
+
1839
+ # return_type
1840
+ return_type = opts[:debug_return_type] || 'OAuth2Client'
1841
+
1842
+ # auth_names
1843
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1844
+
1845
+ new_options = opts.merge(
1846
+ :operation => :"OAuth2Api.set_o_auth2_client_lifespans",
1847
+ :header_params => header_params,
1848
+ :query_params => query_params,
1849
+ :form_params => form_params,
1850
+ :body => post_body,
1851
+ :auth_names => auth_names,
1852
+ :return_type => return_type
1853
+ )
1854
+
1855
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
1856
+ if @api_client.config.debugging
1857
+ @api_client.config.logger.debug "API called: OAuth2Api#set_o_auth2_client_lifespans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1858
+ end
1859
+ return data, status_code, headers
1860
+ end
1861
+
1862
+ # Trust OAuth2 JWT Bearer Grant Type Issuer
1863
+ # 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).
1864
+ # @param [Hash] opts the optional parameters
1865
+ # @option opts [TrustOAuth2JwtGrantIssuer] :trust_o_auth2_jwt_grant_issuer
1866
+ # @return [TrustedOAuth2JwtGrantIssuer]
1867
+ def trust_o_auth2_jwt_grant_issuer(opts = {})
1868
+ data, _status_code, _headers = trust_o_auth2_jwt_grant_issuer_with_http_info(opts)
1869
+ data
1870
+ end
1871
+
1872
+ # Trust OAuth2 JWT Bearer Grant Type Issuer
1873
+ # 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).
1874
+ # @param [Hash] opts the optional parameters
1875
+ # @option opts [TrustOAuth2JwtGrantIssuer] :trust_o_auth2_jwt_grant_issuer
1876
+ # @return [Array<(TrustedOAuth2JwtGrantIssuer, Integer, Hash)>] TrustedOAuth2JwtGrantIssuer data, response status code and response headers
1877
+ def trust_o_auth2_jwt_grant_issuer_with_http_info(opts = {})
1878
+ if @api_client.config.debugging
1879
+ @api_client.config.logger.debug 'Calling API: OAuth2Api.trust_o_auth2_jwt_grant_issuer ...'
1880
+ end
1881
+ # resource path
1882
+ local_var_path = '/admin/trust/grants/jwt-bearer/issuers'
1883
+
1884
+ # query parameters
1885
+ query_params = opts[:query_params] || {}
1886
+
1887
+ # header parameters
1888
+ header_params = opts[:header_params] || {}
1889
+ # HTTP header 'Accept' (if needed)
1890
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1891
+ # HTTP header 'Content-Type'
1892
+ content_type = @api_client.select_header_content_type(['application/json'])
1893
+ if !content_type.nil?
1894
+ header_params['Content-Type'] = content_type
1895
+ end
1896
+
1897
+ # form parameters
1898
+ form_params = opts[:form_params] || {}
1899
+
1900
+ # http body (model)
1901
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'trust_o_auth2_jwt_grant_issuer'])
1902
+
1903
+ # return_type
1904
+ return_type = opts[:debug_return_type] || 'TrustedOAuth2JwtGrantIssuer'
1905
+
1906
+ # auth_names
1907
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
1908
+
1909
+ new_options = opts.merge(
1910
+ :operation => :"OAuth2Api.trust_o_auth2_jwt_grant_issuer",
1911
+ :header_params => header_params,
1912
+ :query_params => query_params,
1913
+ :form_params => form_params,
1914
+ :body => post_body,
1915
+ :auth_names => auth_names,
1916
+ :return_type => return_type
1917
+ )
1918
+
1919
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1920
+ if @api_client.config.debugging
1921
+ @api_client.config.logger.debug "API called: OAuth2Api#trust_o_auth2_jwt_grant_issuer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1922
+ end
1923
+ return data, status_code, headers
1924
+ end
1925
+ end
1926
+ end