ory-oathkeeper-client 0.38.4.beta1 → 0.38.12.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 +8 -8
- data/docs/ApiApi.md +292 -37
- data/docs/CreateRuleCreated.md +8 -7
- data/docs/CreateRuleForbidden.md +8 -7
- data/docs/CreateRuleForbiddenBody.md +18 -17
- data/docs/CreateRuleInternalServerError.md +8 -7
- data/docs/CreateRuleInternalServerErrorBody.md +18 -17
- data/docs/CreateRuleUnauthorized.md +8 -7
- data/docs/CreateRuleUnauthorizedBody.md +18 -17
- data/docs/DecisionsForbidden.md +8 -7
- data/docs/DecisionsForbiddenBody.md +18 -17
- data/docs/DecisionsInternalServerError.md +8 -7
- data/docs/DecisionsInternalServerErrorBody.md +18 -17
- data/docs/DecisionsNotFound.md +8 -7
- data/docs/DecisionsNotFoundBody.md +18 -17
- data/docs/DecisionsUnauthorized.md +8 -7
- data/docs/DecisionsUnauthorizedBody.md +18 -17
- data/docs/DeleteRuleForbidden.md +8 -7
- data/docs/DeleteRuleForbiddenBody.md +18 -17
- data/docs/DeleteRuleInternalServerError.md +8 -7
- data/docs/DeleteRuleInternalServerErrorBody.md +18 -17
- data/docs/DeleteRuleNotFound.md +8 -7
- data/docs/DeleteRuleNotFoundBody.md +18 -17
- data/docs/DeleteRuleUnauthorized.md +8 -7
- data/docs/DeleteRuleUnauthorizedBody.md +18 -17
- data/docs/GetRuleForbidden.md +8 -7
- data/docs/GetRuleForbiddenBody.md +18 -17
- data/docs/GetRuleInternalServerError.md +8 -7
- data/docs/GetRuleInternalServerErrorBody.md +18 -17
- data/docs/GetRuleNotFound.md +8 -7
- data/docs/GetRuleNotFoundBody.md +18 -17
- data/docs/GetRuleOK.md +8 -7
- data/docs/GetRuleUnauthorized.md +8 -7
- data/docs/GetRuleUnauthorizedBody.md +18 -17
- data/docs/GetWellKnownForbidden.md +8 -7
- data/docs/GetWellKnownForbiddenBody.md +18 -17
- data/docs/GetWellKnownJSONWebKeysInternalServerError.md +8 -7
- data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +18 -17
- data/docs/GetWellKnownJSONWebKeysOK.md +8 -7
- data/docs/GetWellKnownOK.md +8 -7
- data/docs/GetWellKnownUnauthorized.md +8 -7
- data/docs/GetWellKnownUnauthorizedBody.md +18 -17
- data/docs/HealthNotReadyStatus.md +8 -7
- data/docs/HealthStatus.md +8 -7
- data/docs/InlineResponse500.md +18 -17
- data/docs/IsInstanceAliveInternalServerError.md +8 -7
- data/docs/IsInstanceAliveInternalServerErrorBody.md +18 -17
- data/docs/IsInstanceAliveOK.md +8 -7
- data/docs/JsonWebKey.md +40 -39
- data/docs/JsonWebKeySet.md +8 -7
- data/docs/JudgeForbidden.md +8 -7
- data/docs/JudgeForbiddenBody.md +18 -17
- data/docs/JudgeInternalServerError.md +8 -7
- data/docs/JudgeInternalServerErrorBody.md +18 -17
- data/docs/JudgeNotFound.md +8 -7
- data/docs/JudgeNotFoundBody.md +18 -17
- data/docs/JudgeUnauthorized.md +8 -7
- data/docs/JudgeUnauthorizedBody.md +18 -17
- data/docs/ListRulesForbidden.md +8 -7
- data/docs/ListRulesForbiddenBody.md +18 -17
- data/docs/ListRulesInternalServerError.md +8 -7
- data/docs/ListRulesInternalServerErrorBody.md +18 -17
- data/docs/ListRulesOK.md +8 -7
- data/docs/ListRulesUnauthorized.md +8 -7
- data/docs/ListRulesUnauthorizedBody.md +18 -17
- data/docs/Rule.md +20 -19
- data/docs/RuleHandler.md +10 -9
- data/docs/RuleMatch.md +10 -9
- data/docs/SwaggerCreateRuleParameters.md +8 -7
- data/docs/SwaggerGetRuleParameters.md +8 -7
- data/docs/SwaggerHealthStatus.md +8 -7
- data/docs/SwaggerJSONWebKey.md +40 -39
- data/docs/SwaggerJSONWebKeySet.md +8 -7
- data/docs/SwaggerListRulesParameters.md +10 -9
- data/docs/SwaggerNotReadyStatus.md +8 -7
- data/docs/SwaggerRule.md +20 -19
- data/docs/SwaggerRuleHandler.md +10 -9
- data/docs/SwaggerRuleMatch.md +10 -9
- data/docs/SwaggerRuleResponse.md +8 -7
- data/docs/SwaggerRulesResponse.md +8 -7
- data/docs/SwaggerUpdateRuleParameters.md +10 -9
- data/docs/SwaggerVersion.md +8 -7
- data/docs/UpdateRuleForbidden.md +8 -7
- data/docs/UpdateRuleForbiddenBody.md +18 -17
- data/docs/UpdateRuleInternalServerError.md +8 -7
- data/docs/UpdateRuleInternalServerErrorBody.md +18 -17
- data/docs/UpdateRuleNotFound.md +8 -7
- data/docs/UpdateRuleNotFoundBody.md +18 -17
- data/docs/UpdateRuleOK.md +8 -7
- data/docs/UpdateRuleUnauthorized.md +8 -7
- data/docs/UpdateRuleUnauthorizedBody.md +18 -17
- data/docs/Upstream.md +12 -11
- data/docs/Version.md +8 -7
- data/lib/ory-oathkeeper-client.rb +2 -4
- data/lib/ory-oathkeeper-client/api/api_api.rb +189 -14
- data/lib/ory-oathkeeper-client/api/health_api.rb +1 -1
- data/lib/ory-oathkeeper-client/api/version_api.rb +1 -1
- data/lib/ory-oathkeeper-client/api_client.rb +51 -49
- data/lib/ory-oathkeeper-client/api_error.rb +2 -2
- data/lib/ory-oathkeeper-client/configuration.rb +40 -11
- data/lib/ory-oathkeeper-client/models/create_rule_created.rb +20 -8
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +20 -8
- data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +20 -8
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +20 -8
- data/lib/ory-oathkeeper-client/models/health_status.rb +20 -8
- data/lib/ory-oathkeeper-client/models/inline_response500.rb +20 -8
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +20 -8
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +20 -8
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +20 -8
- data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/judge_not_found.rb +20 -8
- data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +20 -8
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/rule.rb +20 -8
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +20 -8
- data/lib/ory-oathkeeper-client/models/rule_match.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_rule.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +20 -8
- data/lib/ory-oathkeeper-client/models/swagger_version.rb +20 -8
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +20 -8
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +20 -8
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +20 -8
- data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +20 -8
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +20 -8
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +21 -9
- data/lib/ory-oathkeeper-client/models/upstream.rb +20 -8
- data/lib/ory-oathkeeper-client/models/version.rb +20 -8
- data/lib/ory-oathkeeper-client/version.rb +3 -3
- data/ory-oathkeeper-client.gemspec +4 -5
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +78 -98
data/docs/SwaggerVersion.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**version** | **String** | Version is the service's version. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | Version is the service's version. | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::SwaggerVersion.new(
|
14
|
+
instance = OryHydraClient::SwaggerVersion.new(
|
15
|
+
version: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/UpdateRuleForbidden.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**payload** | [**UpdateRuleForbiddenBody**](UpdateRuleForbiddenBody.md) | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleForbiddenBody**](UpdateRuleForbiddenBody.md) | | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::UpdateRuleForbidden.new(
|
14
|
+
instance = OryHydraClient::UpdateRuleForbidden.new(
|
15
|
+
payload: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**code** | **Integer** | code | [optional]
|
8
|
-
**details** | **Array<
|
9
|
-
**message** | **String** | message | [optional]
|
10
|
-
**reason** | **String** | reason | [optional]
|
11
|
-
**request** | **String** | request | [optional]
|
12
|
-
**status** | **String** | status | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **Integer** | code | [optional] |
|
8
|
+
| **details** | **Array<Object>** | details | [optional] |
|
9
|
+
| **message** | **String** | message | [optional] |
|
10
|
+
| **reason** | **String** | reason | [optional] |
|
11
|
+
| **request** | **String** | request | [optional] |
|
12
|
+
| **status** | **String** | status | [optional] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance = OryHydraClient::UpdateRuleForbiddenBody.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = OryHydraClient::UpdateRuleForbiddenBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**payload** | [**UpdateRuleInternalServerErrorBody**](UpdateRuleInternalServerErrorBody.md) | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleInternalServerErrorBody**](UpdateRuleInternalServerErrorBody.md) | | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::UpdateRuleInternalServerError.new(
|
14
|
+
instance = OryHydraClient::UpdateRuleInternalServerError.new(
|
15
|
+
payload: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**code** | **Integer** | code | [optional]
|
8
|
-
**details** | **Array<
|
9
|
-
**message** | **String** | message | [optional]
|
10
|
-
**reason** | **String** | reason | [optional]
|
11
|
-
**request** | **String** | request | [optional]
|
12
|
-
**status** | **String** | status | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **Integer** | code | [optional] |
|
8
|
+
| **details** | **Array<Object>** | details | [optional] |
|
9
|
+
| **message** | **String** | message | [optional] |
|
10
|
+
| **reason** | **String** | reason | [optional] |
|
11
|
+
| **request** | **String** | request | [optional] |
|
12
|
+
| **status** | **String** | status | [optional] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance = OryHydraClient::UpdateRuleInternalServerErrorBody.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = OryHydraClient::UpdateRuleInternalServerErrorBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|
data/docs/UpdateRuleNotFound.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**payload** | [**UpdateRuleNotFoundBody**](UpdateRuleNotFoundBody.md) | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleNotFoundBody**](UpdateRuleNotFoundBody.md) | | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::UpdateRuleNotFound.new(
|
14
|
+
instance = OryHydraClient::UpdateRuleNotFound.new(
|
15
|
+
payload: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**code** | **Integer** | code | [optional]
|
8
|
-
**details** | **Array<
|
9
|
-
**message** | **String** | message | [optional]
|
10
|
-
**reason** | **String** | reason | [optional]
|
11
|
-
**request** | **String** | request | [optional]
|
12
|
-
**status** | **String** | status | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **Integer** | code | [optional] |
|
8
|
+
| **details** | **Array<Object>** | details | [optional] |
|
9
|
+
| **message** | **String** | message | [optional] |
|
10
|
+
| **reason** | **String** | reason | [optional] |
|
11
|
+
| **request** | **String** | request | [optional] |
|
12
|
+
| **status** | **String** | status | [optional] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance = OryHydraClient::UpdateRuleNotFoundBody.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = OryHydraClient::UpdateRuleNotFoundBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|
data/docs/UpdateRuleOK.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**payload** | [**SwaggerRule**](SwaggerRule.md) | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**SwaggerRule**](SwaggerRule.md) | | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::UpdateRuleOK.new(
|
14
|
+
instance = OryHydraClient::UpdateRuleOK.new(
|
15
|
+
payload: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**payload** | [**UpdateRuleUnauthorizedBody**](UpdateRuleUnauthorizedBody.md) | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleUnauthorizedBody**](UpdateRuleUnauthorizedBody.md) | | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::UpdateRuleUnauthorized.new(
|
14
|
+
instance = OryHydraClient::UpdateRuleUnauthorized.new(
|
15
|
+
payload: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**code** | **Integer** | code | [optional]
|
8
|
-
**details** | **Array<
|
9
|
-
**message** | **String** | message | [optional]
|
10
|
-
**reason** | **String** | reason | [optional]
|
11
|
-
**request** | **String** | request | [optional]
|
12
|
-
**status** | **String** | status | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **Integer** | code | [optional] |
|
8
|
+
| **details** | **Array<Object>** | details | [optional] |
|
9
|
+
| **message** | **String** | message | [optional] |
|
10
|
+
| **reason** | **String** | reason | [optional] |
|
11
|
+
| **request** | **String** | request | [optional] |
|
12
|
+
| **status** | **String** | status | [optional] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'ory-oathkeeper-client'
|
18
18
|
|
19
|
-
instance = OryHydraClient::UpdateRuleUnauthorizedBody.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = OryHydraClient::UpdateRuleUnauthorizedBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|
data/docs/Upstream.md
CHANGED
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**preserve_host** | **Boolean** | PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the hostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so. | [optional]
|
8
|
-
**strip_path** | **String** | StripPath if set, replaces the provided path prefix when forwarding the requested URL to the upstream URL. | [optional]
|
9
|
-
**url** | **String** | URL is the URL the request will be proxied to. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **preserve_host** | **Boolean** | PreserveHost, if false (the default), tells ORY Oathkeeper to set the upstream request's Host header to the hostname of the API's upstream's URL. Setting this flag to true instructs ORY Oathkeeper not to do so. | [optional] |
|
8
|
+
| **strip_path** | **String** | StripPath if set, replaces the provided path prefix when forwarding the requested URL to the upstream URL. | [optional] |
|
9
|
+
| **url** | **String** | URL is the URL the request will be proxied to. | [optional] |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'ory-oathkeeper-client'
|
15
15
|
|
16
|
-
instance = OryHydraClient::Upstream.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = OryHydraClient::Upstream.new(
|
17
|
+
preserve_host: null,
|
18
|
+
strip_path: null,
|
19
|
+
url: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
data/docs/Version.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**version** | **String** | Version is the service's version. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | Version is the service's version. | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-oathkeeper-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::Version.new(
|
14
|
+
instance = OryHydraClient::Version.new(
|
15
|
+
version: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
6
|
+
The version of the OpenAPI document: v0.38.12-beta.1
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,8 +30,6 @@ require 'ory-oathkeeper-client/models/version'
|
|
30
30
|
|
31
31
|
# APIs
|
32
32
|
require 'ory-oathkeeper-client/api/api_api'
|
33
|
-
require 'ory-oathkeeper-client/api/health_api'
|
34
|
-
require 'ory-oathkeeper-client/api/version_api'
|
35
33
|
|
36
34
|
module OryHydraClient
|
37
35
|
class << self
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.38.
|
6
|
+
The version of the OpenAPI document: v0.38.12-beta.1
|
7
7
|
Contact: hi@ory.am
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -51,15 +51,16 @@ module OryHydraClient
|
|
51
51
|
form_params = opts[:form_params] || {}
|
52
52
|
|
53
53
|
# http body (model)
|
54
|
-
post_body = opts[:
|
54
|
+
post_body = opts[:debug_body]
|
55
55
|
|
56
56
|
# return_type
|
57
|
-
return_type = opts[:
|
57
|
+
return_type = opts[:debug_return_type]
|
58
58
|
|
59
59
|
# auth_names
|
60
|
-
auth_names = opts[:
|
60
|
+
auth_names = opts[:debug_auth_names] || []
|
61
61
|
|
62
62
|
new_options = opts.merge(
|
63
|
+
:operation => :"ApiApi.decisions",
|
63
64
|
:header_params => header_params,
|
64
65
|
:query_params => query_params,
|
65
66
|
:form_params => form_params,
|
@@ -113,15 +114,16 @@ module OryHydraClient
|
|
113
114
|
form_params = opts[:form_params] || {}
|
114
115
|
|
115
116
|
# http body (model)
|
116
|
-
post_body = opts[:
|
117
|
+
post_body = opts[:debug_body]
|
117
118
|
|
118
119
|
# return_type
|
119
|
-
return_type = opts[:
|
120
|
+
return_type = opts[:debug_return_type] || 'Rule'
|
120
121
|
|
121
122
|
# auth_names
|
122
|
-
auth_names = opts[:
|
123
|
+
auth_names = opts[:debug_auth_names] || []
|
123
124
|
|
124
125
|
new_options = opts.merge(
|
126
|
+
:operation => :"ApiApi.get_rule",
|
125
127
|
:header_params => header_params,
|
126
128
|
:query_params => query_params,
|
127
129
|
:form_params => form_params,
|
@@ -137,6 +139,63 @@ module OryHydraClient
|
|
137
139
|
return data, status_code, headers
|
138
140
|
end
|
139
141
|
|
142
|
+
# Get service version
|
143
|
+
# 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.
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [Version]
|
146
|
+
def get_version(opts = {})
|
147
|
+
data, _status_code, _headers = get_version_with_http_info(opts)
|
148
|
+
data
|
149
|
+
end
|
150
|
+
|
151
|
+
# Get service version
|
152
|
+
# 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.
|
153
|
+
# @param [Hash] opts the optional parameters
|
154
|
+
# @return [Array<(Version, Integer, Hash)>] Version data, response status code and response headers
|
155
|
+
def get_version_with_http_info(opts = {})
|
156
|
+
if @api_client.config.debugging
|
157
|
+
@api_client.config.logger.debug 'Calling API: ApiApi.get_version ...'
|
158
|
+
end
|
159
|
+
# resource path
|
160
|
+
local_var_path = '/version'
|
161
|
+
|
162
|
+
# query parameters
|
163
|
+
query_params = opts[:query_params] || {}
|
164
|
+
|
165
|
+
# header parameters
|
166
|
+
header_params = opts[:header_params] || {}
|
167
|
+
# HTTP header 'Accept' (if needed)
|
168
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
169
|
+
|
170
|
+
# form parameters
|
171
|
+
form_params = opts[:form_params] || {}
|
172
|
+
|
173
|
+
# http body (model)
|
174
|
+
post_body = opts[:debug_body]
|
175
|
+
|
176
|
+
# return_type
|
177
|
+
return_type = opts[:debug_return_type] || 'Version'
|
178
|
+
|
179
|
+
# auth_names
|
180
|
+
auth_names = opts[:debug_auth_names] || []
|
181
|
+
|
182
|
+
new_options = opts.merge(
|
183
|
+
:operation => :"ApiApi.get_version",
|
184
|
+
:header_params => header_params,
|
185
|
+
:query_params => query_params,
|
186
|
+
:form_params => form_params,
|
187
|
+
:body => post_body,
|
188
|
+
:auth_names => auth_names,
|
189
|
+
:return_type => return_type
|
190
|
+
)
|
191
|
+
|
192
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
193
|
+
if @api_client.config.debugging
|
194
|
+
@api_client.config.logger.debug "API called: ApiApi#get_version\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
195
|
+
end
|
196
|
+
return data, status_code, headers
|
197
|
+
end
|
198
|
+
|
140
199
|
# Lists cryptographic keys
|
141
200
|
# This endpoint returns cryptographic keys that are required to, for example, verify signatures of ID Tokens.
|
142
201
|
# @param [Hash] opts the optional parameters
|
@@ -169,15 +228,16 @@ module OryHydraClient
|
|
169
228
|
form_params = opts[:form_params] || {}
|
170
229
|
|
171
230
|
# http body (model)
|
172
|
-
post_body = opts[:
|
231
|
+
post_body = opts[:debug_body]
|
173
232
|
|
174
233
|
# return_type
|
175
|
-
return_type = opts[:
|
234
|
+
return_type = opts[:debug_return_type] || 'JsonWebKeySet'
|
176
235
|
|
177
236
|
# auth_names
|
178
|
-
auth_names = opts[:
|
237
|
+
auth_names = opts[:debug_auth_names] || []
|
179
238
|
|
180
239
|
new_options = opts.merge(
|
240
|
+
:operation => :"ApiApi.get_well_known_json_web_keys",
|
181
241
|
:header_params => header_params,
|
182
242
|
:query_params => query_params,
|
183
243
|
:form_params => form_params,
|
@@ -193,6 +253,120 @@ module OryHydraClient
|
|
193
253
|
return data, status_code, headers
|
194
254
|
end
|
195
255
|
|
256
|
+
# Check alive status
|
257
|
+
# 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.
|
258
|
+
# @param [Hash] opts the optional parameters
|
259
|
+
# @return [HealthStatus]
|
260
|
+
def is_instance_alive(opts = {})
|
261
|
+
data, _status_code, _headers = is_instance_alive_with_http_info(opts)
|
262
|
+
data
|
263
|
+
end
|
264
|
+
|
265
|
+
# Check alive status
|
266
|
+
# 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.
|
267
|
+
# @param [Hash] opts the optional parameters
|
268
|
+
# @return [Array<(HealthStatus, Integer, Hash)>] HealthStatus data, response status code and response headers
|
269
|
+
def is_instance_alive_with_http_info(opts = {})
|
270
|
+
if @api_client.config.debugging
|
271
|
+
@api_client.config.logger.debug 'Calling API: ApiApi.is_instance_alive ...'
|
272
|
+
end
|
273
|
+
# resource path
|
274
|
+
local_var_path = '/health/alive'
|
275
|
+
|
276
|
+
# query parameters
|
277
|
+
query_params = opts[:query_params] || {}
|
278
|
+
|
279
|
+
# header parameters
|
280
|
+
header_params = opts[:header_params] || {}
|
281
|
+
# HTTP header 'Accept' (if needed)
|
282
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
283
|
+
|
284
|
+
# form parameters
|
285
|
+
form_params = opts[:form_params] || {}
|
286
|
+
|
287
|
+
# http body (model)
|
288
|
+
post_body = opts[:debug_body]
|
289
|
+
|
290
|
+
# return_type
|
291
|
+
return_type = opts[:debug_return_type] || 'HealthStatus'
|
292
|
+
|
293
|
+
# auth_names
|
294
|
+
auth_names = opts[:debug_auth_names] || []
|
295
|
+
|
296
|
+
new_options = opts.merge(
|
297
|
+
:operation => :"ApiApi.is_instance_alive",
|
298
|
+
:header_params => header_params,
|
299
|
+
:query_params => query_params,
|
300
|
+
:form_params => form_params,
|
301
|
+
:body => post_body,
|
302
|
+
:auth_names => auth_names,
|
303
|
+
:return_type => return_type
|
304
|
+
)
|
305
|
+
|
306
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
307
|
+
if @api_client.config.debugging
|
308
|
+
@api_client.config.logger.debug "API called: ApiApi#is_instance_alive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
309
|
+
end
|
310
|
+
return data, status_code, headers
|
311
|
+
end
|
312
|
+
|
313
|
+
# Check readiness status
|
314
|
+
# 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.
|
315
|
+
# @param [Hash] opts the optional parameters
|
316
|
+
# @return [HealthStatus]
|
317
|
+
def is_instance_ready(opts = {})
|
318
|
+
data, _status_code, _headers = is_instance_ready_with_http_info(opts)
|
319
|
+
data
|
320
|
+
end
|
321
|
+
|
322
|
+
# Check readiness status
|
323
|
+
# 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.
|
324
|
+
# @param [Hash] opts the optional parameters
|
325
|
+
# @return [Array<(HealthStatus, Integer, Hash)>] HealthStatus data, response status code and response headers
|
326
|
+
def is_instance_ready_with_http_info(opts = {})
|
327
|
+
if @api_client.config.debugging
|
328
|
+
@api_client.config.logger.debug 'Calling API: ApiApi.is_instance_ready ...'
|
329
|
+
end
|
330
|
+
# resource path
|
331
|
+
local_var_path = '/health/ready'
|
332
|
+
|
333
|
+
# query parameters
|
334
|
+
query_params = opts[:query_params] || {}
|
335
|
+
|
336
|
+
# header parameters
|
337
|
+
header_params = opts[:header_params] || {}
|
338
|
+
# HTTP header 'Accept' (if needed)
|
339
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
340
|
+
|
341
|
+
# form parameters
|
342
|
+
form_params = opts[:form_params] || {}
|
343
|
+
|
344
|
+
# http body (model)
|
345
|
+
post_body = opts[:debug_body]
|
346
|
+
|
347
|
+
# return_type
|
348
|
+
return_type = opts[:debug_return_type] || 'HealthStatus'
|
349
|
+
|
350
|
+
# auth_names
|
351
|
+
auth_names = opts[:debug_auth_names] || []
|
352
|
+
|
353
|
+
new_options = opts.merge(
|
354
|
+
:operation => :"ApiApi.is_instance_ready",
|
355
|
+
:header_params => header_params,
|
356
|
+
:query_params => query_params,
|
357
|
+
:form_params => form_params,
|
358
|
+
:body => post_body,
|
359
|
+
:auth_names => auth_names,
|
360
|
+
:return_type => return_type
|
361
|
+
)
|
362
|
+
|
363
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
364
|
+
if @api_client.config.debugging
|
365
|
+
@api_client.config.logger.debug "API called: ApiApi#is_instance_ready\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
366
|
+
end
|
367
|
+
return data, status_code, headers
|
368
|
+
end
|
369
|
+
|
196
370
|
# List all rules
|
197
371
|
# 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.
|
198
372
|
# @param [Hash] opts the optional parameters
|
@@ -231,15 +405,16 @@ module OryHydraClient
|
|
231
405
|
form_params = opts[:form_params] || {}
|
232
406
|
|
233
407
|
# http body (model)
|
234
|
-
post_body = opts[:
|
408
|
+
post_body = opts[:debug_body]
|
235
409
|
|
236
410
|
# return_type
|
237
|
-
return_type = opts[:
|
411
|
+
return_type = opts[:debug_return_type] || 'Array<Rule>'
|
238
412
|
|
239
413
|
# auth_names
|
240
|
-
auth_names = opts[:
|
414
|
+
auth_names = opts[:debug_auth_names] || []
|
241
415
|
|
242
416
|
new_options = opts.merge(
|
417
|
+
:operation => :"ApiApi.list_rules",
|
243
418
|
:header_params => header_params,
|
244
419
|
:query_params => query_params,
|
245
420
|
:form_params => form_params,
|