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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +15 -18
- data/docs/ApiApi.md +198 -12
- data/docs/InlineResponse500.md +28 -0
- data/docs/JsonWebKey.md +12 -12
- data/lib/ory-oathkeeper-client/api/api_api.rb +181 -10
- data/lib/ory-oathkeeper-client/api_client.rb +4 -4
- data/lib/ory-oathkeeper-client/api_error.rb +4 -4
- data/lib/ory-oathkeeper-client/configuration.rb +4 -4
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +4 -5
- data/lib/ory-oathkeeper-client/models/health_status.rb +4 -5
- data/lib/ory-oathkeeper-client/models/{generic_error.rb → inline_response500.rb} +8 -15
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +4 -16
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +4 -5
- data/lib/ory-oathkeeper-client/models/rule.rb +4 -4
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +4 -5
- data/lib/ory-oathkeeper-client/models/rule_match.rb +4 -4
- data/lib/ory-oathkeeper-client/models/upstream.rb +4 -5
- data/lib/ory-oathkeeper-client/models/version.rb +4 -4
- data/lib/ory-oathkeeper-client/version.rb +5 -5
- data/lib/ory-oathkeeper-client.rb +5 -9
- data/ory-oathkeeper-client.gemspec +6 -6
- data/spec/api/api_api_spec.rb +40 -7
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/health_not_ready_status_spec.rb +4 -4
- data/spec/models/health_status_spec.rb +4 -4
- data/spec/models/{generic_error_spec.rb → inline_response500_spec.rb} +10 -10
- data/spec/models/json_web_key_set_spec.rb +4 -4
- data/spec/models/json_web_key_spec.rb +4 -4
- data/spec/models/rule_handler_spec.rb +4 -4
- data/spec/models/rule_match_spec.rb +4 -4
- data/spec/models/rule_spec.rb +4 -4
- data/spec/models/upstream_spec.rb +4 -4
- data/spec/models/version_spec.rb +4 -4
- data/spec/spec_helper.rb +4 -4
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.1.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/all.rb +1 -0
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/base.rb +0 -0
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/context.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/current.rb +10 -1
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/deprecation.rb +0 -0
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/diagnostic.rb +0 -0
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/lexer.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/macruby.rb +0 -0
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/messages.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/meta.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rewriter.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby18.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby19.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby20.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby21.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby22.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby23.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby24.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby25.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby26.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby27.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby28.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby30.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/ruby31.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.1.0/lib/parser/ruby32.rb +8330 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/rubymotion.rb +0 -0
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/runner.rb +6 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/lib/parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.0.0 → parser-3.1.1.0}/parser.gemspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.0.0.gemspec → parser-3.1.1.0.gemspec} +4 -4
- metadata +88 -101
- data/docs/GenericError.md +0 -28
- data/docs/InlineResponse200.md +0 -18
- data/docs/InlineResponse2001.md +0 -18
- data/docs/InlineResponse503.md +0 -18
- data/docs/MetadataApi.md +0 -193
- data/lib/ory-oathkeeper-client/api/metadata_api.rb +0 -193
- data/lib/ory-oathkeeper-client/models/inline_response200.rb +0 -224
- data/lib/ory-oathkeeper-client/models/inline_response2001.rb +0 -224
- data/lib/ory-oathkeeper-client/models/inline_response503.rb +0 -226
- data/spec/api/metadata_api_spec.rb +0 -68
- data/spec/models/inline_response2001_spec.rb +0 -34
- data/spec/models/inline_response200_spec.rb +0 -34
- data/spec/models/inline_response503_spec.rb +0 -34
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ea741f2e08fc61fcc9fdbb19984cd62573082b07fc4001d337b297dc39c0d1a
|
4
|
+
data.tar.gz: f5b9cda6eaaf86b8644dc1761509858c54498532bdf5d68eb70ab404d11f84b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
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.
|
11
|
-
- Package version: v0.38.
|
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.
|
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.
|
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.
|
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
|
79
|
-
*OryOathkeeperClient::ApiApi* | [**
|
80
|
-
*OryOathkeeperClient::ApiApi* | [**
|
81
|
-
*OryOathkeeperClient::
|
82
|
-
*OryOathkeeperClient::
|
83
|
-
*OryOathkeeperClient::
|
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::
|
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
|
9
|
-
| [**
|
10
|
-
| [**
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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<Object>** | | [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 \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. | [optional] |
|
8
|
-
| **crv** | **String** |
|
9
|
-
| **d** | **String** |
|
10
|
-
| **dp** | **String** |
|
11
|
-
| **dq** | **String** |
|
12
|
-
| **e** | **String** |
|
13
|
-
| **k** | **String** |
|
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 \"kid\" (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 \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. | [optional] |
|
15
15
|
| **kty** | **String** | The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. | [optional] |
|
16
|
-
| **n** | **String** |
|
17
|
-
| **p** | **String** |
|
18
|
-
| **q** | **String** |
|
19
|
-
| **qi** | **String** |
|
16
|
+
| **n** | **String** | | [optional] |
|
17
|
+
| **p** | **String** | | [optional] |
|
18
|
+
| **q** | **String** | | [optional] |
|
19
|
+
| **qi** | **String** | | [optional] |
|
20
20
|
| **use** | **String** | The \"use\" (public key use) parameter identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). | [optional] |
|
21
|
-
| **x** | **String** |
|
21
|
+
| **x** | **String** | | [optional] |
|
22
22
|
| **x5c** | **Array<String>** | The \"x5c\" (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** |
|
23
|
+
| **y** | **String** | | [optional] |
|
24
24
|
|
25
25
|
## Example
|
26
26
|
|