ory-oathkeeper-client 0.38.20.beta1 → 0.38.24.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/LICENSE +201 -0
  4. data/README.md +15 -18
  5. data/docs/ApiApi.md +198 -12
  6. data/docs/InlineResponse500.md +28 -0
  7. data/docs/JsonWebKey.md +12 -12
  8. data/lib/ory-oathkeeper-client/api/api_api.rb +181 -10
  9. data/lib/ory-oathkeeper-client/api_client.rb +4 -4
  10. data/lib/ory-oathkeeper-client/api_error.rb +4 -4
  11. data/lib/ory-oathkeeper-client/configuration.rb +4 -4
  12. data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +4 -5
  13. data/lib/ory-oathkeeper-client/models/health_status.rb +4 -5
  14. data/lib/ory-oathkeeper-client/models/{generic_error.rb → inline_response500.rb} +8 -15
  15. data/lib/ory-oathkeeper-client/models/json_web_key.rb +4 -16
  16. data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +4 -5
  17. data/lib/ory-oathkeeper-client/models/rule.rb +4 -4
  18. data/lib/ory-oathkeeper-client/models/rule_handler.rb +4 -5
  19. data/lib/ory-oathkeeper-client/models/rule_match.rb +4 -4
  20. data/lib/ory-oathkeeper-client/models/upstream.rb +4 -5
  21. data/lib/ory-oathkeeper-client/models/version.rb +4 -4
  22. data/lib/ory-oathkeeper-client/version.rb +5 -5
  23. data/lib/ory-oathkeeper-client.rb +5 -9
  24. data/ory-oathkeeper-client.gemspec +6 -6
  25. data/spec/api/api_api_spec.rb +40 -7
  26. data/spec/api_client_spec.rb +4 -4
  27. data/spec/configuration_spec.rb +4 -4
  28. data/spec/models/health_not_ready_status_spec.rb +4 -4
  29. data/spec/models/health_status_spec.rb +4 -4
  30. data/spec/models/{generic_error_spec.rb → inline_response500_spec.rb} +10 -10
  31. data/spec/models/json_web_key_set_spec.rb +4 -4
  32. data/spec/models/json_web_key_spec.rb +4 -4
  33. data/spec/models/rule_handler_spec.rb +4 -4
  34. data/spec/models/rule_match_spec.rb +4 -4
  35. data/spec/models/rule_spec.rb +4 -4
  36. data/spec/models/upstream_spec.rb +4 -4
  37. data/spec/models/version_spec.rb +4 -4
  38. data/spec/spec_helper.rb +4 -4
  39. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.1.gem +0 -0
  40. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
  41. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.1.gem +0 -0
  42. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  43. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  44. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  45. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  46. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  47. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  48. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  49. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  50. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  51. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/MIT-LICENSE.txt +0 -0
  52. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel/processor_count.rb +2 -3
  53. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.1/lib/parallel/version.rb +4 -0
  54. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.1}/lib/parallel.rb +84 -4
  55. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/LICENSE.txt +0 -0
  56. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-parse +0 -0
  57. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-rewrite +0 -0
  58. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/gauntlet_parser.rb +0 -0
  59. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/all.rb +1 -0
  60. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ast/node.rb +0 -0
  61. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ast/processor.rb +0 -0
  62. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/base.rb +0 -0
  63. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/builders/default.rb +0 -0
  64. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/clobbering_error.rb +0 -0
  65. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/color.rb +0 -0
  66. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/context.rb +0 -0
  67. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/current.rb +10 -1
  68. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/current_arg_stack.rb +0 -0
  69. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/deprecation.rb +0 -0
  70. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/diagnostic/engine.rb +0 -0
  71. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/diagnostic.rb +0 -0
  72. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/dedenter.rb +0 -0
  73. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/explanation.rb +0 -0
  74. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/literal.rb +0 -0
  75. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer/stack_state.rb +0 -0
  76. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer.rb +0 -0
  77. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/macruby.rb +0 -0
  78. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/max_numparam_stack.rb +0 -0
  79. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/messages.rb +0 -0
  80. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/meta.rb +0 -0
  81. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rewriter.rb +0 -0
  82. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby18.rb +0 -0
  83. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby19.rb +0 -0
  84. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby20.rb +0 -0
  85. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby21.rb +0 -0
  86. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby22.rb +0 -0
  87. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby23.rb +0 -0
  88. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby24.rb +0 -0
  89. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby25.rb +0 -0
  90. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby26.rb +0 -0
  91. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby27.rb +0 -0
  92. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby28.rb +0 -0
  93. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby30.rb +0 -0
  94. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby31.rb +0 -0
  95. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby32.rb +8330 -0
  96. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rubymotion.rb +0 -0
  97. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner/ruby_parse.rb +0 -0
  98. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  99. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner.rb +6 -0
  100. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/buffer.rb +0 -0
  101. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/comment/associator.rb +0 -0
  102. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/comment.rb +0 -0
  103. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/collection.rb +0 -0
  104. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/condition.rb +0 -0
  105. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/constant.rb +0 -0
  106. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/definition.rb +0 -0
  107. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/for.rb +0 -0
  108. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/heredoc.rb +0 -0
  109. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/index.rb +0 -0
  110. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/keyword.rb +0 -0
  111. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/method_definition.rb +0 -0
  112. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  113. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/operator.rb +0 -0
  114. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/rescue_body.rb +0 -0
  115. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/send.rb +0 -0
  116. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/ternary.rb +0 -0
  117. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map/variable.rb +0 -0
  118. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/map.rb +0 -0
  119. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/range.rb +0 -0
  120. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/rewriter/action.rb +0 -0
  121. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/rewriter.rb +0 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/source/tree_rewriter.rb +0 -0
  124. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/static_environment.rb +0 -0
  125. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/syntax_error.rb +0 -0
  126. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/tree_rewriter.rb +0 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/variables_stack.rb +0 -0
  128. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/version.rb +1 -1
  129. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser.rb +0 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/parser.gemspec +0 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  132. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.document +0 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/.yardopts +0 -0
  134. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/Changelog.md +10 -1
  135. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/LICENSE.md +0 -0
  136. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/README.md +0 -0
  137. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/any_instance.rb +0 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_list_matcher.rb +2 -1
  148. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/argument_matchers.rb +0 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/configuration.rb +0 -0
  150. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/error_generator.rb +0 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/example_methods.rb +0 -0
  152. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/marshal_extension.rb +0 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  155. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  156. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive.rb +1 -1
  157. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  158. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  159. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_chain.rb +0 -0
  160. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/message_expectation.rb +13 -3
  161. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_double.rb +3 -0
  162. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/method_reference.rb +0 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/minitest_integration.rb +0 -0
  164. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/mutate_const.rb +0 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/object_reference.rb +0 -0
  166. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/order_group.rb +0 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/proxy.rb +6 -0
  168. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/space.rb +0 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/standalone.rb +0 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/syntax.rb +0 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/targets.rb +0 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/test_double.rb +0 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_double.rb +0 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks/version.rb +1 -1
  177. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.11.0 → rspec-mocks-3.11.1}/lib/rspec/mocks.rb +0 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  179. data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.21.0.gemspec → parallel-1.22.1.gemspec} +4 -4
  180. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.0.0.gemspec → parser-3.1.1.0.gemspec} +4 -4
  181. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.11.0.gemspec → rspec-mocks-3.11.1.gemspec} +5 -5
  182. metadata +143 -155
  183. data/docs/GenericError.md +0 -28
  184. data/docs/InlineResponse200.md +0 -18
  185. data/docs/InlineResponse2001.md +0 -18
  186. data/docs/InlineResponse503.md +0 -18
  187. data/docs/MetadataApi.md +0 -193
  188. data/lib/ory-oathkeeper-client/api/metadata_api.rb +0 -193
  189. data/lib/ory-oathkeeper-client/models/inline_response200.rb +0 -224
  190. data/lib/ory-oathkeeper-client/models/inline_response2001.rb +0 -224
  191. data/lib/ory-oathkeeper-client/models/inline_response503.rb +0 -226
  192. data/spec/api/metadata_api_spec.rb +0 -68
  193. data/spec/models/inline_response2001_spec.rb +0 -34
  194. data/spec/models/inline_response200_spec.rb +0 -34
  195. data/spec/models/inline_response503_spec.rb +0 -34
  196. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
  197. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.0.0.gem +0 -0
  198. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.11.0.gem +0 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 139c837c257308679cf37c4e888ce94910d30e53395e305f5b45a0e471747882
4
- data.tar.gz: 730ec2a00adb0c8e0e137aa31a9d8647783edcb0b5411091aa2f2c4e862f773a
3
+ metadata.gz: '083daef7efa9d93549b7822712cddee77eb42cea0632f2b2bc80c13776b67d8d'
4
+ data.tar.gz: 36931e441d3d665082bc1e762b1a4a96cda5a8e0055ea69099e76380ca036703
5
5
  SHA512:
6
- metadata.gz: 5369125fab065b0c7320bd2db2344e4a8da5040fd6d8dd6713687f77bd3c772b48d504e7e53d1f6824c9acc7a30d7cf02be00db582703ed99fc0e0a076f4339c
7
- data.tar.gz: 8ed261e465a67d6db3118eeb3628908041e1dc603e68a84eeddb100232ca15868d26eba5680935d12664dfd344200781b1223e7e704240278ee3fde9526f63db
6
+ metadata.gz: c93f50290159ae48acee3c4c3a9b9b4fcd7f2eed2e8646c8c09b3ab6843994f96e063b800200d1f243a40b9562e398bab444373312c7e0ee15e676149c0b5e0e
7
+ data.tar.gz: 2939f64963965daad8e4f22af9198a0cacc5bad53a9d3a300d5e482de3d6a90be54772752f202404241358f6fc0a174c7fa43de2dc0ff000e9051621627d8b74
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ory-oathkeeper-client (0.38.20.beta1)
4
+ ory-oathkeeper-client (0.38.24.beta1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -16,8 +16,8 @@ GEM
16
16
  ffi (1.15.5)
17
17
  jaro_winkler (1.5.4)
18
18
  method_source (1.0.0)
19
- parallel (1.21.0)
20
- parser (3.1.0.0)
19
+ parallel (1.22.1)
20
+ parser (3.1.1.0)
21
21
  ast (~> 2.4.1)
22
22
  pry (0.13.1)
23
23
  coderay (~> 1.1)
@@ -38,7 +38,7 @@ GEM
38
38
  rspec-expectations (3.11.0)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.11.0)
41
- rspec-mocks (3.11.0)
41
+ rspec-mocks (3.11.1)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.11.0)
44
44
  rspec-support (3.11.0)
data/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # ory-oathkeeper-client
2
2
 
3
- OryOathkeeperClient - the Ruby gem for the Ory Oathkeeper API
4
-
5
- Documentation for all of Ory Oathkeeper's APIs.
3
+ OryOathkeeperClient - the Ruby gem for the ORY Oathkeeper
6
4
 
5
+ ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies.
7
6
 
8
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
9
8
 
10
- - API version: v0.38.20-beta.1
11
- - Package version: v0.38.20-beta.1
9
+ - API version: v0.38.24-beta.1
10
+ - Package version: v0.38.24-beta.1
12
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://www.ory.am](https://www.ory.am)
13
13
 
14
14
  ## Installation
15
15
 
@@ -24,16 +24,16 @@ gem build ory-oathkeeper-client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ory-oathkeeper-client-v0.38.20-beta.1.gem
27
+ gem install ./ory-oathkeeper-client-v0.38.24-beta.1.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ory-oathkeeper-client-v0.38.20-beta.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ory-oathkeeper-client-v0.38.24-beta.1.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ory-oathkeeper-client', '~> v0.38.20-beta.1'
36
+ gem 'ory-oathkeeper-client', '~> v0.38.24-beta.1'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -75,22 +75,19 @@ All URIs are relative to *http://localhost*
75
75
  Class | Method | HTTP request | Description
76
76
  ------------ | ------------- | ------------- | -------------
77
77
  *OryOathkeeperClient::ApiApi* | [**decisions**](docs/ApiApi.md#decisions) | **GET** /decisions | Access Control Decision API
78
- *OryOathkeeperClient::ApiApi* | [**get_rule**](docs/ApiApi.md#get_rule) | **GET** /rules/{id} | Retrieve a Rule
79
- *OryOathkeeperClient::ApiApi* | [**get_well_known_json_web_keys**](docs/ApiApi.md#get_well_known_json_web_keys) | **GET** /.well-known/jwks.json | Lists Cryptographic Keys
80
- *OryOathkeeperClient::ApiApi* | [**list_rules**](docs/ApiApi.md#list_rules) | **GET** /rules | List All Rules
81
- *OryOathkeeperClient::MetadataApi* | [**get_version**](docs/MetadataApi.md#get_version) | **GET** /version | Return Running Software Version.
82
- *OryOathkeeperClient::MetadataApi* | [**is_alive**](docs/MetadataApi.md#is_alive) | **GET** /health/alive | Check HTTP Server Status
83
- *OryOathkeeperClient::MetadataApi* | [**is_ready**](docs/MetadataApi.md#is_ready) | **GET** /health/ready | Check HTTP Server and Database Status
78
+ *OryOathkeeperClient::ApiApi* | [**get_rule**](docs/ApiApi.md#get_rule) | **GET** /rules/{id} | Retrieve a rule
79
+ *OryOathkeeperClient::ApiApi* | [**get_version**](docs/ApiApi.md#get_version) | **GET** /version | Get service version
80
+ *OryOathkeeperClient::ApiApi* | [**get_well_known_json_web_keys**](docs/ApiApi.md#get_well_known_json_web_keys) | **GET** /.well-known/jwks.json | Lists cryptographic keys
81
+ *OryOathkeeperClient::ApiApi* | [**is_instance_alive**](docs/ApiApi.md#is_instance_alive) | **GET** /health/alive | Check alive status
82
+ *OryOathkeeperClient::ApiApi* | [**is_instance_ready**](docs/ApiApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status
83
+ *OryOathkeeperClient::ApiApi* | [**list_rules**](docs/ApiApi.md#list_rules) | **GET** /rules | List all rules
84
84
 
85
85
 
86
86
  ## Documentation for Models
87
87
 
88
- - [OryOathkeeperClient::GenericError](docs/GenericError.md)
89
88
  - [OryOathkeeperClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
90
89
  - [OryOathkeeperClient::HealthStatus](docs/HealthStatus.md)
91
- - [OryOathkeeperClient::InlineResponse200](docs/InlineResponse200.md)
92
- - [OryOathkeeperClient::InlineResponse2001](docs/InlineResponse2001.md)
93
- - [OryOathkeeperClient::InlineResponse503](docs/InlineResponse503.md)
90
+ - [OryOathkeeperClient::InlineResponse500](docs/InlineResponse500.md)
94
91
  - [OryOathkeeperClient::JsonWebKey](docs/JsonWebKey.md)
95
92
  - [OryOathkeeperClient::JsonWebKeySet](docs/JsonWebKeySet.md)
96
93
  - [OryOathkeeperClient::Rule](docs/Rule.md)
data/docs/ApiApi.md CHANGED
@@ -5,9 +5,12 @@ All URIs are relative to *http://localhost*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**decisions**](ApiApi.md#decisions) | **GET** /decisions | Access Control Decision API |
8
- | [**get_rule**](ApiApi.md#get_rule) | **GET** /rules/{id} | Retrieve a Rule |
9
- | [**get_well_known_json_web_keys**](ApiApi.md#get_well_known_json_web_keys) | **GET** /.well-known/jwks.json | Lists Cryptographic Keys |
10
- | [**list_rules**](ApiApi.md#list_rules) | **GET** /rules | List All Rules |
8
+ | [**get_rule**](ApiApi.md#get_rule) | **GET** /rules/{id} | Retrieve a rule |
9
+ | [**get_version**](ApiApi.md#get_version) | **GET** /version | Get service version |
10
+ | [**get_well_known_json_web_keys**](ApiApi.md#get_well_known_json_web_keys) | **GET** /.well-known/jwks.json | Lists cryptographic keys |
11
+ | [**is_instance_alive**](ApiApi.md#is_instance_alive) | **GET** /health/alive | Check alive status |
12
+ | [**is_instance_ready**](ApiApi.md#is_instance_ready) | **GET** /health/ready | Check readiness status |
13
+ | [**list_rules**](ApiApi.md#list_rules) | **GET** /rules | List all rules |
11
14
 
12
15
 
13
16
  ## decisions
@@ -74,7 +77,7 @@ No authorization required
74
77
 
75
78
  > <Rule> get_rule(id)
76
79
 
77
- Retrieve a Rule
80
+ Retrieve a rule
78
81
 
79
82
  Use this method to retrieve a rule from the storage. If it does not exist you will receive a 404 error.
80
83
 
@@ -88,7 +91,7 @@ api_instance = OryOathkeeperClient::ApiApi.new
88
91
  id = 'id_example' # String |
89
92
 
90
93
  begin
91
- # Retrieve a Rule
94
+ # Retrieve a rule
92
95
  result = api_instance.get_rule(id)
93
96
  p result
94
97
  rescue OryOathkeeperClient::ApiError => e
@@ -104,7 +107,7 @@ This returns an Array which contains the response data, status code and headers.
104
107
 
105
108
  ```ruby
106
109
  begin
107
- # Retrieve a Rule
110
+ # Retrieve a rule
108
111
  data, status_code, headers = api_instance.get_rule_with_http_info(id)
109
112
  p status_code # => 2xx
110
113
  p headers # => { ... }
@@ -134,11 +137,72 @@ No authorization required
134
137
  - **Accept**: application/json
135
138
 
136
139
 
140
+ ## get_version
141
+
142
+ > <Version> get_version
143
+
144
+ Get service version
145
+
146
+ This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
147
+
148
+ ### Examples
149
+
150
+ ```ruby
151
+ require 'time'
152
+ require 'ory-oathkeeper-client'
153
+
154
+ api_instance = OryOathkeeperClient::ApiApi.new
155
+
156
+ begin
157
+ # Get service version
158
+ result = api_instance.get_version
159
+ p result
160
+ rescue OryOathkeeperClient::ApiError => e
161
+ puts "Error when calling ApiApi->get_version: #{e}"
162
+ end
163
+ ```
164
+
165
+ #### Using the get_version_with_http_info variant
166
+
167
+ This returns an Array which contains the response data, status code and headers.
168
+
169
+ > <Array(<Version>, Integer, Hash)> get_version_with_http_info
170
+
171
+ ```ruby
172
+ begin
173
+ # Get service version
174
+ data, status_code, headers = api_instance.get_version_with_http_info
175
+ p status_code # => 2xx
176
+ p headers # => { ... }
177
+ p data # => <Version>
178
+ rescue OryOathkeeperClient::ApiError => e
179
+ puts "Error when calling ApiApi->get_version_with_http_info: #{e}"
180
+ end
181
+ ```
182
+
183
+ ### Parameters
184
+
185
+ This endpoint does not need any parameter.
186
+
187
+ ### Return type
188
+
189
+ [**Version**](Version.md)
190
+
191
+ ### Authorization
192
+
193
+ No authorization required
194
+
195
+ ### HTTP request headers
196
+
197
+ - **Content-Type**: Not defined
198
+ - **Accept**: application/json
199
+
200
+
137
201
  ## get_well_known_json_web_keys
138
202
 
139
203
  > <JsonWebKeySet> get_well_known_json_web_keys
140
204
 
141
- Lists Cryptographic Keys
205
+ Lists cryptographic keys
142
206
 
143
207
  This endpoint returns cryptographic keys that are required to, for example, verify signatures of ID Tokens.
144
208
 
@@ -151,7 +215,7 @@ require 'ory-oathkeeper-client'
151
215
  api_instance = OryOathkeeperClient::ApiApi.new
152
216
 
153
217
  begin
154
- # Lists Cryptographic Keys
218
+ # Lists cryptographic keys
155
219
  result = api_instance.get_well_known_json_web_keys
156
220
  p result
157
221
  rescue OryOathkeeperClient::ApiError => e
@@ -167,7 +231,7 @@ This returns an Array which contains the response data, status code and headers.
167
231
 
168
232
  ```ruby
169
233
  begin
170
- # Lists Cryptographic Keys
234
+ # Lists cryptographic keys
171
235
  data, status_code, headers = api_instance.get_well_known_json_web_keys_with_http_info
172
236
  p status_code # => 2xx
173
237
  p headers # => { ... }
@@ -195,11 +259,133 @@ No authorization required
195
259
  - **Accept**: application/json
196
260
 
197
261
 
262
+ ## is_instance_alive
263
+
264
+ > <HealthStatus> is_instance_alive
265
+
266
+ Check alive status
267
+
268
+ This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
269
+
270
+ ### Examples
271
+
272
+ ```ruby
273
+ require 'time'
274
+ require 'ory-oathkeeper-client'
275
+
276
+ api_instance = OryOathkeeperClient::ApiApi.new
277
+
278
+ begin
279
+ # Check alive status
280
+ result = api_instance.is_instance_alive
281
+ p result
282
+ rescue OryOathkeeperClient::ApiError => e
283
+ puts "Error when calling ApiApi->is_instance_alive: #{e}"
284
+ end
285
+ ```
286
+
287
+ #### Using the is_instance_alive_with_http_info variant
288
+
289
+ This returns an Array which contains the response data, status code and headers.
290
+
291
+ > <Array(<HealthStatus>, Integer, Hash)> is_instance_alive_with_http_info
292
+
293
+ ```ruby
294
+ begin
295
+ # Check alive status
296
+ data, status_code, headers = api_instance.is_instance_alive_with_http_info
297
+ p status_code # => 2xx
298
+ p headers # => { ... }
299
+ p data # => <HealthStatus>
300
+ rescue OryOathkeeperClient::ApiError => e
301
+ puts "Error when calling ApiApi->is_instance_alive_with_http_info: #{e}"
302
+ end
303
+ ```
304
+
305
+ ### Parameters
306
+
307
+ This endpoint does not need any parameter.
308
+
309
+ ### Return type
310
+
311
+ [**HealthStatus**](HealthStatus.md)
312
+
313
+ ### Authorization
314
+
315
+ No authorization required
316
+
317
+ ### HTTP request headers
318
+
319
+ - **Content-Type**: Not defined
320
+ - **Accept**: application/json
321
+
322
+
323
+ ## is_instance_ready
324
+
325
+ > <HealthStatus> is_instance_ready
326
+
327
+ Check readiness status
328
+
329
+ This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
330
+
331
+ ### Examples
332
+
333
+ ```ruby
334
+ require 'time'
335
+ require 'ory-oathkeeper-client'
336
+
337
+ api_instance = OryOathkeeperClient::ApiApi.new
338
+
339
+ begin
340
+ # Check readiness status
341
+ result = api_instance.is_instance_ready
342
+ p result
343
+ rescue OryOathkeeperClient::ApiError => e
344
+ puts "Error when calling ApiApi->is_instance_ready: #{e}"
345
+ end
346
+ ```
347
+
348
+ #### Using the is_instance_ready_with_http_info variant
349
+
350
+ This returns an Array which contains the response data, status code and headers.
351
+
352
+ > <Array(<HealthStatus>, Integer, Hash)> is_instance_ready_with_http_info
353
+
354
+ ```ruby
355
+ begin
356
+ # Check readiness status
357
+ data, status_code, headers = api_instance.is_instance_ready_with_http_info
358
+ p status_code # => 2xx
359
+ p headers # => { ... }
360
+ p data # => <HealthStatus>
361
+ rescue OryOathkeeperClient::ApiError => e
362
+ puts "Error when calling ApiApi->is_instance_ready_with_http_info: #{e}"
363
+ end
364
+ ```
365
+
366
+ ### Parameters
367
+
368
+ This endpoint does not need any parameter.
369
+
370
+ ### Return type
371
+
372
+ [**HealthStatus**](HealthStatus.md)
373
+
374
+ ### Authorization
375
+
376
+ No authorization required
377
+
378
+ ### HTTP request headers
379
+
380
+ - **Content-Type**: Not defined
381
+ - **Accept**: application/json
382
+
383
+
198
384
  ## list_rules
199
385
 
200
386
  > <Array<Rule>> list_rules(opts)
201
387
 
202
- List All Rules
388
+ List all rules
203
389
 
204
390
  This method returns an array of all rules that are stored in the backend. This is useful if you want to get a full view of what rules you have currently in place.
205
391
 
@@ -216,7 +402,7 @@ opts = {
216
402
  }
217
403
 
218
404
  begin
219
- # List All Rules
405
+ # List all rules
220
406
  result = api_instance.list_rules(opts)
221
407
  p result
222
408
  rescue OryOathkeeperClient::ApiError => e
@@ -232,7 +418,7 @@ This returns an Array which contains the response data, status code and headers.
232
418
 
233
419
  ```ruby
234
420
  begin
235
- # List All Rules
421
+ # List all rules
236
422
  data, status_code, headers = api_instance.list_rules_with_http_info(opts)
237
423
  p status_code # => 2xx
238
424
  p headers # => { ... }
@@ -0,0 +1,28 @@
1
+ # OryOathkeeperClient::InlineResponse500
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | | [optional] |
8
+ | **details** | **Array&lt;Object&gt;** | | [optional] |
9
+ | **message** | **String** | | [optional] |
10
+ | **reason** | **String** | | [optional] |
11
+ | **request** | **String** | | [optional] |
12
+ | **status** | **String** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ory-oathkeeper-client'
18
+
19
+ instance = OryOathkeeperClient::InlineResponse500.new(
20
+ code: null,
21
+ details: null,
22
+ message: null,
23
+ reason: null,
24
+ request: null,
25
+ status: null
26
+ )
27
+ ```
28
+
data/docs/JsonWebKey.md CHANGED
@@ -5,22 +5,22 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **alg** | **String** | The \&quot;alg\&quot; (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \&quot;JSON Web Signature and Encryption Algorithms\&quot; registry established by [JWA] or be a value that contains a Collision- Resistant Name. | [optional] |
8
- | **crv** | **String** | crv | [optional] |
9
- | **d** | **String** | d | [optional] |
10
- | **dp** | **String** | dp | [optional] |
11
- | **dq** | **String** | dq | [optional] |
12
- | **e** | **String** | e | [optional] |
13
- | **k** | **String** | k | [optional] |
8
+ | **crv** | **String** | | [optional] |
9
+ | **d** | **String** | | [optional] |
10
+ | **dp** | **String** | | [optional] |
11
+ | **dq** | **String** | | [optional] |
12
+ | **e** | **String** | | [optional] |
13
+ | **k** | **String** | | [optional] |
14
14
  | **kid** | **String** | The \&quot;kid\&quot; (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \&quot;kid\&quot; value is unspecified. When \&quot;kid\&quot; values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \&quot;kid\&quot; values. (One example in which different keys might use the same \&quot;kid\&quot; value is if they have different \&quot;kty\&quot; (key type) values but are considered to be equivalent alternatives by the application using them.) The \&quot;kid\&quot; value is a case-sensitive string. | [optional] |
15
15
  | **kty** | **String** | The \&quot;kty\&quot; (key type) parameter identifies the cryptographic algorithm family used with the key, such as \&quot;RSA\&quot; or \&quot;EC\&quot;. \&quot;kty\&quot; values should either be registered in the IANA \&quot;JSON Web Key Types\&quot; registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \&quot;kty\&quot; value is a case-sensitive string. | [optional] |
16
- | **n** | **String** | n | [optional] |
17
- | **p** | **String** | p | [optional] |
18
- | **q** | **String** | q | [optional] |
19
- | **qi** | **String** | qi | [optional] |
16
+ | **n** | **String** | | [optional] |
17
+ | **p** | **String** | | [optional] |
18
+ | **q** | **String** | | [optional] |
19
+ | **qi** | **String** | | [optional] |
20
20
  | **use** | **String** | The \&quot;use\&quot; (public key use) parameter identifies the intended use of the public key. The \&quot;use\&quot; parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \&quot;sig\&quot; (signature) or \&quot;enc\&quot; (encryption). | [optional] |
21
- | **x** | **String** | x | [optional] |
21
+ | **x** | **String** | | [optional] |
22
22
  | **x5c** | **Array&lt;String&gt;** | The \&quot;x5c\&quot; (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. | [optional] |
23
- | **y** | **String** | y | [optional] |
23
+ | **y** | **String** | | [optional] |
24
24
 
25
25
  ## Example
26
26