ory-oathkeeper-client 0.0.0.alpha62 → 0.35.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +34 -106
- data/docs/ApiApi.md +46 -301
- data/docs/CreateRuleCreated.md +8 -9
- data/docs/CreateRuleForbidden.md +8 -9
- data/docs/CreateRuleForbiddenBody.md +18 -19
- data/docs/CreateRuleInternalServerError.md +8 -9
- data/docs/CreateRuleInternalServerErrorBody.md +18 -19
- data/docs/CreateRuleUnauthorized.md +8 -9
- data/docs/CreateRuleUnauthorizedBody.md +18 -19
- data/docs/DecisionsForbidden.md +8 -9
- data/docs/DecisionsForbiddenBody.md +18 -19
- data/docs/DecisionsInternalServerError.md +8 -9
- data/docs/DecisionsInternalServerErrorBody.md +18 -19
- data/docs/DecisionsNotFound.md +8 -9
- data/docs/DecisionsNotFoundBody.md +18 -19
- data/docs/DecisionsUnauthorized.md +8 -9
- data/docs/DecisionsUnauthorizedBody.md +18 -19
- data/docs/DeleteRuleForbidden.md +8 -9
- data/docs/DeleteRuleForbiddenBody.md +18 -19
- data/docs/DeleteRuleInternalServerError.md +8 -9
- data/docs/DeleteRuleInternalServerErrorBody.md +18 -19
- data/docs/DeleteRuleNotFound.md +8 -9
- data/docs/DeleteRuleNotFoundBody.md +18 -19
- data/docs/DeleteRuleUnauthorized.md +8 -9
- data/docs/DeleteRuleUnauthorizedBody.md +18 -19
- data/docs/GetRuleForbidden.md +8 -9
- data/docs/GetRuleForbiddenBody.md +18 -19
- data/docs/GetRuleInternalServerError.md +8 -9
- data/docs/GetRuleInternalServerErrorBody.md +18 -19
- data/docs/GetRuleNotFound.md +8 -9
- data/docs/GetRuleNotFoundBody.md +18 -19
- data/docs/GetRuleOK.md +8 -9
- data/docs/GetRuleUnauthorized.md +8 -9
- data/docs/GetRuleUnauthorizedBody.md +18 -19
- data/docs/GetWellKnownForbidden.md +8 -9
- data/docs/GetWellKnownForbiddenBody.md +18 -19
- data/docs/GetWellKnownJSONWebKeysInternalServerError.md +8 -9
- data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +18 -19
- data/docs/GetWellKnownJSONWebKeysOK.md +8 -9
- data/docs/GetWellKnownOK.md +8 -9
- data/docs/GetWellKnownUnauthorized.md +8 -9
- data/docs/GetWellKnownUnauthorizedBody.md +18 -19
- data/docs/HealthNotReadyStatus.md +8 -9
- data/docs/HealthStatus.md +8 -9
- data/docs/InlineResponse500.md +18 -19
- data/docs/IsInstanceAliveInternalServerError.md +8 -9
- data/docs/IsInstanceAliveInternalServerErrorBody.md +18 -19
- data/docs/IsInstanceAliveOK.md +8 -9
- data/docs/JsonWebKey.md +40 -41
- data/docs/JsonWebKeySet.md +8 -9
- data/docs/JudgeForbidden.md +8 -9
- data/docs/JudgeForbiddenBody.md +18 -19
- data/docs/JudgeInternalServerError.md +8 -9
- data/docs/JudgeInternalServerErrorBody.md +18 -19
- data/docs/JudgeNotFound.md +8 -9
- data/docs/JudgeNotFoundBody.md +18 -19
- data/docs/JudgeUnauthorized.md +8 -9
- data/docs/JudgeUnauthorizedBody.md +18 -19
- data/docs/ListRulesForbidden.md +8 -9
- data/docs/ListRulesForbiddenBody.md +18 -19
- data/docs/ListRulesInternalServerError.md +8 -9
- data/docs/ListRulesInternalServerErrorBody.md +18 -19
- data/docs/ListRulesOK.md +8 -9
- data/docs/ListRulesUnauthorized.md +8 -9
- data/docs/ListRulesUnauthorizedBody.md +18 -19
- data/docs/Rule.md +20 -21
- data/docs/RuleHandler.md +10 -11
- data/docs/RuleMatch.md +10 -11
- data/docs/SwaggerCreateRuleParameters.md +8 -9
- data/docs/SwaggerGetRuleParameters.md +8 -9
- data/docs/SwaggerHealthStatus.md +8 -9
- data/docs/SwaggerJSONWebKey.md +40 -41
- data/docs/SwaggerJSONWebKeySet.md +8 -9
- data/docs/SwaggerListRulesParameters.md +10 -11
- data/docs/SwaggerNotReadyStatus.md +8 -9
- data/docs/SwaggerRule.md +20 -21
- data/docs/SwaggerRuleHandler.md +10 -11
- data/docs/SwaggerRuleMatch.md +10 -11
- data/docs/SwaggerRuleResponse.md +8 -9
- data/docs/SwaggerRulesResponse.md +8 -9
- data/docs/SwaggerUpdateRuleParameters.md +10 -11
- data/docs/SwaggerVersion.md +8 -9
- data/docs/UpdateRuleForbidden.md +8 -9
- data/docs/UpdateRuleForbiddenBody.md +18 -19
- data/docs/UpdateRuleInternalServerError.md +8 -9
- data/docs/UpdateRuleInternalServerErrorBody.md +18 -19
- data/docs/UpdateRuleNotFound.md +8 -9
- data/docs/UpdateRuleNotFoundBody.md +18 -19
- data/docs/UpdateRuleOK.md +8 -9
- data/docs/UpdateRuleUnauthorized.md +8 -9
- data/docs/UpdateRuleUnauthorizedBody.md +18 -19
- data/docs/Upstream.md +12 -13
- data/docs/Version.md +8 -9
- data/lib/ory-oathkeeper-client/api/api_api.rb +15 -190
- data/lib/ory-oathkeeper-client/api/health_api.rb +2 -2
- data/lib/ory-oathkeeper-client/api/version_api.rb +2 -2
- data/lib/ory-oathkeeper-client/api_client.rb +48 -52
- data/lib/ory-oathkeeper-client/api_error.rb +3 -3
- data/lib/ory-oathkeeper-client/configuration.rb +12 -41
- data/lib/ory-oathkeeper-client/models/create_rule_created.rb +11 -23
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +11 -23
- data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +11 -23
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +12 -23
- data/lib/ory-oathkeeper-client/models/health_status.rb +11 -23
- data/lib/ory-oathkeeper-client/models/inline_response500.rb +12 -24
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +11 -23
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +24 -23
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +11 -23
- data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/judge_not_found.rb +11 -23
- data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +13 -25
- data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +11 -23
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/rule.rb +11 -23
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +12 -23
- data/lib/ory-oathkeeper-client/models/rule_match.rb +12 -23
- data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_rule.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +11 -23
- data/lib/ory-oathkeeper-client/models/swagger_version.rb +11 -23
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +11 -23
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +11 -23
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +11 -23
- data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +11 -23
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +11 -23
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +12 -24
- data/lib/ory-oathkeeper-client/models/upstream.rb +12 -24
- data/lib/ory-oathkeeper-client/models/version.rb +12 -23
- data/lib/ory-oathkeeper-client/version.rb +4 -4
- data/lib/ory-oathkeeper-client.rb +6 -76
- data/ory-oathkeeper-client.gemspec +6 -5
- data/spec/api/health_api_spec.rb +2 -2
- data/spec/api/version_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +32 -32
- data/spec/configuration_spec.rb +5 -5
- data/spec/spec_helper.rb +2 -2
- metadata +99 -79
@@ -1,28 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::JudgeInternalServerErrorBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, 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
|
+
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'OryHydraClient'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
status: null
|
26
|
-
)
|
19
|
+
instance = OryHydraClient::JudgeInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
27
25
|
```
|
28
26
|
|
27
|
+
|
data/docs/JudgeNotFound.md
CHANGED
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::JudgeNotFound
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**JudgeNotFoundBody**](JudgeNotFoundBody.md) | | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
payload: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::JudgeNotFound.new(payload: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
data/docs/JudgeNotFoundBody.md
CHANGED
@@ -1,28 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::JudgeNotFoundBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, 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
|
+
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'OryHydraClient'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
status: null
|
26
|
-
)
|
19
|
+
instance = OryHydraClient::JudgeNotFoundBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
27
25
|
```
|
28
26
|
|
27
|
+
|
data/docs/JudgeUnauthorized.md
CHANGED
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::JudgeUnauthorized
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**JudgeUnauthorizedBody**](JudgeUnauthorizedBody.md) | | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
payload: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::JudgeUnauthorized.new(payload: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
@@ -1,28 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::JudgeUnauthorizedBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, 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
|
+
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'OryHydraClient'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
status: null
|
26
|
-
)
|
19
|
+
instance = OryHydraClient::JudgeUnauthorizedBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
27
25
|
```
|
28
26
|
|
27
|
+
|
data/docs/ListRulesForbidden.md
CHANGED
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesForbidden
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**ListRulesForbiddenBody**](ListRulesForbiddenBody.md) | | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
payload: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::ListRulesForbidden.new(payload: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
@@ -1,28 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesForbiddenBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, 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
|
+
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'OryHydraClient'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
status: null
|
26
|
-
)
|
19
|
+
instance = OryHydraClient::ListRulesForbiddenBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
27
25
|
```
|
28
26
|
|
27
|
+
|
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesInternalServerError
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**ListRulesInternalServerErrorBody**](ListRulesInternalServerErrorBody.md) | | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
payload: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::ListRulesInternalServerError.new(payload: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
@@ -1,28 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesInternalServerErrorBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, 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
|
+
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'OryHydraClient'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
status: null
|
26
|
-
)
|
19
|
+
instance = OryHydraClient::ListRulesInternalServerErrorBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
27
25
|
```
|
28
26
|
|
27
|
+
|
data/docs/ListRulesOK.md
CHANGED
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesOK
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**Array<SwaggerRule>**](SwaggerRule.md) | payload | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
payload: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::ListRulesOK.new(payload: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesUnauthorized
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**payload** | [**ListRulesUnauthorizedBody**](ListRulesUnauthorizedBody.md) | | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
payload: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::ListRulesUnauthorized.new(payload: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
@@ -1,28 +1,27 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::ListRulesUnauthorizedBody
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | code | [optional]
|
8
|
+
**details** | **Array<Hash<String, 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
|
+
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'OryHydraClient'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
status: null
|
26
|
-
)
|
19
|
+
instance = OryHydraClient::ListRulesUnauthorizedBody.new(code: null,
|
20
|
+
details: null,
|
21
|
+
message: null,
|
22
|
+
reason: null,
|
23
|
+
request: null,
|
24
|
+
status: null)
|
27
25
|
```
|
28
26
|
|
27
|
+
|
data/docs/Rule.md
CHANGED
@@ -1,30 +1,29 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::Rule
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**authenticators** | [**Array<RuleHandler>**](RuleHandler.md) | Authenticators is a list of authentication handlers that will try and authenticate the provided credentials. Authenticators are checked iteratively from index 0 to n and if the first authenticator to return a positive result will be the one used. If you want the rule to first check a specific authenticator before \"falling back\" to others, have that authenticator as the first item in the array. | [optional]
|
8
|
+
**authorizer** | [**RuleHandler**](RuleHandler.md) | | [optional]
|
9
|
+
**description** | **String** | Description is a human readable description of this rule. | [optional]
|
10
|
+
**id** | **String** | ID is the unique id of the rule. It can be at most 190 characters long, but the layout of the ID is up to you. You will need this ID later on to update or delete the rule. | [optional]
|
11
|
+
**match** | [**RuleMatch**](RuleMatch.md) | | [optional]
|
12
|
+
**mutators** | [**Array<RuleHandler>**](RuleHandler.md) | Mutators is a list of mutation handlers that transform the HTTP request. A common use case is generating a new set of credentials (e.g. JWT) which then will be forwarded to the upstream server. Mutations are performed iteratively from index 0 to n and should all succeed in order for the HTTP request to be forwarded. | [optional]
|
13
|
+
**upstream** | [**Upstream**](Upstream.md) | | [optional]
|
14
14
|
|
15
|
-
##
|
15
|
+
## Code Sample
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'OryHydraClient'
|
19
19
|
|
20
|
-
instance =
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
upstream: null
|
28
|
-
)
|
20
|
+
instance = OryHydraClient::Rule.new(authenticators: null,
|
21
|
+
authorizer: null,
|
22
|
+
description: null,
|
23
|
+
id: null,
|
24
|
+
match: null,
|
25
|
+
mutators: null,
|
26
|
+
upstream: null)
|
29
27
|
```
|
30
28
|
|
29
|
+
|
data/docs/RuleHandler.md
CHANGED
@@ -1,20 +1,19 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::RuleHandler
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**config** | [**Object**](.md) | Config contains the configuration for the handler. Please read the user guide for a complete list of each handler's available settings. | [optional]
|
8
|
+
**handler** | **String** | Handler identifies the implementation which will be used to handle this specific request. Please read the user guide for a complete list of available handlers. | [optional]
|
9
9
|
|
10
|
-
##
|
10
|
+
## Code Sample
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'OryHydraClient'
|
14
14
|
|
15
|
-
instance =
|
16
|
-
|
17
|
-
handler: null
|
18
|
-
)
|
15
|
+
instance = OryHydraClient::RuleHandler.new(config: null,
|
16
|
+
handler: null)
|
19
17
|
```
|
20
18
|
|
19
|
+
|
data/docs/RuleMatch.md
CHANGED
@@ -1,20 +1,19 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::RuleMatch
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**methods** | **Array<String>** | An array of HTTP methods (e.g. GET, POST, PUT, DELETE, ...). When ORY Oathkeeper searches for rules to decide what to do with an incoming request to the proxy server, it compares the HTTP method of the incoming request with the HTTP methods of each rules. If a match is found, the rule is considered a partial match. If the matchesUrl field is satisfied as well, the rule is considered a full match. | [optional]
|
8
|
+
**url** | **String** | This field represents the URL pattern this rule matches. When ORY Oathkeeper searches for rules to decide what to do with an incoming request to the proxy server, it compares the full request URL (e.g. https://mydomain.com/api/resource) without query parameters of the incoming request with this field. If a match is found, the rule is considered a partial match. If the matchesMethods field is satisfied as well, the rule is considered a full match. You can use regular expressions in this field to match more than one url. Regular expressions are encapsulated in brackets < and >. The following example matches all paths of the domain `mydomain.com`: `https://mydomain.com/<.*>`. | [optional]
|
9
9
|
|
10
|
-
##
|
10
|
+
## Code Sample
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'OryHydraClient'
|
14
14
|
|
15
|
-
instance =
|
16
|
-
|
17
|
-
url: null
|
18
|
-
)
|
15
|
+
instance = OryHydraClient::RuleMatch.new(methods: null,
|
16
|
+
url: null)
|
19
17
|
```
|
20
18
|
|
19
|
+
|
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::SwaggerCreateRuleParameters
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**body** | [**SwaggerRule**](SwaggerRule.md) | | [optional]
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
body: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::SwaggerCreateRuleParameters.new(body: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|
@@ -1,18 +1,17 @@
|
|
1
|
-
#
|
1
|
+
# OryHydraClient::SwaggerGetRuleParameters
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | in: path |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'OryHydraClient'
|
13
13
|
|
14
|
-
instance =
|
15
|
-
id: null
|
16
|
-
)
|
14
|
+
instance = OryHydraClient::SwaggerGetRuleParameters.new(id: null)
|
17
15
|
```
|
18
16
|
|
17
|
+
|