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/AdminApi.md DELETED
@@ -1,2148 +0,0 @@
1
- # OryHydraClient::AdminApi
2
-
3
- All URIs are relative to *http://localhost*
4
-
5
- | Method | HTTP request | Description |
6
- | ------ | ------------ | ----------- |
7
- | [**accept_consent_request**](AdminApi.md#accept_consent_request) | **PUT** /oauth2/auth/requests/consent/accept | Accept a Consent Request |
8
- | [**accept_login_request**](AdminApi.md#accept_login_request) | **PUT** /oauth2/auth/requests/login/accept | Accept a Login Request |
9
- | [**accept_logout_request**](AdminApi.md#accept_logout_request) | **PUT** /oauth2/auth/requests/logout/accept | Accept a Logout Request |
10
- | [**create_json_web_key_set**](AdminApi.md#create_json_web_key_set) | **POST** /keys/{set} | Generate a New JSON Web Key |
11
- | [**create_o_auth2_client**](AdminApi.md#create_o_auth2_client) | **POST** /clients | Create an OAuth 2.0 Client |
12
- | [**delete_json_web_key**](AdminApi.md#delete_json_web_key) | **DELETE** /keys/{set}/{kid} | Delete a JSON Web Key |
13
- | [**delete_json_web_key_set**](AdminApi.md#delete_json_web_key_set) | **DELETE** /keys/{set} | Delete a JSON Web Key Set |
14
- | [**delete_o_auth2_client**](AdminApi.md#delete_o_auth2_client) | **DELETE** /clients/{id} | Deletes an OAuth 2.0 Client |
15
- | [**delete_o_auth2_token**](AdminApi.md#delete_o_auth2_token) | **DELETE** /oauth2/tokens | Delete OAuth2 Access Tokens from a Client |
16
- | [**delete_trusted_jwt_grant_issuer**](AdminApi.md#delete_trusted_jwt_grant_issuer) | **DELETE** /trust/grants/jwt-bearer/issuers/{id} | Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer |
17
- | [**flush_inactive_o_auth2_tokens**](AdminApi.md#flush_inactive_o_auth2_tokens) | **POST** /oauth2/flush | Flush Expired OAuth2 Access Tokens |
18
- | [**get_consent_request**](AdminApi.md#get_consent_request) | **GET** /oauth2/auth/requests/consent | Get Consent Request Information |
19
- | [**get_json_web_key**](AdminApi.md#get_json_web_key) | **GET** /keys/{set}/{kid} | Fetch a JSON Web Key |
20
- | [**get_json_web_key_set**](AdminApi.md#get_json_web_key_set) | **GET** /keys/{set} | Retrieve a JSON Web Key Set |
21
- | [**get_login_request**](AdminApi.md#get_login_request) | **GET** /oauth2/auth/requests/login | Get a Login Request |
22
- | [**get_logout_request**](AdminApi.md#get_logout_request) | **GET** /oauth2/auth/requests/logout | Get a Logout Request |
23
- | [**get_o_auth2_client**](AdminApi.md#get_o_auth2_client) | **GET** /clients/{id} | Get an OAuth 2.0 Client |
24
- | [**get_trusted_jwt_grant_issuer**](AdminApi.md#get_trusted_jwt_grant_issuer) | **GET** /trust/grants/jwt-bearer/issuers/{id} | Get a Trusted OAuth2 JWT Bearer Grant Type Issuer |
25
- | [**introspect_o_auth2_token**](AdminApi.md#introspect_o_auth2_token) | **POST** /oauth2/introspect | Introspect OAuth2 Tokens |
26
- | [**list_o_auth2_clients**](AdminApi.md#list_o_auth2_clients) | **GET** /clients | List OAuth 2.0 Clients |
27
- | [**list_subject_consent_sessions**](AdminApi.md#list_subject_consent_sessions) | **GET** /oauth2/auth/sessions/consent | Lists All Consent Sessions of a Subject |
28
- | [**list_trusted_jwt_grant_issuers**](AdminApi.md#list_trusted_jwt_grant_issuers) | **GET** /trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers |
29
- | [**patch_o_auth2_client**](AdminApi.md#patch_o_auth2_client) | **PATCH** /clients/{id} | Patch an OAuth 2.0 Client |
30
- | [**reject_consent_request**](AdminApi.md#reject_consent_request) | **PUT** /oauth2/auth/requests/consent/reject | Reject a Consent Request |
31
- | [**reject_login_request**](AdminApi.md#reject_login_request) | **PUT** /oauth2/auth/requests/login/reject | Reject a Login Request |
32
- | [**reject_logout_request**](AdminApi.md#reject_logout_request) | **PUT** /oauth2/auth/requests/logout/reject | Reject a Logout Request |
33
- | [**revoke_authentication_session**](AdminApi.md#revoke_authentication_session) | **DELETE** /oauth2/auth/sessions/login | Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session |
34
- | [**revoke_consent_sessions**](AdminApi.md#revoke_consent_sessions) | **DELETE** /oauth2/auth/sessions/consent | Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client |
35
- | [**trust_jwt_grant_issuer**](AdminApi.md#trust_jwt_grant_issuer) | **POST** /trust/grants/jwt-bearer/issuers | Trust an OAuth2 JWT Bearer Grant Type Issuer |
36
- | [**update_json_web_key**](AdminApi.md#update_json_web_key) | **PUT** /keys/{set}/{kid} | Update a JSON Web Key |
37
- | [**update_json_web_key_set**](AdminApi.md#update_json_web_key_set) | **PUT** /keys/{set} | Update a JSON Web Key Set |
38
- | [**update_o_auth2_client**](AdminApi.md#update_o_auth2_client) | **PUT** /clients/{id} | Update an OAuth 2.0 Client |
39
-
40
-
41
- ## accept_consent_request
42
-
43
- > <CompletedRequest> accept_consent_request(consent_challenge, opts)
44
-
45
- Accept a Consent Request
46
-
47
- When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests. The response contains a redirect URL which the consent provider should redirect the user-agent to.
48
-
49
- ### Examples
50
-
51
- ```ruby
52
- require 'time'
53
- require 'ory-hydra-client'
54
-
55
- api_instance = OryHydraClient::AdminApi.new
56
- consent_challenge = 'consent_challenge_example' # String |
57
- opts = {
58
- accept_consent_request: OryHydraClient::AcceptConsentRequest.new # AcceptConsentRequest |
59
- }
60
-
61
- begin
62
- # Accept a Consent Request
63
- result = api_instance.accept_consent_request(consent_challenge, opts)
64
- p result
65
- rescue OryHydraClient::ApiError => e
66
- puts "Error when calling AdminApi->accept_consent_request: #{e}"
67
- end
68
- ```
69
-
70
- #### Using the accept_consent_request_with_http_info variant
71
-
72
- This returns an Array which contains the response data, status code and headers.
73
-
74
- > <Array(<CompletedRequest>, Integer, Hash)> accept_consent_request_with_http_info(consent_challenge, opts)
75
-
76
- ```ruby
77
- begin
78
- # Accept a Consent Request
79
- data, status_code, headers = api_instance.accept_consent_request_with_http_info(consent_challenge, opts)
80
- p status_code # => 2xx
81
- p headers # => { ... }
82
- p data # => <CompletedRequest>
83
- rescue OryHydraClient::ApiError => e
84
- puts "Error when calling AdminApi->accept_consent_request_with_http_info: #{e}"
85
- end
86
- ```
87
-
88
- ### Parameters
89
-
90
- | Name | Type | Description | Notes |
91
- | ---- | ---- | ----------- | ----- |
92
- | **consent_challenge** | **String** | | |
93
- | **accept_consent_request** | [**AcceptConsentRequest**](AcceptConsentRequest.md) | | [optional] |
94
-
95
- ### Return type
96
-
97
- [**CompletedRequest**](CompletedRequest.md)
98
-
99
- ### Authorization
100
-
101
- No authorization required
102
-
103
- ### HTTP request headers
104
-
105
- - **Content-Type**: application/json
106
- - **Accept**: application/json
107
-
108
-
109
- ## accept_login_request
110
-
111
- > <CompletedRequest> accept_login_request(login_challenge, opts)
112
-
113
- Accept a Login Request
114
-
115
- When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has successfully authenticated and includes additional information such as the subject's ID and if ORY Hydra should remember the subject's subject agent for future authentication attempts by setting a cookie. The response contains a redirect URL which the login provider should redirect the user-agent to.
116
-
117
- ### Examples
118
-
119
- ```ruby
120
- require 'time'
121
- require 'ory-hydra-client'
122
-
123
- api_instance = OryHydraClient::AdminApi.new
124
- login_challenge = 'login_challenge_example' # String |
125
- opts = {
126
- accept_login_request: OryHydraClient::AcceptLoginRequest.new({subject: 'subject_example'}) # AcceptLoginRequest |
127
- }
128
-
129
- begin
130
- # Accept a Login Request
131
- result = api_instance.accept_login_request(login_challenge, opts)
132
- p result
133
- rescue OryHydraClient::ApiError => e
134
- puts "Error when calling AdminApi->accept_login_request: #{e}"
135
- end
136
- ```
137
-
138
- #### Using the accept_login_request_with_http_info variant
139
-
140
- This returns an Array which contains the response data, status code and headers.
141
-
142
- > <Array(<CompletedRequest>, Integer, Hash)> accept_login_request_with_http_info(login_challenge, opts)
143
-
144
- ```ruby
145
- begin
146
- # Accept a Login Request
147
- data, status_code, headers = api_instance.accept_login_request_with_http_info(login_challenge, opts)
148
- p status_code # => 2xx
149
- p headers # => { ... }
150
- p data # => <CompletedRequest>
151
- rescue OryHydraClient::ApiError => e
152
- puts "Error when calling AdminApi->accept_login_request_with_http_info: #{e}"
153
- end
154
- ```
155
-
156
- ### Parameters
157
-
158
- | Name | Type | Description | Notes |
159
- | ---- | ---- | ----------- | ----- |
160
- | **login_challenge** | **String** | | |
161
- | **accept_login_request** | [**AcceptLoginRequest**](AcceptLoginRequest.md) | | [optional] |
162
-
163
- ### Return type
164
-
165
- [**CompletedRequest**](CompletedRequest.md)
166
-
167
- ### Authorization
168
-
169
- No authorization required
170
-
171
- ### HTTP request headers
172
-
173
- - **Content-Type**: application/json
174
- - **Accept**: application/json
175
-
176
-
177
- ## accept_logout_request
178
-
179
- > <CompletedRequest> accept_logout_request(logout_challenge)
180
-
181
- Accept a Logout Request
182
-
183
- When a user or an application requests ORY Hydra to log out a user, this endpoint is used to confirm that logout request. No body is required. The response contains a redirect URL which the consent provider should redirect the user-agent to.
184
-
185
- ### Examples
186
-
187
- ```ruby
188
- require 'time'
189
- require 'ory-hydra-client'
190
-
191
- api_instance = OryHydraClient::AdminApi.new
192
- logout_challenge = 'logout_challenge_example' # String |
193
-
194
- begin
195
- # Accept a Logout Request
196
- result = api_instance.accept_logout_request(logout_challenge)
197
- p result
198
- rescue OryHydraClient::ApiError => e
199
- puts "Error when calling AdminApi->accept_logout_request: #{e}"
200
- end
201
- ```
202
-
203
- #### Using the accept_logout_request_with_http_info variant
204
-
205
- This returns an Array which contains the response data, status code and headers.
206
-
207
- > <Array(<CompletedRequest>, Integer, Hash)> accept_logout_request_with_http_info(logout_challenge)
208
-
209
- ```ruby
210
- begin
211
- # Accept a Logout Request
212
- data, status_code, headers = api_instance.accept_logout_request_with_http_info(logout_challenge)
213
- p status_code # => 2xx
214
- p headers # => { ... }
215
- p data # => <CompletedRequest>
216
- rescue OryHydraClient::ApiError => e
217
- puts "Error when calling AdminApi->accept_logout_request_with_http_info: #{e}"
218
- end
219
- ```
220
-
221
- ### Parameters
222
-
223
- | Name | Type | Description | Notes |
224
- | ---- | ---- | ----------- | ----- |
225
- | **logout_challenge** | **String** | | |
226
-
227
- ### Return type
228
-
229
- [**CompletedRequest**](CompletedRequest.md)
230
-
231
- ### Authorization
232
-
233
- No authorization required
234
-
235
- ### HTTP request headers
236
-
237
- - **Content-Type**: Not defined
238
- - **Accept**: application/json
239
-
240
-
241
- ## create_json_web_key_set
242
-
243
- > <JSONWebKeySet> create_json_web_key_set(set, opts)
244
-
245
- Generate a New JSON Web Key
246
-
247
- This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
248
-
249
- ### Examples
250
-
251
- ```ruby
252
- require 'time'
253
- require 'ory-hydra-client'
254
-
255
- api_instance = OryHydraClient::AdminApi.new
256
- set = 'set_example' # String | The set
257
- opts = {
258
- json_web_key_set_generator_request: OryHydraClient::JsonWebKeySetGeneratorRequest.new({alg: 'alg_example', kid: 'kid_example', use: 'use_example'}) # JsonWebKeySetGeneratorRequest |
259
- }
260
-
261
- begin
262
- # Generate a New JSON Web Key
263
- result = api_instance.create_json_web_key_set(set, opts)
264
- p result
265
- rescue OryHydraClient::ApiError => e
266
- puts "Error when calling AdminApi->create_json_web_key_set: #{e}"
267
- end
268
- ```
269
-
270
- #### Using the create_json_web_key_set_with_http_info variant
271
-
272
- This returns an Array which contains the response data, status code and headers.
273
-
274
- > <Array(<JSONWebKeySet>, Integer, Hash)> create_json_web_key_set_with_http_info(set, opts)
275
-
276
- ```ruby
277
- begin
278
- # Generate a New JSON Web Key
279
- data, status_code, headers = api_instance.create_json_web_key_set_with_http_info(set, opts)
280
- p status_code # => 2xx
281
- p headers # => { ... }
282
- p data # => <JSONWebKeySet>
283
- rescue OryHydraClient::ApiError => e
284
- puts "Error when calling AdminApi->create_json_web_key_set_with_http_info: #{e}"
285
- end
286
- ```
287
-
288
- ### Parameters
289
-
290
- | Name | Type | Description | Notes |
291
- | ---- | ---- | ----------- | ----- |
292
- | **set** | **String** | The set | |
293
- | **json_web_key_set_generator_request** | [**JsonWebKeySetGeneratorRequest**](JsonWebKeySetGeneratorRequest.md) | | [optional] |
294
-
295
- ### Return type
296
-
297
- [**JSONWebKeySet**](JSONWebKeySet.md)
298
-
299
- ### Authorization
300
-
301
- No authorization required
302
-
303
- ### HTTP request headers
304
-
305
- - **Content-Type**: application/json
306
- - **Accept**: application/json
307
-
308
-
309
- ## create_o_auth2_client
310
-
311
- > <OAuth2Client> create_o_auth2_client(o_auth2_client)
312
-
313
- Create an OAuth 2.0 Client
314
-
315
- Create a new OAuth 2.0 client If you pass `client_secret` the secret will be used, otherwise a random secret will be generated. The secret will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somwhere 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.
316
-
317
- ### Examples
318
-
319
- ```ruby
320
- require 'time'
321
- require 'ory-hydra-client'
322
-
323
- api_instance = OryHydraClient::AdminApi.new
324
- o_auth2_client = OryHydraClient::OAuth2Client.new # OAuth2Client |
325
-
326
- begin
327
- # Create an OAuth 2.0 Client
328
- result = api_instance.create_o_auth2_client(o_auth2_client)
329
- p result
330
- rescue OryHydraClient::ApiError => e
331
- puts "Error when calling AdminApi->create_o_auth2_client: #{e}"
332
- end
333
- ```
334
-
335
- #### Using the create_o_auth2_client_with_http_info variant
336
-
337
- This returns an Array which contains the response data, status code and headers.
338
-
339
- > <Array(<OAuth2Client>, Integer, Hash)> create_o_auth2_client_with_http_info(o_auth2_client)
340
-
341
- ```ruby
342
- begin
343
- # Create an OAuth 2.0 Client
344
- data, status_code, headers = api_instance.create_o_auth2_client_with_http_info(o_auth2_client)
345
- p status_code # => 2xx
346
- p headers # => { ... }
347
- p data # => <OAuth2Client>
348
- rescue OryHydraClient::ApiError => e
349
- puts "Error when calling AdminApi->create_o_auth2_client_with_http_info: #{e}"
350
- end
351
- ```
352
-
353
- ### Parameters
354
-
355
- | Name | Type | Description | Notes |
356
- | ---- | ---- | ----------- | ----- |
357
- | **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | | |
358
-
359
- ### Return type
360
-
361
- [**OAuth2Client**](OAuth2Client.md)
362
-
363
- ### Authorization
364
-
365
- No authorization required
366
-
367
- ### HTTP request headers
368
-
369
- - **Content-Type**: application/json
370
- - **Accept**: application/json
371
-
372
-
373
- ## delete_json_web_key
374
-
375
- > delete_json_web_key(kid, set)
376
-
377
- Delete a JSON Web Key
378
-
379
- Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
380
-
381
- ### Examples
382
-
383
- ```ruby
384
- require 'time'
385
- require 'ory-hydra-client'
386
-
387
- api_instance = OryHydraClient::AdminApi.new
388
- kid = 'kid_example' # String | The kid of the desired key
389
- set = 'set_example' # String | The set
390
-
391
- begin
392
- # Delete a JSON Web Key
393
- api_instance.delete_json_web_key(kid, set)
394
- rescue OryHydraClient::ApiError => e
395
- puts "Error when calling AdminApi->delete_json_web_key: #{e}"
396
- end
397
- ```
398
-
399
- #### Using the delete_json_web_key_with_http_info variant
400
-
401
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
402
-
403
- > <Array(nil, Integer, Hash)> delete_json_web_key_with_http_info(kid, set)
404
-
405
- ```ruby
406
- begin
407
- # Delete a JSON Web Key
408
- data, status_code, headers = api_instance.delete_json_web_key_with_http_info(kid, set)
409
- p status_code # => 2xx
410
- p headers # => { ... }
411
- p data # => nil
412
- rescue OryHydraClient::ApiError => e
413
- puts "Error when calling AdminApi->delete_json_web_key_with_http_info: #{e}"
414
- end
415
- ```
416
-
417
- ### Parameters
418
-
419
- | Name | Type | Description | Notes |
420
- | ---- | ---- | ----------- | ----- |
421
- | **kid** | **String** | The kid of the desired key | |
422
- | **set** | **String** | The set | |
423
-
424
- ### Return type
425
-
426
- nil (empty response body)
427
-
428
- ### Authorization
429
-
430
- No authorization required
431
-
432
- ### HTTP request headers
433
-
434
- - **Content-Type**: Not defined
435
- - **Accept**: application/json
436
-
437
-
438
- ## delete_json_web_key_set
439
-
440
- > delete_json_web_key_set(set)
441
-
442
- Delete a JSON Web Key Set
443
-
444
- Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
445
-
446
- ### Examples
447
-
448
- ```ruby
449
- require 'time'
450
- require 'ory-hydra-client'
451
-
452
- api_instance = OryHydraClient::AdminApi.new
453
- set = 'set_example' # String | The set
454
-
455
- begin
456
- # Delete a JSON Web Key Set
457
- api_instance.delete_json_web_key_set(set)
458
- rescue OryHydraClient::ApiError => e
459
- puts "Error when calling AdminApi->delete_json_web_key_set: #{e}"
460
- end
461
- ```
462
-
463
- #### Using the delete_json_web_key_set_with_http_info variant
464
-
465
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
466
-
467
- > <Array(nil, Integer, Hash)> delete_json_web_key_set_with_http_info(set)
468
-
469
- ```ruby
470
- begin
471
- # Delete a JSON Web Key Set
472
- data, status_code, headers = api_instance.delete_json_web_key_set_with_http_info(set)
473
- p status_code # => 2xx
474
- p headers # => { ... }
475
- p data # => nil
476
- rescue OryHydraClient::ApiError => e
477
- puts "Error when calling AdminApi->delete_json_web_key_set_with_http_info: #{e}"
478
- end
479
- ```
480
-
481
- ### Parameters
482
-
483
- | Name | Type | Description | Notes |
484
- | ---- | ---- | ----------- | ----- |
485
- | **set** | **String** | The set | |
486
-
487
- ### Return type
488
-
489
- nil (empty response body)
490
-
491
- ### Authorization
492
-
493
- No authorization required
494
-
495
- ### HTTP request headers
496
-
497
- - **Content-Type**: Not defined
498
- - **Accept**: application/json
499
-
500
-
501
- ## delete_o_auth2_client
502
-
503
- > delete_o_auth2_client(id)
504
-
505
- Deletes an OAuth 2.0 Client
506
-
507
- 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.
508
-
509
- ### Examples
510
-
511
- ```ruby
512
- require 'time'
513
- require 'ory-hydra-client'
514
-
515
- api_instance = OryHydraClient::AdminApi.new
516
- id = 'id_example' # String | The id of the OAuth 2.0 Client.
517
-
518
- begin
519
- # Deletes an OAuth 2.0 Client
520
- api_instance.delete_o_auth2_client(id)
521
- rescue OryHydraClient::ApiError => e
522
- puts "Error when calling AdminApi->delete_o_auth2_client: #{e}"
523
- end
524
- ```
525
-
526
- #### Using the delete_o_auth2_client_with_http_info variant
527
-
528
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
529
-
530
- > <Array(nil, Integer, Hash)> delete_o_auth2_client_with_http_info(id)
531
-
532
- ```ruby
533
- begin
534
- # Deletes an OAuth 2.0 Client
535
- data, status_code, headers = api_instance.delete_o_auth2_client_with_http_info(id)
536
- p status_code # => 2xx
537
- p headers # => { ... }
538
- p data # => nil
539
- rescue OryHydraClient::ApiError => e
540
- puts "Error when calling AdminApi->delete_o_auth2_client_with_http_info: #{e}"
541
- end
542
- ```
543
-
544
- ### Parameters
545
-
546
- | Name | Type | Description | Notes |
547
- | ---- | ---- | ----------- | ----- |
548
- | **id** | **String** | The id of the OAuth 2.0 Client. | |
549
-
550
- ### Return type
551
-
552
- nil (empty response body)
553
-
554
- ### Authorization
555
-
556
- No authorization required
557
-
558
- ### HTTP request headers
559
-
560
- - **Content-Type**: Not defined
561
- - **Accept**: application/json
562
-
563
-
564
- ## delete_o_auth2_token
565
-
566
- > delete_o_auth2_token(client_id)
567
-
568
- Delete OAuth2 Access Tokens from a Client
569
-
570
- This endpoint deletes OAuth2 access tokens issued for a client from the database
571
-
572
- ### Examples
573
-
574
- ```ruby
575
- require 'time'
576
- require 'ory-hydra-client'
577
-
578
- api_instance = OryHydraClient::AdminApi.new
579
- client_id = 'client_id_example' # String |
580
-
581
- begin
582
- # Delete OAuth2 Access Tokens from a Client
583
- api_instance.delete_o_auth2_token(client_id)
584
- rescue OryHydraClient::ApiError => e
585
- puts "Error when calling AdminApi->delete_o_auth2_token: #{e}"
586
- end
587
- ```
588
-
589
- #### Using the delete_o_auth2_token_with_http_info variant
590
-
591
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
592
-
593
- > <Array(nil, Integer, Hash)> delete_o_auth2_token_with_http_info(client_id)
594
-
595
- ```ruby
596
- begin
597
- # Delete OAuth2 Access Tokens from a Client
598
- data, status_code, headers = api_instance.delete_o_auth2_token_with_http_info(client_id)
599
- p status_code # => 2xx
600
- p headers # => { ... }
601
- p data # => nil
602
- rescue OryHydraClient::ApiError => e
603
- puts "Error when calling AdminApi->delete_o_auth2_token_with_http_info: #{e}"
604
- end
605
- ```
606
-
607
- ### Parameters
608
-
609
- | Name | Type | Description | Notes |
610
- | ---- | ---- | ----------- | ----- |
611
- | **client_id** | **String** | | |
612
-
613
- ### Return type
614
-
615
- nil (empty response body)
616
-
617
- ### Authorization
618
-
619
- No authorization required
620
-
621
- ### HTTP request headers
622
-
623
- - **Content-Type**: Not defined
624
- - **Accept**: application/json
625
-
626
-
627
- ## delete_trusted_jwt_grant_issuer
628
-
629
- > delete_trusted_jwt_grant_issuer(id)
630
-
631
- Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer
632
-
633
- 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.
634
-
635
- ### Examples
636
-
637
- ```ruby
638
- require 'time'
639
- require 'ory-hydra-client'
640
-
641
- api_instance = OryHydraClient::AdminApi.new
642
- id = 'id_example' # String | The id of the desired grant
643
-
644
- begin
645
- # Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer
646
- api_instance.delete_trusted_jwt_grant_issuer(id)
647
- rescue OryHydraClient::ApiError => e
648
- puts "Error when calling AdminApi->delete_trusted_jwt_grant_issuer: #{e}"
649
- end
650
- ```
651
-
652
- #### Using the delete_trusted_jwt_grant_issuer_with_http_info variant
653
-
654
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
655
-
656
- > <Array(nil, Integer, Hash)> delete_trusted_jwt_grant_issuer_with_http_info(id)
657
-
658
- ```ruby
659
- begin
660
- # Delete a Trusted OAuth2 JWT Bearer Grant Type Issuer
661
- data, status_code, headers = api_instance.delete_trusted_jwt_grant_issuer_with_http_info(id)
662
- p status_code # => 2xx
663
- p headers # => { ... }
664
- p data # => nil
665
- rescue OryHydraClient::ApiError => e
666
- puts "Error when calling AdminApi->delete_trusted_jwt_grant_issuer_with_http_info: #{e}"
667
- end
668
- ```
669
-
670
- ### Parameters
671
-
672
- | Name | Type | Description | Notes |
673
- | ---- | ---- | ----------- | ----- |
674
- | **id** | **String** | The id of the desired grant | |
675
-
676
- ### Return type
677
-
678
- nil (empty response body)
679
-
680
- ### Authorization
681
-
682
- No authorization required
683
-
684
- ### HTTP request headers
685
-
686
- - **Content-Type**: Not defined
687
- - **Accept**: application/json
688
-
689
-
690
- ## flush_inactive_o_auth2_tokens
691
-
692
- > flush_inactive_o_auth2_tokens(opts)
693
-
694
- Flush Expired OAuth2 Access Tokens
695
-
696
- This endpoint flushes expired OAuth2 access tokens from the database. You can set a time after which no tokens will be not be touched, in case you want to keep recent tokens for auditing. Refresh tokens can not be flushed as they are deleted automatically when performing the refresh flow.
697
-
698
- ### Examples
699
-
700
- ```ruby
701
- require 'time'
702
- require 'ory-hydra-client'
703
-
704
- api_instance = OryHydraClient::AdminApi.new
705
- opts = {
706
- flush_inactive_o_auth2_tokens_request: OryHydraClient::FlushInactiveOAuth2TokensRequest.new # FlushInactiveOAuth2TokensRequest |
707
- }
708
-
709
- begin
710
- # Flush Expired OAuth2 Access Tokens
711
- api_instance.flush_inactive_o_auth2_tokens(opts)
712
- rescue OryHydraClient::ApiError => e
713
- puts "Error when calling AdminApi->flush_inactive_o_auth2_tokens: #{e}"
714
- end
715
- ```
716
-
717
- #### Using the flush_inactive_o_auth2_tokens_with_http_info variant
718
-
719
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
720
-
721
- > <Array(nil, Integer, Hash)> flush_inactive_o_auth2_tokens_with_http_info(opts)
722
-
723
- ```ruby
724
- begin
725
- # Flush Expired OAuth2 Access Tokens
726
- data, status_code, headers = api_instance.flush_inactive_o_auth2_tokens_with_http_info(opts)
727
- p status_code # => 2xx
728
- p headers # => { ... }
729
- p data # => nil
730
- rescue OryHydraClient::ApiError => e
731
- puts "Error when calling AdminApi->flush_inactive_o_auth2_tokens_with_http_info: #{e}"
732
- end
733
- ```
734
-
735
- ### Parameters
736
-
737
- | Name | Type | Description | Notes |
738
- | ---- | ---- | ----------- | ----- |
739
- | **flush_inactive_o_auth2_tokens_request** | [**FlushInactiveOAuth2TokensRequest**](FlushInactiveOAuth2TokensRequest.md) | | [optional] |
740
-
741
- ### Return type
742
-
743
- nil (empty response body)
744
-
745
- ### Authorization
746
-
747
- No authorization required
748
-
749
- ### HTTP request headers
750
-
751
- - **Content-Type**: application/json
752
- - **Accept**: application/json
753
-
754
-
755
- ## get_consent_request
756
-
757
- > <ConsentRequest> get_consent_request(consent_challenge)
758
-
759
- Get Consent Request Information
760
-
761
- When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request.
762
-
763
- ### Examples
764
-
765
- ```ruby
766
- require 'time'
767
- require 'ory-hydra-client'
768
-
769
- api_instance = OryHydraClient::AdminApi.new
770
- consent_challenge = 'consent_challenge_example' # String |
771
-
772
- begin
773
- # Get Consent Request Information
774
- result = api_instance.get_consent_request(consent_challenge)
775
- p result
776
- rescue OryHydraClient::ApiError => e
777
- puts "Error when calling AdminApi->get_consent_request: #{e}"
778
- end
779
- ```
780
-
781
- #### Using the get_consent_request_with_http_info variant
782
-
783
- This returns an Array which contains the response data, status code and headers.
784
-
785
- > <Array(<ConsentRequest>, Integer, Hash)> get_consent_request_with_http_info(consent_challenge)
786
-
787
- ```ruby
788
- begin
789
- # Get Consent Request Information
790
- data, status_code, headers = api_instance.get_consent_request_with_http_info(consent_challenge)
791
- p status_code # => 2xx
792
- p headers # => { ... }
793
- p data # => <ConsentRequest>
794
- rescue OryHydraClient::ApiError => e
795
- puts "Error when calling AdminApi->get_consent_request_with_http_info: #{e}"
796
- end
797
- ```
798
-
799
- ### Parameters
800
-
801
- | Name | Type | Description | Notes |
802
- | ---- | ---- | ----------- | ----- |
803
- | **consent_challenge** | **String** | | |
804
-
805
- ### Return type
806
-
807
- [**ConsentRequest**](ConsentRequest.md)
808
-
809
- ### Authorization
810
-
811
- No authorization required
812
-
813
- ### HTTP request headers
814
-
815
- - **Content-Type**: Not defined
816
- - **Accept**: application/json
817
-
818
-
819
- ## get_json_web_key
820
-
821
- > <JSONWebKeySet> get_json_web_key(kid, set)
822
-
823
- Fetch a JSON Web Key
824
-
825
- This endpoint returns a singular JSON Web Key, identified by the set and the specific key ID (kid).
826
-
827
- ### Examples
828
-
829
- ```ruby
830
- require 'time'
831
- require 'ory-hydra-client'
832
-
833
- api_instance = OryHydraClient::AdminApi.new
834
- kid = 'kid_example' # String | The kid of the desired key
835
- set = 'set_example' # String | The set
836
-
837
- begin
838
- # Fetch a JSON Web Key
839
- result = api_instance.get_json_web_key(kid, set)
840
- p result
841
- rescue OryHydraClient::ApiError => e
842
- puts "Error when calling AdminApi->get_json_web_key: #{e}"
843
- end
844
- ```
845
-
846
- #### Using the get_json_web_key_with_http_info variant
847
-
848
- This returns an Array which contains the response data, status code and headers.
849
-
850
- > <Array(<JSONWebKeySet>, Integer, Hash)> get_json_web_key_with_http_info(kid, set)
851
-
852
- ```ruby
853
- begin
854
- # Fetch a JSON Web Key
855
- data, status_code, headers = api_instance.get_json_web_key_with_http_info(kid, set)
856
- p status_code # => 2xx
857
- p headers # => { ... }
858
- p data # => <JSONWebKeySet>
859
- rescue OryHydraClient::ApiError => e
860
- puts "Error when calling AdminApi->get_json_web_key_with_http_info: #{e}"
861
- end
862
- ```
863
-
864
- ### Parameters
865
-
866
- | Name | Type | Description | Notes |
867
- | ---- | ---- | ----------- | ----- |
868
- | **kid** | **String** | The kid of the desired key | |
869
- | **set** | **String** | The set | |
870
-
871
- ### Return type
872
-
873
- [**JSONWebKeySet**](JSONWebKeySet.md)
874
-
875
- ### Authorization
876
-
877
- No authorization required
878
-
879
- ### HTTP request headers
880
-
881
- - **Content-Type**: Not defined
882
- - **Accept**: application/json
883
-
884
-
885
- ## get_json_web_key_set
886
-
887
- > <JSONWebKeySet> get_json_web_key_set(set)
888
-
889
- Retrieve a JSON Web Key Set
890
-
891
- This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
892
-
893
- ### Examples
894
-
895
- ```ruby
896
- require 'time'
897
- require 'ory-hydra-client'
898
-
899
- api_instance = OryHydraClient::AdminApi.new
900
- set = 'set_example' # String | The set
901
-
902
- begin
903
- # Retrieve a JSON Web Key Set
904
- result = api_instance.get_json_web_key_set(set)
905
- p result
906
- rescue OryHydraClient::ApiError => e
907
- puts "Error when calling AdminApi->get_json_web_key_set: #{e}"
908
- end
909
- ```
910
-
911
- #### Using the get_json_web_key_set_with_http_info variant
912
-
913
- This returns an Array which contains the response data, status code and headers.
914
-
915
- > <Array(<JSONWebKeySet>, Integer, Hash)> get_json_web_key_set_with_http_info(set)
916
-
917
- ```ruby
918
- begin
919
- # Retrieve a JSON Web Key Set
920
- data, status_code, headers = api_instance.get_json_web_key_set_with_http_info(set)
921
- p status_code # => 2xx
922
- p headers # => { ... }
923
- p data # => <JSONWebKeySet>
924
- rescue OryHydraClient::ApiError => e
925
- puts "Error when calling AdminApi->get_json_web_key_set_with_http_info: #{e}"
926
- end
927
- ```
928
-
929
- ### Parameters
930
-
931
- | Name | Type | Description | Notes |
932
- | ---- | ---- | ----------- | ----- |
933
- | **set** | **String** | The set | |
934
-
935
- ### Return type
936
-
937
- [**JSONWebKeySet**](JSONWebKeySet.md)
938
-
939
- ### Authorization
940
-
941
- No authorization required
942
-
943
- ### HTTP request headers
944
-
945
- - **Content-Type**: Not defined
946
- - **Accept**: application/json
947
-
948
-
949
- ## get_login_request
950
-
951
- > <LoginRequest> get_login_request(login_challenge)
952
-
953
- Get a Login Request
954
-
955
- When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.
956
-
957
- ### Examples
958
-
959
- ```ruby
960
- require 'time'
961
- require 'ory-hydra-client'
962
-
963
- api_instance = OryHydraClient::AdminApi.new
964
- login_challenge = 'login_challenge_example' # String |
965
-
966
- begin
967
- # Get a Login Request
968
- result = api_instance.get_login_request(login_challenge)
969
- p result
970
- rescue OryHydraClient::ApiError => e
971
- puts "Error when calling AdminApi->get_login_request: #{e}"
972
- end
973
- ```
974
-
975
- #### Using the get_login_request_with_http_info variant
976
-
977
- This returns an Array which contains the response data, status code and headers.
978
-
979
- > <Array(<LoginRequest>, Integer, Hash)> get_login_request_with_http_info(login_challenge)
980
-
981
- ```ruby
982
- begin
983
- # Get a Login Request
984
- data, status_code, headers = api_instance.get_login_request_with_http_info(login_challenge)
985
- p status_code # => 2xx
986
- p headers # => { ... }
987
- p data # => <LoginRequest>
988
- rescue OryHydraClient::ApiError => e
989
- puts "Error when calling AdminApi->get_login_request_with_http_info: #{e}"
990
- end
991
- ```
992
-
993
- ### Parameters
994
-
995
- | Name | Type | Description | Notes |
996
- | ---- | ---- | ----------- | ----- |
997
- | **login_challenge** | **String** | | |
998
-
999
- ### Return type
1000
-
1001
- [**LoginRequest**](LoginRequest.md)
1002
-
1003
- ### Authorization
1004
-
1005
- No authorization required
1006
-
1007
- ### HTTP request headers
1008
-
1009
- - **Content-Type**: Not defined
1010
- - **Accept**: application/json
1011
-
1012
-
1013
- ## get_logout_request
1014
-
1015
- > <LogoutRequest> get_logout_request(logout_challenge)
1016
-
1017
- Get a Logout Request
1018
-
1019
- Use this endpoint to fetch a logout request.
1020
-
1021
- ### Examples
1022
-
1023
- ```ruby
1024
- require 'time'
1025
- require 'ory-hydra-client'
1026
-
1027
- api_instance = OryHydraClient::AdminApi.new
1028
- logout_challenge = 'logout_challenge_example' # String |
1029
-
1030
- begin
1031
- # Get a Logout Request
1032
- result = api_instance.get_logout_request(logout_challenge)
1033
- p result
1034
- rescue OryHydraClient::ApiError => e
1035
- puts "Error when calling AdminApi->get_logout_request: #{e}"
1036
- end
1037
- ```
1038
-
1039
- #### Using the get_logout_request_with_http_info variant
1040
-
1041
- This returns an Array which contains the response data, status code and headers.
1042
-
1043
- > <Array(<LogoutRequest>, Integer, Hash)> get_logout_request_with_http_info(logout_challenge)
1044
-
1045
- ```ruby
1046
- begin
1047
- # Get a Logout Request
1048
- data, status_code, headers = api_instance.get_logout_request_with_http_info(logout_challenge)
1049
- p status_code # => 2xx
1050
- p headers # => { ... }
1051
- p data # => <LogoutRequest>
1052
- rescue OryHydraClient::ApiError => e
1053
- puts "Error when calling AdminApi->get_logout_request_with_http_info: #{e}"
1054
- end
1055
- ```
1056
-
1057
- ### Parameters
1058
-
1059
- | Name | Type | Description | Notes |
1060
- | ---- | ---- | ----------- | ----- |
1061
- | **logout_challenge** | **String** | | |
1062
-
1063
- ### Return type
1064
-
1065
- [**LogoutRequest**](LogoutRequest.md)
1066
-
1067
- ### Authorization
1068
-
1069
- No authorization required
1070
-
1071
- ### HTTP request headers
1072
-
1073
- - **Content-Type**: Not defined
1074
- - **Accept**: application/json
1075
-
1076
-
1077
- ## get_o_auth2_client
1078
-
1079
- > <OAuth2Client> get_o_auth2_client(id)
1080
-
1081
- Get an OAuth 2.0 Client
1082
-
1083
- 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.
1084
-
1085
- ### Examples
1086
-
1087
- ```ruby
1088
- require 'time'
1089
- require 'ory-hydra-client'
1090
-
1091
- api_instance = OryHydraClient::AdminApi.new
1092
- id = 'id_example' # String | The id of the OAuth 2.0 Client.
1093
-
1094
- begin
1095
- # Get an OAuth 2.0 Client
1096
- result = api_instance.get_o_auth2_client(id)
1097
- p result
1098
- rescue OryHydraClient::ApiError => e
1099
- puts "Error when calling AdminApi->get_o_auth2_client: #{e}"
1100
- end
1101
- ```
1102
-
1103
- #### Using the get_o_auth2_client_with_http_info variant
1104
-
1105
- This returns an Array which contains the response data, status code and headers.
1106
-
1107
- > <Array(<OAuth2Client>, Integer, Hash)> get_o_auth2_client_with_http_info(id)
1108
-
1109
- ```ruby
1110
- begin
1111
- # Get an OAuth 2.0 Client
1112
- data, status_code, headers = api_instance.get_o_auth2_client_with_http_info(id)
1113
- p status_code # => 2xx
1114
- p headers # => { ... }
1115
- p data # => <OAuth2Client>
1116
- rescue OryHydraClient::ApiError => e
1117
- puts "Error when calling AdminApi->get_o_auth2_client_with_http_info: #{e}"
1118
- end
1119
- ```
1120
-
1121
- ### Parameters
1122
-
1123
- | Name | Type | Description | Notes |
1124
- | ---- | ---- | ----------- | ----- |
1125
- | **id** | **String** | The id of the OAuth 2.0 Client. | |
1126
-
1127
- ### Return type
1128
-
1129
- [**OAuth2Client**](OAuth2Client.md)
1130
-
1131
- ### Authorization
1132
-
1133
- No authorization required
1134
-
1135
- ### HTTP request headers
1136
-
1137
- - **Content-Type**: Not defined
1138
- - **Accept**: application/json
1139
-
1140
-
1141
- ## get_trusted_jwt_grant_issuer
1142
-
1143
- > <TrustedJwtGrantIssuer> get_trusted_jwt_grant_issuer(id)
1144
-
1145
- Get a Trusted OAuth2 JWT Bearer Grant Type Issuer
1146
-
1147
- Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship.
1148
-
1149
- ### Examples
1150
-
1151
- ```ruby
1152
- require 'time'
1153
- require 'ory-hydra-client'
1154
-
1155
- api_instance = OryHydraClient::AdminApi.new
1156
- id = 'id_example' # String | The id of the desired grant
1157
-
1158
- begin
1159
- # Get a Trusted OAuth2 JWT Bearer Grant Type Issuer
1160
- result = api_instance.get_trusted_jwt_grant_issuer(id)
1161
- p result
1162
- rescue OryHydraClient::ApiError => e
1163
- puts "Error when calling AdminApi->get_trusted_jwt_grant_issuer: #{e}"
1164
- end
1165
- ```
1166
-
1167
- #### Using the get_trusted_jwt_grant_issuer_with_http_info variant
1168
-
1169
- This returns an Array which contains the response data, status code and headers.
1170
-
1171
- > <Array(<TrustedJwtGrantIssuer>, Integer, Hash)> get_trusted_jwt_grant_issuer_with_http_info(id)
1172
-
1173
- ```ruby
1174
- begin
1175
- # Get a Trusted OAuth2 JWT Bearer Grant Type Issuer
1176
- data, status_code, headers = api_instance.get_trusted_jwt_grant_issuer_with_http_info(id)
1177
- p status_code # => 2xx
1178
- p headers # => { ... }
1179
- p data # => <TrustedJwtGrantIssuer>
1180
- rescue OryHydraClient::ApiError => e
1181
- puts "Error when calling AdminApi->get_trusted_jwt_grant_issuer_with_http_info: #{e}"
1182
- end
1183
- ```
1184
-
1185
- ### Parameters
1186
-
1187
- | Name | Type | Description | Notes |
1188
- | ---- | ---- | ----------- | ----- |
1189
- | **id** | **String** | The id of the desired grant | |
1190
-
1191
- ### Return type
1192
-
1193
- [**TrustedJwtGrantIssuer**](TrustedJwtGrantIssuer.md)
1194
-
1195
- ### Authorization
1196
-
1197
- No authorization required
1198
-
1199
- ### HTTP request headers
1200
-
1201
- - **Content-Type**: Not defined
1202
- - **Accept**: application/json
1203
-
1204
-
1205
- ## introspect_o_auth2_token
1206
-
1207
- > <OAuth2TokenIntrospection> introspect_o_auth2_token(token, opts)
1208
-
1209
- Introspect OAuth2 Tokens
1210
-
1211
- 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 `accessTokenExtra` during the consent flow. For more information [read this blog post](https://www.oauth.com/oauth2-servers/token-introspection-endpoint/).
1212
-
1213
- ### Examples
1214
-
1215
- ```ruby
1216
- require 'time'
1217
- require 'ory-hydra-client'
1218
-
1219
- api_instance = OryHydraClient::AdminApi.new
1220
- 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.
1221
- opts = {
1222
- 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.
1223
- }
1224
-
1225
- begin
1226
- # Introspect OAuth2 Tokens
1227
- result = api_instance.introspect_o_auth2_token(token, opts)
1228
- p result
1229
- rescue OryHydraClient::ApiError => e
1230
- puts "Error when calling AdminApi->introspect_o_auth2_token: #{e}"
1231
- end
1232
- ```
1233
-
1234
- #### Using the introspect_o_auth2_token_with_http_info variant
1235
-
1236
- This returns an Array which contains the response data, status code and headers.
1237
-
1238
- > <Array(<OAuth2TokenIntrospection>, Integer, Hash)> introspect_o_auth2_token_with_http_info(token, opts)
1239
-
1240
- ```ruby
1241
- begin
1242
- # Introspect OAuth2 Tokens
1243
- data, status_code, headers = api_instance.introspect_o_auth2_token_with_http_info(token, opts)
1244
- p status_code # => 2xx
1245
- p headers # => { ... }
1246
- p data # => <OAuth2TokenIntrospection>
1247
- rescue OryHydraClient::ApiError => e
1248
- puts "Error when calling AdminApi->introspect_o_auth2_token_with_http_info: #{e}"
1249
- end
1250
- ```
1251
-
1252
- ### Parameters
1253
-
1254
- | Name | Type | Description | Notes |
1255
- | ---- | ---- | ----------- | ----- |
1256
- | **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. | |
1257
- | **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] |
1258
-
1259
- ### Return type
1260
-
1261
- [**OAuth2TokenIntrospection**](OAuth2TokenIntrospection.md)
1262
-
1263
- ### Authorization
1264
-
1265
- No authorization required
1266
-
1267
- ### HTTP request headers
1268
-
1269
- - **Content-Type**: application/x-www-form-urlencoded
1270
- - **Accept**: application/json
1271
-
1272
-
1273
- ## list_o_auth2_clients
1274
-
1275
- > <Array<OAuth2Client>> list_o_auth2_clients(opts)
1276
-
1277
- List OAuth 2.0 Clients
1278
-
1279
- This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients. The `limit` parameter can be used to retrieve more clients, but it has an upper bound at 500 objects. Pagination should be used to retrieve more than 500 objects. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/clients?limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
1280
-
1281
- ### Examples
1282
-
1283
- ```ruby
1284
- require 'time'
1285
- require 'ory-hydra-client'
1286
-
1287
- api_instance = OryHydraClient::AdminApi.new
1288
- opts = {
1289
- limit: 789, # Integer | The maximum amount of clients to returned, upper bound is 500 clients.
1290
- offset: 789, # Integer | The offset from where to start looking.
1291
- client_name: 'client_name_example', # String | The name of the clients to filter by.
1292
- owner: 'owner_example' # String | The owner of the clients to filter by.
1293
- }
1294
-
1295
- begin
1296
- # List OAuth 2.0 Clients
1297
- result = api_instance.list_o_auth2_clients(opts)
1298
- p result
1299
- rescue OryHydraClient::ApiError => e
1300
- puts "Error when calling AdminApi->list_o_auth2_clients: #{e}"
1301
- end
1302
- ```
1303
-
1304
- #### Using the list_o_auth2_clients_with_http_info variant
1305
-
1306
- This returns an Array which contains the response data, status code and headers.
1307
-
1308
- > <Array(<Array<OAuth2Client>>, Integer, Hash)> list_o_auth2_clients_with_http_info(opts)
1309
-
1310
- ```ruby
1311
- begin
1312
- # List OAuth 2.0 Clients
1313
- data, status_code, headers = api_instance.list_o_auth2_clients_with_http_info(opts)
1314
- p status_code # => 2xx
1315
- p headers # => { ... }
1316
- p data # => <Array<OAuth2Client>>
1317
- rescue OryHydraClient::ApiError => e
1318
- puts "Error when calling AdminApi->list_o_auth2_clients_with_http_info: #{e}"
1319
- end
1320
- ```
1321
-
1322
- ### Parameters
1323
-
1324
- | Name | Type | Description | Notes |
1325
- | ---- | ---- | ----------- | ----- |
1326
- | **limit** | **Integer** | The maximum amount of clients to returned, upper bound is 500 clients. | [optional] |
1327
- | **offset** | **Integer** | The offset from where to start looking. | [optional] |
1328
- | **client_name** | **String** | The name of the clients to filter by. | [optional] |
1329
- | **owner** | **String** | The owner of the clients to filter by. | [optional] |
1330
-
1331
- ### Return type
1332
-
1333
- [**Array&lt;OAuth2Client&gt;**](OAuth2Client.md)
1334
-
1335
- ### Authorization
1336
-
1337
- No authorization required
1338
-
1339
- ### HTTP request headers
1340
-
1341
- - **Content-Type**: Not defined
1342
- - **Accept**: application/json
1343
-
1344
-
1345
- ## list_subject_consent_sessions
1346
-
1347
- > <Array<PreviousConsentSession>> list_subject_consent_sessions(subject)
1348
-
1349
- Lists All Consent Sessions of a Subject
1350
-
1351
- 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. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
1352
-
1353
- ### Examples
1354
-
1355
- ```ruby
1356
- require 'time'
1357
- require 'ory-hydra-client'
1358
-
1359
- api_instance = OryHydraClient::AdminApi.new
1360
- subject = 'subject_example' # String |
1361
-
1362
- begin
1363
- # Lists All Consent Sessions of a Subject
1364
- result = api_instance.list_subject_consent_sessions(subject)
1365
- p result
1366
- rescue OryHydraClient::ApiError => e
1367
- puts "Error when calling AdminApi->list_subject_consent_sessions: #{e}"
1368
- end
1369
- ```
1370
-
1371
- #### Using the list_subject_consent_sessions_with_http_info variant
1372
-
1373
- This returns an Array which contains the response data, status code and headers.
1374
-
1375
- > <Array(<Array<PreviousConsentSession>>, Integer, Hash)> list_subject_consent_sessions_with_http_info(subject)
1376
-
1377
- ```ruby
1378
- begin
1379
- # Lists All Consent Sessions of a Subject
1380
- data, status_code, headers = api_instance.list_subject_consent_sessions_with_http_info(subject)
1381
- p status_code # => 2xx
1382
- p headers # => { ... }
1383
- p data # => <Array<PreviousConsentSession>>
1384
- rescue OryHydraClient::ApiError => e
1385
- puts "Error when calling AdminApi->list_subject_consent_sessions_with_http_info: #{e}"
1386
- end
1387
- ```
1388
-
1389
- ### Parameters
1390
-
1391
- | Name | Type | Description | Notes |
1392
- | ---- | ---- | ----------- | ----- |
1393
- | **subject** | **String** | | |
1394
-
1395
- ### Return type
1396
-
1397
- [**Array&lt;PreviousConsentSession&gt;**](PreviousConsentSession.md)
1398
-
1399
- ### Authorization
1400
-
1401
- No authorization required
1402
-
1403
- ### HTTP request headers
1404
-
1405
- - **Content-Type**: Not defined
1406
- - **Accept**: application/json
1407
-
1408
-
1409
- ## list_trusted_jwt_grant_issuers
1410
-
1411
- > <Array<TrustedJwtGrantIssuer>> list_trusted_jwt_grant_issuers(opts)
1412
-
1413
- List Trusted OAuth2 JWT Bearer Grant Type Issuers
1414
-
1415
- Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
1416
-
1417
- ### Examples
1418
-
1419
- ```ruby
1420
- require 'time'
1421
- require 'ory-hydra-client'
1422
-
1423
- api_instance = OryHydraClient::AdminApi.new
1424
- opts = {
1425
- issuer: 'issuer_example', # String | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
1426
- limit: 789, # Integer | The maximum amount of policies returned, upper bound is 500 policies
1427
- offset: 789 # Integer | The offset from where to start looking.
1428
- }
1429
-
1430
- begin
1431
- # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1432
- result = api_instance.list_trusted_jwt_grant_issuers(opts)
1433
- p result
1434
- rescue OryHydraClient::ApiError => e
1435
- puts "Error when calling AdminApi->list_trusted_jwt_grant_issuers: #{e}"
1436
- end
1437
- ```
1438
-
1439
- #### Using the list_trusted_jwt_grant_issuers_with_http_info variant
1440
-
1441
- This returns an Array which contains the response data, status code and headers.
1442
-
1443
- > <Array(<Array<TrustedJwtGrantIssuer>>, Integer, Hash)> list_trusted_jwt_grant_issuers_with_http_info(opts)
1444
-
1445
- ```ruby
1446
- begin
1447
- # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1448
- data, status_code, headers = api_instance.list_trusted_jwt_grant_issuers_with_http_info(opts)
1449
- p status_code # => 2xx
1450
- p headers # => { ... }
1451
- p data # => <Array<TrustedJwtGrantIssuer>>
1452
- rescue OryHydraClient::ApiError => e
1453
- puts "Error when calling AdminApi->list_trusted_jwt_grant_issuers_with_http_info: #{e}"
1454
- end
1455
- ```
1456
-
1457
- ### Parameters
1458
-
1459
- | Name | Type | Description | Notes |
1460
- | ---- | ---- | ----------- | ----- |
1461
- | **issuer** | **String** | If optional \&quot;issuer\&quot; is supplied, only jwt-bearer grants with this issuer will be returned. | [optional] |
1462
- | **limit** | **Integer** | The maximum amount of policies returned, upper bound is 500 policies | [optional] |
1463
- | **offset** | **Integer** | The offset from where to start looking. | [optional] |
1464
-
1465
- ### Return type
1466
-
1467
- [**Array&lt;TrustedJwtGrantIssuer&gt;**](TrustedJwtGrantIssuer.md)
1468
-
1469
- ### Authorization
1470
-
1471
- No authorization required
1472
-
1473
- ### HTTP request headers
1474
-
1475
- - **Content-Type**: Not defined
1476
- - **Accept**: application/json
1477
-
1478
-
1479
- ## patch_o_auth2_client
1480
-
1481
- > <OAuth2Client> patch_o_auth2_client(id, patch_document)
1482
-
1483
- Patch an OAuth 2.0 Client
1484
-
1485
- Patch an existing OAuth 2.0 Client. 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.
1486
-
1487
- ### Examples
1488
-
1489
- ```ruby
1490
- require 'time'
1491
- require 'ory-hydra-client'
1492
-
1493
- api_instance = OryHydraClient::AdminApi.new
1494
- id = 'id_example' # String | The id of the OAuth 2.0 Client.
1495
- patch_document = [OryHydraClient::PatchDocument.new({op: '"replace"', path: '"/name"'})] # Array<PatchDocument> |
1496
-
1497
- begin
1498
- # Patch an OAuth 2.0 Client
1499
- result = api_instance.patch_o_auth2_client(id, patch_document)
1500
- p result
1501
- rescue OryHydraClient::ApiError => e
1502
- puts "Error when calling AdminApi->patch_o_auth2_client: #{e}"
1503
- end
1504
- ```
1505
-
1506
- #### Using the patch_o_auth2_client_with_http_info variant
1507
-
1508
- This returns an Array which contains the response data, status code and headers.
1509
-
1510
- > <Array(<OAuth2Client>, Integer, Hash)> patch_o_auth2_client_with_http_info(id, patch_document)
1511
-
1512
- ```ruby
1513
- begin
1514
- # Patch an OAuth 2.0 Client
1515
- data, status_code, headers = api_instance.patch_o_auth2_client_with_http_info(id, patch_document)
1516
- p status_code # => 2xx
1517
- p headers # => { ... }
1518
- p data # => <OAuth2Client>
1519
- rescue OryHydraClient::ApiError => e
1520
- puts "Error when calling AdminApi->patch_o_auth2_client_with_http_info: #{e}"
1521
- end
1522
- ```
1523
-
1524
- ### Parameters
1525
-
1526
- | Name | Type | Description | Notes |
1527
- | ---- | ---- | ----------- | ----- |
1528
- | **id** | **String** | The id of the OAuth 2.0 Client. | |
1529
- | **patch_document** | [**Array&lt;PatchDocument&gt;**](PatchDocument.md) | | |
1530
-
1531
- ### Return type
1532
-
1533
- [**OAuth2Client**](OAuth2Client.md)
1534
-
1535
- ### Authorization
1536
-
1537
- No authorization required
1538
-
1539
- ### HTTP request headers
1540
-
1541
- - **Content-Type**: application/json
1542
- - **Accept**: application/json
1543
-
1544
-
1545
- ## reject_consent_request
1546
-
1547
- > <CompletedRequest> reject_consent_request(consent_challenge, opts)
1548
-
1549
- Reject a Consent Request
1550
-
1551
- When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider to authenticate the subject and then tell ORY Hydra now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent provider which handles this request and is a web app implemented and hosted by you. It shows a subject interface which asks the subject to grant or deny the client access to the requested scope (\"Application my-dropbox-app wants write access to all your private files\"). The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells ORY Hydra if the subject accepted or rejected the request. This endpoint tells ORY Hydra that the subject has 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.
1552
-
1553
- ### Examples
1554
-
1555
- ```ruby
1556
- require 'time'
1557
- require 'ory-hydra-client'
1558
-
1559
- api_instance = OryHydraClient::AdminApi.new
1560
- consent_challenge = 'consent_challenge_example' # String |
1561
- opts = {
1562
- reject_request: OryHydraClient::RejectRequest.new # RejectRequest |
1563
- }
1564
-
1565
- begin
1566
- # Reject a Consent Request
1567
- result = api_instance.reject_consent_request(consent_challenge, opts)
1568
- p result
1569
- rescue OryHydraClient::ApiError => e
1570
- puts "Error when calling AdminApi->reject_consent_request: #{e}"
1571
- end
1572
- ```
1573
-
1574
- #### Using the reject_consent_request_with_http_info variant
1575
-
1576
- This returns an Array which contains the response data, status code and headers.
1577
-
1578
- > <Array(<CompletedRequest>, Integer, Hash)> reject_consent_request_with_http_info(consent_challenge, opts)
1579
-
1580
- ```ruby
1581
- begin
1582
- # Reject a Consent Request
1583
- data, status_code, headers = api_instance.reject_consent_request_with_http_info(consent_challenge, opts)
1584
- p status_code # => 2xx
1585
- p headers # => { ... }
1586
- p data # => <CompletedRequest>
1587
- rescue OryHydraClient::ApiError => e
1588
- puts "Error when calling AdminApi->reject_consent_request_with_http_info: #{e}"
1589
- end
1590
- ```
1591
-
1592
- ### Parameters
1593
-
1594
- | Name | Type | Description | Notes |
1595
- | ---- | ---- | ----------- | ----- |
1596
- | **consent_challenge** | **String** | | |
1597
- | **reject_request** | [**RejectRequest**](RejectRequest.md) | | [optional] |
1598
-
1599
- ### Return type
1600
-
1601
- [**CompletedRequest**](CompletedRequest.md)
1602
-
1603
- ### Authorization
1604
-
1605
- No authorization required
1606
-
1607
- ### HTTP request headers
1608
-
1609
- - **Content-Type**: application/json
1610
- - **Accept**: application/json
1611
-
1612
-
1613
- ## reject_login_request
1614
-
1615
- > <CompletedRequest> reject_login_request(login_challenge, opts)
1616
-
1617
- Reject a Login Request
1618
-
1619
- When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, ORY Hydra asks the login provider (sometimes called \"identity provider\") to authenticate the subject and then tell ORY Hydra now about it. The login provider is an web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells ORY Hydra that the subject has not authenticated and includes a reason why the authentication was be denied. The response contains a redirect URL which the login provider should redirect the user-agent to.
1620
-
1621
- ### Examples
1622
-
1623
- ```ruby
1624
- require 'time'
1625
- require 'ory-hydra-client'
1626
-
1627
- api_instance = OryHydraClient::AdminApi.new
1628
- login_challenge = 'login_challenge_example' # String |
1629
- opts = {
1630
- reject_request: OryHydraClient::RejectRequest.new # RejectRequest |
1631
- }
1632
-
1633
- begin
1634
- # Reject a Login Request
1635
- result = api_instance.reject_login_request(login_challenge, opts)
1636
- p result
1637
- rescue OryHydraClient::ApiError => e
1638
- puts "Error when calling AdminApi->reject_login_request: #{e}"
1639
- end
1640
- ```
1641
-
1642
- #### Using the reject_login_request_with_http_info variant
1643
-
1644
- This returns an Array which contains the response data, status code and headers.
1645
-
1646
- > <Array(<CompletedRequest>, Integer, Hash)> reject_login_request_with_http_info(login_challenge, opts)
1647
-
1648
- ```ruby
1649
- begin
1650
- # Reject a Login Request
1651
- data, status_code, headers = api_instance.reject_login_request_with_http_info(login_challenge, opts)
1652
- p status_code # => 2xx
1653
- p headers # => { ... }
1654
- p data # => <CompletedRequest>
1655
- rescue OryHydraClient::ApiError => e
1656
- puts "Error when calling AdminApi->reject_login_request_with_http_info: #{e}"
1657
- end
1658
- ```
1659
-
1660
- ### Parameters
1661
-
1662
- | Name | Type | Description | Notes |
1663
- | ---- | ---- | ----------- | ----- |
1664
- | **login_challenge** | **String** | | |
1665
- | **reject_request** | [**RejectRequest**](RejectRequest.md) | | [optional] |
1666
-
1667
- ### Return type
1668
-
1669
- [**CompletedRequest**](CompletedRequest.md)
1670
-
1671
- ### Authorization
1672
-
1673
- No authorization required
1674
-
1675
- ### HTTP request headers
1676
-
1677
- - **Content-Type**: application/json
1678
- - **Accept**: application/json
1679
-
1680
-
1681
- ## reject_logout_request
1682
-
1683
- > reject_logout_request(logout_challenge, opts)
1684
-
1685
- Reject a Logout Request
1686
-
1687
- When a user or an application requests ORY Hydra to log out a user, this endpoint is used to deny that logout request. No body is required. The response is empty as the logout provider has to chose what action to perform next.
1688
-
1689
- ### Examples
1690
-
1691
- ```ruby
1692
- require 'time'
1693
- require 'ory-hydra-client'
1694
-
1695
- api_instance = OryHydraClient::AdminApi.new
1696
- logout_challenge = 'logout_challenge_example' # String |
1697
- opts = {
1698
- reject_request: OryHydraClient::RejectRequest.new # RejectRequest |
1699
- }
1700
-
1701
- begin
1702
- # Reject a Logout Request
1703
- api_instance.reject_logout_request(logout_challenge, opts)
1704
- rescue OryHydraClient::ApiError => e
1705
- puts "Error when calling AdminApi->reject_logout_request: #{e}"
1706
- end
1707
- ```
1708
-
1709
- #### Using the reject_logout_request_with_http_info variant
1710
-
1711
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1712
-
1713
- > <Array(nil, Integer, Hash)> reject_logout_request_with_http_info(logout_challenge, opts)
1714
-
1715
- ```ruby
1716
- begin
1717
- # Reject a Logout Request
1718
- data, status_code, headers = api_instance.reject_logout_request_with_http_info(logout_challenge, opts)
1719
- p status_code # => 2xx
1720
- p headers # => { ... }
1721
- p data # => nil
1722
- rescue OryHydraClient::ApiError => e
1723
- puts "Error when calling AdminApi->reject_logout_request_with_http_info: #{e}"
1724
- end
1725
- ```
1726
-
1727
- ### Parameters
1728
-
1729
- | Name | Type | Description | Notes |
1730
- | ---- | ---- | ----------- | ----- |
1731
- | **logout_challenge** | **String** | | |
1732
- | **reject_request** | [**RejectRequest**](RejectRequest.md) | | [optional] |
1733
-
1734
- ### Return type
1735
-
1736
- nil (empty response body)
1737
-
1738
- ### Authorization
1739
-
1740
- No authorization required
1741
-
1742
- ### HTTP request headers
1743
-
1744
- - **Content-Type**: application/json, application/x-www-form-urlencoded
1745
- - **Accept**: application/json
1746
-
1747
-
1748
- ## revoke_authentication_session
1749
-
1750
- > revoke_authentication_session(subject)
1751
-
1752
- Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session
1753
-
1754
- This endpoint invalidates a subject's authentication session. After revoking the authentication session, the subject has to re-authenticate at ORY Hydra. This endpoint does not invalidate any tokens and does not work with OpenID Connect Front- or Back-channel logout.
1755
-
1756
- ### Examples
1757
-
1758
- ```ruby
1759
- require 'time'
1760
- require 'ory-hydra-client'
1761
-
1762
- api_instance = OryHydraClient::AdminApi.new
1763
- subject = 'subject_example' # String |
1764
-
1765
- begin
1766
- # Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session
1767
- api_instance.revoke_authentication_session(subject)
1768
- rescue OryHydraClient::ApiError => e
1769
- puts "Error when calling AdminApi->revoke_authentication_session: #{e}"
1770
- end
1771
- ```
1772
-
1773
- #### Using the revoke_authentication_session_with_http_info variant
1774
-
1775
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1776
-
1777
- > <Array(nil, Integer, Hash)> revoke_authentication_session_with_http_info(subject)
1778
-
1779
- ```ruby
1780
- begin
1781
- # Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session
1782
- data, status_code, headers = api_instance.revoke_authentication_session_with_http_info(subject)
1783
- p status_code # => 2xx
1784
- p headers # => { ... }
1785
- p data # => nil
1786
- rescue OryHydraClient::ApiError => e
1787
- puts "Error when calling AdminApi->revoke_authentication_session_with_http_info: #{e}"
1788
- end
1789
- ```
1790
-
1791
- ### Parameters
1792
-
1793
- | Name | Type | Description | Notes |
1794
- | ---- | ---- | ----------- | ----- |
1795
- | **subject** | **String** | | |
1796
-
1797
- ### Return type
1798
-
1799
- nil (empty response body)
1800
-
1801
- ### Authorization
1802
-
1803
- No authorization required
1804
-
1805
- ### HTTP request headers
1806
-
1807
- - **Content-Type**: Not defined
1808
- - **Accept**: application/json
1809
-
1810
-
1811
- ## revoke_consent_sessions
1812
-
1813
- > revoke_consent_sessions(subject, opts)
1814
-
1815
- Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client
1816
-
1817
- This endpoint revokes a subject's granted consent sessions for a specific OAuth 2.0 Client and invalidates all associated OAuth 2.0 Access Tokens.
1818
-
1819
- ### Examples
1820
-
1821
- ```ruby
1822
- require 'time'
1823
- require 'ory-hydra-client'
1824
-
1825
- api_instance = OryHydraClient::AdminApi.new
1826
- subject = 'subject_example' # String | The subject (Subject) who's consent sessions should be deleted.
1827
- opts = {
1828
- client: 'client_example', # String | If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID
1829
- all: true # Boolean | If set to `?all=true`, deletes all consent sessions by the Subject that have been granted.
1830
- }
1831
-
1832
- begin
1833
- # Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client
1834
- api_instance.revoke_consent_sessions(subject, opts)
1835
- rescue OryHydraClient::ApiError => e
1836
- puts "Error when calling AdminApi->revoke_consent_sessions: #{e}"
1837
- end
1838
- ```
1839
-
1840
- #### Using the revoke_consent_sessions_with_http_info variant
1841
-
1842
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1843
-
1844
- > <Array(nil, Integer, Hash)> revoke_consent_sessions_with_http_info(subject, opts)
1845
-
1846
- ```ruby
1847
- begin
1848
- # Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client
1849
- data, status_code, headers = api_instance.revoke_consent_sessions_with_http_info(subject, opts)
1850
- p status_code # => 2xx
1851
- p headers # => { ... }
1852
- p data # => nil
1853
- rescue OryHydraClient::ApiError => e
1854
- puts "Error when calling AdminApi->revoke_consent_sessions_with_http_info: #{e}"
1855
- end
1856
- ```
1857
-
1858
- ### Parameters
1859
-
1860
- | Name | Type | Description | Notes |
1861
- | ---- | ---- | ----------- | ----- |
1862
- | **subject** | **String** | The subject (Subject) who&#39;s consent sessions should be deleted. | |
1863
- | **client** | **String** | If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID | [optional] |
1864
- | **all** | **Boolean** | If set to &#x60;?all&#x3D;true&#x60;, deletes all consent sessions by the Subject that have been granted. | [optional] |
1865
-
1866
- ### Return type
1867
-
1868
- nil (empty response body)
1869
-
1870
- ### Authorization
1871
-
1872
- No authorization required
1873
-
1874
- ### HTTP request headers
1875
-
1876
- - **Content-Type**: Not defined
1877
- - **Accept**: application/json
1878
-
1879
-
1880
- ## trust_jwt_grant_issuer
1881
-
1882
- > <TrustedJwtGrantIssuer> trust_jwt_grant_issuer(opts)
1883
-
1884
- Trust an OAuth2 JWT Bearer Grant Type Issuer
1885
-
1886
- 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).
1887
-
1888
- ### Examples
1889
-
1890
- ```ruby
1891
- require 'time'
1892
- require 'ory-hydra-client'
1893
-
1894
- api_instance = OryHydraClient::AdminApi.new
1895
- opts = {
1896
- trust_jwt_grant_issuer_body: OryHydraClient::TrustJwtGrantIssuerBody.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"], subject: 'mike@example.com'}) # TrustJwtGrantIssuerBody |
1897
- }
1898
-
1899
- begin
1900
- # Trust an OAuth2 JWT Bearer Grant Type Issuer
1901
- result = api_instance.trust_jwt_grant_issuer(opts)
1902
- p result
1903
- rescue OryHydraClient::ApiError => e
1904
- puts "Error when calling AdminApi->trust_jwt_grant_issuer: #{e}"
1905
- end
1906
- ```
1907
-
1908
- #### Using the trust_jwt_grant_issuer_with_http_info variant
1909
-
1910
- This returns an Array which contains the response data, status code and headers.
1911
-
1912
- > <Array(<TrustedJwtGrantIssuer>, Integer, Hash)> trust_jwt_grant_issuer_with_http_info(opts)
1913
-
1914
- ```ruby
1915
- begin
1916
- # Trust an OAuth2 JWT Bearer Grant Type Issuer
1917
- data, status_code, headers = api_instance.trust_jwt_grant_issuer_with_http_info(opts)
1918
- p status_code # => 2xx
1919
- p headers # => { ... }
1920
- p data # => <TrustedJwtGrantIssuer>
1921
- rescue OryHydraClient::ApiError => e
1922
- puts "Error when calling AdminApi->trust_jwt_grant_issuer_with_http_info: #{e}"
1923
- end
1924
- ```
1925
-
1926
- ### Parameters
1927
-
1928
- | Name | Type | Description | Notes |
1929
- | ---- | ---- | ----------- | ----- |
1930
- | **trust_jwt_grant_issuer_body** | [**TrustJwtGrantIssuerBody**](TrustJwtGrantIssuerBody.md) | | [optional] |
1931
-
1932
- ### Return type
1933
-
1934
- [**TrustedJwtGrantIssuer**](TrustedJwtGrantIssuer.md)
1935
-
1936
- ### Authorization
1937
-
1938
- No authorization required
1939
-
1940
- ### HTTP request headers
1941
-
1942
- - **Content-Type**: application/json
1943
- - **Accept**: application/json
1944
-
1945
-
1946
- ## update_json_web_key
1947
-
1948
- > <JSONWebKey> update_json_web_key(kid, set, opts)
1949
-
1950
- Update a JSON Web Key
1951
-
1952
- Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
1953
-
1954
- ### Examples
1955
-
1956
- ```ruby
1957
- require 'time'
1958
- require 'ory-hydra-client'
1959
-
1960
- api_instance = OryHydraClient::AdminApi.new
1961
- kid = 'kid_example' # String | The kid of the desired key
1962
- set = 'set_example' # String | The set
1963
- opts = {
1964
- json_web_key: OryHydraClient::JSONWebKey.new({alg: 'RS256', kid: '1603dfe0af8f4596', kty: 'RSA', use: 'sig'}) # JSONWebKey |
1965
- }
1966
-
1967
- begin
1968
- # Update a JSON Web Key
1969
- result = api_instance.update_json_web_key(kid, set, opts)
1970
- p result
1971
- rescue OryHydraClient::ApiError => e
1972
- puts "Error when calling AdminApi->update_json_web_key: #{e}"
1973
- end
1974
- ```
1975
-
1976
- #### Using the update_json_web_key_with_http_info variant
1977
-
1978
- This returns an Array which contains the response data, status code and headers.
1979
-
1980
- > <Array(<JSONWebKey>, Integer, Hash)> update_json_web_key_with_http_info(kid, set, opts)
1981
-
1982
- ```ruby
1983
- begin
1984
- # Update a JSON Web Key
1985
- data, status_code, headers = api_instance.update_json_web_key_with_http_info(kid, set, opts)
1986
- p status_code # => 2xx
1987
- p headers # => { ... }
1988
- p data # => <JSONWebKey>
1989
- rescue OryHydraClient::ApiError => e
1990
- puts "Error when calling AdminApi->update_json_web_key_with_http_info: #{e}"
1991
- end
1992
- ```
1993
-
1994
- ### Parameters
1995
-
1996
- | Name | Type | Description | Notes |
1997
- | ---- | ---- | ----------- | ----- |
1998
- | **kid** | **String** | The kid of the desired key | |
1999
- | **set** | **String** | The set | |
2000
- | **json_web_key** | [**JSONWebKey**](JSONWebKey.md) | | [optional] |
2001
-
2002
- ### Return type
2003
-
2004
- [**JSONWebKey**](JSONWebKey.md)
2005
-
2006
- ### Authorization
2007
-
2008
- No authorization required
2009
-
2010
- ### HTTP request headers
2011
-
2012
- - **Content-Type**: application/json
2013
- - **Accept**: application/json
2014
-
2015
-
2016
- ## update_json_web_key_set
2017
-
2018
- > <JSONWebKeySet> update_json_web_key_set(set, opts)
2019
-
2020
- Update a JSON Web Key Set
2021
-
2022
- Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.
2023
-
2024
- ### Examples
2025
-
2026
- ```ruby
2027
- require 'time'
2028
- require 'ory-hydra-client'
2029
-
2030
- api_instance = OryHydraClient::AdminApi.new
2031
- set = 'set_example' # String | The set
2032
- opts = {
2033
- json_web_key_set: OryHydraClient::JSONWebKeySet.new # JSONWebKeySet |
2034
- }
2035
-
2036
- begin
2037
- # Update a JSON Web Key Set
2038
- result = api_instance.update_json_web_key_set(set, opts)
2039
- p result
2040
- rescue OryHydraClient::ApiError => e
2041
- puts "Error when calling AdminApi->update_json_web_key_set: #{e}"
2042
- end
2043
- ```
2044
-
2045
- #### Using the update_json_web_key_set_with_http_info variant
2046
-
2047
- This returns an Array which contains the response data, status code and headers.
2048
-
2049
- > <Array(<JSONWebKeySet>, Integer, Hash)> update_json_web_key_set_with_http_info(set, opts)
2050
-
2051
- ```ruby
2052
- begin
2053
- # Update a JSON Web Key Set
2054
- data, status_code, headers = api_instance.update_json_web_key_set_with_http_info(set, opts)
2055
- p status_code # => 2xx
2056
- p headers # => { ... }
2057
- p data # => <JSONWebKeySet>
2058
- rescue OryHydraClient::ApiError => e
2059
- puts "Error when calling AdminApi->update_json_web_key_set_with_http_info: #{e}"
2060
- end
2061
- ```
2062
-
2063
- ### Parameters
2064
-
2065
- | Name | Type | Description | Notes |
2066
- | ---- | ---- | ----------- | ----- |
2067
- | **set** | **String** | The set | |
2068
- | **json_web_key_set** | [**JSONWebKeySet**](JSONWebKeySet.md) | | [optional] |
2069
-
2070
- ### Return type
2071
-
2072
- [**JSONWebKeySet**](JSONWebKeySet.md)
2073
-
2074
- ### Authorization
2075
-
2076
- No authorization required
2077
-
2078
- ### HTTP request headers
2079
-
2080
- - **Content-Type**: application/json
2081
- - **Accept**: application/json
2082
-
2083
-
2084
- ## update_o_auth2_client
2085
-
2086
- > <OAuth2Client> update_o_auth2_client(id, o_auth2_client)
2087
-
2088
- Update an OAuth 2.0 Client
2089
-
2090
- Update an existing OAuth 2.0 Client. 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.
2091
-
2092
- ### Examples
2093
-
2094
- ```ruby
2095
- require 'time'
2096
- require 'ory-hydra-client'
2097
-
2098
- api_instance = OryHydraClient::AdminApi.new
2099
- id = 'id_example' # String | The id of the OAuth 2.0 Client.
2100
- o_auth2_client = OryHydraClient::OAuth2Client.new # OAuth2Client |
2101
-
2102
- begin
2103
- # Update an OAuth 2.0 Client
2104
- result = api_instance.update_o_auth2_client(id, o_auth2_client)
2105
- p result
2106
- rescue OryHydraClient::ApiError => e
2107
- puts "Error when calling AdminApi->update_o_auth2_client: #{e}"
2108
- end
2109
- ```
2110
-
2111
- #### Using the update_o_auth2_client_with_http_info variant
2112
-
2113
- This returns an Array which contains the response data, status code and headers.
2114
-
2115
- > <Array(<OAuth2Client>, Integer, Hash)> update_o_auth2_client_with_http_info(id, o_auth2_client)
2116
-
2117
- ```ruby
2118
- begin
2119
- # Update an OAuth 2.0 Client
2120
- data, status_code, headers = api_instance.update_o_auth2_client_with_http_info(id, o_auth2_client)
2121
- p status_code # => 2xx
2122
- p headers # => { ... }
2123
- p data # => <OAuth2Client>
2124
- rescue OryHydraClient::ApiError => e
2125
- puts "Error when calling AdminApi->update_o_auth2_client_with_http_info: #{e}"
2126
- end
2127
- ```
2128
-
2129
- ### Parameters
2130
-
2131
- | Name | Type | Description | Notes |
2132
- | ---- | ---- | ----------- | ----- |
2133
- | **id** | **String** | The id of the OAuth 2.0 Client. | |
2134
- | **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | | |
2135
-
2136
- ### Return type
2137
-
2138
- [**OAuth2Client**](OAuth2Client.md)
2139
-
2140
- ### Authorization
2141
-
2142
- No authorization required
2143
-
2144
- ### HTTP request headers
2145
-
2146
- - **Content-Type**: application/json
2147
- - **Accept**: application/json
2148
-