ory-hydra-client 1.11.8 → 2.0.2

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