ory-oathkeeper-client 0.38.14.beta1 → 0.38.15.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -25
- data/docs/ApiApi.md +22 -22
- data/docs/CreateRuleCreated.md +2 -2
- data/docs/CreateRuleForbidden.md +2 -2
- data/docs/CreateRuleForbiddenBody.md +2 -2
- data/docs/CreateRuleInternalServerError.md +2 -2
- data/docs/CreateRuleInternalServerErrorBody.md +2 -2
- data/docs/CreateRuleUnauthorized.md +2 -2
- data/docs/CreateRuleUnauthorizedBody.md +2 -2
- data/docs/DecisionsForbidden.md +2 -2
- data/docs/DecisionsForbiddenBody.md +2 -2
- data/docs/DecisionsInternalServerError.md +2 -2
- data/docs/DecisionsInternalServerErrorBody.md +2 -2
- data/docs/DecisionsNotFound.md +2 -2
- data/docs/DecisionsNotFoundBody.md +2 -2
- data/docs/DecisionsUnauthorized.md +2 -2
- data/docs/DecisionsUnauthorizedBody.md +2 -2
- data/docs/DeleteRuleForbidden.md +2 -2
- data/docs/DeleteRuleForbiddenBody.md +2 -2
- data/docs/DeleteRuleInternalServerError.md +2 -2
- data/docs/DeleteRuleInternalServerErrorBody.md +2 -2
- data/docs/DeleteRuleNotFound.md +2 -2
- data/docs/DeleteRuleNotFoundBody.md +2 -2
- data/docs/DeleteRuleUnauthorized.md +2 -2
- data/docs/DeleteRuleUnauthorizedBody.md +2 -2
- data/docs/GetRuleForbidden.md +2 -2
- data/docs/GetRuleForbiddenBody.md +2 -2
- data/docs/GetRuleInternalServerError.md +2 -2
- data/docs/GetRuleInternalServerErrorBody.md +2 -2
- data/docs/GetRuleNotFound.md +2 -2
- data/docs/GetRuleNotFoundBody.md +2 -2
- data/docs/GetRuleOK.md +2 -2
- data/docs/GetRuleUnauthorized.md +2 -2
- data/docs/GetRuleUnauthorizedBody.md +2 -2
- data/docs/GetWellKnownForbidden.md +2 -2
- data/docs/GetWellKnownForbiddenBody.md +2 -2
- data/docs/GetWellKnownJSONWebKeysInternalServerError.md +2 -2
- data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +2 -2
- data/docs/GetWellKnownJSONWebKeysOK.md +2 -2
- data/docs/GetWellKnownOK.md +2 -2
- data/docs/GetWellKnownUnauthorized.md +2 -2
- data/docs/GetWellKnownUnauthorizedBody.md +2 -2
- data/docs/HealthNotReadyStatus.md +2 -2
- data/docs/HealthStatus.md +2 -2
- data/docs/InlineResponse500.md +2 -2
- data/docs/IsInstanceAliveInternalServerError.md +2 -2
- data/docs/IsInstanceAliveInternalServerErrorBody.md +2 -2
- data/docs/IsInstanceAliveOK.md +2 -2
- data/docs/JsonWebKey.md +2 -2
- data/docs/JsonWebKeySet.md +2 -2
- data/docs/JudgeForbidden.md +2 -2
- data/docs/JudgeForbiddenBody.md +2 -2
- data/docs/JudgeInternalServerError.md +2 -2
- data/docs/JudgeInternalServerErrorBody.md +2 -2
- data/docs/JudgeNotFound.md +2 -2
- data/docs/JudgeNotFoundBody.md +2 -2
- data/docs/JudgeUnauthorized.md +2 -2
- data/docs/JudgeUnauthorizedBody.md +2 -2
- data/docs/ListRulesForbidden.md +2 -2
- data/docs/ListRulesForbiddenBody.md +2 -2
- data/docs/ListRulesInternalServerError.md +2 -2
- data/docs/ListRulesInternalServerErrorBody.md +2 -2
- data/docs/ListRulesOK.md +2 -2
- data/docs/ListRulesUnauthorized.md +2 -2
- data/docs/ListRulesUnauthorizedBody.md +2 -2
- data/docs/Rule.md +2 -2
- data/docs/RuleHandler.md +2 -2
- data/docs/RuleMatch.md +2 -2
- data/docs/SwaggerCreateRuleParameters.md +2 -2
- data/docs/SwaggerGetRuleParameters.md +2 -2
- data/docs/SwaggerHealthStatus.md +2 -2
- data/docs/SwaggerJSONWebKey.md +2 -2
- data/docs/SwaggerJSONWebKeySet.md +2 -2
- data/docs/SwaggerListRulesParameters.md +2 -2
- data/docs/SwaggerNotReadyStatus.md +2 -2
- data/docs/SwaggerRule.md +2 -2
- data/docs/SwaggerRuleHandler.md +2 -2
- data/docs/SwaggerRuleMatch.md +2 -2
- data/docs/SwaggerRuleResponse.md +2 -2
- data/docs/SwaggerRulesResponse.md +2 -2
- data/docs/SwaggerUpdateRuleParameters.md +2 -2
- data/docs/SwaggerVersion.md +2 -2
- data/docs/UpdateRuleForbidden.md +2 -2
- data/docs/UpdateRuleForbiddenBody.md +2 -2
- data/docs/UpdateRuleInternalServerError.md +2 -2
- data/docs/UpdateRuleInternalServerErrorBody.md +2 -2
- data/docs/UpdateRuleNotFound.md +2 -2
- data/docs/UpdateRuleNotFoundBody.md +2 -2
- data/docs/UpdateRuleOK.md +2 -2
- data/docs/UpdateRuleUnauthorized.md +2 -2
- data/docs/UpdateRuleUnauthorizedBody.md +2 -2
- data/docs/Upstream.md +2 -2
- data/docs/Version.md +2 -2
- data/lib/ory-oathkeeper-client/api/api_api.rb +3 -3
- data/lib/ory-oathkeeper-client/api_client.rb +4 -4
- data/lib/ory-oathkeeper-client/api_error.rb +3 -3
- data/lib/ory-oathkeeper-client/configuration.rb +3 -3
- data/lib/ory-oathkeeper-client/models/create_rule_created.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/health_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/inline_response500.rb +6 -6
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +6 -6
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/rule.rb +6 -6
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +6 -6
- data/lib/ory-oathkeeper-client/models/rule_match.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +6 -6
- data/lib/ory-oathkeeper-client/models/swagger_version.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +6 -6
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +6 -6
- data/lib/ory-oathkeeper-client/models/upstream.rb +6 -6
- data/lib/ory-oathkeeper-client/models/version.rb +6 -6
- data/lib/ory-oathkeeper-client/version.rb +4 -4
- data/lib/ory-oathkeeper-client.rb +4 -4
- data/ory-oathkeeper-client.gemspec +3 -3
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +5 -5
- data/spec/spec_helper.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bd9d5c0b3f7f6f7480c9215b0152a1100b800ef8504b98c926af0ecdfe39eb7
|
4
|
+
data.tar.gz: aac18e491eed28ccb06a2b55ca16ef0721781442b38ebfa9cc3cad723f502d40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63d299b11ba044c01b93f965abfd303da70a59e73db038098f585c117010a451a05f71f6d9b7615ddf7c0d1896581bcf8f8d18283dc73c3db7a7152d3df25bd5
|
7
|
+
data.tar.gz: ccf2e10eb8b804e7c5a4431d513ae2a3541e9ef23162965a4f37683a292fc03d7580b482acf263c4dedea1cabeb6bdad49a6f89975fbc7085fd2141bbe577101
|
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
# ory-oathkeeper-client
|
2
2
|
|
3
|
-
|
3
|
+
OryOathkeeperClient - the Ruby gem for the ORY Oathkeeper
|
4
4
|
|
5
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.
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version: v0.38.
|
10
|
-
- Package version: v0.38.
|
9
|
+
- API version: v0.38.15-beta.1
|
10
|
+
- Package version: v0.38.15-beta.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://www.ory.am](https://www.ory.am)
|
13
13
|
|
@@ -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.15-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.15-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.15-beta.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -57,12 +57,12 @@ Please follow the [installation](#installation) procedure and then run the follo
|
|
57
57
|
# Load the gem
|
58
58
|
require 'ory-oathkeeper-client'
|
59
59
|
|
60
|
-
api_instance =
|
60
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
61
61
|
|
62
62
|
begin
|
63
63
|
#Access Control Decision API
|
64
64
|
api_instance.decisions
|
65
|
-
rescue
|
65
|
+
rescue OryOathkeeperClient::ApiError => e
|
66
66
|
puts "Exception when calling ApiApi->decisions: #{e}"
|
67
67
|
end
|
68
68
|
|
@@ -74,27 +74,27 @@ All URIs are relative to *http://localhost*
|
|
74
74
|
|
75
75
|
Class | Method | HTTP request | Description
|
76
76
|
------------ | ------------- | ------------- | -------------
|
77
|
-
*
|
78
|
-
*
|
79
|
-
*
|
80
|
-
*
|
81
|
-
*
|
82
|
-
*
|
83
|
-
*
|
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_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
|
-
- [
|
89
|
-
- [
|
90
|
-
- [
|
91
|
-
- [
|
92
|
-
- [
|
93
|
-
- [
|
94
|
-
- [
|
95
|
-
- [
|
96
|
-
- [
|
97
|
-
- [
|
88
|
+
- [OryOathkeeperClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
|
89
|
+
- [OryOathkeeperClient::HealthStatus](docs/HealthStatus.md)
|
90
|
+
- [OryOathkeeperClient::InlineResponse500](docs/InlineResponse500.md)
|
91
|
+
- [OryOathkeeperClient::JsonWebKey](docs/JsonWebKey.md)
|
92
|
+
- [OryOathkeeperClient::JsonWebKeySet](docs/JsonWebKeySet.md)
|
93
|
+
- [OryOathkeeperClient::Rule](docs/Rule.md)
|
94
|
+
- [OryOathkeeperClient::RuleHandler](docs/RuleHandler.md)
|
95
|
+
- [OryOathkeeperClient::RuleMatch](docs/RuleMatch.md)
|
96
|
+
- [OryOathkeeperClient::Upstream](docs/Upstream.md)
|
97
|
+
- [OryOathkeeperClient::Version](docs/Version.md)
|
98
98
|
|
99
99
|
|
100
100
|
## Documentation for Authorization
|
data/docs/ApiApi.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::ApiApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost*
|
4
4
|
|
@@ -27,12 +27,12 @@ Access Control Decision API
|
|
27
27
|
require 'time'
|
28
28
|
require 'ory-oathkeeper-client'
|
29
29
|
|
30
|
-
api_instance =
|
30
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
31
31
|
|
32
32
|
begin
|
33
33
|
# Access Control Decision API
|
34
34
|
api_instance.decisions
|
35
|
-
rescue
|
35
|
+
rescue OryOathkeeperClient::ApiError => e
|
36
36
|
puts "Error when calling ApiApi->decisions: #{e}"
|
37
37
|
end
|
38
38
|
```
|
@@ -50,7 +50,7 @@ begin
|
|
50
50
|
p status_code # => 2xx
|
51
51
|
p headers # => { ... }
|
52
52
|
p data # => nil
|
53
|
-
rescue
|
53
|
+
rescue OryOathkeeperClient::ApiError => e
|
54
54
|
puts "Error when calling ApiApi->decisions_with_http_info: #{e}"
|
55
55
|
end
|
56
56
|
```
|
@@ -87,14 +87,14 @@ Use this method to retrieve a rule from the storage. If it does not exist you wi
|
|
87
87
|
require 'time'
|
88
88
|
require 'ory-oathkeeper-client'
|
89
89
|
|
90
|
-
api_instance =
|
90
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
91
91
|
id = 'id_example' # String |
|
92
92
|
|
93
93
|
begin
|
94
94
|
# Retrieve a rule
|
95
95
|
result = api_instance.get_rule(id)
|
96
96
|
p result
|
97
|
-
rescue
|
97
|
+
rescue OryOathkeeperClient::ApiError => e
|
98
98
|
puts "Error when calling ApiApi->get_rule: #{e}"
|
99
99
|
end
|
100
100
|
```
|
@@ -112,7 +112,7 @@ begin
|
|
112
112
|
p status_code # => 2xx
|
113
113
|
p headers # => { ... }
|
114
114
|
p data # => <Rule>
|
115
|
-
rescue
|
115
|
+
rescue OryOathkeeperClient::ApiError => e
|
116
116
|
puts "Error when calling ApiApi->get_rule_with_http_info: #{e}"
|
117
117
|
end
|
118
118
|
```
|
@@ -151,13 +151,13 @@ This endpoint returns the service version typically notated using semantic versi
|
|
151
151
|
require 'time'
|
152
152
|
require 'ory-oathkeeper-client'
|
153
153
|
|
154
|
-
api_instance =
|
154
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
155
155
|
|
156
156
|
begin
|
157
157
|
# Get service version
|
158
158
|
result = api_instance.get_version
|
159
159
|
p result
|
160
|
-
rescue
|
160
|
+
rescue OryOathkeeperClient::ApiError => e
|
161
161
|
puts "Error when calling ApiApi->get_version: #{e}"
|
162
162
|
end
|
163
163
|
```
|
@@ -175,7 +175,7 @@ begin
|
|
175
175
|
p status_code # => 2xx
|
176
176
|
p headers # => { ... }
|
177
177
|
p data # => <Version>
|
178
|
-
rescue
|
178
|
+
rescue OryOathkeeperClient::ApiError => e
|
179
179
|
puts "Error when calling ApiApi->get_version_with_http_info: #{e}"
|
180
180
|
end
|
181
181
|
```
|
@@ -212,13 +212,13 @@ This endpoint returns cryptographic keys that are required to, for example, veri
|
|
212
212
|
require 'time'
|
213
213
|
require 'ory-oathkeeper-client'
|
214
214
|
|
215
|
-
api_instance =
|
215
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
216
216
|
|
217
217
|
begin
|
218
218
|
# Lists cryptographic keys
|
219
219
|
result = api_instance.get_well_known_json_web_keys
|
220
220
|
p result
|
221
|
-
rescue
|
221
|
+
rescue OryOathkeeperClient::ApiError => e
|
222
222
|
puts "Error when calling ApiApi->get_well_known_json_web_keys: #{e}"
|
223
223
|
end
|
224
224
|
```
|
@@ -236,7 +236,7 @@ begin
|
|
236
236
|
p status_code # => 2xx
|
237
237
|
p headers # => { ... }
|
238
238
|
p data # => <JsonWebKeySet>
|
239
|
-
rescue
|
239
|
+
rescue OryOathkeeperClient::ApiError => e
|
240
240
|
puts "Error when calling ApiApi->get_well_known_json_web_keys_with_http_info: #{e}"
|
241
241
|
end
|
242
242
|
```
|
@@ -273,13 +273,13 @@ This endpoint returns a 200 status code when the HTTP server is up running. This
|
|
273
273
|
require 'time'
|
274
274
|
require 'ory-oathkeeper-client'
|
275
275
|
|
276
|
-
api_instance =
|
276
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
277
277
|
|
278
278
|
begin
|
279
279
|
# Check alive status
|
280
280
|
result = api_instance.is_instance_alive
|
281
281
|
p result
|
282
|
-
rescue
|
282
|
+
rescue OryOathkeeperClient::ApiError => e
|
283
283
|
puts "Error when calling ApiApi->is_instance_alive: #{e}"
|
284
284
|
end
|
285
285
|
```
|
@@ -297,7 +297,7 @@ begin
|
|
297
297
|
p status_code # => 2xx
|
298
298
|
p headers # => { ... }
|
299
299
|
p data # => <HealthStatus>
|
300
|
-
rescue
|
300
|
+
rescue OryOathkeeperClient::ApiError => e
|
301
301
|
puts "Error when calling ApiApi->is_instance_alive_with_http_info: #{e}"
|
302
302
|
end
|
303
303
|
```
|
@@ -334,13 +334,13 @@ This endpoint returns a 200 status code when the HTTP server is up running and t
|
|
334
334
|
require 'time'
|
335
335
|
require 'ory-oathkeeper-client'
|
336
336
|
|
337
|
-
api_instance =
|
337
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
338
338
|
|
339
339
|
begin
|
340
340
|
# Check readiness status
|
341
341
|
result = api_instance.is_instance_ready
|
342
342
|
p result
|
343
|
-
rescue
|
343
|
+
rescue OryOathkeeperClient::ApiError => e
|
344
344
|
puts "Error when calling ApiApi->is_instance_ready: #{e}"
|
345
345
|
end
|
346
346
|
```
|
@@ -358,7 +358,7 @@ begin
|
|
358
358
|
p status_code # => 2xx
|
359
359
|
p headers # => { ... }
|
360
360
|
p data # => <HealthStatus>
|
361
|
-
rescue
|
361
|
+
rescue OryOathkeeperClient::ApiError => e
|
362
362
|
puts "Error when calling ApiApi->is_instance_ready_with_http_info: #{e}"
|
363
363
|
end
|
364
364
|
```
|
@@ -395,7 +395,7 @@ This method returns an array of all rules that are stored in the backend. This i
|
|
395
395
|
require 'time'
|
396
396
|
require 'ory-oathkeeper-client'
|
397
397
|
|
398
|
-
api_instance =
|
398
|
+
api_instance = OryOathkeeperClient::ApiApi.new
|
399
399
|
opts = {
|
400
400
|
limit: 789, # Integer | The maximum amount of rules returned.
|
401
401
|
offset: 789 # Integer | The offset from where to start looking.
|
@@ -405,7 +405,7 @@ begin
|
|
405
405
|
# List all rules
|
406
406
|
result = api_instance.list_rules(opts)
|
407
407
|
p result
|
408
|
-
rescue
|
408
|
+
rescue OryOathkeeperClient::ApiError => e
|
409
409
|
puts "Error when calling ApiApi->list_rules: #{e}"
|
410
410
|
end
|
411
411
|
```
|
@@ -423,7 +423,7 @@ begin
|
|
423
423
|
p status_code # => 2xx
|
424
424
|
p headers # => { ... }
|
425
425
|
p data # => <Array<Rule>>
|
426
|
-
rescue
|
426
|
+
rescue OryOathkeeperClient::ApiError => e
|
427
427
|
puts "Error when calling ApiApi->list_rules_with_http_info: #{e}"
|
428
428
|
end
|
429
429
|
```
|
data/docs/CreateRuleCreated.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleCreated
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = OryOathkeeperClient::CreateRuleCreated.new(
|
15
15
|
payload: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/CreateRuleForbidden.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleForbidden
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = OryOathkeeperClient::CreateRuleForbidden.new(
|
15
15
|
payload: null
|
16
16
|
)
|
17
17
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleForbiddenBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = OryOathkeeperClient::CreateRuleForbiddenBody.new(
|
20
20
|
code: null,
|
21
21
|
details: null,
|
22
22
|
message: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleInternalServerError
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = OryOathkeeperClient::CreateRuleInternalServerError.new(
|
15
15
|
payload: null
|
16
16
|
)
|
17
17
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleInternalServerErrorBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = OryOathkeeperClient::CreateRuleInternalServerErrorBody.new(
|
20
20
|
code: null,
|
21
21
|
details: null,
|
22
22
|
message: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleUnauthorized
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = OryOathkeeperClient::CreateRuleUnauthorized.new(
|
15
15
|
payload: null
|
16
16
|
)
|
17
17
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::CreateRuleUnauthorizedBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = OryOathkeeperClient::CreateRuleUnauthorizedBody.new(
|
20
20
|
code: null,
|
21
21
|
details: null,
|
22
22
|
message: null,
|
data/docs/DecisionsForbidden.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::DecisionsForbidden
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = OryOathkeeperClient::DecisionsForbidden.new(
|
15
15
|
payload: null
|
16
16
|
)
|
17
17
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::DecisionsForbiddenBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = OryOathkeeperClient::DecisionsForbiddenBody.new(
|
20
20
|
code: null,
|
21
21
|
details: null,
|
22
22
|
message: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::DecisionsInternalServerError
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = OryOathkeeperClient::DecisionsInternalServerError.new(
|
15
15
|
payload: null
|
16
16
|
)
|
17
17
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# OryOathkeeperClient::DecisionsInternalServerErrorBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = OryOathkeeperClient::DecisionsInternalServerErrorBody.new(
|
20
20
|
code: null,
|
21
21
|
details: null,
|
22
22
|
message: null,
|