ory-oathkeeper-client 0.0.0.alpha38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +184 -0
- data/Rakefile +10 -0
- data/docs/ApiApi.md +450 -0
- data/docs/CreateRuleCreated.md +18 -0
- data/docs/CreateRuleForbidden.md +18 -0
- data/docs/CreateRuleForbiddenBody.md +28 -0
- data/docs/CreateRuleInternalServerError.md +18 -0
- data/docs/CreateRuleInternalServerErrorBody.md +28 -0
- data/docs/CreateRuleUnauthorized.md +18 -0
- data/docs/CreateRuleUnauthorizedBody.md +28 -0
- data/docs/DecisionsForbidden.md +18 -0
- data/docs/DecisionsForbiddenBody.md +28 -0
- data/docs/DecisionsInternalServerError.md +18 -0
- data/docs/DecisionsInternalServerErrorBody.md +28 -0
- data/docs/DecisionsNotFound.md +18 -0
- data/docs/DecisionsNotFoundBody.md +28 -0
- data/docs/DecisionsUnauthorized.md +18 -0
- data/docs/DecisionsUnauthorizedBody.md +28 -0
- data/docs/DeleteRuleForbidden.md +18 -0
- data/docs/DeleteRuleForbiddenBody.md +28 -0
- data/docs/DeleteRuleInternalServerError.md +18 -0
- data/docs/DeleteRuleInternalServerErrorBody.md +28 -0
- data/docs/DeleteRuleNotFound.md +18 -0
- data/docs/DeleteRuleNotFoundBody.md +28 -0
- data/docs/DeleteRuleUnauthorized.md +18 -0
- data/docs/DeleteRuleUnauthorizedBody.md +28 -0
- data/docs/GetRuleForbidden.md +18 -0
- data/docs/GetRuleForbiddenBody.md +28 -0
- data/docs/GetRuleInternalServerError.md +18 -0
- data/docs/GetRuleInternalServerErrorBody.md +28 -0
- data/docs/GetRuleNotFound.md +18 -0
- data/docs/GetRuleNotFoundBody.md +28 -0
- data/docs/GetRuleOK.md +18 -0
- data/docs/GetRuleUnauthorized.md +18 -0
- data/docs/GetRuleUnauthorizedBody.md +28 -0
- data/docs/GetWellKnownForbidden.md +18 -0
- data/docs/GetWellKnownForbiddenBody.md +28 -0
- data/docs/GetWellKnownJSONWebKeysInternalServerError.md +18 -0
- data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +28 -0
- data/docs/GetWellKnownJSONWebKeysOK.md +18 -0
- data/docs/GetWellKnownOK.md +18 -0
- data/docs/GetWellKnownUnauthorized.md +18 -0
- data/docs/GetWellKnownUnauthorizedBody.md +28 -0
- data/docs/HealthApi.md +96 -0
- data/docs/HealthNotReadyStatus.md +18 -0
- data/docs/HealthStatus.md +18 -0
- data/docs/InlineResponse500.md +28 -0
- data/docs/IsInstanceAliveInternalServerError.md +18 -0
- data/docs/IsInstanceAliveInternalServerErrorBody.md +28 -0
- data/docs/IsInstanceAliveOK.md +18 -0
- data/docs/JsonWebKey.md +50 -0
- data/docs/JsonWebKeySet.md +18 -0
- data/docs/JudgeForbidden.md +18 -0
- data/docs/JudgeForbiddenBody.md +28 -0
- data/docs/JudgeInternalServerError.md +18 -0
- data/docs/JudgeInternalServerErrorBody.md +28 -0
- data/docs/JudgeNotFound.md +18 -0
- data/docs/JudgeNotFoundBody.md +28 -0
- data/docs/JudgeUnauthorized.md +18 -0
- data/docs/JudgeUnauthorizedBody.md +28 -0
- data/docs/ListRulesForbidden.md +18 -0
- data/docs/ListRulesForbiddenBody.md +28 -0
- data/docs/ListRulesInternalServerError.md +18 -0
- data/docs/ListRulesInternalServerErrorBody.md +28 -0
- data/docs/ListRulesOK.md +18 -0
- data/docs/ListRulesUnauthorized.md +18 -0
- data/docs/ListRulesUnauthorizedBody.md +28 -0
- data/docs/Rule.md +30 -0
- data/docs/RuleHandler.md +20 -0
- data/docs/RuleMatch.md +20 -0
- data/docs/SwaggerCreateRuleParameters.md +18 -0
- data/docs/SwaggerGetRuleParameters.md +18 -0
- data/docs/SwaggerHealthStatus.md +18 -0
- data/docs/SwaggerJSONWebKey.md +50 -0
- data/docs/SwaggerJSONWebKeySet.md +18 -0
- data/docs/SwaggerListRulesParameters.md +20 -0
- data/docs/SwaggerNotReadyStatus.md +18 -0
- data/docs/SwaggerRule.md +30 -0
- data/docs/SwaggerRuleHandler.md +20 -0
- data/docs/SwaggerRuleMatch.md +20 -0
- data/docs/SwaggerRuleResponse.md +18 -0
- data/docs/SwaggerRulesResponse.md +18 -0
- data/docs/SwaggerUpdateRuleParameters.md +20 -0
- data/docs/SwaggerVersion.md +18 -0
- data/docs/UpdateRuleForbidden.md +18 -0
- data/docs/UpdateRuleForbiddenBody.md +28 -0
- data/docs/UpdateRuleInternalServerError.md +18 -0
- data/docs/UpdateRuleInternalServerErrorBody.md +28 -0
- data/docs/UpdateRuleNotFound.md +18 -0
- data/docs/UpdateRuleNotFoundBody.md +28 -0
- data/docs/UpdateRuleOK.md +18 -0
- data/docs/UpdateRuleUnauthorized.md +18 -0
- data/docs/UpdateRuleUnauthorizedBody.md +28 -0
- data/docs/Upstream.md +22 -0
- data/docs/Version.md +18 -0
- data/docs/VersionApi.md +52 -0
- data/lib/ory-oathkeeper-client.rb +131 -0
- data/lib/ory-oathkeeper-client/api/api_api.rb +433 -0
- data/lib/ory-oathkeeper-client/api/health_api.rb +134 -0
- data/lib/ory-oathkeeper-client/api/version_api.rb +78 -0
- data/lib/ory-oathkeeper-client/api_client.rb +389 -0
- data/lib/ory-oathkeeper-client/api_error.rb +57 -0
- data/lib/ory-oathkeeper-client/configuration.rb +270 -0
- data/lib/ory-oathkeeper-client/models/create_rule_created.rb +219 -0
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +219 -0
- data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +219 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +221 -0
- data/lib/ory-oathkeeper-client/models/health_status.rb +219 -0
- data/lib/ory-oathkeeper-client/models/inline_response500.rb +265 -0
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +219 -0
- data/lib/ory-oathkeeper-client/models/json_web_key.rb +369 -0
- data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +221 -0
- data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/judge_not_found.rb +219 -0
- data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +222 -0
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/rule.rb +280 -0
- data/lib/ory-oathkeeper-client/models/rule_handler.rb +229 -0
- data/lib/ory-oathkeeper-client/models/rule_match.rb +231 -0
- data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +219 -0
- data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +225 -0
- data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +220 -0
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +382 -0
- data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +222 -0
- data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +230 -0
- data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +222 -0
- data/lib/ory-oathkeeper-client/models/swagger_rule.rb +280 -0
- data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +230 -0
- data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +232 -0
- data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +219 -0
- data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +222 -0
- data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +234 -0
- data/lib/ory-oathkeeper-client/models/swagger_version.rb +220 -0
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +219 -0
- data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +219 -0
- data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +219 -0
- data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +219 -0
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +219 -0
- data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +272 -0
- data/lib/ory-oathkeeper-client/models/upstream.rb +240 -0
- data/lib/ory-oathkeeper-client/models/version.rb +219 -0
- data/lib/ory-oathkeeper-client/version.rb +15 -0
- data/ory-oathkeeper-client.gemspec +38 -0
- data/spec/api/api_api_spec.rb +115 -0
- data/spec/api/health_api_spec.rb +57 -0
- data/spec/api/version_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/create_rule_created_spec.rb +41 -0
- data/spec/models/create_rule_forbidden_body_spec.rb +71 -0
- data/spec/models/create_rule_forbidden_spec.rb +41 -0
- data/spec/models/create_rule_internal_server_error_body_spec.rb +71 -0
- data/spec/models/create_rule_internal_server_error_spec.rb +41 -0
- data/spec/models/create_rule_unauthorized_body_spec.rb +71 -0
- data/spec/models/create_rule_unauthorized_spec.rb +41 -0
- data/spec/models/decisions_forbidden_body_spec.rb +71 -0
- data/spec/models/decisions_forbidden_spec.rb +41 -0
- data/spec/models/decisions_internal_server_error_body_spec.rb +71 -0
- data/spec/models/decisions_internal_server_error_spec.rb +41 -0
- data/spec/models/decisions_not_found_body_spec.rb +71 -0
- data/spec/models/decisions_not_found_spec.rb +41 -0
- data/spec/models/decisions_unauthorized_body_spec.rb +71 -0
- data/spec/models/decisions_unauthorized_spec.rb +41 -0
- data/spec/models/delete_rule_forbidden_body_spec.rb +71 -0
- data/spec/models/delete_rule_forbidden_spec.rb +41 -0
- data/spec/models/delete_rule_internal_server_error_body_spec.rb +71 -0
- data/spec/models/delete_rule_internal_server_error_spec.rb +41 -0
- data/spec/models/delete_rule_not_found_body_spec.rb +71 -0
- data/spec/models/delete_rule_not_found_spec.rb +41 -0
- data/spec/models/delete_rule_unauthorized_body_spec.rb +71 -0
- data/spec/models/delete_rule_unauthorized_spec.rb +41 -0
- data/spec/models/get_rule_forbidden_body_spec.rb +71 -0
- data/spec/models/get_rule_forbidden_spec.rb +41 -0
- data/spec/models/get_rule_internal_server_error_body_spec.rb +71 -0
- data/spec/models/get_rule_internal_server_error_spec.rb +41 -0
- data/spec/models/get_rule_not_found_body_spec.rb +71 -0
- data/spec/models/get_rule_not_found_spec.rb +41 -0
- data/spec/models/get_rule_ok_spec.rb +41 -0
- data/spec/models/get_rule_unauthorized_body_spec.rb +71 -0
- data/spec/models/get_rule_unauthorized_spec.rb +41 -0
- data/spec/models/get_well_known_forbidden_body_spec.rb +71 -0
- data/spec/models/get_well_known_forbidden_spec.rb +41 -0
- data/spec/models/get_well_known_json_web_keys_internal_server_error_body_spec.rb +71 -0
- data/spec/models/get_well_known_json_web_keys_internal_server_error_spec.rb +41 -0
- data/spec/models/get_well_known_json_web_keys_ok_spec.rb +41 -0
- data/spec/models/get_well_known_ok_spec.rb +41 -0
- data/spec/models/get_well_known_unauthorized_body_spec.rb +71 -0
- data/spec/models/get_well_known_unauthorized_spec.rb +41 -0
- data/spec/models/health_not_ready_status_spec.rb +41 -0
- data/spec/models/health_status_spec.rb +41 -0
- data/spec/models/inline_response500_spec.rb +71 -0
- data/spec/models/is_instance_alive_internal_server_error_body_spec.rb +71 -0
- data/spec/models/is_instance_alive_internal_server_error_spec.rb +41 -0
- data/spec/models/is_instance_alive_ok_spec.rb +41 -0
- data/spec/models/json_web_key_set_spec.rb +41 -0
- data/spec/models/json_web_key_spec.rb +137 -0
- data/spec/models/judge_forbidden_body_spec.rb +71 -0
- data/spec/models/judge_forbidden_spec.rb +41 -0
- data/spec/models/judge_internal_server_error_body_spec.rb +71 -0
- data/spec/models/judge_internal_server_error_spec.rb +41 -0
- data/spec/models/judge_not_found_body_spec.rb +71 -0
- data/spec/models/judge_not_found_spec.rb +41 -0
- data/spec/models/judge_unauthorized_body_spec.rb +71 -0
- data/spec/models/judge_unauthorized_spec.rb +41 -0
- data/spec/models/list_rules_forbidden_body_spec.rb +71 -0
- data/spec/models/list_rules_forbidden_spec.rb +41 -0
- data/spec/models/list_rules_internal_server_error_body_spec.rb +71 -0
- data/spec/models/list_rules_internal_server_error_spec.rb +41 -0
- data/spec/models/list_rules_ok_spec.rb +41 -0
- data/spec/models/list_rules_unauthorized_body_spec.rb +71 -0
- data/spec/models/list_rules_unauthorized_spec.rb +41 -0
- data/spec/models/rule_handler_spec.rb +47 -0
- data/spec/models/rule_match_spec.rb +47 -0
- data/spec/models/rule_spec.rb +77 -0
- data/spec/models/swagger_create_rule_parameters_spec.rb +41 -0
- data/spec/models/swagger_get_rule_parameters_spec.rb +41 -0
- data/spec/models/swagger_health_status_spec.rb +41 -0
- data/spec/models/swagger_json_web_key_set_spec.rb +41 -0
- data/spec/models/swagger_json_web_key_spec.rb +137 -0
- data/spec/models/swagger_list_rules_parameters_spec.rb +47 -0
- data/spec/models/swagger_not_ready_status_spec.rb +41 -0
- data/spec/models/swagger_rule_handler_spec.rb +47 -0
- data/spec/models/swagger_rule_match_spec.rb +47 -0
- data/spec/models/swagger_rule_response_spec.rb +41 -0
- data/spec/models/swagger_rule_spec.rb +77 -0
- data/spec/models/swagger_rules_response_spec.rb +41 -0
- data/spec/models/swagger_update_rule_parameters_spec.rb +47 -0
- data/spec/models/swagger_version_spec.rb +41 -0
- data/spec/models/update_rule_forbidden_body_spec.rb +71 -0
- data/spec/models/update_rule_forbidden_spec.rb +41 -0
- data/spec/models/update_rule_internal_server_error_body_spec.rb +71 -0
- data/spec/models/update_rule_internal_server_error_spec.rb +41 -0
- data/spec/models/update_rule_not_found_body_spec.rb +71 -0
- data/spec/models/update_rule_not_found_spec.rb +41 -0
- data/spec/models/update_rule_ok_spec.rb +41 -0
- data/spec/models/update_rule_unauthorized_body_spec.rb +71 -0
- data/spec/models/update_rule_unauthorized_spec.rb +41 -0
- data/spec/models/upstream_spec.rb +53 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +477 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerJSONWebKeySet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **keys** | [**Array<SwaggerJSONWebKey>**](SwaggerJSONWebKey.md) | The value of the \"keys\" parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::SwaggerJSONWebKeySet.new(
|
15
|
+
keys: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerListRulesParameters
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **limit** | **Integer** | The maximum amount of rules returned. in: query | [optional] |
|
8
|
+
| **offset** | **Integer** | The offset from where to start looking. in: query | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-oathkeeper-client'
|
14
|
+
|
15
|
+
instance = OryOathkeeperClient::SwaggerListRulesParameters.new(
|
16
|
+
limit: null,
|
17
|
+
offset: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerNotReadyStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | **Hash<String, String>** | Errors contains a list of errors that caused the not ready status. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::SwaggerNotReadyStatus.new(
|
15
|
+
errors: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/SwaggerRule.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerRule
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **authenticators** | [**Array<SwaggerRuleHandler>**](SwaggerRuleHandler.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** | [**SwaggerRuleHandler**](SwaggerRuleHandler.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** | [**SwaggerRuleMatch**](SwaggerRuleMatch.md) | | [optional] |
|
12
|
+
| **mutators** | [**Array<SwaggerRuleHandler>**](SwaggerRuleHandler.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
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'ory-oathkeeper-client'
|
19
|
+
|
20
|
+
instance = OryOathkeeperClient::SwaggerRule.new(
|
21
|
+
authenticators: null,
|
22
|
+
authorizer: null,
|
23
|
+
description: null,
|
24
|
+
id: null,
|
25
|
+
match: null,
|
26
|
+
mutators: null,
|
27
|
+
upstream: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerRuleHandler
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **config** | **Object** | 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
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-oathkeeper-client'
|
14
|
+
|
15
|
+
instance = OryOathkeeperClient::SwaggerRuleHandler.new(
|
16
|
+
config: null,
|
17
|
+
handler: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerRuleMatch
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
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
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-oathkeeper-client'
|
14
|
+
|
15
|
+
instance = OryOathkeeperClient::SwaggerRuleMatch.new(
|
16
|
+
methods: null,
|
17
|
+
url: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerRuleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **body** | [**SwaggerRule**](SwaggerRule.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::SwaggerRuleResponse.new(
|
15
|
+
body: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerRulesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **body** | [**Array<SwaggerRule>**](SwaggerRule.md) | in: body type: array | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::SwaggerRulesResponse.new(
|
15
|
+
body: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerUpdateRuleParameters
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **body** | [**SwaggerRule**](SwaggerRule.md) | | [optional] |
|
8
|
+
| **id** | **String** | in: path | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-oathkeeper-client'
|
14
|
+
|
15
|
+
instance = OryOathkeeperClient::SwaggerUpdateRuleParameters.new(
|
16
|
+
body: null,
|
17
|
+
id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::SwaggerVersion
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | Version is the service's version. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::SwaggerVersion.new(
|
15
|
+
version: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleForbidden
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleForbiddenBody**](UpdateRuleForbiddenBody.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::UpdateRuleForbidden.new(
|
15
|
+
payload: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleForbiddenBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
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
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ory-oathkeeper-client'
|
18
|
+
|
19
|
+
instance = OryOathkeeperClient::UpdateRuleForbiddenBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleInternalServerError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleInternalServerErrorBody**](UpdateRuleInternalServerErrorBody.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::UpdateRuleInternalServerError.new(
|
15
|
+
payload: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleInternalServerErrorBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
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
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ory-oathkeeper-client'
|
18
|
+
|
19
|
+
instance = OryOathkeeperClient::UpdateRuleInternalServerErrorBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleNotFound
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleNotFoundBody**](UpdateRuleNotFoundBody.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::UpdateRuleNotFound.new(
|
15
|
+
payload: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleNotFoundBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
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
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ory-oathkeeper-client'
|
18
|
+
|
19
|
+
instance = OryOathkeeperClient::UpdateRuleNotFoundBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleOK
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**SwaggerRule**](SwaggerRule.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::UpdateRuleOK.new(
|
15
|
+
payload: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleUnauthorized
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **payload** | [**UpdateRuleUnauthorizedBody**](UpdateRuleUnauthorizedBody.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-oathkeeper-client'
|
13
|
+
|
14
|
+
instance = OryOathkeeperClient::UpdateRuleUnauthorized.new(
|
15
|
+
payload: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# OryOathkeeperClient::UpdateRuleUnauthorizedBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
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
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ory-oathkeeper-client'
|
18
|
+
|
19
|
+
instance = OryOathkeeperClient::UpdateRuleUnauthorizedBody.new(
|
20
|
+
code: null,
|
21
|
+
details: null,
|
22
|
+
message: null,
|
23
|
+
reason: null,
|
24
|
+
request: null,
|
25
|
+
status: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
data/docs/Upstream.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# OryOathkeeperClient::Upstream
|
2
|
+
|
3
|
+
## Properties
|
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] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ory-oathkeeper-client'
|
15
|
+
|
16
|
+
instance = OryOathkeeperClient::Upstream.new(
|
17
|
+
preserve_host: null,
|
18
|
+
strip_path: null,
|
19
|
+
url: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|