ory-hydra-client 1.11.7 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +17 -17
  3. data/LICENSE +201 -0
  4. data/README.md +93 -89
  5. data/docs/{AcceptConsentRequest.md → AcceptOAuth2ConsentRequest.md} +3 -3
  6. data/docs/AcceptOAuth2ConsentRequestSession.md +20 -0
  7. data/docs/{AcceptLoginRequest.md → AcceptOAuth2LoginRequest.md} +2 -2
  8. data/docs/CreateJsonWebKeySet.md +22 -0
  9. data/docs/ErrorOAuth2.md +26 -0
  10. data/docs/GenericError.md +1 -1
  11. data/docs/{InlineResponse2001.md → GetVersion200Response.md} +3 -3
  12. data/docs/{OAuth2TokenIntrospection.md → IntrospectedOAuth2Token.md} +2 -2
  13. data/docs/{InlineResponse200.md → IsReady200Response.md} +3 -3
  14. data/docs/{InlineResponse503.md → IsReady503Response.md} +3 -3
  15. data/docs/JsonPatch.md +24 -0
  16. data/docs/{JSONWebKey.md → JsonWebKey.md} +2 -2
  17. data/docs/JsonWebKeySet.md +18 -0
  18. data/docs/JwkApi.md +476 -0
  19. data/docs/MetadataApi.md +12 -12
  20. data/docs/OAuth2Api.md +1901 -0
  21. data/docs/OAuth2Client.md +47 -27
  22. data/docs/OAuth2ClientTokenLifespans.md +36 -0
  23. data/docs/{ConsentRequest.md → OAuth2ConsentRequest.md} +3 -3
  24. data/docs/{OpenIDConnectContext.md → OAuth2ConsentRequestOpenIDConnectContext.md} +2 -2
  25. data/docs/OAuth2ConsentSession.md +32 -0
  26. data/docs/OAuth2ConsentSessionExpiresAt.md +26 -0
  27. data/docs/{LoginRequest.md → OAuth2LoginRequest.md} +3 -3
  28. data/docs/{LogoutRequest.md → OAuth2LogoutRequest.md} +2 -2
  29. data/docs/{CompletedRequest.md → OAuth2RedirectTo.md} +3 -3
  30. data/docs/{OauthTokenResponse.md → OAuth2TokenExchange.md} +3 -3
  31. data/docs/OidcApi.md +473 -0
  32. data/docs/OidcConfiguration.md +74 -0
  33. data/docs/{UserinfoResponse.md → OidcUserInfo.md} +2 -2
  34. data/docs/Pagination.md +20 -0
  35. data/docs/PaginationHeaders.md +20 -0
  36. data/docs/{RejectRequest.md → RejectOAuth2Request.md} +2 -2
  37. data/docs/TokenPagination.md +20 -0
  38. data/docs/TokenPaginationHeaders.md +20 -0
  39. data/docs/TokenPaginationRequestParameters.md +20 -0
  40. data/docs/TokenPaginationResponseHeaders.md +20 -0
  41. data/docs/{TrustJwtGrantIssuerBody.md → TrustOAuth2JwtGrantIssuer.md} +6 -4
  42. data/docs/{TrustedJwtGrantIssuer.md → TrustedOAuth2JwtGrantIssuer.md} +5 -3
  43. data/docs/{TrustedJsonWebKey.md → TrustedOAuth2JwtGrantJsonWebKey.md} +2 -2
  44. data/docs/WellknownApi.md +69 -0
  45. data/lib/ory-hydra-client/api/jwk_api.rb +506 -0
  46. data/lib/ory-hydra-client/api/metadata_api.rb +13 -13
  47. data/lib/ory-hydra-client/api/o_auth2_api.rb +1926 -0
  48. data/lib/ory-hydra-client/api/oidc_api.rb +459 -0
  49. data/lib/ory-hydra-client/api/wellknown_api.rb +79 -0
  50. data/lib/ory-hydra-client/api_client.rb +7 -5
  51. data/lib/ory-hydra-client/api_error.rb +4 -4
  52. data/lib/ory-hydra-client/configuration.rb +13 -5
  53. data/lib/ory-hydra-client/models/{accept_consent_request.rb → accept_o_auth2_consent_request.rb} +9 -8
  54. data/lib/ory-hydra-client/models/{consent_request_session.rb → accept_o_auth2_consent_request_session.rb} +14 -15
  55. data/lib/ory-hydra-client/models/{accept_login_request.rb → accept_o_auth2_login_request.rb} +9 -7
  56. data/lib/ory-hydra-client/models/{json_web_key_set_generator_request.rb → create_json_web_key_set.rb} +12 -10
  57. data/lib/ory-hydra-client/models/{json_error.rb → error_o_auth2.rb} +24 -13
  58. data/lib/ory-hydra-client/models/generic_error.rb +8 -8
  59. data/lib/ory-hydra-client/models/{inline_response2001.rb → get_version200_response.rb} +8 -12
  60. data/lib/ory-hydra-client/models/health_not_ready_status.rb +5 -4
  61. data/lib/ory-hydra-client/models/health_status.rb +5 -4
  62. data/lib/ory-hydra-client/models/{o_auth2_token_introspection.rb → introspected_o_auth2_token.rb} +9 -8
  63. data/lib/ory-hydra-client/models/{inline_response200.rb → is_ready200_response.rb} +8 -12
  64. data/lib/ory-hydra-client/models/{inline_response503.rb → is_ready503_response.rb} +8 -12
  65. data/lib/ory-hydra-client/models/{patch_document.rb → json_patch.rb} +13 -11
  66. data/lib/ory-hydra-client/models/json_web_key.rb +8 -8
  67. data/lib/ory-hydra-client/models/json_web_key_set.rb +11 -10
  68. data/lib/ory-hydra-client/models/o_auth2_client.rb +298 -40
  69. data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +481 -0
  70. data/lib/ory-hydra-client/models/{consent_request.rb → o_auth2_consent_request.rb} +10 -8
  71. data/lib/ory-hydra-client/models/{open_id_connect_context.rb → o_auth2_consent_request_open_id_connect_context.rb} +8 -7
  72. data/lib/ory-hydra-client/models/{previous_consent_session.rb → o_auth2_consent_session.rb} +23 -13
  73. data/lib/ory-hydra-client/models/{oauth2_token_response.rb → o_auth2_consent_session_expires_at.rb} +29 -38
  74. data/lib/ory-hydra-client/models/{login_request.rb → o_auth2_login_request.rb} +9 -8
  75. data/lib/ory-hydra-client/models/{logout_request.rb → o_auth2_logout_request.rb} +8 -7
  76. data/lib/ory-hydra-client/models/{completed_request.rb → o_auth2_redirect_to.rb} +10 -8
  77. data/lib/ory-hydra-client/models/{oauth_token_response.rb → o_auth2_token_exchange.rb} +10 -9
  78. data/lib/ory-hydra-client/models/{well_known.rb → oidc_configuration.rb} +71 -36
  79. data/lib/ory-hydra-client/models/{userinfo_response.rb → oidc_user_info.rb} +9 -8
  80. data/lib/ory-hydra-client/models/pagination.rb +264 -0
  81. data/lib/ory-hydra-client/models/pagination_headers.rb +230 -0
  82. data/lib/ory-hydra-client/models/{reject_request.rb → reject_o_auth2_request.rb} +8 -7
  83. data/lib/ory-hydra-client/models/token_pagination.rb +264 -0
  84. data/lib/ory-hydra-client/models/token_pagination_headers.rb +230 -0
  85. data/lib/ory-hydra-client/models/{flush_inactive_o_auth2_tokens_request.rb → token_pagination_request_parameters.rb} +61 -15
  86. data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +231 -0
  87. data/lib/ory-hydra-client/models/{trust_jwt_grant_issuer_body.rb → trust_o_auth2_jwt_grant_issuer.rb} +21 -14
  88. data/lib/ory-hydra-client/models/{trusted_jwt_grant_issuer.rb → trusted_o_auth2_jwt_grant_issuer.rb} +21 -9
  89. data/lib/ory-hydra-client/models/{trusted_json_web_key.rb → trusted_o_auth2_jwt_grant_json_web_key.rb} +9 -7
  90. data/lib/ory-hydra-client/models/version.rb +5 -4
  91. data/lib/ory-hydra-client/version.rb +5 -5
  92. data/lib/ory-hydra-client.rb +39 -35
  93. data/ory-hydra-client.gemspec +6 -6
  94. data/spec/api/jwk_api_spec.rb +125 -0
  95. data/spec/api/metadata_api_spec.rb +7 -7
  96. data/spec/api/o_auth2_api_spec.rb +391 -0
  97. data/spec/api/oidc_api_spec.rb +117 -0
  98. data/spec/api/wellknown_api_spec.rb +46 -0
  99. data/spec/api_client_spec.rb +4 -4
  100. data/spec/configuration_spec.rb +4 -4
  101. data/spec/models/{consent_request_session_spec.rb → accept_o_auth2_consent_request_session_spec.rb} +10 -10
  102. data/spec/models/{accept_consent_request_spec.rb → accept_o_auth2_consent_request_spec.rb} +10 -10
  103. data/spec/models/{accept_login_request_spec.rb → accept_o_auth2_login_request_spec.rb} +10 -10
  104. data/spec/models/{json_web_key_set_generator_request_spec.rb → create_json_web_key_set_spec.rb} +10 -10
  105. data/spec/models/{reject_request_spec.rb → error_o_auth2_spec.rb} +10 -10
  106. data/spec/models/generic_error_spec.rb +4 -4
  107. data/spec/models/get_version200_response_spec.rb +34 -0
  108. data/spec/models/health_not_ready_status_spec.rb +4 -4
  109. data/spec/models/health_status_spec.rb +4 -4
  110. data/spec/models/{o_auth2_token_introspection_spec.rb → introspected_o_auth2_token_spec.rb} +10 -10
  111. data/spec/models/is_ready200_response_spec.rb +34 -0
  112. data/spec/models/is_ready503_response_spec.rb +34 -0
  113. data/spec/models/{patch_document_spec.rb → json_patch_spec.rb} +10 -10
  114. data/spec/models/json_web_key_set_spec.rb +10 -10
  115. data/spec/models/json_web_key_spec.rb +10 -10
  116. data/spec/models/o_auth2_client_spec.rb +64 -4
  117. data/spec/models/o_auth2_client_token_lifespans_spec.rb +88 -0
  118. data/spec/models/{open_id_connect_context_spec.rb → o_auth2_consent_request_open_id_connect_context_spec.rb} +10 -10
  119. data/spec/models/{consent_request_spec.rb → o_auth2_consent_request_spec.rb} +10 -10
  120. data/spec/models/{oauth2_token_response_spec.rb → o_auth2_consent_session_expires_at_spec.rb} +13 -19
  121. data/spec/models/{previous_consent_session_spec.rb → o_auth2_consent_session_spec.rb} +16 -10
  122. data/spec/models/{login_request_spec.rb → o_auth2_login_request_spec.rb} +10 -10
  123. data/spec/models/{logout_request_spec.rb → o_auth2_logout_request_spec.rb} +10 -10
  124. data/spec/models/o_auth2_redirect_to_spec.rb +34 -0
  125. data/spec/models/{oauth_token_response_spec.rb → o_auth2_token_exchange_spec.rb} +10 -10
  126. data/spec/models/{well_known_spec.rb → oidc_configuration_spec.rb} +22 -10
  127. data/spec/models/{userinfo_response_spec.rb → oidc_user_info_spec.rb} +10 -10
  128. data/spec/models/pagination_headers_spec.rb +40 -0
  129. data/spec/models/pagination_spec.rb +40 -0
  130. data/spec/models/{json_error_spec.rb → reject_o_auth2_request_spec.rb} +16 -10
  131. data/spec/models/token_pagination_headers_spec.rb +40 -0
  132. data/spec/models/token_pagination_request_parameters_spec.rb +40 -0
  133. data/spec/models/token_pagination_response_headers_spec.rb +40 -0
  134. data/spec/models/token_pagination_spec.rb +40 -0
  135. data/spec/models/{trust_jwt_grant_issuer_body_spec.rb → trust_o_auth2_jwt_grant_issuer_spec.rb} +16 -10
  136. data/spec/models/{trusted_jwt_grant_issuer_spec.rb → trusted_o_auth2_jwt_grant_issuer_spec.rb} +16 -10
  137. data/spec/models/{trusted_json_web_key_spec.rb → trusted_o_auth2_jwt_grant_json_web_key_spec.rb} +10 -10
  138. data/spec/models/version_spec.rb +4 -4
  139. data/spec/spec_helper.rb +4 -4
  140. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.1.gem +0 -0
  141. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  142. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.6.gem +0 -0
  143. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
  144. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  145. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  146. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  147. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
  148. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
  149. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  150. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  151. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/mkmf.log +10 -10
  152. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  153. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.6}/gem.build_complete +0 -0
  154. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.6}/gem_make.out +6 -6
  155. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{psych-4.0.3 → psych-4.0.6}/mkmf.log +15 -15
  156. data/vendor/bundle/ruby/2.5.0/{gems/psych-4.0.3/lib → extensions/x86_64-linux/2.5.0/psych-4.0.6}/psych.so +0 -0
  157. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/gem.build_complete +0 -0
  158. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/gem_make.out +6 -6
  159. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/mkmf.log +5 -5
  160. data/vendor/bundle/ruby/2.5.0/{gems/stringio-3.0.1/ext/stringio → extensions/x86_64-linux/2.5.0/stringio-3.0.2}/stringio.so +0 -0
  161. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +4 -4
  162. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +4 -4
  163. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +4 -4
  164. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/MIT-LICENSE.txt +0 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel/processor_count.rb +2 -3
  166. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/version.rb +4 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel.rb +84 -4
  168. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/LICENSE.txt +0 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/bin/ruby-parse +0 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/bin/ruby-rewrite +0 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/gauntlet_parser.rb +0 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/all.rb +0 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ast/node.rb +0 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ast/processor.rb +0 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/base.rb +0 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/builders/default.rb +0 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/clobbering_error.rb +0 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/color.rb +0 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/context.rb +0 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/current.rb +4 -4
  181. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/current_arg_stack.rb +0 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/deprecation.rb +0 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/diagnostic/engine.rb +0 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/diagnostic.rb +0 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/lexer/dedenter.rb +0 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/lexer/explanation.rb +0 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/lexer/literal.rb +0 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/lexer/stack_state.rb +0 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/lexer.rb +0 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/macruby.rb +0 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/max_numparam_stack.rb +0 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/messages.rb +0 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/meta.rb +0 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/rewriter.rb +0 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby18.rb +0 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby19.rb +0 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby20.rb +0 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby21.rb +0 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby22.rb +0 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby23.rb +0 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby24.rb +0 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby25.rb +0 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby26.rb +0 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby27.rb +0 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby28.rb +0 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby30.rb +0 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby31.rb +4 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/ruby32.rb +12 -4
  209. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/rubymotion.rb +0 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/runner/ruby_parse.rb +0 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/runner.rb +0 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/buffer.rb +0 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/comment/associator.rb +0 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/comment.rb +0 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/collection.rb +0 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/condition.rb +0 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/constant.rb +0 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/definition.rb +0 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/for.rb +0 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/heredoc.rb +0 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/index.rb +0 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/keyword.rb +0 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/method_definition.rb +0 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/operator.rb +0 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/rescue_body.rb +0 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/send.rb +0 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/ternary.rb +0 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map/variable.rb +0 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/map.rb +0 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/range.rb +0 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/rewriter/action.rb +0 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/rewriter.rb +0 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter.rb +0 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/static_environment.rb +0 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/syntax_error.rb +0 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/tree_rewriter.rb +0 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/variables_stack.rb +0 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser/version.rb +1 -1
  242. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/lib/parser.rb +0 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.1.0 → parser-3.1.2.1}/parser.gemspec +0 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/.gitignore +0 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/Gemfile +0 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/LICENSE +0 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/Mavenfile +0 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/README.md +0 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/Rakefile +0 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/bin/console +0 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/bin/setup +0 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/.sitearchdir.time +0 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/Makefile +4 -4
  254. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/api.o +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/depend +0 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/dumper.o +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/emitter.o +0 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/extconf.rb +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/loader.o +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/parser.o +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych.c +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych.h +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych.o +0 -0
  264. data/vendor/bundle/ruby/2.5.0/{extensions/x86_64-linux/2.5.0/psych-4.0.3 → gems/psych-4.0.6/ext/psych}/psych.so +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_emitter.c +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_emitter.h +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_emitter.o +0 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_parser.c +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_parser.h +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_parser.o +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_to_ruby.c +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_to_ruby.h +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_to_ruby.o +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_yaml_tree.c +0 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_yaml_tree.h +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_yaml_tree.o +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/reader.o +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/scanner.o +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/writer.o +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/LICENSE +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/api.c +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/config.h +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/dumper.c +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/emitter.c +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/loader.c +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/parser.c +0 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/reader.c +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/scanner.c +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/writer.c +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/yaml.h +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/yaml_private.h +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/class_loader.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/coder.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/core_ext.rb +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/exception.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/handler.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/handlers/document_stream.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/handlers/recorder.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/ruby_events.rb +0 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/stream.rb +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/tree_builder.rb +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/yaml_events.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/alias.rb +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/document.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/mapping.rb +0 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/node.rb +2 -2
  307. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/scalar.rb +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/sequence.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/stream.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/omap.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/parser.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/scalar_scanner.rb +18 -11
  314. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/set.rb +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/stream.rb +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/streaming.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/syntax_error.rb +0 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/tree_builder.rb +0 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/versions.rb +2 -2
  320. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/depth_first.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/emitter.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/json_tree.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/to_ruby.rb +5 -3
  324. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/visitor.rb +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/yaml_tree.rb +8 -8
  326. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/y.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych.rb +7 -7
  329. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3/ext/psych → psych-4.0.6/lib}/psych.so +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/psych.gemspec +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec/version.rb +1 -1
  334. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/Changelog.md +6 -1
  338. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
  342. 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
  343. 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
  344. 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
  345. 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
  346. 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
  347. 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
  348. 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
  349. 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
  350. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/configuration.rb +4 -2
  351. 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
  352. 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
  353. 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
  354. 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
  355. 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
  356. 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
  357. 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
  358. 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
  359. 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
  360. 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
  361. 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
  362. 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
  363. 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
  364. 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
  365. 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
  366. 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
  367. 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
  368. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/exception_presenter.rb +4 -0
  369. 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
  370. 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
  371. 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
  372. 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
  373. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/formatters/html_printer.rb +1 -3
  374. 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
  375. 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
  376. 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
  377. 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
  378. 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
  379. 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
  380. 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
  381. 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
  382. 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
  383. 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
  384. 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
  385. 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
  386. 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
  387. 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
  388. 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
  389. 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
  390. 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
  391. 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
  392. 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
  393. 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
  394. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/option_parser.rb +6 -8
  395. 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
  396. 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
  397. 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
  398. 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
  399. 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
  400. 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
  401. 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
  402. 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
  403. 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
  404. 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
  405. 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
  406. 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
  407. 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
  408. 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
  409. 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
  410. 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
  411. 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
  412. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core/version.rb +1 -1
  413. 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
  414. 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
  415. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/.document +0 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/.yardopts +0 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/Changelog.md +19 -1
  419. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/README.md +0 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/configuration.rb +0 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/expectation_target.rb +0 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/fail_with.rb +0 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/failure_aggregator.rb +0 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/handler.rb +0 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/minitest_integration.rb +0 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/syntax.rb +0 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations/version.rb +1 -1
  430. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/aliased_matcher.rb +0 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/all.rb +0 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be.rb +0 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/change.rb +0 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/compound.rb +0 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/contain_exactly.rb +10 -2
  442. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/count_expectation.rb +1 -1
  443. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/cover.rb +0 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eq.rb +0 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/eql.rb +0 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/equal.rb +0 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/exist.rb +1 -1
  448. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/has.rb +0 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/include.rb +0 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/match.rb +0 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/operators.rb +0 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/output.rb +0 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/raise_error.rb +6 -6
  455. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/throw_symbol.rb +4 -4
  459. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in/yield.rb +0 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/built_in.rb +0 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/composable.rb +0 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/dsl.rb +2 -2
  463. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/english_phrasing.rb +0 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/fail_matchers.rb +0 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers.rb +6 -3
  470. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/.document +0 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/.yardopts +0 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/Changelog.md +29 -1
  473. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/LICENSE.md +0 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/README.md +0 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance.rb +0 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
  486. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/configuration.rb +0 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/error_generator.rb +11 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/example_methods.rb +0 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive.rb +1 -1
  495. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_chain.rb +0 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_expectation.rb +13 -5
  499. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_double.rb +3 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_reference.rb +14 -2
  501. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/mutate_const.rb +0 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/object_reference.rb +0 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/order_group.rb +0 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/proxy.rb +6 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/space.rb +0 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/standalone.rb +0 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/syntax.rb +0 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/targets.rb +0 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/test_double.rb +0 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_double.rb +0 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_message_expectation.rb +1 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks/version.rb +1 -1
  515. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.12.0}/lib/rspec/mocks.rb +0 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/Changelog.md +15 -1
  517. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/LICENSE.md +0 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/README.md +0 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/caller_filter.rb +2 -2
  520. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/comparable_version.rb +1 -1
  521. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/differ.rb +4 -4
  522. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/directory_maker.rb +0 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/encoded_string.rb +3 -3
  524. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/fuzzy_matcher.rb +0 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/hunk_generator.rb +0 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/matcher_definition.rb +0 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/method_signature_verifier.rb +2 -2
  528. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/mutex.rb +1 -1
  529. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/object_formatter.rb +0 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/recursive_const_methods.rb +0 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/reentrant_mutex.rb +0 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/ruby_features.rb +7 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source/location.rb +0 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source/node.rb +0 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source/token.rb +0 -0
  536. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/source.rb +0 -0
  537. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
  538. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/diff_helpers.rb +0 -0
  539. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/formatting_support.rb +0 -0
  540. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/in_sub_process.rb +1 -1
  541. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
  542. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/shell_out.rb +0 -0
  543. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/stderr_splitter.rb +1 -1
  544. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/string_matcher.rb +0 -0
  545. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/spec.rb +0 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/version.rb +1 -1
  549. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/warnings.rb +0 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support/with_keywords_when_needed.rb +1 -1
  551. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/README.md +0 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/.sitearchdir.time +0 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/Makefile +4 -4
  555. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/extconf.rb +0 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.c +1 -1
  557. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.o +0 -0
  558. data/vendor/bundle/ruby/2.5.0/{extensions/x86_64-linux/2.5.0/stringio-3.0.1 → gems/stringio-3.0.2/ext/stringio}/stringio.so +0 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/lib/stringio.so +0 -0
  560. data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.21.0.gemspec → parallel-1.22.1.gemspec} +4 -4
  561. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.1.0.gemspec → parser-3.1.2.1.gemspec} +4 -4
  562. data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.3.gemspec → psych-4.0.6.gemspec} +3 -3
  563. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-3.11.0.gemspec → rspec-3.12.0.gemspec} +13 -13
  564. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.11.0.gemspec → rspec-core-3.12.0.gemspec} +11 -11
  565. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.12.0.gemspec} +8 -8
  566. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.12.0.gemspec} +8 -8
  567. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.12.0.gemspec} +5 -5
  568. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.1.gemspec → stringio-3.0.2.gemspec} +5 -5
  569. metadata +569 -552
  570. data/docs/AdminApi.md +0 -2148
  571. data/docs/ConsentRequestSession.md +0 -20
  572. data/docs/FlushInactiveOAuth2TokensRequest.md +0 -18
  573. data/docs/FlushLoginConsentRequest.md +0 -18
  574. data/docs/JSONWebKeySet.md +0 -18
  575. data/docs/JsonError.md +0 -24
  576. data/docs/JsonWebKeySetGeneratorRequest.md +0 -22
  577. data/docs/Oauth2TokenResponse.md +0 -28
  578. data/docs/PatchDocument.md +0 -24
  579. data/docs/PreviousConsentSession.md +0 -30
  580. data/docs/PublicApi.md +0 -738
  581. data/docs/RefreshTokenHookRequest.md +0 -24
  582. data/docs/RefreshTokenHookResponse.md +0 -18
  583. data/docs/RequestWasHandledResponse.md +0 -18
  584. data/docs/WellKnown.md +0 -70
  585. data/lib/ory-hydra-client/api/admin_api.rb +0 -2178
  586. data/lib/ory-hydra-client/api/public_api.rb +0 -723
  587. data/lib/ory-hydra-client/models/flush_login_consent_request.rb +0 -219
  588. data/lib/ory-hydra-client/models/refresh_token_hook_request.rb +0 -253
  589. data/lib/ory-hydra-client/models/refresh_token_hook_response.rb +0 -218
  590. data/lib/ory-hydra-client/models/request_was_handled_response.rb +0 -224
  591. data/spec/api/admin_api_spec.rb +0 -440
  592. data/spec/api/public_api_spec.rb +0 -167
  593. data/spec/models/completed_request_spec.rb +0 -34
  594. data/spec/models/flush_inactive_o_auth2_tokens_request_spec.rb +0 -34
  595. data/spec/models/flush_login_consent_request_spec.rb +0 -34
  596. data/spec/models/inline_response2001_spec.rb +0 -34
  597. data/spec/models/inline_response200_spec.rb +0 -34
  598. data/spec/models/inline_response503_spec.rb +0 -34
  599. data/spec/models/refresh_token_hook_request_spec.rb +0 -52
  600. data/spec/models/refresh_token_hook_response_spec.rb +0 -34
  601. data/spec/models/request_was_handled_response_spec.rb +0 -34
  602. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
  603. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
  604. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.3.gem +0 -0
  605. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
  606. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
  607. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.0.gem +0 -0
  608. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.0.gem +0 -0
  609. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.0.gem +0 -0
  610. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +0 -4
data/docs/OAuth2Api.md ADDED
@@ -0,0 +1,1901 @@
1
+ # OryHydraClient::OAuth2Api
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**accept_o_auth2_consent_request**](OAuth2Api.md#accept_o_auth2_consent_request) | **PUT** /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request |
8
+ | [**accept_o_auth2_login_request**](OAuth2Api.md#accept_o_auth2_login_request) | **PUT** /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request |
9
+ | [**accept_o_auth2_logout_request**](OAuth2Api.md#accept_o_auth2_logout_request) | **PUT** /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request |
10
+ | [**create_o_auth2_client**](OAuth2Api.md#create_o_auth2_client) | **POST** /admin/clients | Create OAuth 2.0 Client |
11
+ | [**delete_o_auth2_client**](OAuth2Api.md#delete_o_auth2_client) | **DELETE** /admin/clients/{id} | Delete OAuth 2.0 Client |
12
+ | [**delete_o_auth2_token**](OAuth2Api.md#delete_o_auth2_token) | **DELETE** /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client |
13
+ | [**delete_trusted_o_auth2_jwt_grant_issuer**](OAuth2Api.md#delete_trusted_o_auth2_jwt_grant_issuer) | **DELETE** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer |
14
+ | [**get_o_auth2_client**](OAuth2Api.md#get_o_auth2_client) | **GET** /admin/clients/{id} | Get an OAuth 2.0 Client |
15
+ | [**get_o_auth2_consent_request**](OAuth2Api.md#get_o_auth2_consent_request) | **GET** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request |
16
+ | [**get_o_auth2_login_request**](OAuth2Api.md#get_o_auth2_login_request) | **GET** /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request |
17
+ | [**get_o_auth2_logout_request**](OAuth2Api.md#get_o_auth2_logout_request) | **GET** /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request |
18
+ | [**get_trusted_o_auth2_jwt_grant_issuer**](OAuth2Api.md#get_trusted_o_auth2_jwt_grant_issuer) | **GET** /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer |
19
+ | [**introspect_o_auth2_token**](OAuth2Api.md#introspect_o_auth2_token) | **POST** /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens |
20
+ | [**list_o_auth2_clients**](OAuth2Api.md#list_o_auth2_clients) | **GET** /admin/clients | List OAuth 2.0 Clients |
21
+ | [**list_o_auth2_consent_sessions**](OAuth2Api.md#list_o_auth2_consent_sessions) | **GET** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject |
22
+ | [**list_trusted_o_auth2_jwt_grant_issuers**](OAuth2Api.md#list_trusted_o_auth2_jwt_grant_issuers) | **GET** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers |
23
+ | [**o_auth2_authorize**](OAuth2Api.md#o_auth2_authorize) | **GET** /oauth2/auth | OAuth 2.0 Authorize Endpoint |
24
+ | [**oauth2_token_exchange**](OAuth2Api.md#oauth2_token_exchange) | **POST** /oauth2/token | The OAuth 2.0 Token Endpoint |
25
+ | [**patch_o_auth2_client**](OAuth2Api.md#patch_o_auth2_client) | **PATCH** /admin/clients/{id} | Patch OAuth 2.0 Client |
26
+ | [**reject_o_auth2_consent_request**](OAuth2Api.md#reject_o_auth2_consent_request) | **PUT** /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request |
27
+ | [**reject_o_auth2_login_request**](OAuth2Api.md#reject_o_auth2_login_request) | **PUT** /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request |
28
+ | [**reject_o_auth2_logout_request**](OAuth2Api.md#reject_o_auth2_logout_request) | **PUT** /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request |
29
+ | [**revoke_o_auth2_consent_sessions**](OAuth2Api.md#revoke_o_auth2_consent_sessions) | **DELETE** /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject |
30
+ | [**revoke_o_auth2_login_sessions**](OAuth2Api.md#revoke_o_auth2_login_sessions) | **DELETE** /admin/oauth2/auth/sessions/login | Revokes All OAuth 2.0 Login Sessions of a Subject |
31
+ | [**revoke_o_auth2_token**](OAuth2Api.md#revoke_o_auth2_token) | **POST** /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token |
32
+ | [**set_o_auth2_client**](OAuth2Api.md#set_o_auth2_client) | **PUT** /admin/clients/{id} | Set OAuth 2.0 Client |
33
+ | [**set_o_auth2_client_lifespans**](OAuth2Api.md#set_o_auth2_client_lifespans) | **PUT** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans |
34
+ | [**trust_o_auth2_jwt_grant_issuer**](OAuth2Api.md#trust_o_auth2_jwt_grant_issuer) | **POST** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer |
35
+
36
+
37
+ ## accept_o_auth2_consent_request
38
+
39
+ > <OAuth2RedirectTo> accept_o_auth2_consent_request(consent_challenge, opts)
40
+
41
+ Accept OAuth 2.0 Consent Request
42
+
43
+ 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.
44
+
45
+ ### Examples
46
+
47
+ ```ruby
48
+ require 'time'
49
+ require 'ory-hydra-client'
50
+
51
+ api_instance = OryHydraClient::OAuth2Api.new
52
+ consent_challenge = 'consent_challenge_example' # String | OAuth 2.0 Consent Request Challenge
53
+ opts = {
54
+ accept_o_auth2_consent_request: OryHydraClient::AcceptOAuth2ConsentRequest.new # AcceptOAuth2ConsentRequest |
55
+ }
56
+
57
+ begin
58
+ # Accept OAuth 2.0 Consent Request
59
+ result = api_instance.accept_o_auth2_consent_request(consent_challenge, opts)
60
+ p result
61
+ rescue OryHydraClient::ApiError => e
62
+ puts "Error when calling OAuth2Api->accept_o_auth2_consent_request: #{e}"
63
+ end
64
+ ```
65
+
66
+ #### Using the accept_o_auth2_consent_request_with_http_info variant
67
+
68
+ This returns an Array which contains the response data, status code and headers.
69
+
70
+ > <Array(<OAuth2RedirectTo>, Integer, Hash)> accept_o_auth2_consent_request_with_http_info(consent_challenge, opts)
71
+
72
+ ```ruby
73
+ begin
74
+ # Accept OAuth 2.0 Consent Request
75
+ data, status_code, headers = api_instance.accept_o_auth2_consent_request_with_http_info(consent_challenge, opts)
76
+ p status_code # => 2xx
77
+ p headers # => { ... }
78
+ p data # => <OAuth2RedirectTo>
79
+ rescue OryHydraClient::ApiError => e
80
+ puts "Error when calling OAuth2Api->accept_o_auth2_consent_request_with_http_info: #{e}"
81
+ end
82
+ ```
83
+
84
+ ### Parameters
85
+
86
+ | Name | Type | Description | Notes |
87
+ | ---- | ---- | ----------- | ----- |
88
+ | **consent_challenge** | **String** | OAuth 2.0 Consent Request Challenge | |
89
+ | **accept_o_auth2_consent_request** | [**AcceptOAuth2ConsentRequest**](AcceptOAuth2ConsentRequest.md) | | [optional] |
90
+
91
+ ### Return type
92
+
93
+ [**OAuth2RedirectTo**](OAuth2RedirectTo.md)
94
+
95
+ ### Authorization
96
+
97
+ No authorization required
98
+
99
+ ### HTTP request headers
100
+
101
+ - **Content-Type**: application/json
102
+ - **Accept**: application/json
103
+
104
+
105
+ ## accept_o_auth2_login_request
106
+
107
+ > <OAuth2RedirectTo> accept_o_auth2_login_request(login_challenge, opts)
108
+
109
+ Accept OAuth 2.0 Login Request
110
+
111
+ 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.
112
+
113
+ ### Examples
114
+
115
+ ```ruby
116
+ require 'time'
117
+ require 'ory-hydra-client'
118
+
119
+ api_instance = OryHydraClient::OAuth2Api.new
120
+ login_challenge = 'login_challenge_example' # String | OAuth 2.0 Login Request Challenge
121
+ opts = {
122
+ accept_o_auth2_login_request: OryHydraClient::AcceptOAuth2LoginRequest.new({subject: 'subject_example'}) # AcceptOAuth2LoginRequest |
123
+ }
124
+
125
+ begin
126
+ # Accept OAuth 2.0 Login Request
127
+ result = api_instance.accept_o_auth2_login_request(login_challenge, opts)
128
+ p result
129
+ rescue OryHydraClient::ApiError => e
130
+ puts "Error when calling OAuth2Api->accept_o_auth2_login_request: #{e}"
131
+ end
132
+ ```
133
+
134
+ #### Using the accept_o_auth2_login_request_with_http_info variant
135
+
136
+ This returns an Array which contains the response data, status code and headers.
137
+
138
+ > <Array(<OAuth2RedirectTo>, Integer, Hash)> accept_o_auth2_login_request_with_http_info(login_challenge, opts)
139
+
140
+ ```ruby
141
+ begin
142
+ # Accept OAuth 2.0 Login Request
143
+ data, status_code, headers = api_instance.accept_o_auth2_login_request_with_http_info(login_challenge, opts)
144
+ p status_code # => 2xx
145
+ p headers # => { ... }
146
+ p data # => <OAuth2RedirectTo>
147
+ rescue OryHydraClient::ApiError => e
148
+ puts "Error when calling OAuth2Api->accept_o_auth2_login_request_with_http_info: #{e}"
149
+ end
150
+ ```
151
+
152
+ ### Parameters
153
+
154
+ | Name | Type | Description | Notes |
155
+ | ---- | ---- | ----------- | ----- |
156
+ | **login_challenge** | **String** | OAuth 2.0 Login Request Challenge | |
157
+ | **accept_o_auth2_login_request** | [**AcceptOAuth2LoginRequest**](AcceptOAuth2LoginRequest.md) | | [optional] |
158
+
159
+ ### Return type
160
+
161
+ [**OAuth2RedirectTo**](OAuth2RedirectTo.md)
162
+
163
+ ### Authorization
164
+
165
+ No authorization required
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: application/json
170
+ - **Accept**: application/json
171
+
172
+
173
+ ## accept_o_auth2_logout_request
174
+
175
+ > <OAuth2RedirectTo> accept_o_auth2_logout_request(logout_challenge)
176
+
177
+ Accept OAuth 2.0 Session Logout Request
178
+
179
+ 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.
180
+
181
+ ### Examples
182
+
183
+ ```ruby
184
+ require 'time'
185
+ require 'ory-hydra-client'
186
+
187
+ api_instance = OryHydraClient::OAuth2Api.new
188
+ logout_challenge = 'logout_challenge_example' # String | OAuth 2.0 Logout Request Challenge
189
+
190
+ begin
191
+ # Accept OAuth 2.0 Session Logout Request
192
+ result = api_instance.accept_o_auth2_logout_request(logout_challenge)
193
+ p result
194
+ rescue OryHydraClient::ApiError => e
195
+ puts "Error when calling OAuth2Api->accept_o_auth2_logout_request: #{e}"
196
+ end
197
+ ```
198
+
199
+ #### Using the accept_o_auth2_logout_request_with_http_info variant
200
+
201
+ This returns an Array which contains the response data, status code and headers.
202
+
203
+ > <Array(<OAuth2RedirectTo>, Integer, Hash)> accept_o_auth2_logout_request_with_http_info(logout_challenge)
204
+
205
+ ```ruby
206
+ begin
207
+ # Accept OAuth 2.0 Session Logout Request
208
+ data, status_code, headers = api_instance.accept_o_auth2_logout_request_with_http_info(logout_challenge)
209
+ p status_code # => 2xx
210
+ p headers # => { ... }
211
+ p data # => <OAuth2RedirectTo>
212
+ rescue OryHydraClient::ApiError => e
213
+ puts "Error when calling OAuth2Api->accept_o_auth2_logout_request_with_http_info: #{e}"
214
+ end
215
+ ```
216
+
217
+ ### Parameters
218
+
219
+ | Name | Type | Description | Notes |
220
+ | ---- | ---- | ----------- | ----- |
221
+ | **logout_challenge** | **String** | OAuth 2.0 Logout Request Challenge | |
222
+
223
+ ### Return type
224
+
225
+ [**OAuth2RedirectTo**](OAuth2RedirectTo.md)
226
+
227
+ ### Authorization
228
+
229
+ No authorization required
230
+
231
+ ### HTTP request headers
232
+
233
+ - **Content-Type**: Not defined
234
+ - **Accept**: application/json
235
+
236
+
237
+ ## create_o_auth2_client
238
+
239
+ > <OAuth2Client> create_o_auth2_client(o_auth2_client)
240
+
241
+ Create OAuth 2.0 Client
242
+
243
+ 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.
244
+
245
+ ### Examples
246
+
247
+ ```ruby
248
+ require 'time'
249
+ require 'ory-hydra-client'
250
+
251
+ api_instance = OryHydraClient::OAuth2Api.new
252
+ o_auth2_client = OryHydraClient::OAuth2Client.new # OAuth2Client | OAuth 2.0 Client Request Body
253
+
254
+ begin
255
+ # Create OAuth 2.0 Client
256
+ result = api_instance.create_o_auth2_client(o_auth2_client)
257
+ p result
258
+ rescue OryHydraClient::ApiError => e
259
+ puts "Error when calling OAuth2Api->create_o_auth2_client: #{e}"
260
+ end
261
+ ```
262
+
263
+ #### Using the create_o_auth2_client_with_http_info variant
264
+
265
+ This returns an Array which contains the response data, status code and headers.
266
+
267
+ > <Array(<OAuth2Client>, Integer, Hash)> create_o_auth2_client_with_http_info(o_auth2_client)
268
+
269
+ ```ruby
270
+ begin
271
+ # Create OAuth 2.0 Client
272
+ data, status_code, headers = api_instance.create_o_auth2_client_with_http_info(o_auth2_client)
273
+ p status_code # => 2xx
274
+ p headers # => { ... }
275
+ p data # => <OAuth2Client>
276
+ rescue OryHydraClient::ApiError => e
277
+ puts "Error when calling OAuth2Api->create_o_auth2_client_with_http_info: #{e}"
278
+ end
279
+ ```
280
+
281
+ ### Parameters
282
+
283
+ | Name | Type | Description | Notes |
284
+ | ---- | ---- | ----------- | ----- |
285
+ | **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | OAuth 2.0 Client Request Body | |
286
+
287
+ ### Return type
288
+
289
+ [**OAuth2Client**](OAuth2Client.md)
290
+
291
+ ### Authorization
292
+
293
+ No authorization required
294
+
295
+ ### HTTP request headers
296
+
297
+ - **Content-Type**: application/json
298
+ - **Accept**: application/json
299
+
300
+
301
+ ## delete_o_auth2_client
302
+
303
+ > delete_o_auth2_client(id)
304
+
305
+ Delete OAuth 2.0 Client
306
+
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
+
309
+ ### Examples
310
+
311
+ ```ruby
312
+ require 'time'
313
+ require 'ory-hydra-client'
314
+
315
+ api_instance = OryHydraClient::OAuth2Api.new
316
+ id = 'id_example' # String | The id of the OAuth 2.0 Client.
317
+
318
+ begin
319
+ # Delete OAuth 2.0 Client
320
+ api_instance.delete_o_auth2_client(id)
321
+ rescue OryHydraClient::ApiError => e
322
+ puts "Error when calling OAuth2Api->delete_o_auth2_client: #{e}"
323
+ end
324
+ ```
325
+
326
+ #### Using the delete_o_auth2_client_with_http_info variant
327
+
328
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
329
+
330
+ > <Array(nil, Integer, Hash)> delete_o_auth2_client_with_http_info(id)
331
+
332
+ ```ruby
333
+ begin
334
+ # Delete OAuth 2.0 Client
335
+ data, status_code, headers = api_instance.delete_o_auth2_client_with_http_info(id)
336
+ p status_code # => 2xx
337
+ p headers # => { ... }
338
+ p data # => nil
339
+ rescue OryHydraClient::ApiError => e
340
+ puts "Error when calling OAuth2Api->delete_o_auth2_client_with_http_info: #{e}"
341
+ end
342
+ ```
343
+
344
+ ### Parameters
345
+
346
+ | Name | Type | Description | Notes |
347
+ | ---- | ---- | ----------- | ----- |
348
+ | **id** | **String** | The id of the OAuth 2.0 Client. | |
349
+
350
+ ### Return type
351
+
352
+ nil (empty response body)
353
+
354
+ ### Authorization
355
+
356
+ No authorization required
357
+
358
+ ### HTTP request headers
359
+
360
+ - **Content-Type**: Not defined
361
+ - **Accept**: application/json
362
+
363
+
364
+ ## delete_o_auth2_token
365
+
366
+ > delete_o_auth2_token(client_id)
367
+
368
+ Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
369
+
370
+ This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.
371
+
372
+ ### Examples
373
+
374
+ ```ruby
375
+ require 'time'
376
+ require 'ory-hydra-client'
377
+
378
+ api_instance = OryHydraClient::OAuth2Api.new
379
+ client_id = 'client_id_example' # String | OAuth 2.0 Client ID
380
+
381
+ begin
382
+ # Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
383
+ api_instance.delete_o_auth2_token(client_id)
384
+ rescue OryHydraClient::ApiError => e
385
+ puts "Error when calling OAuth2Api->delete_o_auth2_token: #{e}"
386
+ end
387
+ ```
388
+
389
+ #### Using the delete_o_auth2_token_with_http_info variant
390
+
391
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
392
+
393
+ > <Array(nil, Integer, Hash)> delete_o_auth2_token_with_http_info(client_id)
394
+
395
+ ```ruby
396
+ begin
397
+ # Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client
398
+ data, status_code, headers = api_instance.delete_o_auth2_token_with_http_info(client_id)
399
+ p status_code # => 2xx
400
+ p headers # => { ... }
401
+ p data # => nil
402
+ rescue OryHydraClient::ApiError => e
403
+ puts "Error when calling OAuth2Api->delete_o_auth2_token_with_http_info: #{e}"
404
+ end
405
+ ```
406
+
407
+ ### Parameters
408
+
409
+ | Name | Type | Description | Notes |
410
+ | ---- | ---- | ----------- | ----- |
411
+ | **client_id** | **String** | OAuth 2.0 Client ID | |
412
+
413
+ ### Return type
414
+
415
+ nil (empty response body)
416
+
417
+ ### Authorization
418
+
419
+ No authorization required
420
+
421
+ ### HTTP request headers
422
+
423
+ - **Content-Type**: Not defined
424
+ - **Accept**: application/json
425
+
426
+
427
+ ## delete_trusted_o_auth2_jwt_grant_issuer
428
+
429
+ > delete_trusted_o_auth2_jwt_grant_issuer(id)
430
+
431
+ Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
432
+
433
+ 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.
434
+
435
+ ### Examples
436
+
437
+ ```ruby
438
+ require 'time'
439
+ require 'ory-hydra-client'
440
+
441
+ api_instance = OryHydraClient::OAuth2Api.new
442
+ id = 'id_example' # String | The id of the desired grant
443
+
444
+ begin
445
+ # Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
446
+ api_instance.delete_trusted_o_auth2_jwt_grant_issuer(id)
447
+ rescue OryHydraClient::ApiError => e
448
+ puts "Error when calling OAuth2Api->delete_trusted_o_auth2_jwt_grant_issuer: #{e}"
449
+ end
450
+ ```
451
+
452
+ #### Using the delete_trusted_o_auth2_jwt_grant_issuer_with_http_info variant
453
+
454
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
455
+
456
+ > <Array(nil, Integer, Hash)> delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
457
+
458
+ ```ruby
459
+ begin
460
+ # Delete Trusted OAuth2 JWT Bearer Grant Type Issuer
461
+ data, status_code, headers = api_instance.delete_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
462
+ p status_code # => 2xx
463
+ p headers # => { ... }
464
+ p data # => nil
465
+ rescue OryHydraClient::ApiError => e
466
+ puts "Error when calling OAuth2Api->delete_trusted_o_auth2_jwt_grant_issuer_with_http_info: #{e}"
467
+ end
468
+ ```
469
+
470
+ ### Parameters
471
+
472
+ | Name | Type | Description | Notes |
473
+ | ---- | ---- | ----------- | ----- |
474
+ | **id** | **String** | The id of the desired grant | |
475
+
476
+ ### Return type
477
+
478
+ nil (empty response body)
479
+
480
+ ### Authorization
481
+
482
+ No authorization required
483
+
484
+ ### HTTP request headers
485
+
486
+ - **Content-Type**: Not defined
487
+ - **Accept**: application/json
488
+
489
+
490
+ ## get_o_auth2_client
491
+
492
+ > <OAuth2Client> get_o_auth2_client(id)
493
+
494
+ Get an OAuth 2.0 Client
495
+
496
+ 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.
497
+
498
+ ### Examples
499
+
500
+ ```ruby
501
+ require 'time'
502
+ require 'ory-hydra-client'
503
+
504
+ api_instance = OryHydraClient::OAuth2Api.new
505
+ id = 'id_example' # String | The id of the OAuth 2.0 Client.
506
+
507
+ begin
508
+ # Get an OAuth 2.0 Client
509
+ result = api_instance.get_o_auth2_client(id)
510
+ p result
511
+ rescue OryHydraClient::ApiError => e
512
+ puts "Error when calling OAuth2Api->get_o_auth2_client: #{e}"
513
+ end
514
+ ```
515
+
516
+ #### Using the get_o_auth2_client_with_http_info variant
517
+
518
+ This returns an Array which contains the response data, status code and headers.
519
+
520
+ > <Array(<OAuth2Client>, Integer, Hash)> get_o_auth2_client_with_http_info(id)
521
+
522
+ ```ruby
523
+ begin
524
+ # Get an OAuth 2.0 Client
525
+ data, status_code, headers = api_instance.get_o_auth2_client_with_http_info(id)
526
+ p status_code # => 2xx
527
+ p headers # => { ... }
528
+ p data # => <OAuth2Client>
529
+ rescue OryHydraClient::ApiError => e
530
+ puts "Error when calling OAuth2Api->get_o_auth2_client_with_http_info: #{e}"
531
+ end
532
+ ```
533
+
534
+ ### Parameters
535
+
536
+ | Name | Type | Description | Notes |
537
+ | ---- | ---- | ----------- | ----- |
538
+ | **id** | **String** | The id of the OAuth 2.0 Client. | |
539
+
540
+ ### Return type
541
+
542
+ [**OAuth2Client**](OAuth2Client.md)
543
+
544
+ ### Authorization
545
+
546
+ No authorization required
547
+
548
+ ### HTTP request headers
549
+
550
+ - **Content-Type**: Not defined
551
+ - **Accept**: application/json
552
+
553
+
554
+ ## get_o_auth2_consent_request
555
+
556
+ > <OAuth2ConsentRequest> get_o_auth2_consent_request(consent_challenge)
557
+
558
+ Get OAuth 2.0 Consent Request
559
+
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'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.
561
+
562
+ ### Examples
563
+
564
+ ```ruby
565
+ require 'time'
566
+ require 'ory-hydra-client'
567
+
568
+ api_instance = OryHydraClient::OAuth2Api.new
569
+ consent_challenge = 'consent_challenge_example' # String | OAuth 2.0 Consent Request Challenge
570
+
571
+ begin
572
+ # Get OAuth 2.0 Consent Request
573
+ result = api_instance.get_o_auth2_consent_request(consent_challenge)
574
+ p result
575
+ rescue OryHydraClient::ApiError => e
576
+ puts "Error when calling OAuth2Api->get_o_auth2_consent_request: #{e}"
577
+ end
578
+ ```
579
+
580
+ #### Using the get_o_auth2_consent_request_with_http_info variant
581
+
582
+ This returns an Array which contains the response data, status code and headers.
583
+
584
+ > <Array(<OAuth2ConsentRequest>, Integer, Hash)> get_o_auth2_consent_request_with_http_info(consent_challenge)
585
+
586
+ ```ruby
587
+ begin
588
+ # Get OAuth 2.0 Consent Request
589
+ data, status_code, headers = api_instance.get_o_auth2_consent_request_with_http_info(consent_challenge)
590
+ p status_code # => 2xx
591
+ p headers # => { ... }
592
+ p data # => <OAuth2ConsentRequest>
593
+ rescue OryHydraClient::ApiError => e
594
+ puts "Error when calling OAuth2Api->get_o_auth2_consent_request_with_http_info: #{e}"
595
+ end
596
+ ```
597
+
598
+ ### Parameters
599
+
600
+ | Name | Type | Description | Notes |
601
+ | ---- | ---- | ----------- | ----- |
602
+ | **consent_challenge** | **String** | OAuth 2.0 Consent Request Challenge | |
603
+
604
+ ### Return type
605
+
606
+ [**OAuth2ConsentRequest**](OAuth2ConsentRequest.md)
607
+
608
+ ### Authorization
609
+
610
+ No authorization required
611
+
612
+ ### HTTP request headers
613
+
614
+ - **Content-Type**: Not defined
615
+ - **Accept**: application/json
616
+
617
+
618
+ ## get_o_auth2_login_request
619
+
620
+ > <OAuth2LoginRequest> get_o_auth2_login_request(login_challenge)
621
+
622
+ Get OAuth 2.0 Login Request
623
+
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 (\"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.
625
+
626
+ ### Examples
627
+
628
+ ```ruby
629
+ require 'time'
630
+ require 'ory-hydra-client'
631
+
632
+ api_instance = OryHydraClient::OAuth2Api.new
633
+ login_challenge = 'login_challenge_example' # String | OAuth 2.0 Login Request Challenge
634
+
635
+ begin
636
+ # Get OAuth 2.0 Login Request
637
+ result = api_instance.get_o_auth2_login_request(login_challenge)
638
+ p result
639
+ rescue OryHydraClient::ApiError => e
640
+ puts "Error when calling OAuth2Api->get_o_auth2_login_request: #{e}"
641
+ end
642
+ ```
643
+
644
+ #### Using the get_o_auth2_login_request_with_http_info variant
645
+
646
+ This returns an Array which contains the response data, status code and headers.
647
+
648
+ > <Array(<OAuth2LoginRequest>, Integer, Hash)> get_o_auth2_login_request_with_http_info(login_challenge)
649
+
650
+ ```ruby
651
+ begin
652
+ # Get OAuth 2.0 Login Request
653
+ data, status_code, headers = api_instance.get_o_auth2_login_request_with_http_info(login_challenge)
654
+ p status_code # => 2xx
655
+ p headers # => { ... }
656
+ p data # => <OAuth2LoginRequest>
657
+ rescue OryHydraClient::ApiError => e
658
+ puts "Error when calling OAuth2Api->get_o_auth2_login_request_with_http_info: #{e}"
659
+ end
660
+ ```
661
+
662
+ ### Parameters
663
+
664
+ | Name | Type | Description | Notes |
665
+ | ---- | ---- | ----------- | ----- |
666
+ | **login_challenge** | **String** | OAuth 2.0 Login Request Challenge | |
667
+
668
+ ### Return type
669
+
670
+ [**OAuth2LoginRequest**](OAuth2LoginRequest.md)
671
+
672
+ ### Authorization
673
+
674
+ No authorization required
675
+
676
+ ### HTTP request headers
677
+
678
+ - **Content-Type**: Not defined
679
+ - **Accept**: application/json
680
+
681
+
682
+ ## get_o_auth2_logout_request
683
+
684
+ > <OAuth2LogoutRequest> get_o_auth2_logout_request(logout_challenge)
685
+
686
+ Get OAuth 2.0 Session Logout Request
687
+
688
+ Use this endpoint to fetch an Ory OAuth 2.0 logout request.
689
+
690
+ ### Examples
691
+
692
+ ```ruby
693
+ require 'time'
694
+ require 'ory-hydra-client'
695
+
696
+ api_instance = OryHydraClient::OAuth2Api.new
697
+ logout_challenge = 'logout_challenge_example' # String |
698
+
699
+ begin
700
+ # Get OAuth 2.0 Session Logout Request
701
+ result = api_instance.get_o_auth2_logout_request(logout_challenge)
702
+ p result
703
+ rescue OryHydraClient::ApiError => e
704
+ puts "Error when calling OAuth2Api->get_o_auth2_logout_request: #{e}"
705
+ end
706
+ ```
707
+
708
+ #### Using the get_o_auth2_logout_request_with_http_info variant
709
+
710
+ This returns an Array which contains the response data, status code and headers.
711
+
712
+ > <Array(<OAuth2LogoutRequest>, Integer, Hash)> get_o_auth2_logout_request_with_http_info(logout_challenge)
713
+
714
+ ```ruby
715
+ begin
716
+ # Get OAuth 2.0 Session Logout Request
717
+ data, status_code, headers = api_instance.get_o_auth2_logout_request_with_http_info(logout_challenge)
718
+ p status_code # => 2xx
719
+ p headers # => { ... }
720
+ p data # => <OAuth2LogoutRequest>
721
+ rescue OryHydraClient::ApiError => e
722
+ puts "Error when calling OAuth2Api->get_o_auth2_logout_request_with_http_info: #{e}"
723
+ end
724
+ ```
725
+
726
+ ### Parameters
727
+
728
+ | Name | Type | Description | Notes |
729
+ | ---- | ---- | ----------- | ----- |
730
+ | **logout_challenge** | **String** | | |
731
+
732
+ ### Return type
733
+
734
+ [**OAuth2LogoutRequest**](OAuth2LogoutRequest.md)
735
+
736
+ ### Authorization
737
+
738
+ No authorization required
739
+
740
+ ### HTTP request headers
741
+
742
+ - **Content-Type**: Not defined
743
+ - **Accept**: application/json
744
+
745
+
746
+ ## get_trusted_o_auth2_jwt_grant_issuer
747
+
748
+ > <TrustedOAuth2JwtGrantIssuer> get_trusted_o_auth2_jwt_grant_issuer(id)
749
+
750
+ Get Trusted OAuth2 JWT Bearer Grant Type Issuer
751
+
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
+
754
+ ### Examples
755
+
756
+ ```ruby
757
+ require 'time'
758
+ require 'ory-hydra-client'
759
+
760
+ api_instance = OryHydraClient::OAuth2Api.new
761
+ id = 'id_example' # String | The id of the desired grant
762
+
763
+ begin
764
+ # Get Trusted OAuth2 JWT Bearer Grant Type Issuer
765
+ result = api_instance.get_trusted_o_auth2_jwt_grant_issuer(id)
766
+ p result
767
+ rescue OryHydraClient::ApiError => e
768
+ puts "Error when calling OAuth2Api->get_trusted_o_auth2_jwt_grant_issuer: #{e}"
769
+ end
770
+ ```
771
+
772
+ #### Using the get_trusted_o_auth2_jwt_grant_issuer_with_http_info variant
773
+
774
+ This returns an Array which contains the response data, status code and headers.
775
+
776
+ > <Array(<TrustedOAuth2JwtGrantIssuer>, Integer, Hash)> get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
777
+
778
+ ```ruby
779
+ begin
780
+ # Get Trusted OAuth2 JWT Bearer Grant Type Issuer
781
+ data, status_code, headers = api_instance.get_trusted_o_auth2_jwt_grant_issuer_with_http_info(id)
782
+ p status_code # => 2xx
783
+ p headers # => { ... }
784
+ p data # => <TrustedOAuth2JwtGrantIssuer>
785
+ rescue OryHydraClient::ApiError => e
786
+ puts "Error when calling OAuth2Api->get_trusted_o_auth2_jwt_grant_issuer_with_http_info: #{e}"
787
+ end
788
+ ```
789
+
790
+ ### Parameters
791
+
792
+ | Name | Type | Description | Notes |
793
+ | ---- | ---- | ----------- | ----- |
794
+ | **id** | **String** | The id of the desired grant | |
795
+
796
+ ### Return type
797
+
798
+ [**TrustedOAuth2JwtGrantIssuer**](TrustedOAuth2JwtGrantIssuer.md)
799
+
800
+ ### Authorization
801
+
802
+ No authorization required
803
+
804
+ ### HTTP request headers
805
+
806
+ - **Content-Type**: Not defined
807
+ - **Accept**: application/json
808
+
809
+
810
+ ## introspect_o_auth2_token
811
+
812
+ > <IntrospectedOAuth2Token> introspect_o_auth2_token(token, opts)
813
+
814
+ Introspect OAuth2 Access and Refresh Tokens
815
+
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 `session.access_token` during the consent flow.
817
+
818
+ ### Examples
819
+
820
+ ```ruby
821
+ require 'time'
822
+ require 'ory-hydra-client'
823
+
824
+ api_instance = OryHydraClient::OAuth2Api.new
825
+ token = 'token_example' # String | The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned.
826
+ opts = {
827
+ scope: 'scope_example' # String | 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.
828
+ }
829
+
830
+ begin
831
+ # Introspect OAuth2 Access and Refresh Tokens
832
+ result = api_instance.introspect_o_auth2_token(token, opts)
833
+ p result
834
+ rescue OryHydraClient::ApiError => e
835
+ puts "Error when calling OAuth2Api->introspect_o_auth2_token: #{e}"
836
+ end
837
+ ```
838
+
839
+ #### Using the introspect_o_auth2_token_with_http_info variant
840
+
841
+ This returns an Array which contains the response data, status code and headers.
842
+
843
+ > <Array(<IntrospectedOAuth2Token>, Integer, Hash)> introspect_o_auth2_token_with_http_info(token, opts)
844
+
845
+ ```ruby
846
+ begin
847
+ # Introspect OAuth2 Access and Refresh Tokens
848
+ data, status_code, headers = api_instance.introspect_o_auth2_token_with_http_info(token, opts)
849
+ p status_code # => 2xx
850
+ p headers # => { ... }
851
+ p data # => <IntrospectedOAuth2Token>
852
+ rescue OryHydraClient::ApiError => e
853
+ puts "Error when calling OAuth2Api->introspect_o_auth2_token_with_http_info: #{e}"
854
+ end
855
+ ```
856
+
857
+ ### Parameters
858
+
859
+ | Name | Type | Description | Notes |
860
+ | ---- | ---- | ----------- | ----- |
861
+ | **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. | |
862
+ | **scope** | **String** | 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. | [optional] |
863
+
864
+ ### Return type
865
+
866
+ [**IntrospectedOAuth2Token**](IntrospectedOAuth2Token.md)
867
+
868
+ ### Authorization
869
+
870
+ No authorization required
871
+
872
+ ### HTTP request headers
873
+
874
+ - **Content-Type**: application/x-www-form-urlencoded
875
+ - **Accept**: application/json
876
+
877
+
878
+ ## list_o_auth2_clients
879
+
880
+ > <Array<OAuth2Client>> list_o_auth2_clients(opts)
881
+
882
+ List OAuth 2.0 Clients
883
+
884
+ This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients.
885
+
886
+ ### Examples
887
+
888
+ ```ruby
889
+ require 'time'
890
+ require 'ory-hydra-client'
891
+
892
+ api_instance = OryHydraClient::OAuth2Api.new
893
+ opts = {
894
+ page_size: 789, # Integer | 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).
895
+ page_token: 'page_token_example', # String | 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).
896
+ client_name: 'client_name_example', # String | The name of the clients to filter by.
897
+ owner: 'owner_example' # String | The owner of the clients to filter by.
898
+ }
899
+
900
+ begin
901
+ # List OAuth 2.0 Clients
902
+ result = api_instance.list_o_auth2_clients(opts)
903
+ p result
904
+ rescue OryHydraClient::ApiError => e
905
+ puts "Error when calling OAuth2Api->list_o_auth2_clients: #{e}"
906
+ end
907
+ ```
908
+
909
+ #### Using the list_o_auth2_clients_with_http_info variant
910
+
911
+ This returns an Array which contains the response data, status code and headers.
912
+
913
+ > <Array(<Array<OAuth2Client>>, Integer, Hash)> list_o_auth2_clients_with_http_info(opts)
914
+
915
+ ```ruby
916
+ begin
917
+ # List OAuth 2.0 Clients
918
+ data, status_code, headers = api_instance.list_o_auth2_clients_with_http_info(opts)
919
+ p status_code # => 2xx
920
+ p headers # => { ... }
921
+ p data # => <Array<OAuth2Client>>
922
+ rescue OryHydraClient::ApiError => e
923
+ puts "Error when calling OAuth2Api->list_o_auth2_clients_with_http_info: #{e}"
924
+ end
925
+ ```
926
+
927
+ ### Parameters
928
+
929
+ | Name | Type | Description | Notes |
930
+ | ---- | ---- | ----------- | ----- |
931
+ | **page_size** | **Integer** | 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). | [optional][default to 250] |
932
+ | **page_token** | **String** | 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). | [optional][default to &#39;1&#39;] |
933
+ | **client_name** | **String** | The name of the clients to filter by. | [optional] |
934
+ | **owner** | **String** | The owner of the clients to filter by. | [optional] |
935
+
936
+ ### Return type
937
+
938
+ [**Array&lt;OAuth2Client&gt;**](OAuth2Client.md)
939
+
940
+ ### Authorization
941
+
942
+ No authorization required
943
+
944
+ ### HTTP request headers
945
+
946
+ - **Content-Type**: Not defined
947
+ - **Accept**: application/json
948
+
949
+
950
+ ## list_o_auth2_consent_sessions
951
+
952
+ > <Array<OAuth2ConsentSession>> list_o_auth2_consent_sessions(subject, opts)
953
+
954
+ List OAuth 2.0 Consent Sessions of a Subject
955
+
956
+ 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.
957
+
958
+ ### Examples
959
+
960
+ ```ruby
961
+ require 'time'
962
+ require 'ory-hydra-client'
963
+
964
+ api_instance = OryHydraClient::OAuth2Api.new
965
+ subject = 'subject_example' # String | The subject to list the consent sessions for.
966
+ opts = {
967
+ page_size: 789, # Integer | 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).
968
+ page_token: 'page_token_example' # String | 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).
969
+ }
970
+
971
+ begin
972
+ # List OAuth 2.0 Consent Sessions of a Subject
973
+ result = api_instance.list_o_auth2_consent_sessions(subject, opts)
974
+ p result
975
+ rescue OryHydraClient::ApiError => e
976
+ puts "Error when calling OAuth2Api->list_o_auth2_consent_sessions: #{e}"
977
+ end
978
+ ```
979
+
980
+ #### Using the list_o_auth2_consent_sessions_with_http_info variant
981
+
982
+ This returns an Array which contains the response data, status code and headers.
983
+
984
+ > <Array(<Array<OAuth2ConsentSession>>, Integer, Hash)> list_o_auth2_consent_sessions_with_http_info(subject, opts)
985
+
986
+ ```ruby
987
+ begin
988
+ # List OAuth 2.0 Consent Sessions of a Subject
989
+ data, status_code, headers = api_instance.list_o_auth2_consent_sessions_with_http_info(subject, opts)
990
+ p status_code # => 2xx
991
+ p headers # => { ... }
992
+ p data # => <Array<OAuth2ConsentSession>>
993
+ rescue OryHydraClient::ApiError => e
994
+ puts "Error when calling OAuth2Api->list_o_auth2_consent_sessions_with_http_info: #{e}"
995
+ end
996
+ ```
997
+
998
+ ### Parameters
999
+
1000
+ | Name | Type | Description | Notes |
1001
+ | ---- | ---- | ----------- | ----- |
1002
+ | **subject** | **String** | The subject to list the consent sessions for. | |
1003
+ | **page_size** | **Integer** | 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). | [optional][default to 250] |
1004
+ | **page_token** | **String** | 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). | [optional][default to &#39;1&#39;] |
1005
+
1006
+ ### Return type
1007
+
1008
+ [**Array&lt;OAuth2ConsentSession&gt;**](OAuth2ConsentSession.md)
1009
+
1010
+ ### Authorization
1011
+
1012
+ No authorization required
1013
+
1014
+ ### HTTP request headers
1015
+
1016
+ - **Content-Type**: Not defined
1017
+ - **Accept**: application/json
1018
+
1019
+
1020
+ ## list_trusted_o_auth2_jwt_grant_issuers
1021
+
1022
+ > <Array<TrustedOAuth2JwtGrantIssuer>> list_trusted_o_auth2_jwt_grant_issuers(opts)
1023
+
1024
+ List Trusted OAuth2 JWT Bearer Grant Type Issuers
1025
+
1026
+ Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
1027
+
1028
+ ### Examples
1029
+
1030
+ ```ruby
1031
+ require 'time'
1032
+ require 'ory-hydra-client'
1033
+
1034
+ api_instance = OryHydraClient::OAuth2Api.new
1035
+ opts = {
1036
+ max_items: 789, # Integer |
1037
+ default_items: 789, # Integer |
1038
+ issuer: 'issuer_example' # String | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
1039
+ }
1040
+
1041
+ begin
1042
+ # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1043
+ result = api_instance.list_trusted_o_auth2_jwt_grant_issuers(opts)
1044
+ p result
1045
+ rescue OryHydraClient::ApiError => e
1046
+ puts "Error when calling OAuth2Api->list_trusted_o_auth2_jwt_grant_issuers: #{e}"
1047
+ end
1048
+ ```
1049
+
1050
+ #### Using the list_trusted_o_auth2_jwt_grant_issuers_with_http_info variant
1051
+
1052
+ This returns an Array which contains the response data, status code and headers.
1053
+
1054
+ > <Array(<Array<TrustedOAuth2JwtGrantIssuer>>, Integer, Hash)> list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts)
1055
+
1056
+ ```ruby
1057
+ begin
1058
+ # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1059
+ data, status_code, headers = api_instance.list_trusted_o_auth2_jwt_grant_issuers_with_http_info(opts)
1060
+ p status_code # => 2xx
1061
+ p headers # => { ... }
1062
+ p data # => <Array<TrustedOAuth2JwtGrantIssuer>>
1063
+ rescue OryHydraClient::ApiError => e
1064
+ puts "Error when calling OAuth2Api->list_trusted_o_auth2_jwt_grant_issuers_with_http_info: #{e}"
1065
+ end
1066
+ ```
1067
+
1068
+ ### Parameters
1069
+
1070
+ | Name | Type | Description | Notes |
1071
+ | ---- | ---- | ----------- | ----- |
1072
+ | **max_items** | **Integer** | | [optional] |
1073
+ | **default_items** | **Integer** | | [optional] |
1074
+ | **issuer** | **String** | If optional \&quot;issuer\&quot; is supplied, only jwt-bearer grants with this issuer will be returned. | [optional] |
1075
+
1076
+ ### Return type
1077
+
1078
+ [**Array&lt;TrustedOAuth2JwtGrantIssuer&gt;**](TrustedOAuth2JwtGrantIssuer.md)
1079
+
1080
+ ### Authorization
1081
+
1082
+ No authorization required
1083
+
1084
+ ### HTTP request headers
1085
+
1086
+ - **Content-Type**: Not defined
1087
+ - **Accept**: application/json
1088
+
1089
+
1090
+ ## o_auth2_authorize
1091
+
1092
+ > <ErrorOAuth2> o_auth2_authorize
1093
+
1094
+ OAuth 2.0 Authorize Endpoint
1095
+
1096
+ 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.
1097
+
1098
+ ### Examples
1099
+
1100
+ ```ruby
1101
+ require 'time'
1102
+ require 'ory-hydra-client'
1103
+
1104
+ api_instance = OryHydraClient::OAuth2Api.new
1105
+
1106
+ begin
1107
+ # OAuth 2.0 Authorize Endpoint
1108
+ result = api_instance.o_auth2_authorize
1109
+ p result
1110
+ rescue OryHydraClient::ApiError => e
1111
+ puts "Error when calling OAuth2Api->o_auth2_authorize: #{e}"
1112
+ end
1113
+ ```
1114
+
1115
+ #### Using the o_auth2_authorize_with_http_info variant
1116
+
1117
+ This returns an Array which contains the response data, status code and headers.
1118
+
1119
+ > <Array(<ErrorOAuth2>, Integer, Hash)> o_auth2_authorize_with_http_info
1120
+
1121
+ ```ruby
1122
+ begin
1123
+ # OAuth 2.0 Authorize Endpoint
1124
+ data, status_code, headers = api_instance.o_auth2_authorize_with_http_info
1125
+ p status_code # => 2xx
1126
+ p headers # => { ... }
1127
+ p data # => <ErrorOAuth2>
1128
+ rescue OryHydraClient::ApiError => e
1129
+ puts "Error when calling OAuth2Api->o_auth2_authorize_with_http_info: #{e}"
1130
+ end
1131
+ ```
1132
+
1133
+ ### Parameters
1134
+
1135
+ This endpoint does not need any parameter.
1136
+
1137
+ ### Return type
1138
+
1139
+ [**ErrorOAuth2**](ErrorOAuth2.md)
1140
+
1141
+ ### Authorization
1142
+
1143
+ No authorization required
1144
+
1145
+ ### HTTP request headers
1146
+
1147
+ - **Content-Type**: Not defined
1148
+ - **Accept**: application/json
1149
+
1150
+
1151
+ ## oauth2_token_exchange
1152
+
1153
+ > <OAuth2TokenExchange> oauth2_token_exchange(grant_type, opts)
1154
+
1155
+ The OAuth 2.0 Token Endpoint
1156
+
1157
+ 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.
1158
+
1159
+ ### Examples
1160
+
1161
+ ```ruby
1162
+ require 'time'
1163
+ require 'ory-hydra-client'
1164
+ # setup authorization
1165
+ OryHydraClient.configure do |config|
1166
+ # Configure HTTP basic authorization: basic
1167
+ config.username = 'YOUR USERNAME'
1168
+ config.password = 'YOUR PASSWORD'
1169
+
1170
+ # Configure OAuth2 access token for authorization: oauth2
1171
+ config.access_token = 'YOUR ACCESS TOKEN'
1172
+ end
1173
+
1174
+ api_instance = OryHydraClient::OAuth2Api.new
1175
+ grant_type = 'grant_type_example' # String |
1176
+ opts = {
1177
+ client_id: 'client_id_example', # String |
1178
+ code: 'code_example', # String |
1179
+ redirect_uri: 'redirect_uri_example', # String |
1180
+ refresh_token: 'refresh_token_example' # String |
1181
+ }
1182
+
1183
+ begin
1184
+ # The OAuth 2.0 Token Endpoint
1185
+ result = api_instance.oauth2_token_exchange(grant_type, opts)
1186
+ p result
1187
+ rescue OryHydraClient::ApiError => e
1188
+ puts "Error when calling OAuth2Api->oauth2_token_exchange: #{e}"
1189
+ end
1190
+ ```
1191
+
1192
+ #### Using the oauth2_token_exchange_with_http_info variant
1193
+
1194
+ This returns an Array which contains the response data, status code and headers.
1195
+
1196
+ > <Array(<OAuth2TokenExchange>, Integer, Hash)> oauth2_token_exchange_with_http_info(grant_type, opts)
1197
+
1198
+ ```ruby
1199
+ begin
1200
+ # The OAuth 2.0 Token Endpoint
1201
+ data, status_code, headers = api_instance.oauth2_token_exchange_with_http_info(grant_type, opts)
1202
+ p status_code # => 2xx
1203
+ p headers # => { ... }
1204
+ p data # => <OAuth2TokenExchange>
1205
+ rescue OryHydraClient::ApiError => e
1206
+ puts "Error when calling OAuth2Api->oauth2_token_exchange_with_http_info: #{e}"
1207
+ end
1208
+ ```
1209
+
1210
+ ### Parameters
1211
+
1212
+ | Name | Type | Description | Notes |
1213
+ | ---- | ---- | ----------- | ----- |
1214
+ | **grant_type** | **String** | | |
1215
+ | **client_id** | **String** | | [optional] |
1216
+ | **code** | **String** | | [optional] |
1217
+ | **redirect_uri** | **String** | | [optional] |
1218
+ | **refresh_token** | **String** | | [optional] |
1219
+
1220
+ ### Return type
1221
+
1222
+ [**OAuth2TokenExchange**](OAuth2TokenExchange.md)
1223
+
1224
+ ### Authorization
1225
+
1226
+ [basic](../README.md#basic), [oauth2](../README.md#oauth2)
1227
+
1228
+ ### HTTP request headers
1229
+
1230
+ - **Content-Type**: application/x-www-form-urlencoded
1231
+ - **Accept**: application/json
1232
+
1233
+
1234
+ ## patch_o_auth2_client
1235
+
1236
+ > <OAuth2Client> patch_o_auth2_client(id, json_patch)
1237
+
1238
+ Patch OAuth 2.0 Client
1239
+
1240
+ 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.
1241
+
1242
+ ### Examples
1243
+
1244
+ ```ruby
1245
+ require 'time'
1246
+ require 'ory-hydra-client'
1247
+
1248
+ api_instance = OryHydraClient::OAuth2Api.new
1249
+ id = 'id_example' # String | The id of the OAuth 2.0 Client.
1250
+ json_patch = [OryHydraClient::JsonPatch.new({op: 'replace', path: '/name'})] # Array<JsonPatch> | OAuth 2.0 Client JSON Patch Body
1251
+
1252
+ begin
1253
+ # Patch OAuth 2.0 Client
1254
+ result = api_instance.patch_o_auth2_client(id, json_patch)
1255
+ p result
1256
+ rescue OryHydraClient::ApiError => e
1257
+ puts "Error when calling OAuth2Api->patch_o_auth2_client: #{e}"
1258
+ end
1259
+ ```
1260
+
1261
+ #### Using the patch_o_auth2_client_with_http_info variant
1262
+
1263
+ This returns an Array which contains the response data, status code and headers.
1264
+
1265
+ > <Array(<OAuth2Client>, Integer, Hash)> patch_o_auth2_client_with_http_info(id, json_patch)
1266
+
1267
+ ```ruby
1268
+ begin
1269
+ # Patch OAuth 2.0 Client
1270
+ data, status_code, headers = api_instance.patch_o_auth2_client_with_http_info(id, json_patch)
1271
+ p status_code # => 2xx
1272
+ p headers # => { ... }
1273
+ p data # => <OAuth2Client>
1274
+ rescue OryHydraClient::ApiError => e
1275
+ puts "Error when calling OAuth2Api->patch_o_auth2_client_with_http_info: #{e}"
1276
+ end
1277
+ ```
1278
+
1279
+ ### Parameters
1280
+
1281
+ | Name | Type | Description | Notes |
1282
+ | ---- | ---- | ----------- | ----- |
1283
+ | **id** | **String** | The id of the OAuth 2.0 Client. | |
1284
+ | **json_patch** | [**Array&lt;JsonPatch&gt;**](JsonPatch.md) | OAuth 2.0 Client JSON Patch Body | |
1285
+
1286
+ ### Return type
1287
+
1288
+ [**OAuth2Client**](OAuth2Client.md)
1289
+
1290
+ ### Authorization
1291
+
1292
+ No authorization required
1293
+
1294
+ ### HTTP request headers
1295
+
1296
+ - **Content-Type**: application/json
1297
+ - **Accept**: application/json
1298
+
1299
+
1300
+ ## reject_o_auth2_consent_request
1301
+
1302
+ > <OAuth2RedirectTo> reject_o_auth2_consent_request(consent_challenge, opts)
1303
+
1304
+ Reject OAuth 2.0 Consent Request
1305
+
1306
+ 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.
1307
+
1308
+ ### Examples
1309
+
1310
+ ```ruby
1311
+ require 'time'
1312
+ require 'ory-hydra-client'
1313
+
1314
+ api_instance = OryHydraClient::OAuth2Api.new
1315
+ consent_challenge = 'consent_challenge_example' # String | OAuth 2.0 Consent Request Challenge
1316
+ opts = {
1317
+ reject_o_auth2_request: OryHydraClient::RejectOAuth2Request.new # RejectOAuth2Request |
1318
+ }
1319
+
1320
+ begin
1321
+ # Reject OAuth 2.0 Consent Request
1322
+ result = api_instance.reject_o_auth2_consent_request(consent_challenge, opts)
1323
+ p result
1324
+ rescue OryHydraClient::ApiError => e
1325
+ puts "Error when calling OAuth2Api->reject_o_auth2_consent_request: #{e}"
1326
+ end
1327
+ ```
1328
+
1329
+ #### Using the reject_o_auth2_consent_request_with_http_info variant
1330
+
1331
+ This returns an Array which contains the response data, status code and headers.
1332
+
1333
+ > <Array(<OAuth2RedirectTo>, Integer, Hash)> reject_o_auth2_consent_request_with_http_info(consent_challenge, opts)
1334
+
1335
+ ```ruby
1336
+ begin
1337
+ # Reject OAuth 2.0 Consent Request
1338
+ data, status_code, headers = api_instance.reject_o_auth2_consent_request_with_http_info(consent_challenge, opts)
1339
+ p status_code # => 2xx
1340
+ p headers # => { ... }
1341
+ p data # => <OAuth2RedirectTo>
1342
+ rescue OryHydraClient::ApiError => e
1343
+ puts "Error when calling OAuth2Api->reject_o_auth2_consent_request_with_http_info: #{e}"
1344
+ end
1345
+ ```
1346
+
1347
+ ### Parameters
1348
+
1349
+ | Name | Type | Description | Notes |
1350
+ | ---- | ---- | ----------- | ----- |
1351
+ | **consent_challenge** | **String** | OAuth 2.0 Consent Request Challenge | |
1352
+ | **reject_o_auth2_request** | [**RejectOAuth2Request**](RejectOAuth2Request.md) | | [optional] |
1353
+
1354
+ ### Return type
1355
+
1356
+ [**OAuth2RedirectTo**](OAuth2RedirectTo.md)
1357
+
1358
+ ### Authorization
1359
+
1360
+ No authorization required
1361
+
1362
+ ### HTTP request headers
1363
+
1364
+ - **Content-Type**: application/json
1365
+ - **Accept**: application/json
1366
+
1367
+
1368
+ ## reject_o_auth2_login_request
1369
+
1370
+ > <OAuth2RedirectTo> reject_o_auth2_login_request(login_challenge, opts)
1371
+
1372
+ Reject OAuth 2.0 Login Request
1373
+
1374
+ 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.
1375
+
1376
+ ### Examples
1377
+
1378
+ ```ruby
1379
+ require 'time'
1380
+ require 'ory-hydra-client'
1381
+
1382
+ api_instance = OryHydraClient::OAuth2Api.new
1383
+ login_challenge = 'login_challenge_example' # String | OAuth 2.0 Login Request Challenge
1384
+ opts = {
1385
+ reject_o_auth2_request: OryHydraClient::RejectOAuth2Request.new # RejectOAuth2Request |
1386
+ }
1387
+
1388
+ begin
1389
+ # Reject OAuth 2.0 Login Request
1390
+ result = api_instance.reject_o_auth2_login_request(login_challenge, opts)
1391
+ p result
1392
+ rescue OryHydraClient::ApiError => e
1393
+ puts "Error when calling OAuth2Api->reject_o_auth2_login_request: #{e}"
1394
+ end
1395
+ ```
1396
+
1397
+ #### Using the reject_o_auth2_login_request_with_http_info variant
1398
+
1399
+ This returns an Array which contains the response data, status code and headers.
1400
+
1401
+ > <Array(<OAuth2RedirectTo>, Integer, Hash)> reject_o_auth2_login_request_with_http_info(login_challenge, opts)
1402
+
1403
+ ```ruby
1404
+ begin
1405
+ # Reject OAuth 2.0 Login Request
1406
+ data, status_code, headers = api_instance.reject_o_auth2_login_request_with_http_info(login_challenge, opts)
1407
+ p status_code # => 2xx
1408
+ p headers # => { ... }
1409
+ p data # => <OAuth2RedirectTo>
1410
+ rescue OryHydraClient::ApiError => e
1411
+ puts "Error when calling OAuth2Api->reject_o_auth2_login_request_with_http_info: #{e}"
1412
+ end
1413
+ ```
1414
+
1415
+ ### Parameters
1416
+
1417
+ | Name | Type | Description | Notes |
1418
+ | ---- | ---- | ----------- | ----- |
1419
+ | **login_challenge** | **String** | OAuth 2.0 Login Request Challenge | |
1420
+ | **reject_o_auth2_request** | [**RejectOAuth2Request**](RejectOAuth2Request.md) | | [optional] |
1421
+
1422
+ ### Return type
1423
+
1424
+ [**OAuth2RedirectTo**](OAuth2RedirectTo.md)
1425
+
1426
+ ### Authorization
1427
+
1428
+ No authorization required
1429
+
1430
+ ### HTTP request headers
1431
+
1432
+ - **Content-Type**: application/json
1433
+ - **Accept**: application/json
1434
+
1435
+
1436
+ ## reject_o_auth2_logout_request
1437
+
1438
+ > reject_o_auth2_logout_request(logout_challenge)
1439
+
1440
+ Reject OAuth 2.0 Session Logout Request
1441
+
1442
+ 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.
1443
+
1444
+ ### Examples
1445
+
1446
+ ```ruby
1447
+ require 'time'
1448
+ require 'ory-hydra-client'
1449
+
1450
+ api_instance = OryHydraClient::OAuth2Api.new
1451
+ logout_challenge = 'logout_challenge_example' # String |
1452
+
1453
+ begin
1454
+ # Reject OAuth 2.0 Session Logout Request
1455
+ api_instance.reject_o_auth2_logout_request(logout_challenge)
1456
+ rescue OryHydraClient::ApiError => e
1457
+ puts "Error when calling OAuth2Api->reject_o_auth2_logout_request: #{e}"
1458
+ end
1459
+ ```
1460
+
1461
+ #### Using the reject_o_auth2_logout_request_with_http_info variant
1462
+
1463
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1464
+
1465
+ > <Array(nil, Integer, Hash)> reject_o_auth2_logout_request_with_http_info(logout_challenge)
1466
+
1467
+ ```ruby
1468
+ begin
1469
+ # Reject OAuth 2.0 Session Logout Request
1470
+ data, status_code, headers = api_instance.reject_o_auth2_logout_request_with_http_info(logout_challenge)
1471
+ p status_code # => 2xx
1472
+ p headers # => { ... }
1473
+ p data # => nil
1474
+ rescue OryHydraClient::ApiError => e
1475
+ puts "Error when calling OAuth2Api->reject_o_auth2_logout_request_with_http_info: #{e}"
1476
+ end
1477
+ ```
1478
+
1479
+ ### Parameters
1480
+
1481
+ | Name | Type | Description | Notes |
1482
+ | ---- | ---- | ----------- | ----- |
1483
+ | **logout_challenge** | **String** | | |
1484
+
1485
+ ### Return type
1486
+
1487
+ nil (empty response body)
1488
+
1489
+ ### Authorization
1490
+
1491
+ No authorization required
1492
+
1493
+ ### HTTP request headers
1494
+
1495
+ - **Content-Type**: Not defined
1496
+ - **Accept**: application/json
1497
+
1498
+
1499
+ ## revoke_o_auth2_consent_sessions
1500
+
1501
+ > revoke_o_auth2_consent_sessions(subject, opts)
1502
+
1503
+ Revoke OAuth 2.0 Consent Sessions of a Subject
1504
+
1505
+ 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.
1506
+
1507
+ ### Examples
1508
+
1509
+ ```ruby
1510
+ require 'time'
1511
+ require 'ory-hydra-client'
1512
+
1513
+ api_instance = OryHydraClient::OAuth2Api.new
1514
+ subject = 'subject_example' # String | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted.
1515
+ opts = {
1516
+ client: 'client_example', # String | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.
1517
+ all: true # Boolean | Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted.
1518
+ }
1519
+
1520
+ begin
1521
+ # Revoke OAuth 2.0 Consent Sessions of a Subject
1522
+ api_instance.revoke_o_auth2_consent_sessions(subject, opts)
1523
+ rescue OryHydraClient::ApiError => e
1524
+ puts "Error when calling OAuth2Api->revoke_o_auth2_consent_sessions: #{e}"
1525
+ end
1526
+ ```
1527
+
1528
+ #### Using the revoke_o_auth2_consent_sessions_with_http_info variant
1529
+
1530
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1531
+
1532
+ > <Array(nil, Integer, Hash)> revoke_o_auth2_consent_sessions_with_http_info(subject, opts)
1533
+
1534
+ ```ruby
1535
+ begin
1536
+ # Revoke OAuth 2.0 Consent Sessions of a Subject
1537
+ data, status_code, headers = api_instance.revoke_o_auth2_consent_sessions_with_http_info(subject, opts)
1538
+ p status_code # => 2xx
1539
+ p headers # => { ... }
1540
+ p data # => nil
1541
+ rescue OryHydraClient::ApiError => e
1542
+ puts "Error when calling OAuth2Api->revoke_o_auth2_consent_sessions_with_http_info: #{e}"
1543
+ end
1544
+ ```
1545
+
1546
+ ### Parameters
1547
+
1548
+ | Name | Type | Description | Notes |
1549
+ | ---- | ---- | ----------- | ----- |
1550
+ | **subject** | **String** | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. | |
1551
+ | **client** | **String** | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. | [optional] |
1552
+ | **all** | **Boolean** | Revoke All Consent Sessions If set to &#x60;true&#x60; deletes all consent sessions by the Subject that have been granted. | [optional] |
1553
+
1554
+ ### Return type
1555
+
1556
+ nil (empty response body)
1557
+
1558
+ ### Authorization
1559
+
1560
+ No authorization required
1561
+
1562
+ ### HTTP request headers
1563
+
1564
+ - **Content-Type**: Not defined
1565
+ - **Accept**: application/json
1566
+
1567
+
1568
+ ## revoke_o_auth2_login_sessions
1569
+
1570
+ > revoke_o_auth2_login_sessions(subject)
1571
+
1572
+ Revokes All OAuth 2.0 Login Sessions of a Subject
1573
+
1574
+ 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.
1575
+
1576
+ ### Examples
1577
+
1578
+ ```ruby
1579
+ require 'time'
1580
+ require 'ory-hydra-client'
1581
+
1582
+ api_instance = OryHydraClient::OAuth2Api.new
1583
+ subject = 'subject_example' # String | OAuth 2.0 Subject The subject to revoke authentication sessions for.
1584
+
1585
+ begin
1586
+ # Revokes All OAuth 2.0 Login Sessions of a Subject
1587
+ api_instance.revoke_o_auth2_login_sessions(subject)
1588
+ rescue OryHydraClient::ApiError => e
1589
+ puts "Error when calling OAuth2Api->revoke_o_auth2_login_sessions: #{e}"
1590
+ end
1591
+ ```
1592
+
1593
+ #### Using the revoke_o_auth2_login_sessions_with_http_info variant
1594
+
1595
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1596
+
1597
+ > <Array(nil, Integer, Hash)> revoke_o_auth2_login_sessions_with_http_info(subject)
1598
+
1599
+ ```ruby
1600
+ begin
1601
+ # Revokes All OAuth 2.0 Login Sessions of a Subject
1602
+ data, status_code, headers = api_instance.revoke_o_auth2_login_sessions_with_http_info(subject)
1603
+ p status_code # => 2xx
1604
+ p headers # => { ... }
1605
+ p data # => nil
1606
+ rescue OryHydraClient::ApiError => e
1607
+ puts "Error when calling OAuth2Api->revoke_o_auth2_login_sessions_with_http_info: #{e}"
1608
+ end
1609
+ ```
1610
+
1611
+ ### Parameters
1612
+
1613
+ | Name | Type | Description | Notes |
1614
+ | ---- | ---- | ----------- | ----- |
1615
+ | **subject** | **String** | OAuth 2.0 Subject The subject to revoke authentication sessions for. | |
1616
+
1617
+ ### Return type
1618
+
1619
+ nil (empty response body)
1620
+
1621
+ ### Authorization
1622
+
1623
+ No authorization required
1624
+
1625
+ ### HTTP request headers
1626
+
1627
+ - **Content-Type**: Not defined
1628
+ - **Accept**: application/json
1629
+
1630
+
1631
+ ## revoke_o_auth2_token
1632
+
1633
+ > revoke_o_auth2_token(token)
1634
+
1635
+ Revoke OAuth 2.0 Access or Refresh Token
1636
+
1637
+ 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.
1638
+
1639
+ ### Examples
1640
+
1641
+ ```ruby
1642
+ require 'time'
1643
+ require 'ory-hydra-client'
1644
+ # setup authorization
1645
+ OryHydraClient.configure do |config|
1646
+ # Configure HTTP basic authorization: basic
1647
+ config.username = 'YOUR USERNAME'
1648
+ config.password = 'YOUR PASSWORD'
1649
+
1650
+ # Configure OAuth2 access token for authorization: oauth2
1651
+ config.access_token = 'YOUR ACCESS TOKEN'
1652
+ end
1653
+
1654
+ api_instance = OryHydraClient::OAuth2Api.new
1655
+ token = 'token_example' # String |
1656
+
1657
+ begin
1658
+ # Revoke OAuth 2.0 Access or Refresh Token
1659
+ api_instance.revoke_o_auth2_token(token)
1660
+ rescue OryHydraClient::ApiError => e
1661
+ puts "Error when calling OAuth2Api->revoke_o_auth2_token: #{e}"
1662
+ end
1663
+ ```
1664
+
1665
+ #### Using the revoke_o_auth2_token_with_http_info variant
1666
+
1667
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1668
+
1669
+ > <Array(nil, Integer, Hash)> revoke_o_auth2_token_with_http_info(token)
1670
+
1671
+ ```ruby
1672
+ begin
1673
+ # Revoke OAuth 2.0 Access or Refresh Token
1674
+ data, status_code, headers = api_instance.revoke_o_auth2_token_with_http_info(token)
1675
+ p status_code # => 2xx
1676
+ p headers # => { ... }
1677
+ p data # => nil
1678
+ rescue OryHydraClient::ApiError => e
1679
+ puts "Error when calling OAuth2Api->revoke_o_auth2_token_with_http_info: #{e}"
1680
+ end
1681
+ ```
1682
+
1683
+ ### Parameters
1684
+
1685
+ | Name | Type | Description | Notes |
1686
+ | ---- | ---- | ----------- | ----- |
1687
+ | **token** | **String** | | |
1688
+
1689
+ ### Return type
1690
+
1691
+ nil (empty response body)
1692
+
1693
+ ### Authorization
1694
+
1695
+ [basic](../README.md#basic), [oauth2](../README.md#oauth2)
1696
+
1697
+ ### HTTP request headers
1698
+
1699
+ - **Content-Type**: application/x-www-form-urlencoded
1700
+ - **Accept**: application/json
1701
+
1702
+
1703
+ ## set_o_auth2_client
1704
+
1705
+ > <OAuth2Client> set_o_auth2_client(id, o_auth2_client)
1706
+
1707
+ Set OAuth 2.0 Client
1708
+
1709
+ 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.
1710
+
1711
+ ### Examples
1712
+
1713
+ ```ruby
1714
+ require 'time'
1715
+ require 'ory-hydra-client'
1716
+
1717
+ api_instance = OryHydraClient::OAuth2Api.new
1718
+ id = 'id_example' # String | OAuth 2.0 Client ID
1719
+ o_auth2_client = OryHydraClient::OAuth2Client.new # OAuth2Client | OAuth 2.0 Client Request Body
1720
+
1721
+ begin
1722
+ # Set OAuth 2.0 Client
1723
+ result = api_instance.set_o_auth2_client(id, o_auth2_client)
1724
+ p result
1725
+ rescue OryHydraClient::ApiError => e
1726
+ puts "Error when calling OAuth2Api->set_o_auth2_client: #{e}"
1727
+ end
1728
+ ```
1729
+
1730
+ #### Using the set_o_auth2_client_with_http_info variant
1731
+
1732
+ This returns an Array which contains the response data, status code and headers.
1733
+
1734
+ > <Array(<OAuth2Client>, Integer, Hash)> set_o_auth2_client_with_http_info(id, o_auth2_client)
1735
+
1736
+ ```ruby
1737
+ begin
1738
+ # Set OAuth 2.0 Client
1739
+ data, status_code, headers = api_instance.set_o_auth2_client_with_http_info(id, o_auth2_client)
1740
+ p status_code # => 2xx
1741
+ p headers # => { ... }
1742
+ p data # => <OAuth2Client>
1743
+ rescue OryHydraClient::ApiError => e
1744
+ puts "Error when calling OAuth2Api->set_o_auth2_client_with_http_info: #{e}"
1745
+ end
1746
+ ```
1747
+
1748
+ ### Parameters
1749
+
1750
+ | Name | Type | Description | Notes |
1751
+ | ---- | ---- | ----------- | ----- |
1752
+ | **id** | **String** | OAuth 2.0 Client ID | |
1753
+ | **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | OAuth 2.0 Client Request Body | |
1754
+
1755
+ ### Return type
1756
+
1757
+ [**OAuth2Client**](OAuth2Client.md)
1758
+
1759
+ ### Authorization
1760
+
1761
+ No authorization required
1762
+
1763
+ ### HTTP request headers
1764
+
1765
+ - **Content-Type**: application/json
1766
+ - **Accept**: application/json
1767
+
1768
+
1769
+ ## set_o_auth2_client_lifespans
1770
+
1771
+ > <OAuth2Client> set_o_auth2_client_lifespans(id, opts)
1772
+
1773
+ Set OAuth2 Client Token Lifespans
1774
+
1775
+ Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.
1776
+
1777
+ ### Examples
1778
+
1779
+ ```ruby
1780
+ require 'time'
1781
+ require 'ory-hydra-client'
1782
+
1783
+ api_instance = OryHydraClient::OAuth2Api.new
1784
+ id = 'id_example' # String | OAuth 2.0 Client ID
1785
+ opts = {
1786
+ o_auth2_client_token_lifespans: OryHydraClient::OAuth2ClientTokenLifespans.new # OAuth2ClientTokenLifespans |
1787
+ }
1788
+
1789
+ begin
1790
+ # Set OAuth2 Client Token Lifespans
1791
+ result = api_instance.set_o_auth2_client_lifespans(id, opts)
1792
+ p result
1793
+ rescue OryHydraClient::ApiError => e
1794
+ puts "Error when calling OAuth2Api->set_o_auth2_client_lifespans: #{e}"
1795
+ end
1796
+ ```
1797
+
1798
+ #### Using the set_o_auth2_client_lifespans_with_http_info variant
1799
+
1800
+ This returns an Array which contains the response data, status code and headers.
1801
+
1802
+ > <Array(<OAuth2Client>, Integer, Hash)> set_o_auth2_client_lifespans_with_http_info(id, opts)
1803
+
1804
+ ```ruby
1805
+ begin
1806
+ # Set OAuth2 Client Token Lifespans
1807
+ data, status_code, headers = api_instance.set_o_auth2_client_lifespans_with_http_info(id, opts)
1808
+ p status_code # => 2xx
1809
+ p headers # => { ... }
1810
+ p data # => <OAuth2Client>
1811
+ rescue OryHydraClient::ApiError => e
1812
+ puts "Error when calling OAuth2Api->set_o_auth2_client_lifespans_with_http_info: #{e}"
1813
+ end
1814
+ ```
1815
+
1816
+ ### Parameters
1817
+
1818
+ | Name | Type | Description | Notes |
1819
+ | ---- | ---- | ----------- | ----- |
1820
+ | **id** | **String** | OAuth 2.0 Client ID | |
1821
+ | **o_auth2_client_token_lifespans** | [**OAuth2ClientTokenLifespans**](OAuth2ClientTokenLifespans.md) | | [optional] |
1822
+
1823
+ ### Return type
1824
+
1825
+ [**OAuth2Client**](OAuth2Client.md)
1826
+
1827
+ ### Authorization
1828
+
1829
+ No authorization required
1830
+
1831
+ ### HTTP request headers
1832
+
1833
+ - **Content-Type**: application/json
1834
+ - **Accept**: application/json
1835
+
1836
+
1837
+ ## trust_o_auth2_jwt_grant_issuer
1838
+
1839
+ > <TrustedOAuth2JwtGrantIssuer> trust_o_auth2_jwt_grant_issuer(opts)
1840
+
1841
+ Trust OAuth2 JWT Bearer Grant Type Issuer
1842
+
1843
+ 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).
1844
+
1845
+ ### Examples
1846
+
1847
+ ```ruby
1848
+ require 'time'
1849
+ require 'ory-hydra-client'
1850
+
1851
+ api_instance = OryHydraClient::OAuth2Api.new
1852
+ opts = {
1853
+ trust_o_auth2_jwt_grant_issuer: OryHydraClient::TrustOAuth2JwtGrantIssuer.new({expires_at: Time.now, issuer: 'https://jwt-idp.example.com', jwk: OryHydraClient::JsonWebKey.new({alg: 'RS256', kid: '1603dfe0af8f4596', kty: 'RSA', use: 'sig'}), scope: ["openid", "offline"]}) # TrustOAuth2JwtGrantIssuer |
1854
+ }
1855
+
1856
+ begin
1857
+ # Trust OAuth2 JWT Bearer Grant Type Issuer
1858
+ result = api_instance.trust_o_auth2_jwt_grant_issuer(opts)
1859
+ p result
1860
+ rescue OryHydraClient::ApiError => e
1861
+ puts "Error when calling OAuth2Api->trust_o_auth2_jwt_grant_issuer: #{e}"
1862
+ end
1863
+ ```
1864
+
1865
+ #### Using the trust_o_auth2_jwt_grant_issuer_with_http_info variant
1866
+
1867
+ This returns an Array which contains the response data, status code and headers.
1868
+
1869
+ > <Array(<TrustedOAuth2JwtGrantIssuer>, Integer, Hash)> trust_o_auth2_jwt_grant_issuer_with_http_info(opts)
1870
+
1871
+ ```ruby
1872
+ begin
1873
+ # Trust OAuth2 JWT Bearer Grant Type Issuer
1874
+ data, status_code, headers = api_instance.trust_o_auth2_jwt_grant_issuer_with_http_info(opts)
1875
+ p status_code # => 2xx
1876
+ p headers # => { ... }
1877
+ p data # => <TrustedOAuth2JwtGrantIssuer>
1878
+ rescue OryHydraClient::ApiError => e
1879
+ puts "Error when calling OAuth2Api->trust_o_auth2_jwt_grant_issuer_with_http_info: #{e}"
1880
+ end
1881
+ ```
1882
+
1883
+ ### Parameters
1884
+
1885
+ | Name | Type | Description | Notes |
1886
+ | ---- | ---- | ----------- | ----- |
1887
+ | **trust_o_auth2_jwt_grant_issuer** | [**TrustOAuth2JwtGrantIssuer**](TrustOAuth2JwtGrantIssuer.md) | | [optional] |
1888
+
1889
+ ### Return type
1890
+
1891
+ [**TrustedOAuth2JwtGrantIssuer**](TrustedOAuth2JwtGrantIssuer.md)
1892
+
1893
+ ### Authorization
1894
+
1895
+ No authorization required
1896
+
1897
+ ### HTTP request headers
1898
+
1899
+ - **Content-Type**: application/json
1900
+ - **Accept**: application/json
1901
+