ory-hydra-client 1.11.8 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (596) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +16 -16
  3. data/README.md +91 -87
  4. data/docs/{AcceptConsentRequest.md → AcceptOAuth2ConsentRequest.md} +3 -3
  5. data/docs/{ConsentRequestSession.md → AcceptOAuth2ConsentRequestSession.md} +2 -2
  6. data/docs/{AcceptLoginRequest.md → AcceptOAuth2LoginRequest.md} +2 -2
  7. data/docs/CreateJsonWebKeySet.md +22 -0
  8. data/docs/ErrorOAuth2.md +26 -0
  9. data/docs/GenericError.md +1 -1
  10. data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
  11. data/docs/{OAuth2TokenIntrospection.md → IntrospectedOAuth2Token.md} +2 -2
  12. data/docs/{InlineResponse200.md → IsReady200Response.md} +2 -2
  13. data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
  14. data/docs/JsonPatch.md +24 -0
  15. data/docs/{JSONWebKey.md → JsonWebKey.md} +2 -2
  16. data/docs/JsonWebKeySet.md +18 -0
  17. data/docs/JwkApi.md +476 -0
  18. data/docs/MetadataApi.md +8 -8
  19. data/docs/OAuth2Api.md +1901 -0
  20. data/docs/OAuth2Client.md +47 -27
  21. data/docs/OAuth2ClientTokenLifespans.md +36 -0
  22. data/docs/{ConsentRequest.md → OAuth2ConsentRequest.md} +3 -3
  23. data/docs/{OpenIDConnectContext.md → OAuth2ConsentRequestOpenIDConnectContext.md} +2 -2
  24. data/docs/OAuth2ConsentSession.md +32 -0
  25. data/docs/OAuth2ConsentSessionExpiresAt.md +26 -0
  26. data/docs/{LoginRequest.md → OAuth2LoginRequest.md} +3 -3
  27. data/docs/{LogoutRequest.md → OAuth2LogoutRequest.md} +2 -2
  28. data/docs/{CompletedRequest.md → OAuth2RedirectTo.md} +3 -3
  29. data/docs/{OauthTokenResponse.md → OAuth2TokenExchange.md} +3 -3
  30. data/docs/OidcApi.md +473 -0
  31. data/docs/OidcConfiguration.md +74 -0
  32. data/docs/{UserinfoResponse.md → OidcUserInfo.md} +2 -2
  33. data/docs/Pagination.md +20 -0
  34. data/docs/PaginationHeaders.md +20 -0
  35. data/docs/{RejectRequest.md → RejectOAuth2Request.md} +2 -2
  36. data/docs/TokenPagination.md +20 -0
  37. data/docs/TokenPaginationHeaders.md +20 -0
  38. data/docs/TokenPaginationRequestParameters.md +20 -0
  39. data/docs/TokenPaginationResponseHeaders.md +20 -0
  40. data/docs/{TrustJwtGrantIssuerBody.md → TrustOAuth2JwtGrantIssuer.md} +3 -3
  41. data/docs/{TrustedJwtGrantIssuer.md → TrustedOAuth2JwtGrantIssuer.md} +3 -3
  42. data/docs/{TrustedJsonWebKey.md → TrustedOAuth2JwtGrantJsonWebKey.md} +2 -2
  43. data/docs/WellknownApi.md +69 -0
  44. data/lib/ory-hydra-client/api/jwk_api.rb +506 -0
  45. data/lib/ory-hydra-client/api/metadata_api.rb +8 -8
  46. data/lib/ory-hydra-client/api/o_auth2_api.rb +1926 -0
  47. data/lib/ory-hydra-client/api/oidc_api.rb +459 -0
  48. data/lib/ory-hydra-client/api/wellknown_api.rb +79 -0
  49. data/lib/ory-hydra-client/api_client.rb +5 -3
  50. data/lib/ory-hydra-client/api_error.rb +2 -2
  51. data/lib/ory-hydra-client/configuration.rb +11 -3
  52. data/lib/ory-hydra-client/models/{accept_consent_request.rb → accept_o_auth2_consent_request.rb} +7 -6
  53. data/lib/ory-hydra-client/models/{consent_request_session.rb → accept_o_auth2_consent_request_session.rb} +6 -5
  54. data/lib/ory-hydra-client/models/{accept_login_request.rb → accept_o_auth2_login_request.rb} +7 -5
  55. data/lib/ory-hydra-client/models/{json_web_key_set_generator_request.rb → create_json_web_key_set.rb} +10 -8
  56. data/lib/ory-hydra-client/models/{json_error.rb → error_o_auth2.rb} +22 -11
  57. data/lib/ory-hydra-client/models/generic_error.rb +6 -6
  58. data/lib/ory-hydra-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
  59. data/lib/ory-hydra-client/models/health_not_ready_status.rb +3 -2
  60. data/lib/ory-hydra-client/models/health_status.rb +3 -2
  61. data/lib/ory-hydra-client/models/{o_auth2_token_introspection.rb → introspected_o_auth2_token.rb} +7 -6
  62. data/lib/ory-hydra-client/models/{inline_response200.rb → is_ready200_response.rb} +6 -5
  63. data/lib/ory-hydra-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
  64. data/lib/ory-hydra-client/models/{patch_document.rb → json_patch.rb} +11 -9
  65. data/lib/ory-hydra-client/models/json_web_key.rb +6 -6
  66. data/lib/ory-hydra-client/models/json_web_key_set.rb +9 -8
  67. data/lib/ory-hydra-client/models/o_auth2_client.rb +296 -38
  68. data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +481 -0
  69. data/lib/ory-hydra-client/models/{consent_request.rb → o_auth2_consent_request.rb} +8 -6
  70. data/lib/ory-hydra-client/models/{open_id_connect_context.rb → o_auth2_consent_request_open_id_connect_context.rb} +6 -5
  71. data/lib/ory-hydra-client/models/{previous_consent_session.rb → o_auth2_consent_session.rb} +21 -11
  72. data/lib/ory-hydra-client/models/{oauth2_token_response.rb → o_auth2_consent_session_expires_at.rb} +27 -36
  73. data/lib/ory-hydra-client/models/{login_request.rb → o_auth2_login_request.rb} +7 -6
  74. data/lib/ory-hydra-client/models/{logout_request.rb → o_auth2_logout_request.rb} +6 -5
  75. data/lib/ory-hydra-client/models/{completed_request.rb → o_auth2_redirect_to.rb} +8 -6
  76. data/lib/ory-hydra-client/models/{oauth_token_response.rb → o_auth2_token_exchange.rb} +8 -7
  77. data/lib/ory-hydra-client/models/{well_known.rb → oidc_configuration.rb} +69 -34
  78. data/lib/ory-hydra-client/models/{userinfo_response.rb → oidc_user_info.rb} +7 -6
  79. data/lib/ory-hydra-client/models/pagination.rb +264 -0
  80. data/lib/ory-hydra-client/models/pagination_headers.rb +230 -0
  81. data/lib/ory-hydra-client/models/{reject_request.rb → reject_o_auth2_request.rb} +6 -5
  82. data/lib/ory-hydra-client/models/token_pagination.rb +264 -0
  83. data/lib/ory-hydra-client/models/{request_was_handled_response.rb → token_pagination_headers.rb} +24 -18
  84. data/lib/ory-hydra-client/models/{flush_inactive_o_auth2_tokens_request.rb → token_pagination_request_parameters.rb} +59 -13
  85. data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +231 -0
  86. data/lib/ory-hydra-client/models/{trust_jwt_grant_issuer_body.rb → trust_o_auth2_jwt_grant_issuer.rb} +8 -6
  87. data/lib/ory-hydra-client/models/{trusted_jwt_grant_issuer.rb → trusted_o_auth2_jwt_grant_issuer.rb} +8 -6
  88. data/lib/ory-hydra-client/models/{trusted_json_web_key.rb → trusted_o_auth2_jwt_grant_json_web_key.rb} +7 -5
  89. data/lib/ory-hydra-client/models/version.rb +3 -2
  90. data/lib/ory-hydra-client/version.rb +3 -3
  91. data/lib/ory-hydra-client.rb +37 -33
  92. data/ory-hydra-client.gemspec +2 -2
  93. data/spec/api/jwk_api_spec.rb +125 -0
  94. data/spec/api/metadata_api_spec.rb +4 -4
  95. data/spec/api/o_auth2_api_spec.rb +391 -0
  96. data/spec/api/oidc_api_spec.rb +117 -0
  97. data/spec/api/wellknown_api_spec.rb +46 -0
  98. data/spec/api_client_spec.rb +2 -2
  99. data/spec/configuration_spec.rb +2 -2
  100. data/spec/models/{consent_request_session_spec.rb → accept_o_auth2_consent_request_session_spec.rb} +8 -8
  101. data/spec/models/{accept_consent_request_spec.rb → accept_o_auth2_consent_request_spec.rb} +8 -8
  102. data/spec/models/{accept_login_request_spec.rb → accept_o_auth2_login_request_spec.rb} +8 -8
  103. data/spec/models/{json_web_key_set_generator_request_spec.rb → create_json_web_key_set_spec.rb} +8 -8
  104. data/spec/models/{reject_request_spec.rb → error_o_auth2_spec.rb} +8 -8
  105. data/spec/models/generic_error_spec.rb +2 -2
  106. data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
  107. data/spec/models/health_not_ready_status_spec.rb +2 -2
  108. data/spec/models/health_status_spec.rb +2 -2
  109. data/spec/models/{o_auth2_token_introspection_spec.rb → introspected_o_auth2_token_spec.rb} +8 -8
  110. data/spec/models/{inline_response200_spec.rb → is_ready200_response_spec.rb} +8 -8
  111. data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
  112. data/spec/models/{patch_document_spec.rb → json_patch_spec.rb} +8 -8
  113. data/spec/models/json_web_key_set_spec.rb +8 -8
  114. data/spec/models/json_web_key_spec.rb +8 -8
  115. data/spec/models/o_auth2_client_spec.rb +62 -2
  116. data/spec/models/o_auth2_client_token_lifespans_spec.rb +88 -0
  117. data/spec/models/{open_id_connect_context_spec.rb → o_auth2_consent_request_open_id_connect_context_spec.rb} +8 -8
  118. data/spec/models/{consent_request_spec.rb → o_auth2_consent_request_spec.rb} +8 -8
  119. data/spec/models/{oauth2_token_response_spec.rb → o_auth2_consent_session_expires_at_spec.rb} +11 -17
  120. data/spec/models/{previous_consent_session_spec.rb → o_auth2_consent_session_spec.rb} +14 -8
  121. data/spec/models/{login_request_spec.rb → o_auth2_login_request_spec.rb} +8 -8
  122. data/spec/models/{logout_request_spec.rb → o_auth2_logout_request_spec.rb} +8 -8
  123. data/spec/models/{completed_request_spec.rb → o_auth2_redirect_to_spec.rb} +8 -8
  124. data/spec/models/{oauth_token_response_spec.rb → o_auth2_token_exchange_spec.rb} +8 -8
  125. data/spec/models/{well_known_spec.rb → oidc_configuration_spec.rb} +20 -8
  126. data/spec/models/{userinfo_response_spec.rb → oidc_user_info_spec.rb} +8 -8
  127. data/spec/models/pagination_headers_spec.rb +40 -0
  128. data/spec/models/pagination_spec.rb +40 -0
  129. data/spec/models/{json_error_spec.rb → reject_o_auth2_request_spec.rb} +14 -8
  130. data/spec/models/token_pagination_headers_spec.rb +40 -0
  131. data/spec/models/token_pagination_request_parameters_spec.rb +40 -0
  132. data/spec/models/token_pagination_response_headers_spec.rb +40 -0
  133. data/spec/models/token_pagination_spec.rb +40 -0
  134. data/spec/models/{trust_jwt_grant_issuer_body_spec.rb → trust_o_auth2_jwt_grant_issuer_spec.rb} +8 -8
  135. data/spec/models/{trusted_jwt_grant_issuer_spec.rb → trusted_o_auth2_jwt_grant_issuer_spec.rb} +8 -8
  136. data/spec/models/{trusted_json_web_key_spec.rb → trusted_o_auth2_jwt_grant_json_web_key_spec.rb} +8 -8
  137. data/spec/models/version_spec.rb +2 -2
  138. data/spec/spec_helper.rb +2 -2
  139. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  140. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.6.gem +0 -0
  141. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.12.0.gem +0 -0
  142. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  143. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  144. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  145. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.12.0.gem +0 -0
  146. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
  147. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  148. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  149. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/mkmf.log +10 -10
  150. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +4 -4
  160. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +4 -4
  161. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +4 -4
  162. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/LICENSE.txt +0 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-parse +0 -0
  164. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-rewrite +0 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/gauntlet_parser.rb +0 -0
  166. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/all.rb +0 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/node.rb +0 -0
  168. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/processor.rb +0 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/base.rb +0 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/builders/default.rb +0 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/clobbering_error.rb +0 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/color.rb +0 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/context.rb +0 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current.rb +0 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current_arg_stack.rb +0 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/deprecation.rb +0 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic/engine.rb +0 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic.rb +0 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/dedenter.rb +0 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/explanation.rb +0 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/literal.rb +0 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/stack_state.rb +0 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer.rb +0 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/macruby.rb +0 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/max_numparam_stack.rb +0 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/messages.rb +0 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/meta.rb +0 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rewriter.rb +0 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby18.rb +0 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby19.rb +0 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby20.rb +0 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby21.rb +0 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby22.rb +0 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby23.rb +0 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby24.rb +0 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby25.rb +0 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby26.rb +0 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby27.rb +0 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby28.rb +0 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby30.rb +0 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby31.rb +4 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby32.rb +4 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rubymotion.rb +0 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_parse.rb +0 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner.rb +0 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/buffer.rb +0 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment/associator.rb +0 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment.rb +0 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/collection.rb +0 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/condition.rb +0 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/constant.rb +0 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/definition.rb +0 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/for.rb +0 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/heredoc.rb +0 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/index.rb +0 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/keyword.rb +0 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/method_definition.rb +0 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/operator.rb +0 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/rescue_body.rb +0 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/send.rb +0 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/ternary.rb +0 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/variable.rb +0 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map.rb +0 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/range.rb +0 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter/action.rb +0 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter.rb +0 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter.rb +0 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/static_environment.rb +0 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/syntax_error.rb +0 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/tree_rewriter.rb +0 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/variables_stack.rb +0 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/version.rb +1 -1
  236. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser.rb +0 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/parser.gemspec +0 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/.gitignore +0 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/Gemfile +0 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/LICENSE +0 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/Mavenfile +0 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/README.md +0 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/Rakefile +0 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/bin/console +0 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/bin/setup +0 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/.sitearchdir.time +0 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/Makefile +4 -4
  248. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/api.o +0 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/depend +0 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/dumper.o +0 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/emitter.o +0 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/extconf.rb +0 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/loader.o +0 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/parser.o +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych.c +0 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych.h +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych.o +0 -0
  258. 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
  259. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_emitter.c +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_emitter.h +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_emitter.o +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_parser.c +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_parser.h +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_parser.o +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_to_ruby.c +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_to_ruby.h +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_to_ruby.o +0 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_yaml_tree.c +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_yaml_tree.h +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/psych_yaml_tree.o +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/reader.o +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/scanner.o +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/writer.o +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/LICENSE +0 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/api.c +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/config.h +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/dumper.c +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/emitter.c +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/loader.c +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/parser.c +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/reader.c +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/scanner.c +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/writer.c +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/yaml.h +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/ext/psych/yaml/yaml_private.h +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/class_loader.rb +0 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/coder.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/core_ext.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/exception.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/handler.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/handlers/document_stream.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/handlers/recorder.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/ruby_events.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/stream.rb +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/tree_builder.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/json/yaml_events.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/alias.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/document.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/mapping.rb +0 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/node.rb +2 -2
  301. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/scalar.rb +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/sequence.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes/stream.rb +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/nodes.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/omap.rb +0 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/parser.rb +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/scalar_scanner.rb +18 -11
  308. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/set.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/stream.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/streaming.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/syntax_error.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/tree_builder.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/versions.rb +2 -2
  314. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/depth_first.rb +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/emitter.rb +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/json_tree.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/to_ruby.rb +5 -3
  318. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/visitor.rb +0 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors/yaml_tree.rb +8 -8
  320. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/visitors.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych/y.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/lib/psych.rb +7 -7
  323. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3/ext/psych → psych-4.0.6/lib}/psych.so +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{psych-4.0.3 → psych-4.0.6}/psych.gemspec +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/LICENSE.md +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/README.md +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec/version.rb +1 -1
  328. data/vendor/bundle/ruby/2.5.0/gems/{rspec-3.11.0 → rspec-3.12.0}/lib/rspec.rb +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.document +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/.yardopts +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/Changelog.md +6 -1
  332. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/LICENSE.md +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/README.md +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/exe/rspec +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/autorun.rb +0 -0
  336. 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
  337. 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
  338. 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
  339. 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
  340. 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
  341. 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
  342. 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
  343. 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
  344. 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
  345. 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
  346. 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
  347. 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
  348. 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
  349. 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
  350. 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
  351. 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
  352. 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
  353. 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
  354. 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
  355. 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
  356. 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
  357. 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
  358. 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
  359. 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
  360. 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
  361. 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
  362. 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
  363. 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
  364. 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
  365. 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
  366. 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
  367. 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
  368. 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
  369. 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
  370. 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
  371. 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
  372. 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
  373. 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
  374. 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
  375. 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
  376. 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
  377. 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
  378. 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
  379. 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
  380. 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
  381. 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
  382. 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
  383. 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
  384. 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
  385. 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
  386. 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
  387. 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
  388. 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
  389. 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
  390. 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
  391. 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
  392. 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
  393. 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
  394. 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
  395. 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
  396. 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
  397. 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
  398. 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
  399. 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
  400. 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
  401. 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
  402. 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
  403. 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
  404. 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
  405. 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
  406. 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
  407. 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
  408. 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
  409. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.11.0 → rspec-core-3.12.0}/lib/rspec/core.rb +0 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/.document +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/.yardopts +0 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/Changelog.md +19 -1
  413. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/LICENSE.md +0 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/README.md +0 -0
  415. 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
  416. 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
  417. 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
  418. 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
  419. 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
  420. 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
  421. 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
  422. 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
  423. 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
  424. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/expectations.rb +0 -0
  425. 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
  426. 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
  427. 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
  428. 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
  429. 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
  430. 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
  431. 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
  432. 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
  433. 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
  434. 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
  435. 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
  436. 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
  437. 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
  438. 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
  439. 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
  440. 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
  441. 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
  442. 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
  443. 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
  444. 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
  445. 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
  446. 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
  447. 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
  448. 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
  449. 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
  450. 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
  451. 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
  452. 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
  453. 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
  454. 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
  455. 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
  456. 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
  457. 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
  458. 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
  459. 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
  460. 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
  461. 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
  462. 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
  463. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.11.0 → rspec-expectations-3.12.0}/lib/rspec/matchers.rb +6 -3
  464. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.document +0 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/.yardopts +0 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/Changelog.md +20 -1
  467. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/LICENSE.md +0 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/README.md +0 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/any_instance.rb +0 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_list_matcher.rb +0 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/argument_matchers.rb +0 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/configuration.rb +0 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/error_generator.rb +11 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/example_methods.rb +0 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/marshal_extension.rb +0 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive.rb +0 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_chain.rb +0 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/message_expectation.rb +0 -2
  493. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_double.rb +0 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/method_reference.rb +14 -2
  495. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/minitest_integration.rb +0 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/mutate_const.rb +0 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/object_reference.rb +0 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/order_group.rb +0 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/proxy.rb +0 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/space.rb +0 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/standalone.rb +0 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/syntax.rb +0 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/targets.rb +0 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/test_double.rb +0 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_double.rb +0 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_message_expectation.rb +1 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks/version.rb +1 -1
  509. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.1 → rspec-mocks-3.12.0}/lib/rspec/mocks.rb +0 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/Changelog.md +15 -1
  511. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/LICENSE.md +0 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/README.md +0 -0
  513. 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
  514. 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
  515. 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
  516. 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
  517. 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
  518. 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
  519. 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
  520. 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
  521. 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
  522. 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
  523. 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
  524. 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
  525. 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
  526. 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
  527. 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
  528. 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
  529. 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
  530. 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
  531. 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
  532. 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
  533. 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
  534. 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
  535. 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
  536. 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
  537. 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
  538. 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
  539. 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
  540. 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
  541. 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
  542. 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
  543. 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
  544. 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
  545. data/vendor/bundle/ruby/2.5.0/gems/{rspec-support-3.11.0 → rspec-support-3.12.0}/lib/rspec/support.rb +0 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/README.md +0 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/.sitearchdir.time +0 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/Makefile +4 -4
  549. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/extconf.rb +0 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.c +1 -1
  551. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.o +0 -0
  552. 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
  553. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/lib/stringio.so +0 -0
  554. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.2.0.gemspec → parser-3.1.2.1.gemspec} +4 -4
  555. data/vendor/bundle/ruby/2.5.0/specifications/{psych-4.0.3.gemspec → psych-4.0.6.gemspec} +3 -3
  556. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-3.11.0.gemspec → rspec-3.12.0.gemspec} +13 -13
  557. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.11.0.gemspec → rspec-core-3.12.0.gemspec} +11 -11
  558. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.11.0.gemspec → rspec-expectations-3.12.0.gemspec} +8 -8
  559. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.11.1.gemspec → rspec-mocks-3.12.0.gemspec} +8 -8
  560. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-support-3.11.0.gemspec → rspec-support-3.12.0.gemspec} +5 -5
  561. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.1.gemspec → stringio-3.0.2.gemspec} +5 -5
  562. metadata +560 -544
  563. data/docs/AdminApi.md +0 -2154
  564. data/docs/FlushInactiveOAuth2TokensRequest.md +0 -18
  565. data/docs/FlushLoginConsentRequest.md +0 -18
  566. data/docs/JSONWebKeySet.md +0 -18
  567. data/docs/JsonError.md +0 -24
  568. data/docs/JsonWebKeySetGeneratorRequest.md +0 -22
  569. data/docs/Oauth2TokenResponse.md +0 -28
  570. data/docs/PatchDocument.md +0 -24
  571. data/docs/PreviousConsentSession.md +0 -30
  572. data/docs/PublicApi.md +0 -738
  573. data/docs/RefreshTokenHookRequest.md +0 -24
  574. data/docs/RefreshTokenHookResponse.md +0 -18
  575. data/docs/RequestWasHandledResponse.md +0 -18
  576. data/docs/WellKnown.md +0 -70
  577. data/lib/ory-hydra-client/api/admin_api.rb +0 -2184
  578. data/lib/ory-hydra-client/api/public_api.rb +0 -723
  579. data/lib/ory-hydra-client/models/flush_login_consent_request.rb +0 -219
  580. data/lib/ory-hydra-client/models/refresh_token_hook_request.rb +0 -253
  581. data/lib/ory-hydra-client/models/refresh_token_hook_response.rb +0 -218
  582. data/spec/api/admin_api_spec.rb +0 -442
  583. data/spec/api/public_api_spec.rb +0 -167
  584. data/spec/models/flush_inactive_o_auth2_tokens_request_spec.rb +0 -34
  585. data/spec/models/flush_login_consent_request_spec.rb +0 -34
  586. data/spec/models/refresh_token_hook_request_spec.rb +0 -52
  587. data/spec/models/refresh_token_hook_response_spec.rb +0 -34
  588. data/spec/models/request_was_handled_response_spec.rb +0 -34
  589. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.0.gem +0 -0
  590. data/vendor/bundle/ruby/2.5.0/cache/psych-4.0.3.gem +0 -0
  591. data/vendor/bundle/ruby/2.5.0/cache/rspec-3.11.0.gem +0 -0
  592. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.11.0.gem +0 -0
  593. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.11.0.gem +0 -0
  594. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
  595. data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.11.0.gem +0 -0
  596. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
data/docs/AdminApi.md DELETED
@@ -1,2154 +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, opts)
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
- opts = {
1362
- limit: 789, # Integer | The maximum amount of consent sessions to be returned, upper bound is 500 sessions.
1363
- offset: 789 # Integer | The offset from where to start looking.
1364
- }
1365
-
1366
- begin
1367
- # Lists All Consent Sessions of a Subject
1368
- result = api_instance.list_subject_consent_sessions(subject, opts)
1369
- p result
1370
- rescue OryHydraClient::ApiError => e
1371
- puts "Error when calling AdminApi->list_subject_consent_sessions: #{e}"
1372
- end
1373
- ```
1374
-
1375
- #### Using the list_subject_consent_sessions_with_http_info variant
1376
-
1377
- This returns an Array which contains the response data, status code and headers.
1378
-
1379
- > <Array(<Array<PreviousConsentSession>>, Integer, Hash)> list_subject_consent_sessions_with_http_info(subject, opts)
1380
-
1381
- ```ruby
1382
- begin
1383
- # Lists All Consent Sessions of a Subject
1384
- data, status_code, headers = api_instance.list_subject_consent_sessions_with_http_info(subject, opts)
1385
- p status_code # => 2xx
1386
- p headers # => { ... }
1387
- p data # => <Array<PreviousConsentSession>>
1388
- rescue OryHydraClient::ApiError => e
1389
- puts "Error when calling AdminApi->list_subject_consent_sessions_with_http_info: #{e}"
1390
- end
1391
- ```
1392
-
1393
- ### Parameters
1394
-
1395
- | Name | Type | Description | Notes |
1396
- | ---- | ---- | ----------- | ----- |
1397
- | **subject** | **String** | | |
1398
- | **limit** | **Integer** | The maximum amount of consent sessions to be returned, upper bound is 500 sessions. | [optional] |
1399
- | **offset** | **Integer** | The offset from where to start looking. | [optional] |
1400
-
1401
- ### Return type
1402
-
1403
- [**Array&lt;PreviousConsentSession&gt;**](PreviousConsentSession.md)
1404
-
1405
- ### Authorization
1406
-
1407
- No authorization required
1408
-
1409
- ### HTTP request headers
1410
-
1411
- - **Content-Type**: Not defined
1412
- - **Accept**: application/json
1413
-
1414
-
1415
- ## list_trusted_jwt_grant_issuers
1416
-
1417
- > <Array<TrustedJwtGrantIssuer>> list_trusted_jwt_grant_issuers(opts)
1418
-
1419
- List Trusted OAuth2 JWT Bearer Grant Type Issuers
1420
-
1421
- Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.
1422
-
1423
- ### Examples
1424
-
1425
- ```ruby
1426
- require 'time'
1427
- require 'ory-hydra-client'
1428
-
1429
- api_instance = OryHydraClient::AdminApi.new
1430
- opts = {
1431
- issuer: 'issuer_example', # String | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.
1432
- limit: 789, # Integer | The maximum amount of policies returned, upper bound is 500 policies
1433
- offset: 789 # Integer | The offset from where to start looking.
1434
- }
1435
-
1436
- begin
1437
- # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1438
- result = api_instance.list_trusted_jwt_grant_issuers(opts)
1439
- p result
1440
- rescue OryHydraClient::ApiError => e
1441
- puts "Error when calling AdminApi->list_trusted_jwt_grant_issuers: #{e}"
1442
- end
1443
- ```
1444
-
1445
- #### Using the list_trusted_jwt_grant_issuers_with_http_info variant
1446
-
1447
- This returns an Array which contains the response data, status code and headers.
1448
-
1449
- > <Array(<Array<TrustedJwtGrantIssuer>>, Integer, Hash)> list_trusted_jwt_grant_issuers_with_http_info(opts)
1450
-
1451
- ```ruby
1452
- begin
1453
- # List Trusted OAuth2 JWT Bearer Grant Type Issuers
1454
- data, status_code, headers = api_instance.list_trusted_jwt_grant_issuers_with_http_info(opts)
1455
- p status_code # => 2xx
1456
- p headers # => { ... }
1457
- p data # => <Array<TrustedJwtGrantIssuer>>
1458
- rescue OryHydraClient::ApiError => e
1459
- puts "Error when calling AdminApi->list_trusted_jwt_grant_issuers_with_http_info: #{e}"
1460
- end
1461
- ```
1462
-
1463
- ### Parameters
1464
-
1465
- | Name | Type | Description | Notes |
1466
- | ---- | ---- | ----------- | ----- |
1467
- | **issuer** | **String** | If optional \&quot;issuer\&quot; is supplied, only jwt-bearer grants with this issuer will be returned. | [optional] |
1468
- | **limit** | **Integer** | The maximum amount of policies returned, upper bound is 500 policies | [optional] |
1469
- | **offset** | **Integer** | The offset from where to start looking. | [optional] |
1470
-
1471
- ### Return type
1472
-
1473
- [**Array&lt;TrustedJwtGrantIssuer&gt;**](TrustedJwtGrantIssuer.md)
1474
-
1475
- ### Authorization
1476
-
1477
- No authorization required
1478
-
1479
- ### HTTP request headers
1480
-
1481
- - **Content-Type**: Not defined
1482
- - **Accept**: application/json
1483
-
1484
-
1485
- ## patch_o_auth2_client
1486
-
1487
- > <OAuth2Client> patch_o_auth2_client(id, patch_document)
1488
-
1489
- Patch an OAuth 2.0 Client
1490
-
1491
- 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.
1492
-
1493
- ### Examples
1494
-
1495
- ```ruby
1496
- require 'time'
1497
- require 'ory-hydra-client'
1498
-
1499
- api_instance = OryHydraClient::AdminApi.new
1500
- id = 'id_example' # String | The id of the OAuth 2.0 Client.
1501
- patch_document = [OryHydraClient::PatchDocument.new({op: '"replace"', path: '"/name"'})] # Array<PatchDocument> |
1502
-
1503
- begin
1504
- # Patch an OAuth 2.0 Client
1505
- result = api_instance.patch_o_auth2_client(id, patch_document)
1506
- p result
1507
- rescue OryHydraClient::ApiError => e
1508
- puts "Error when calling AdminApi->patch_o_auth2_client: #{e}"
1509
- end
1510
- ```
1511
-
1512
- #### Using the patch_o_auth2_client_with_http_info variant
1513
-
1514
- This returns an Array which contains the response data, status code and headers.
1515
-
1516
- > <Array(<OAuth2Client>, Integer, Hash)> patch_o_auth2_client_with_http_info(id, patch_document)
1517
-
1518
- ```ruby
1519
- begin
1520
- # Patch an OAuth 2.0 Client
1521
- data, status_code, headers = api_instance.patch_o_auth2_client_with_http_info(id, patch_document)
1522
- p status_code # => 2xx
1523
- p headers # => { ... }
1524
- p data # => <OAuth2Client>
1525
- rescue OryHydraClient::ApiError => e
1526
- puts "Error when calling AdminApi->patch_o_auth2_client_with_http_info: #{e}"
1527
- end
1528
- ```
1529
-
1530
- ### Parameters
1531
-
1532
- | Name | Type | Description | Notes |
1533
- | ---- | ---- | ----------- | ----- |
1534
- | **id** | **String** | The id of the OAuth 2.0 Client. | |
1535
- | **patch_document** | [**Array&lt;PatchDocument&gt;**](PatchDocument.md) | | |
1536
-
1537
- ### Return type
1538
-
1539
- [**OAuth2Client**](OAuth2Client.md)
1540
-
1541
- ### Authorization
1542
-
1543
- No authorization required
1544
-
1545
- ### HTTP request headers
1546
-
1547
- - **Content-Type**: application/json
1548
- - **Accept**: application/json
1549
-
1550
-
1551
- ## reject_consent_request
1552
-
1553
- > <CompletedRequest> reject_consent_request(consent_challenge, opts)
1554
-
1555
- Reject a Consent Request
1556
-
1557
- 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.
1558
-
1559
- ### Examples
1560
-
1561
- ```ruby
1562
- require 'time'
1563
- require 'ory-hydra-client'
1564
-
1565
- api_instance = OryHydraClient::AdminApi.new
1566
- consent_challenge = 'consent_challenge_example' # String |
1567
- opts = {
1568
- reject_request: OryHydraClient::RejectRequest.new # RejectRequest |
1569
- }
1570
-
1571
- begin
1572
- # Reject a Consent Request
1573
- result = api_instance.reject_consent_request(consent_challenge, opts)
1574
- p result
1575
- rescue OryHydraClient::ApiError => e
1576
- puts "Error when calling AdminApi->reject_consent_request: #{e}"
1577
- end
1578
- ```
1579
-
1580
- #### Using the reject_consent_request_with_http_info variant
1581
-
1582
- This returns an Array which contains the response data, status code and headers.
1583
-
1584
- > <Array(<CompletedRequest>, Integer, Hash)> reject_consent_request_with_http_info(consent_challenge, opts)
1585
-
1586
- ```ruby
1587
- begin
1588
- # Reject a Consent Request
1589
- data, status_code, headers = api_instance.reject_consent_request_with_http_info(consent_challenge, opts)
1590
- p status_code # => 2xx
1591
- p headers # => { ... }
1592
- p data # => <CompletedRequest>
1593
- rescue OryHydraClient::ApiError => e
1594
- puts "Error when calling AdminApi->reject_consent_request_with_http_info: #{e}"
1595
- end
1596
- ```
1597
-
1598
- ### Parameters
1599
-
1600
- | Name | Type | Description | Notes |
1601
- | ---- | ---- | ----------- | ----- |
1602
- | **consent_challenge** | **String** | | |
1603
- | **reject_request** | [**RejectRequest**](RejectRequest.md) | | [optional] |
1604
-
1605
- ### Return type
1606
-
1607
- [**CompletedRequest**](CompletedRequest.md)
1608
-
1609
- ### Authorization
1610
-
1611
- No authorization required
1612
-
1613
- ### HTTP request headers
1614
-
1615
- - **Content-Type**: application/json
1616
- - **Accept**: application/json
1617
-
1618
-
1619
- ## reject_login_request
1620
-
1621
- > <CompletedRequest> reject_login_request(login_challenge, opts)
1622
-
1623
- Reject a Login Request
1624
-
1625
- 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.
1626
-
1627
- ### Examples
1628
-
1629
- ```ruby
1630
- require 'time'
1631
- require 'ory-hydra-client'
1632
-
1633
- api_instance = OryHydraClient::AdminApi.new
1634
- login_challenge = 'login_challenge_example' # String |
1635
- opts = {
1636
- reject_request: OryHydraClient::RejectRequest.new # RejectRequest |
1637
- }
1638
-
1639
- begin
1640
- # Reject a Login Request
1641
- result = api_instance.reject_login_request(login_challenge, opts)
1642
- p result
1643
- rescue OryHydraClient::ApiError => e
1644
- puts "Error when calling AdminApi->reject_login_request: #{e}"
1645
- end
1646
- ```
1647
-
1648
- #### Using the reject_login_request_with_http_info variant
1649
-
1650
- This returns an Array which contains the response data, status code and headers.
1651
-
1652
- > <Array(<CompletedRequest>, Integer, Hash)> reject_login_request_with_http_info(login_challenge, opts)
1653
-
1654
- ```ruby
1655
- begin
1656
- # Reject a Login Request
1657
- data, status_code, headers = api_instance.reject_login_request_with_http_info(login_challenge, opts)
1658
- p status_code # => 2xx
1659
- p headers # => { ... }
1660
- p data # => <CompletedRequest>
1661
- rescue OryHydraClient::ApiError => e
1662
- puts "Error when calling AdminApi->reject_login_request_with_http_info: #{e}"
1663
- end
1664
- ```
1665
-
1666
- ### Parameters
1667
-
1668
- | Name | Type | Description | Notes |
1669
- | ---- | ---- | ----------- | ----- |
1670
- | **login_challenge** | **String** | | |
1671
- | **reject_request** | [**RejectRequest**](RejectRequest.md) | | [optional] |
1672
-
1673
- ### Return type
1674
-
1675
- [**CompletedRequest**](CompletedRequest.md)
1676
-
1677
- ### Authorization
1678
-
1679
- No authorization required
1680
-
1681
- ### HTTP request headers
1682
-
1683
- - **Content-Type**: application/json
1684
- - **Accept**: application/json
1685
-
1686
-
1687
- ## reject_logout_request
1688
-
1689
- > reject_logout_request(logout_challenge, opts)
1690
-
1691
- Reject a Logout Request
1692
-
1693
- 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.
1694
-
1695
- ### Examples
1696
-
1697
- ```ruby
1698
- require 'time'
1699
- require 'ory-hydra-client'
1700
-
1701
- api_instance = OryHydraClient::AdminApi.new
1702
- logout_challenge = 'logout_challenge_example' # String |
1703
- opts = {
1704
- reject_request: OryHydraClient::RejectRequest.new # RejectRequest |
1705
- }
1706
-
1707
- begin
1708
- # Reject a Logout Request
1709
- api_instance.reject_logout_request(logout_challenge, opts)
1710
- rescue OryHydraClient::ApiError => e
1711
- puts "Error when calling AdminApi->reject_logout_request: #{e}"
1712
- end
1713
- ```
1714
-
1715
- #### Using the reject_logout_request_with_http_info variant
1716
-
1717
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1718
-
1719
- > <Array(nil, Integer, Hash)> reject_logout_request_with_http_info(logout_challenge, opts)
1720
-
1721
- ```ruby
1722
- begin
1723
- # Reject a Logout Request
1724
- data, status_code, headers = api_instance.reject_logout_request_with_http_info(logout_challenge, opts)
1725
- p status_code # => 2xx
1726
- p headers # => { ... }
1727
- p data # => nil
1728
- rescue OryHydraClient::ApiError => e
1729
- puts "Error when calling AdminApi->reject_logout_request_with_http_info: #{e}"
1730
- end
1731
- ```
1732
-
1733
- ### Parameters
1734
-
1735
- | Name | Type | Description | Notes |
1736
- | ---- | ---- | ----------- | ----- |
1737
- | **logout_challenge** | **String** | | |
1738
- | **reject_request** | [**RejectRequest**](RejectRequest.md) | | [optional] |
1739
-
1740
- ### Return type
1741
-
1742
- nil (empty response body)
1743
-
1744
- ### Authorization
1745
-
1746
- No authorization required
1747
-
1748
- ### HTTP request headers
1749
-
1750
- - **Content-Type**: application/json, application/x-www-form-urlencoded
1751
- - **Accept**: application/json
1752
-
1753
-
1754
- ## revoke_authentication_session
1755
-
1756
- > revoke_authentication_session(subject)
1757
-
1758
- Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session
1759
-
1760
- 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.
1761
-
1762
- ### Examples
1763
-
1764
- ```ruby
1765
- require 'time'
1766
- require 'ory-hydra-client'
1767
-
1768
- api_instance = OryHydraClient::AdminApi.new
1769
- subject = 'subject_example' # String |
1770
-
1771
- begin
1772
- # Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session
1773
- api_instance.revoke_authentication_session(subject)
1774
- rescue OryHydraClient::ApiError => e
1775
- puts "Error when calling AdminApi->revoke_authentication_session: #{e}"
1776
- end
1777
- ```
1778
-
1779
- #### Using the revoke_authentication_session_with_http_info variant
1780
-
1781
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1782
-
1783
- > <Array(nil, Integer, Hash)> revoke_authentication_session_with_http_info(subject)
1784
-
1785
- ```ruby
1786
- begin
1787
- # Invalidates All Login Sessions of a Certain User Invalidates a Subject's Authentication Session
1788
- data, status_code, headers = api_instance.revoke_authentication_session_with_http_info(subject)
1789
- p status_code # => 2xx
1790
- p headers # => { ... }
1791
- p data # => nil
1792
- rescue OryHydraClient::ApiError => e
1793
- puts "Error when calling AdminApi->revoke_authentication_session_with_http_info: #{e}"
1794
- end
1795
- ```
1796
-
1797
- ### Parameters
1798
-
1799
- | Name | Type | Description | Notes |
1800
- | ---- | ---- | ----------- | ----- |
1801
- | **subject** | **String** | | |
1802
-
1803
- ### Return type
1804
-
1805
- nil (empty response body)
1806
-
1807
- ### Authorization
1808
-
1809
- No authorization required
1810
-
1811
- ### HTTP request headers
1812
-
1813
- - **Content-Type**: Not defined
1814
- - **Accept**: application/json
1815
-
1816
-
1817
- ## revoke_consent_sessions
1818
-
1819
- > revoke_consent_sessions(subject, opts)
1820
-
1821
- Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client
1822
-
1823
- 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.
1824
-
1825
- ### Examples
1826
-
1827
- ```ruby
1828
- require 'time'
1829
- require 'ory-hydra-client'
1830
-
1831
- api_instance = OryHydraClient::AdminApi.new
1832
- subject = 'subject_example' # String | The subject (Subject) who's consent sessions should be deleted.
1833
- opts = {
1834
- 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
1835
- all: true # Boolean | If set to `?all=true`, deletes all consent sessions by the Subject that have been granted.
1836
- }
1837
-
1838
- begin
1839
- # Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client
1840
- api_instance.revoke_consent_sessions(subject, opts)
1841
- rescue OryHydraClient::ApiError => e
1842
- puts "Error when calling AdminApi->revoke_consent_sessions: #{e}"
1843
- end
1844
- ```
1845
-
1846
- #### Using the revoke_consent_sessions_with_http_info variant
1847
-
1848
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
1849
-
1850
- > <Array(nil, Integer, Hash)> revoke_consent_sessions_with_http_info(subject, opts)
1851
-
1852
- ```ruby
1853
- begin
1854
- # Revokes Consent Sessions of a Subject for a Specific OAuth 2.0 Client
1855
- data, status_code, headers = api_instance.revoke_consent_sessions_with_http_info(subject, opts)
1856
- p status_code # => 2xx
1857
- p headers # => { ... }
1858
- p data # => nil
1859
- rescue OryHydraClient::ApiError => e
1860
- puts "Error when calling AdminApi->revoke_consent_sessions_with_http_info: #{e}"
1861
- end
1862
- ```
1863
-
1864
- ### Parameters
1865
-
1866
- | Name | Type | Description | Notes |
1867
- | ---- | ---- | ----------- | ----- |
1868
- | **subject** | **String** | The subject (Subject) who&#39;s consent sessions should be deleted. | |
1869
- | **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] |
1870
- | **all** | **Boolean** | If set to &#x60;?all&#x3D;true&#x60;, deletes all consent sessions by the Subject that have been granted. | [optional] |
1871
-
1872
- ### Return type
1873
-
1874
- nil (empty response body)
1875
-
1876
- ### Authorization
1877
-
1878
- No authorization required
1879
-
1880
- ### HTTP request headers
1881
-
1882
- - **Content-Type**: Not defined
1883
- - **Accept**: application/json
1884
-
1885
-
1886
- ## trust_jwt_grant_issuer
1887
-
1888
- > <TrustedJwtGrantIssuer> trust_jwt_grant_issuer(opts)
1889
-
1890
- Trust an OAuth2 JWT Bearer Grant Type Issuer
1891
-
1892
- 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).
1893
-
1894
- ### Examples
1895
-
1896
- ```ruby
1897
- require 'time'
1898
- require 'ory-hydra-client'
1899
-
1900
- api_instance = OryHydraClient::AdminApi.new
1901
- opts = {
1902
- 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"]}) # TrustJwtGrantIssuerBody |
1903
- }
1904
-
1905
- begin
1906
- # Trust an OAuth2 JWT Bearer Grant Type Issuer
1907
- result = api_instance.trust_jwt_grant_issuer(opts)
1908
- p result
1909
- rescue OryHydraClient::ApiError => e
1910
- puts "Error when calling AdminApi->trust_jwt_grant_issuer: #{e}"
1911
- end
1912
- ```
1913
-
1914
- #### Using the trust_jwt_grant_issuer_with_http_info variant
1915
-
1916
- This returns an Array which contains the response data, status code and headers.
1917
-
1918
- > <Array(<TrustedJwtGrantIssuer>, Integer, Hash)> trust_jwt_grant_issuer_with_http_info(opts)
1919
-
1920
- ```ruby
1921
- begin
1922
- # Trust an OAuth2 JWT Bearer Grant Type Issuer
1923
- data, status_code, headers = api_instance.trust_jwt_grant_issuer_with_http_info(opts)
1924
- p status_code # => 2xx
1925
- p headers # => { ... }
1926
- p data # => <TrustedJwtGrantIssuer>
1927
- rescue OryHydraClient::ApiError => e
1928
- puts "Error when calling AdminApi->trust_jwt_grant_issuer_with_http_info: #{e}"
1929
- end
1930
- ```
1931
-
1932
- ### Parameters
1933
-
1934
- | Name | Type | Description | Notes |
1935
- | ---- | ---- | ----------- | ----- |
1936
- | **trust_jwt_grant_issuer_body** | [**TrustJwtGrantIssuerBody**](TrustJwtGrantIssuerBody.md) | | [optional] |
1937
-
1938
- ### Return type
1939
-
1940
- [**TrustedJwtGrantIssuer**](TrustedJwtGrantIssuer.md)
1941
-
1942
- ### Authorization
1943
-
1944
- No authorization required
1945
-
1946
- ### HTTP request headers
1947
-
1948
- - **Content-Type**: application/json
1949
- - **Accept**: application/json
1950
-
1951
-
1952
- ## update_json_web_key
1953
-
1954
- > <JSONWebKey> update_json_web_key(kid, set, opts)
1955
-
1956
- Update a JSON Web Key
1957
-
1958
- 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.
1959
-
1960
- ### Examples
1961
-
1962
- ```ruby
1963
- require 'time'
1964
- require 'ory-hydra-client'
1965
-
1966
- api_instance = OryHydraClient::AdminApi.new
1967
- kid = 'kid_example' # String | The kid of the desired key
1968
- set = 'set_example' # String | The set
1969
- opts = {
1970
- json_web_key: OryHydraClient::JSONWebKey.new({alg: 'RS256', kid: '1603dfe0af8f4596', kty: 'RSA', use: 'sig'}) # JSONWebKey |
1971
- }
1972
-
1973
- begin
1974
- # Update a JSON Web Key
1975
- result = api_instance.update_json_web_key(kid, set, opts)
1976
- p result
1977
- rescue OryHydraClient::ApiError => e
1978
- puts "Error when calling AdminApi->update_json_web_key: #{e}"
1979
- end
1980
- ```
1981
-
1982
- #### Using the update_json_web_key_with_http_info variant
1983
-
1984
- This returns an Array which contains the response data, status code and headers.
1985
-
1986
- > <Array(<JSONWebKey>, Integer, Hash)> update_json_web_key_with_http_info(kid, set, opts)
1987
-
1988
- ```ruby
1989
- begin
1990
- # Update a JSON Web Key
1991
- data, status_code, headers = api_instance.update_json_web_key_with_http_info(kid, set, opts)
1992
- p status_code # => 2xx
1993
- p headers # => { ... }
1994
- p data # => <JSONWebKey>
1995
- rescue OryHydraClient::ApiError => e
1996
- puts "Error when calling AdminApi->update_json_web_key_with_http_info: #{e}"
1997
- end
1998
- ```
1999
-
2000
- ### Parameters
2001
-
2002
- | Name | Type | Description | Notes |
2003
- | ---- | ---- | ----------- | ----- |
2004
- | **kid** | **String** | The kid of the desired key | |
2005
- | **set** | **String** | The set | |
2006
- | **json_web_key** | [**JSONWebKey**](JSONWebKey.md) | | [optional] |
2007
-
2008
- ### Return type
2009
-
2010
- [**JSONWebKey**](JSONWebKey.md)
2011
-
2012
- ### Authorization
2013
-
2014
- No authorization required
2015
-
2016
- ### HTTP request headers
2017
-
2018
- - **Content-Type**: application/json
2019
- - **Accept**: application/json
2020
-
2021
-
2022
- ## update_json_web_key_set
2023
-
2024
- > <JSONWebKeySet> update_json_web_key_set(set, opts)
2025
-
2026
- Update a JSON Web Key Set
2027
-
2028
- 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.
2029
-
2030
- ### Examples
2031
-
2032
- ```ruby
2033
- require 'time'
2034
- require 'ory-hydra-client'
2035
-
2036
- api_instance = OryHydraClient::AdminApi.new
2037
- set = 'set_example' # String | The set
2038
- opts = {
2039
- json_web_key_set: OryHydraClient::JSONWebKeySet.new # JSONWebKeySet |
2040
- }
2041
-
2042
- begin
2043
- # Update a JSON Web Key Set
2044
- result = api_instance.update_json_web_key_set(set, opts)
2045
- p result
2046
- rescue OryHydraClient::ApiError => e
2047
- puts "Error when calling AdminApi->update_json_web_key_set: #{e}"
2048
- end
2049
- ```
2050
-
2051
- #### Using the update_json_web_key_set_with_http_info variant
2052
-
2053
- This returns an Array which contains the response data, status code and headers.
2054
-
2055
- > <Array(<JSONWebKeySet>, Integer, Hash)> update_json_web_key_set_with_http_info(set, opts)
2056
-
2057
- ```ruby
2058
- begin
2059
- # Update a JSON Web Key Set
2060
- data, status_code, headers = api_instance.update_json_web_key_set_with_http_info(set, opts)
2061
- p status_code # => 2xx
2062
- p headers # => { ... }
2063
- p data # => <JSONWebKeySet>
2064
- rescue OryHydraClient::ApiError => e
2065
- puts "Error when calling AdminApi->update_json_web_key_set_with_http_info: #{e}"
2066
- end
2067
- ```
2068
-
2069
- ### Parameters
2070
-
2071
- | Name | Type | Description | Notes |
2072
- | ---- | ---- | ----------- | ----- |
2073
- | **set** | **String** | The set | |
2074
- | **json_web_key_set** | [**JSONWebKeySet**](JSONWebKeySet.md) | | [optional] |
2075
-
2076
- ### Return type
2077
-
2078
- [**JSONWebKeySet**](JSONWebKeySet.md)
2079
-
2080
- ### Authorization
2081
-
2082
- No authorization required
2083
-
2084
- ### HTTP request headers
2085
-
2086
- - **Content-Type**: application/json
2087
- - **Accept**: application/json
2088
-
2089
-
2090
- ## update_o_auth2_client
2091
-
2092
- > <OAuth2Client> update_o_auth2_client(id, o_auth2_client)
2093
-
2094
- Update an OAuth 2.0 Client
2095
-
2096
- 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.
2097
-
2098
- ### Examples
2099
-
2100
- ```ruby
2101
- require 'time'
2102
- require 'ory-hydra-client'
2103
-
2104
- api_instance = OryHydraClient::AdminApi.new
2105
- id = 'id_example' # String | The id of the OAuth 2.0 Client.
2106
- o_auth2_client = OryHydraClient::OAuth2Client.new # OAuth2Client |
2107
-
2108
- begin
2109
- # Update an OAuth 2.0 Client
2110
- result = api_instance.update_o_auth2_client(id, o_auth2_client)
2111
- p result
2112
- rescue OryHydraClient::ApiError => e
2113
- puts "Error when calling AdminApi->update_o_auth2_client: #{e}"
2114
- end
2115
- ```
2116
-
2117
- #### Using the update_o_auth2_client_with_http_info variant
2118
-
2119
- This returns an Array which contains the response data, status code and headers.
2120
-
2121
- > <Array(<OAuth2Client>, Integer, Hash)> update_o_auth2_client_with_http_info(id, o_auth2_client)
2122
-
2123
- ```ruby
2124
- begin
2125
- # Update an OAuth 2.0 Client
2126
- data, status_code, headers = api_instance.update_o_auth2_client_with_http_info(id, o_auth2_client)
2127
- p status_code # => 2xx
2128
- p headers # => { ... }
2129
- p data # => <OAuth2Client>
2130
- rescue OryHydraClient::ApiError => e
2131
- puts "Error when calling AdminApi->update_o_auth2_client_with_http_info: #{e}"
2132
- end
2133
- ```
2134
-
2135
- ### Parameters
2136
-
2137
- | Name | Type | Description | Notes |
2138
- | ---- | ---- | ----------- | ----- |
2139
- | **id** | **String** | The id of the OAuth 2.0 Client. | |
2140
- | **o_auth2_client** | [**OAuth2Client**](OAuth2Client.md) | | |
2141
-
2142
- ### Return type
2143
-
2144
- [**OAuth2Client**](OAuth2Client.md)
2145
-
2146
- ### Authorization
2147
-
2148
- No authorization required
2149
-
2150
- ### HTTP request headers
2151
-
2152
- - **Content-Type**: application/json
2153
- - **Accept**: application/json
2154
-