ory-oathkeeper-client 0.38.10.beta2 → 0.38.15.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -25
  3. data/docs/ApiApi.md +22 -22
  4. data/docs/CreateRuleCreated.md +2 -2
  5. data/docs/CreateRuleForbidden.md +2 -2
  6. data/docs/CreateRuleForbiddenBody.md +2 -2
  7. data/docs/CreateRuleInternalServerError.md +2 -2
  8. data/docs/CreateRuleInternalServerErrorBody.md +2 -2
  9. data/docs/CreateRuleUnauthorized.md +2 -2
  10. data/docs/CreateRuleUnauthorizedBody.md +2 -2
  11. data/docs/DecisionsForbidden.md +2 -2
  12. data/docs/DecisionsForbiddenBody.md +2 -2
  13. data/docs/DecisionsInternalServerError.md +2 -2
  14. data/docs/DecisionsInternalServerErrorBody.md +2 -2
  15. data/docs/DecisionsNotFound.md +2 -2
  16. data/docs/DecisionsNotFoundBody.md +2 -2
  17. data/docs/DecisionsUnauthorized.md +2 -2
  18. data/docs/DecisionsUnauthorizedBody.md +2 -2
  19. data/docs/DeleteRuleForbidden.md +2 -2
  20. data/docs/DeleteRuleForbiddenBody.md +2 -2
  21. data/docs/DeleteRuleInternalServerError.md +2 -2
  22. data/docs/DeleteRuleInternalServerErrorBody.md +2 -2
  23. data/docs/DeleteRuleNotFound.md +2 -2
  24. data/docs/DeleteRuleNotFoundBody.md +2 -2
  25. data/docs/DeleteRuleUnauthorized.md +2 -2
  26. data/docs/DeleteRuleUnauthorizedBody.md +2 -2
  27. data/docs/GetRuleForbidden.md +2 -2
  28. data/docs/GetRuleForbiddenBody.md +2 -2
  29. data/docs/GetRuleInternalServerError.md +2 -2
  30. data/docs/GetRuleInternalServerErrorBody.md +2 -2
  31. data/docs/GetRuleNotFound.md +2 -2
  32. data/docs/GetRuleNotFoundBody.md +2 -2
  33. data/docs/GetRuleOK.md +2 -2
  34. data/docs/GetRuleUnauthorized.md +2 -2
  35. data/docs/GetRuleUnauthorizedBody.md +2 -2
  36. data/docs/GetWellKnownForbidden.md +2 -2
  37. data/docs/GetWellKnownForbiddenBody.md +2 -2
  38. data/docs/GetWellKnownJSONWebKeysInternalServerError.md +2 -2
  39. data/docs/GetWellKnownJSONWebKeysInternalServerErrorBody.md +2 -2
  40. data/docs/GetWellKnownJSONWebKeysOK.md +2 -2
  41. data/docs/GetWellKnownOK.md +2 -2
  42. data/docs/GetWellKnownUnauthorized.md +2 -2
  43. data/docs/GetWellKnownUnauthorizedBody.md +2 -2
  44. data/docs/HealthNotReadyStatus.md +2 -2
  45. data/docs/HealthStatus.md +2 -2
  46. data/docs/InlineResponse500.md +2 -2
  47. data/docs/IsInstanceAliveInternalServerError.md +2 -2
  48. data/docs/IsInstanceAliveInternalServerErrorBody.md +2 -2
  49. data/docs/IsInstanceAliveOK.md +2 -2
  50. data/docs/JsonWebKey.md +2 -2
  51. data/docs/JsonWebKeySet.md +2 -2
  52. data/docs/JudgeForbidden.md +2 -2
  53. data/docs/JudgeForbiddenBody.md +2 -2
  54. data/docs/JudgeInternalServerError.md +2 -2
  55. data/docs/JudgeInternalServerErrorBody.md +2 -2
  56. data/docs/JudgeNotFound.md +2 -2
  57. data/docs/JudgeNotFoundBody.md +2 -2
  58. data/docs/JudgeUnauthorized.md +2 -2
  59. data/docs/JudgeUnauthorizedBody.md +2 -2
  60. data/docs/ListRulesForbidden.md +2 -2
  61. data/docs/ListRulesForbiddenBody.md +2 -2
  62. data/docs/ListRulesInternalServerError.md +2 -2
  63. data/docs/ListRulesInternalServerErrorBody.md +2 -2
  64. data/docs/ListRulesOK.md +2 -2
  65. data/docs/ListRulesUnauthorized.md +2 -2
  66. data/docs/ListRulesUnauthorizedBody.md +2 -2
  67. data/docs/Rule.md +2 -2
  68. data/docs/RuleHandler.md +2 -2
  69. data/docs/RuleMatch.md +2 -2
  70. data/docs/SwaggerCreateRuleParameters.md +2 -2
  71. data/docs/SwaggerGetRuleParameters.md +2 -2
  72. data/docs/SwaggerHealthStatus.md +2 -2
  73. data/docs/SwaggerJSONWebKey.md +2 -2
  74. data/docs/SwaggerJSONWebKeySet.md +2 -2
  75. data/docs/SwaggerListRulesParameters.md +2 -2
  76. data/docs/SwaggerNotReadyStatus.md +2 -2
  77. data/docs/SwaggerRule.md +2 -2
  78. data/docs/SwaggerRuleHandler.md +2 -2
  79. data/docs/SwaggerRuleMatch.md +2 -2
  80. data/docs/SwaggerRuleResponse.md +2 -2
  81. data/docs/SwaggerRulesResponse.md +2 -2
  82. data/docs/SwaggerUpdateRuleParameters.md +2 -2
  83. data/docs/SwaggerVersion.md +2 -2
  84. data/docs/UpdateRuleForbidden.md +2 -2
  85. data/docs/UpdateRuleForbiddenBody.md +2 -2
  86. data/docs/UpdateRuleInternalServerError.md +2 -2
  87. data/docs/UpdateRuleInternalServerErrorBody.md +2 -2
  88. data/docs/UpdateRuleNotFound.md +2 -2
  89. data/docs/UpdateRuleNotFoundBody.md +2 -2
  90. data/docs/UpdateRuleOK.md +2 -2
  91. data/docs/UpdateRuleUnauthorized.md +2 -2
  92. data/docs/UpdateRuleUnauthorizedBody.md +2 -2
  93. data/docs/Upstream.md +2 -2
  94. data/docs/Version.md +2 -2
  95. data/lib/ory-oathkeeper-client/api/api_api.rb +3 -3
  96. data/lib/ory-oathkeeper-client/api_client.rb +4 -4
  97. data/lib/ory-oathkeeper-client/api_error.rb +3 -3
  98. data/lib/ory-oathkeeper-client/configuration.rb +3 -3
  99. data/lib/ory-oathkeeper-client/models/create_rule_created.rb +6 -6
  100. data/lib/ory-oathkeeper-client/models/create_rule_forbidden.rb +6 -6
  101. data/lib/ory-oathkeeper-client/models/create_rule_forbidden_body.rb +6 -6
  102. data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error.rb +6 -6
  103. data/lib/ory-oathkeeper-client/models/create_rule_internal_server_error_body.rb +6 -6
  104. data/lib/ory-oathkeeper-client/models/create_rule_unauthorized.rb +6 -6
  105. data/lib/ory-oathkeeper-client/models/create_rule_unauthorized_body.rb +6 -6
  106. data/lib/ory-oathkeeper-client/models/decisions_forbidden.rb +6 -6
  107. data/lib/ory-oathkeeper-client/models/decisions_forbidden_body.rb +6 -6
  108. data/lib/ory-oathkeeper-client/models/decisions_internal_server_error.rb +6 -6
  109. data/lib/ory-oathkeeper-client/models/decisions_internal_server_error_body.rb +6 -6
  110. data/lib/ory-oathkeeper-client/models/decisions_not_found.rb +6 -6
  111. data/lib/ory-oathkeeper-client/models/decisions_not_found_body.rb +6 -6
  112. data/lib/ory-oathkeeper-client/models/decisions_unauthorized.rb +6 -6
  113. data/lib/ory-oathkeeper-client/models/decisions_unauthorized_body.rb +6 -6
  114. data/lib/ory-oathkeeper-client/models/delete_rule_forbidden.rb +6 -6
  115. data/lib/ory-oathkeeper-client/models/delete_rule_forbidden_body.rb +6 -6
  116. data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error.rb +6 -6
  117. data/lib/ory-oathkeeper-client/models/delete_rule_internal_server_error_body.rb +6 -6
  118. data/lib/ory-oathkeeper-client/models/delete_rule_not_found.rb +6 -6
  119. data/lib/ory-oathkeeper-client/models/delete_rule_not_found_body.rb +6 -6
  120. data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized.rb +6 -6
  121. data/lib/ory-oathkeeper-client/models/delete_rule_unauthorized_body.rb +6 -6
  122. data/lib/ory-oathkeeper-client/models/get_rule_forbidden.rb +6 -6
  123. data/lib/ory-oathkeeper-client/models/get_rule_forbidden_body.rb +6 -6
  124. data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error.rb +6 -6
  125. data/lib/ory-oathkeeper-client/models/get_rule_internal_server_error_body.rb +6 -6
  126. data/lib/ory-oathkeeper-client/models/get_rule_not_found.rb +6 -6
  127. data/lib/ory-oathkeeper-client/models/get_rule_not_found_body.rb +6 -6
  128. data/lib/ory-oathkeeper-client/models/get_rule_ok.rb +6 -6
  129. data/lib/ory-oathkeeper-client/models/get_rule_unauthorized.rb +6 -6
  130. data/lib/ory-oathkeeper-client/models/get_rule_unauthorized_body.rb +6 -6
  131. data/lib/ory-oathkeeper-client/models/get_well_known_forbidden.rb +6 -6
  132. data/lib/ory-oathkeeper-client/models/get_well_known_forbidden_body.rb +6 -6
  133. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error.rb +6 -6
  134. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_internal_server_error_body.rb +6 -6
  135. data/lib/ory-oathkeeper-client/models/get_well_known_json_web_keys_ok.rb +6 -6
  136. data/lib/ory-oathkeeper-client/models/get_well_known_ok.rb +6 -6
  137. data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized.rb +6 -6
  138. data/lib/ory-oathkeeper-client/models/get_well_known_unauthorized_body.rb +6 -6
  139. data/lib/ory-oathkeeper-client/models/health_not_ready_status.rb +6 -6
  140. data/lib/ory-oathkeeper-client/models/health_status.rb +6 -6
  141. data/lib/ory-oathkeeper-client/models/inline_response500.rb +6 -6
  142. data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error.rb +6 -6
  143. data/lib/ory-oathkeeper-client/models/is_instance_alive_internal_server_error_body.rb +6 -6
  144. data/lib/ory-oathkeeper-client/models/is_instance_alive_ok.rb +6 -6
  145. data/lib/ory-oathkeeper-client/models/json_web_key.rb +6 -6
  146. data/lib/ory-oathkeeper-client/models/json_web_key_set.rb +6 -6
  147. data/lib/ory-oathkeeper-client/models/judge_forbidden.rb +6 -6
  148. data/lib/ory-oathkeeper-client/models/judge_forbidden_body.rb +6 -6
  149. data/lib/ory-oathkeeper-client/models/judge_internal_server_error.rb +6 -6
  150. data/lib/ory-oathkeeper-client/models/judge_internal_server_error_body.rb +6 -6
  151. data/lib/ory-oathkeeper-client/models/judge_not_found.rb +6 -6
  152. data/lib/ory-oathkeeper-client/models/judge_not_found_body.rb +6 -6
  153. data/lib/ory-oathkeeper-client/models/judge_unauthorized.rb +6 -6
  154. data/lib/ory-oathkeeper-client/models/judge_unauthorized_body.rb +6 -6
  155. data/lib/ory-oathkeeper-client/models/list_rules_forbidden.rb +6 -6
  156. data/lib/ory-oathkeeper-client/models/list_rules_forbidden_body.rb +6 -6
  157. data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error.rb +6 -6
  158. data/lib/ory-oathkeeper-client/models/list_rules_internal_server_error_body.rb +6 -6
  159. data/lib/ory-oathkeeper-client/models/list_rules_ok.rb +6 -6
  160. data/lib/ory-oathkeeper-client/models/list_rules_unauthorized.rb +6 -6
  161. data/lib/ory-oathkeeper-client/models/list_rules_unauthorized_body.rb +6 -6
  162. data/lib/ory-oathkeeper-client/models/rule.rb +6 -6
  163. data/lib/ory-oathkeeper-client/models/rule_handler.rb +6 -6
  164. data/lib/ory-oathkeeper-client/models/rule_match.rb +6 -6
  165. data/lib/ory-oathkeeper-client/models/swagger_create_rule_parameters.rb +6 -6
  166. data/lib/ory-oathkeeper-client/models/swagger_get_rule_parameters.rb +6 -6
  167. data/lib/ory-oathkeeper-client/models/swagger_health_status.rb +6 -6
  168. data/lib/ory-oathkeeper-client/models/swagger_json_web_key.rb +6 -6
  169. data/lib/ory-oathkeeper-client/models/swagger_json_web_key_set.rb +6 -6
  170. data/lib/ory-oathkeeper-client/models/swagger_list_rules_parameters.rb +6 -6
  171. data/lib/ory-oathkeeper-client/models/swagger_not_ready_status.rb +6 -6
  172. data/lib/ory-oathkeeper-client/models/swagger_rule.rb +6 -6
  173. data/lib/ory-oathkeeper-client/models/swagger_rule_handler.rb +6 -6
  174. data/lib/ory-oathkeeper-client/models/swagger_rule_match.rb +6 -6
  175. data/lib/ory-oathkeeper-client/models/swagger_rule_response.rb +6 -6
  176. data/lib/ory-oathkeeper-client/models/swagger_rules_response.rb +6 -6
  177. data/lib/ory-oathkeeper-client/models/swagger_update_rule_parameters.rb +6 -6
  178. data/lib/ory-oathkeeper-client/models/swagger_version.rb +6 -6
  179. data/lib/ory-oathkeeper-client/models/update_rule_forbidden.rb +6 -6
  180. data/lib/ory-oathkeeper-client/models/update_rule_forbidden_body.rb +6 -6
  181. data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error.rb +6 -6
  182. data/lib/ory-oathkeeper-client/models/update_rule_internal_server_error_body.rb +6 -6
  183. data/lib/ory-oathkeeper-client/models/update_rule_not_found.rb +6 -6
  184. data/lib/ory-oathkeeper-client/models/update_rule_not_found_body.rb +6 -6
  185. data/lib/ory-oathkeeper-client/models/update_rule_ok.rb +6 -6
  186. data/lib/ory-oathkeeper-client/models/update_rule_unauthorized.rb +6 -6
  187. data/lib/ory-oathkeeper-client/models/update_rule_unauthorized_body.rb +6 -6
  188. data/lib/ory-oathkeeper-client/models/upstream.rb +6 -6
  189. data/lib/ory-oathkeeper-client/models/version.rb +6 -6
  190. data/lib/ory-oathkeeper-client/version.rb +4 -4
  191. data/lib/ory-oathkeeper-client.rb +4 -4
  192. data/ory-oathkeeper-client.gemspec +3 -3
  193. data/spec/api_client_spec.rb +31 -31
  194. data/spec/configuration_spec.rb +5 -5
  195. data/spec/spec_helper.rb +2 -2
  196. metadata +2 -2
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # The standard error format
18
18
  class ListRulesUnauthorized
19
19
  attr_accessor :payload
@@ -47,13 +47,13 @@ module OryHydraClient
47
47
  # @param [Hash] attributes Model attributes in the form of hash
48
48
  def initialize(attributes = {})
49
49
  if (!attributes.is_a?(Hash))
50
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::ListRulesUnauthorized` initialize method"
50
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::ListRulesUnauthorized` initialize method"
51
51
  end
52
52
 
53
53
  # check to see if the attribute exists and convert string to symbol for hash key
54
54
  attributes = attributes.each_with_object({}) { |(k, v), h|
55
55
  if (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::ListRulesUnauthorized`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::ListRulesUnauthorized`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
57
  end
58
58
  h[k.to_sym] = v
59
59
  }
@@ -163,7 +163,7 @@ module OryHydraClient
163
163
  end
164
164
  else # model
165
165
  # models (e.g. Pet) or oneOf
166
- klass = OryHydraClient.const_get(type)
166
+ klass = OryOathkeeperClient.const_get(type)
167
167
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
168
168
  end
169
169
  end
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # ListRulesUnauthorizedBody ListRulesUnauthorizedBody ListRulesUnauthorizedBody ListRulesUnauthorizedBody ListRulesUnauthorizedBody ListRulesUnauthorizedBody ListRulesUnauthorizedBody list rules unauthorized body
18
18
  class ListRulesUnauthorizedBody
19
19
  # code
@@ -73,13 +73,13 @@ module OryHydraClient
73
73
  # @param [Hash] attributes Model attributes in the form of hash
74
74
  def initialize(attributes = {})
75
75
  if (!attributes.is_a?(Hash))
76
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::ListRulesUnauthorizedBody` initialize method"
76
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::ListRulesUnauthorizedBody` initialize method"
77
77
  end
78
78
 
79
79
  # check to see if the attribute exists and convert string to symbol for hash key
80
80
  attributes = attributes.each_with_object({}) { |(k, v), h|
81
81
  if (!self.class.attribute_map.key?(k.to_sym))
82
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::ListRulesUnauthorizedBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
82
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::ListRulesUnauthorizedBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
83
83
  end
84
84
  h[k.to_sym] = v
85
85
  }
@@ -216,7 +216,7 @@ module OryHydraClient
216
216
  end
217
217
  else # model
218
218
  # models (e.g. Pet) or oneOf
219
- klass = OryHydraClient.const_get(type)
219
+ klass = OryOathkeeperClient.const_get(type)
220
220
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
221
221
  end
222
222
  end
@@ -3,17 +3,17 @@
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.10-beta.2
6
+ The version of the OpenAPI document: v0.38.15-beta.1
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.1.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  class Rule
18
18
  # 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.
19
19
  attr_accessor :authenticators
@@ -74,13 +74,13 @@ module OryHydraClient
74
74
  # @param [Hash] attributes Model attributes in the form of hash
75
75
  def initialize(attributes = {})
76
76
  if (!attributes.is_a?(Hash))
77
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::Rule` initialize method"
77
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::Rule` initialize method"
78
78
  end
79
79
 
80
80
  # check to see if the attribute exists and convert string to symbol for hash key
81
81
  attributes = attributes.each_with_object({}) { |(k, v), h|
82
82
  if (!self.class.attribute_map.key?(k.to_sym))
83
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::Rule`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
83
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::Rule`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
84
84
  end
85
85
  h[k.to_sym] = v
86
86
  }
@@ -224,7 +224,7 @@ module OryHydraClient
224
224
  end
225
225
  else # model
226
226
  # models (e.g. Pet) or oneOf
227
- klass = OryHydraClient.const_get(type)
227
+ klass = OryOathkeeperClient.const_get(type)
228
228
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
229
229
  end
230
230
  end
@@ -3,17 +3,17 @@
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.10-beta.2
6
+ The version of the OpenAPI document: v0.38.15-beta.1
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.1.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  class RuleHandler
18
18
  # Config contains the configuration for the handler. Please read the user guide for a complete list of each handler's available settings.
19
19
  attr_accessor :config
@@ -52,13 +52,13 @@ module OryHydraClient
52
52
  # @param [Hash] attributes Model attributes in the form of hash
53
53
  def initialize(attributes = {})
54
54
  if (!attributes.is_a?(Hash))
55
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::RuleHandler` initialize method"
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::RuleHandler` initialize method"
56
56
  end
57
57
 
58
58
  # check to see if the attribute exists and convert string to symbol for hash key
59
59
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
60
  if (!self.class.attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::RuleHandler`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::RuleHandler`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
62
  end
63
63
  h[k.to_sym] = v
64
64
  }
@@ -173,7 +173,7 @@ module OryHydraClient
173
173
  end
174
174
  else # model
175
175
  # models (e.g. Pet) or oneOf
176
- klass = OryHydraClient.const_get(type)
176
+ klass = OryOathkeeperClient.const_get(type)
177
177
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
178
178
  end
179
179
  end
@@ -3,17 +3,17 @@
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.10-beta.2
6
+ The version of the OpenAPI document: v0.38.15-beta.1
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.1.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  class RuleMatch
18
18
  # 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.
19
19
  attr_accessor :methods
@@ -52,13 +52,13 @@ module OryHydraClient
52
52
  # @param [Hash] attributes Model attributes in the form of hash
53
53
  def initialize(attributes = {})
54
54
  if (!attributes.is_a?(Hash))
55
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::RuleMatch` initialize method"
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::RuleMatch` initialize method"
56
56
  end
57
57
 
58
58
  # check to see if the attribute exists and convert string to symbol for hash key
59
59
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
60
  if (!self.class.attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::RuleMatch`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::RuleMatch`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
62
  end
63
63
  h[k.to_sym] = v
64
64
  }
@@ -175,7 +175,7 @@ module OryHydraClient
175
175
  end
176
176
  else # model
177
177
  # models (e.g. Pet) or oneOf
178
- klass = OryHydraClient.const_get(type)
178
+ klass = OryOathkeeperClient.const_get(type)
179
179
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
180
180
  end
181
181
  end
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # SwaggerCreateRuleParameters SwaggerCreateRuleParameters SwaggerCreateRuleParameters SwaggerCreateRuleParameters SwaggerCreateRuleParameters swagger create rule parameters
18
18
  class SwaggerCreateRuleParameters
19
19
  attr_accessor :body
@@ -47,13 +47,13 @@ module OryHydraClient
47
47
  # @param [Hash] attributes Model attributes in the form of hash
48
48
  def initialize(attributes = {})
49
49
  if (!attributes.is_a?(Hash))
50
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::SwaggerCreateRuleParameters` initialize method"
50
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::SwaggerCreateRuleParameters` initialize method"
51
51
  end
52
52
 
53
53
  # check to see if the attribute exists and convert string to symbol for hash key
54
54
  attributes = attributes.each_with_object({}) { |(k, v), h|
55
55
  if (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::SwaggerCreateRuleParameters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::SwaggerCreateRuleParameters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
57
  end
58
58
  h[k.to_sym] = v
59
59
  }
@@ -163,7 +163,7 @@ module OryHydraClient
163
163
  end
164
164
  else # model
165
165
  # models (e.g. Pet) or oneOf
166
- klass = OryHydraClient.const_get(type)
166
+ klass = OryOathkeeperClient.const_get(type)
167
167
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
168
168
  end
169
169
  end
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # SwaggerGetRuleParameters swagger get rule parameters
18
18
  class SwaggerGetRuleParameters
19
19
  # in: path
@@ -48,13 +48,13 @@ module OryHydraClient
48
48
  # @param [Hash] attributes Model attributes in the form of hash
49
49
  def initialize(attributes = {})
50
50
  if (!attributes.is_a?(Hash))
51
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::SwaggerGetRuleParameters` initialize method"
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::SwaggerGetRuleParameters` initialize method"
52
52
  end
53
53
 
54
54
  # check to see if the attribute exists and convert string to symbol for hash key
55
55
  attributes = attributes.each_with_object({}) { |(k, v), h|
56
56
  if (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::SwaggerGetRuleParameters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::SwaggerGetRuleParameters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
58
  end
59
59
  h[k.to_sym] = v
60
60
  }
@@ -169,7 +169,7 @@ module OryHydraClient
169
169
  end
170
170
  else # model
171
171
  # models (e.g. Pet) or oneOf
172
- klass = OryHydraClient.const_get(type)
172
+ klass = OryOathkeeperClient.const_get(type)
173
173
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
174
174
  end
175
175
  end
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # SwaggerHealthStatus swagger health status
18
18
  class SwaggerHealthStatus
19
19
  # Status always contains \"ok\".
@@ -48,13 +48,13 @@ module OryHydraClient
48
48
  # @param [Hash] attributes Model attributes in the form of hash
49
49
  def initialize(attributes = {})
50
50
  if (!attributes.is_a?(Hash))
51
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::SwaggerHealthStatus` initialize method"
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::SwaggerHealthStatus` initialize method"
52
52
  end
53
53
 
54
54
  # check to see if the attribute exists and convert string to symbol for hash key
55
55
  attributes = attributes.each_with_object({}) { |(k, v), h|
56
56
  if (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::SwaggerHealthStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::SwaggerHealthStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
58
  end
59
59
  h[k.to_sym] = v
60
60
  }
@@ -164,7 +164,7 @@ module OryHydraClient
164
164
  end
165
165
  else # model
166
166
  # models (e.g. Pet) or oneOf
167
- klass = OryHydraClient.const_get(type)
167
+ klass = OryOathkeeperClient.const_get(type)
168
168
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
169
169
  end
170
170
  end
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # SwaggerJSONWebKey swagger JSON web key
18
18
  class SwaggerJSONWebKey
19
19
  # The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name.
@@ -128,13 +128,13 @@ module OryHydraClient
128
128
  # @param [Hash] attributes Model attributes in the form of hash
129
129
  def initialize(attributes = {})
130
130
  if (!attributes.is_a?(Hash))
131
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::SwaggerJSONWebKey` initialize method"
131
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::SwaggerJSONWebKey` initialize method"
132
132
  end
133
133
 
134
134
  # check to see if the attribute exists and convert string to symbol for hash key
135
135
  attributes = attributes.each_with_object({}) { |(k, v), h|
136
136
  if (!self.class.attribute_map.key?(k.to_sym))
137
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::SwaggerJSONWebKey`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
137
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::SwaggerJSONWebKey`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
138
138
  end
139
139
  h[k.to_sym] = v
140
140
  }
@@ -326,7 +326,7 @@ module OryHydraClient
326
326
  end
327
327
  else # model
328
328
  # models (e.g. Pet) or oneOf
329
- klass = OryHydraClient.const_get(type)
329
+ klass = OryOathkeeperClient.const_get(type)
330
330
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
331
331
  end
332
332
  end
@@ -3,17 +3,17 @@
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.0.0
6
+ The version of the OpenAPI document: v0.0.0-alpha.62
7
7
  Contact: hi@ory.am
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.0.0
9
+ OpenAPI Generator version: 5.2.1
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
  require 'time'
15
15
 
16
- module OryHydraClient
16
+ module OryOathkeeperClient
17
17
  # SwaggerJSONWebKeySet swagger JSON web key set
18
18
  class SwaggerJSONWebKeySet
19
19
  # 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.
@@ -48,13 +48,13 @@ module OryHydraClient
48
48
  # @param [Hash] attributes Model attributes in the form of hash
49
49
  def initialize(attributes = {})
50
50
  if (!attributes.is_a?(Hash))
51
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::SwaggerJSONWebKeySet` initialize method"
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryOathkeeperClient::SwaggerJSONWebKeySet` initialize method"
52
52
  end
53
53
 
54
54
  # check to see if the attribute exists and convert string to symbol for hash key
55
55
  attributes = attributes.each_with_object({}) { |(k, v), h|
56
56
  if (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::SwaggerJSONWebKeySet`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryOathkeeperClient::SwaggerJSONWebKeySet`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
58
  end
59
59
  h[k.to_sym] = v
60
60
  }
@@ -166,7 +166,7 @@ module OryHydraClient
166
166
  end
167
167
  else # model
168
168
  # models (e.g. Pet) or oneOf
169
- klass = OryHydraClient.const_get(type)
169
+ klass = OryOathkeeperClient.const_get(type)
170
170
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
171
171
  end
172
172
  end