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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +15 -18
  4. data/docs/ApiApi.md +198 -12
  5. data/docs/InlineResponse500.md +28 -0
  6. data/docs/JsonWebKey.md +12 -12
  7. data/lib/ory-oathkeeper-client/api/api_api.rb +181 -10
  8. data/lib/ory-oathkeeper-client/api_client.rb +4 -4
  9. data/lib/ory-oathkeeper-client/api_error.rb +4 -4
  10. data/lib/ory-oathkeeper-client/configuration.rb +4 -4
  11. data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +4 -5
  12. data/lib/ory-oathkeeper-client/models/health_status.rb +4 -5
  13. data/lib/ory-oathkeeper-client/models/{generic_error.rb → inline_response500.rb} +8 -15
  14. data/lib/ory-oathkeeper-client/models/json_web_key.rb +4 -16
  15. data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +4 -5
  16. data/lib/ory-oathkeeper-client/models/rule.rb +4 -4
  17. data/lib/ory-oathkeeper-client/models/rule_handler.rb +4 -5
  18. data/lib/ory-oathkeeper-client/models/rule_match.rb +4 -4
  19. data/lib/ory-oathkeeper-client/models/upstream.rb +4 -5
  20. data/lib/ory-oathkeeper-client/models/version.rb +4 -4
  21. data/lib/ory-oathkeeper-client/version.rb +5 -5
  22. data/lib/ory-oathkeeper-client.rb +5 -9
  23. data/ory-oathkeeper-client.gemspec +6 -6
  24. data/spec/api/api_api_spec.rb +40 -7
  25. data/spec/api_client_spec.rb +4 -4
  26. data/spec/configuration_spec.rb +4 -4
  27. data/spec/models/health_not_ready_status_spec.rb +4 -4
  28. data/spec/models/health_status_spec.rb +4 -4
  29. data/spec/models/{generic_error_spec.rb → inline_response500_spec.rb} +10 -10
  30. data/spec/models/json_web_key_set_spec.rb +4 -4
  31. data/spec/models/json_web_key_spec.rb +4 -4
  32. data/spec/models/rule_handler_spec.rb +4 -4
  33. data/spec/models/rule_match_spec.rb +4 -4
  34. data/spec/models/rule_spec.rb +4 -4
  35. data/spec/models/upstream_spec.rb +4 -4
  36. data/spec/models/version_spec.rb +4 -4
  37. data/spec/spec_helper.rb +4 -4
  38. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
  39. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  40. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  41. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  42. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  43. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  44. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  45. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  46. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  47. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  48. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/LICENSE.txt +0 -0
  49. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-parse +0 -0
  50. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-rewrite +0 -0
  51. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/gauntlet_parser.rb +0 -0
  52. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/all.rb +1 -0
  53. 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
  54. 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
  55. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/base.rb +0 -0
  56. 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
  57. 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
  58. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/color.rb +0 -0
  59. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/context.rb +0 -0
  60. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/current.rb +10 -1
  61. 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
  62. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/deprecation.rb +0 -0
  63. 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
  64. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/diagnostic.rb +0 -0
  65. 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
  66. 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
  67. 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
  68. 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
  69. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer.rb +0 -0
  70. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/macruby.rb +0 -0
  71. 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
  72. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/messages.rb +0 -0
  73. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/meta.rb +0 -0
  74. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rewriter.rb +0 -0
  75. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby18.rb +0 -0
  76. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby19.rb +0 -0
  77. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby20.rb +0 -0
  78. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby21.rb +0 -0
  79. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby22.rb +0 -0
  80. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby23.rb +0 -0
  81. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby24.rb +0 -0
  82. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby25.rb +0 -0
  83. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby26.rb +0 -0
  84. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby27.rb +0 -0
  85. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby28.rb +0 -0
  86. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby30.rb +0 -0
  87. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby31.rb +0 -0
  88. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby32.rb +8330 -0
  89. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rubymotion.rb +0 -0
  90. 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
  91. 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
  92. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner.rb +6 -0
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/version.rb +1 -1
  122. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser.rb +0 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/parser.gemspec +0 -0
  124. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  125. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  126. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.0.0.gemspec → parser-3.1.1.0.gemspec} +4 -4
  127. metadata +88 -101
  128. data/docs/GenericError.md +0 -28
  129. data/docs/InlineResponse200.md +0 -18
  130. data/docs/InlineResponse2001.md +0 -18
  131. data/docs/InlineResponse503.md +0 -18
  132. data/docs/MetadataApi.md +0 -193
  133. data/lib/ory-oathkeeper-client/api/metadata_api.rb +0 -193
  134. data/lib/ory-oathkeeper-client/models/inline_response200.rb +0 -224
  135. data/lib/ory-oathkeeper-client/models/inline_response2001.rb +0 -224
  136. data/lib/ory-oathkeeper-client/models/inline_response503.rb +0 -226
  137. data/spec/api/metadata_api_spec.rb +0 -68
  138. data/spec/models/inline_response2001_spec.rb +0 -34
  139. data/spec/models/inline_response200_spec.rb +0 -34
  140. data/spec/models/inline_response503_spec.rb +0 -34
  141. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.0.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 139c837c257308679cf37c4e888ce94910d30e53395e305f5b45a0e471747882
4
- data.tar.gz: 730ec2a00adb0c8e0e137aa31a9d8647783edcb0b5411091aa2f2c4e862f773a
3
+ metadata.gz: 8ea741f2e08fc61fcc9fdbb19984cd62573082b07fc4001d337b297dc39c0d1a
4
+ data.tar.gz: f5b9cda6eaaf86b8644dc1761509858c54498532bdf5d68eb70ab404d11f84b8
5
5
  SHA512:
6
- metadata.gz: 5369125fab065b0c7320bd2db2344e4a8da5040fd6d8dd6713687f77bd3c772b48d504e7e53d1f6824c9acc7a30d7cf02be00db582703ed99fc0e0a076f4339c
7
- data.tar.gz: 8ed261e465a67d6db3118eeb3628908041e1dc603e68a84eeddb100232ca15868d26eba5680935d12664dfd344200781b1223e7e704240278ee3fde9526f63db
6
+ metadata.gz: 12339470038b0dec7859233490f08d5a4c877974897aef02392f7b542fc388760e5d898421b7c9060bfd6d21d30f80e6dae1381646ae6275c5fb8c7c95af4565
7
+ data.tar.gz: 57e567f0398df97aa9ae6ba44c68510ff61de9f847ba2e77cc8b80ffa87ccd8a4572a92a935c1429a6f3bdc32114b13ad000aa932368289ca04f774cfa1c71aa
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.22.beta1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -17,7 +17,7 @@ GEM
17
17
  jaro_winkler (1.5.4)
18
18
  method_source (1.0.0)
19
19
  parallel (1.21.0)
20
- parser (3.1.0.0)
20
+ parser (3.1.1.0)
21
21
  ast (~> 2.4.1)
22
22
  pry (0.13.1)
23
23
  coderay (~> 1.1)
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.22-beta.1
10
+ - Package version: v0.38.22-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.22-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.22-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.22-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