ory-hydra-client 1.5.0.beta2 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +29 -29
  4. data/docs/AdminApi.md +55 -62
  5. data/docs/CompletedRequest.md +1 -1
  6. data/docs/ConsentRequest.md +1 -1
  7. data/docs/LoginRequest.md +7 -7
  8. data/docs/OAuth2Client.md +3 -1
  9. data/docs/OAuth2TokenIntrospection.md +1 -1
  10. data/docs/PublicApi.md +15 -15
  11. data/docs/RejectRequest.md +5 -5
  12. data/lib/ory-hydra-client.rb +2 -2
  13. data/lib/ory-hydra-client/api/admin_api.rb +40 -37
  14. data/lib/ory-hydra-client/api/public_api.rb +12 -12
  15. data/lib/ory-hydra-client/api_client.rb +9 -7
  16. data/lib/ory-hydra-client/api_error.rb +2 -2
  17. data/lib/ory-hydra-client/configuration.rb +2 -2
  18. data/lib/ory-hydra-client/models/accept_consent_request.rb +2 -2
  19. data/lib/ory-hydra-client/models/accept_login_request.rb +2 -2
  20. data/lib/ory-hydra-client/models/completed_request.rb +7 -2
  21. data/lib/ory-hydra-client/models/consent_request.rb +7 -2
  22. data/lib/ory-hydra-client/models/consent_request_session.rb +2 -2
  23. data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +2 -2
  24. data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +2 -2
  25. data/lib/ory-hydra-client/models/generic_error.rb +2 -2
  26. data/lib/ory-hydra-client/models/health_not_ready_status.rb +2 -2
  27. data/lib/ory-hydra-client/models/health_status.rb +2 -2
  28. data/lib/ory-hydra-client/models/json_web_key.rb +2 -2
  29. data/lib/ory-hydra-client/models/json_web_key_set.rb +2 -2
  30. data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +2 -2
  31. data/lib/ory-hydra-client/models/login_request.rb +37 -2
  32. data/lib/ory-hydra-client/models/logout_request.rb +2 -2
  33. data/lib/ory-hydra-client/models/o_auth2_client.rb +14 -4
  34. data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +3 -3
  35. data/lib/ory-hydra-client/models/oauth2_token_response.rb +2 -2
  36. data/lib/ory-hydra-client/models/open_id_connect_context.rb +2 -2
  37. data/lib/ory-hydra-client/models/plugin_config.rb +2 -2
  38. data/lib/ory-hydra-client/models/plugin_config_args.rb +2 -2
  39. data/lib/ory-hydra-client/models/plugin_config_interface.rb +2 -2
  40. data/lib/ory-hydra-client/models/plugin_config_linux.rb +2 -2
  41. data/lib/ory-hydra-client/models/plugin_config_network.rb +2 -2
  42. data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +2 -2
  43. data/lib/ory-hydra-client/models/plugin_config_user.rb +2 -2
  44. data/lib/ory-hydra-client/models/plugin_device.rb +2 -2
  45. data/lib/ory-hydra-client/models/plugin_env.rb +2 -2
  46. data/lib/ory-hydra-client/models/plugin_interface_type.rb +2 -2
  47. data/lib/ory-hydra-client/models/plugin_mount.rb +2 -2
  48. data/lib/ory-hydra-client/models/plugin_settings.rb +2 -2
  49. data/lib/ory-hydra-client/models/previous_consent_session.rb +2 -2
  50. data/lib/ory-hydra-client/models/reject_request.rb +7 -2
  51. data/lib/ory-hydra-client/models/userinfo_response.rb +2 -2
  52. data/lib/ory-hydra-client/models/version.rb +2 -2
  53. data/lib/ory-hydra-client/models/volume_usage_data.rb +2 -2
  54. data/lib/ory-hydra-client/models/well_known.rb +2 -2
  55. data/lib/ory-hydra-client/version.rb +3 -3
  56. data/ory-hydra-client.gemspec +2 -2
  57. metadata +34 -34
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,7 @@ module OryHydraClient
21
21
  # Audience contains a list of the token's intended audiences.
22
22
  attr_accessor :aud
23
23
 
24
- # ClientID is aclient identifier for the OAuth 2.0 client that requested this token.
24
+ # ID is aclient identifier for the OAuth 2.0 client that requested this token.
25
25
  attr_accessor :client_id
26
26
 
27
27
  # Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire.
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,14 +14,19 @@ require 'date'
14
14
 
15
15
  module OryHydraClient
16
16
  class RejectRequest
17
+ # The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`.
17
18
  attr_accessor :error
18
19
 
20
+ # Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs.
19
21
  attr_accessor :error_debug
20
22
 
23
+ # Description of the error in a human readable format.
21
24
  attr_accessor :error_description
22
25
 
26
+ # Hint to help resolve the error.
23
27
  attr_accessor :error_hint
24
28
 
29
+ # Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400
25
30
  attr_accessor :status_code
26
31
 
27
32
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -3,13 +3,13 @@
3
3
 
4
4
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
5
 
6
- The version of the OpenAPI document: latest
6
+ The version of the OpenAPI document: 1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module OryHydraClient
14
- VERSION = '1.5.0.beta2'
14
+ VERSION = '1.7.4'
15
15
  end
@@ -5,10 +5,10 @@
5
5
 
6
6
  #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
7
7
 
8
- The version of the OpenAPI document: latest
8
+ The version of the OpenAPI document: v1.7.4
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.2.3
11
+ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  =end
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ory-hydra-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.beta2
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ORY GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-23 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -225,9 +225,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
225
  version: '1.9'
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  requirements:
228
- - - ">"
228
+ - - ">="
229
229
  - !ruby/object:Gem::Version
230
- version: 1.3.1
230
+ version: '0'
231
231
  requirements: []
232
232
  rubyforge_project:
233
233
  rubygems_version: 2.7.6.2
@@ -235,46 +235,46 @@ signing_key:
235
235
  specification_version: 4
236
236
  summary: ORY Hydra Ruby Gem
237
237
  test_files:
238
- - spec/api/admin_api_spec.rb
239
238
  - spec/api/public_api_spec.rb
239
+ - spec/api/admin_api_spec.rb
240
240
  - spec/api_client_spec.rb
241
241
  - spec/configuration_spec.rb
242
- - spec/models/previous_consent_session_spec.rb
243
- - spec/models/json_web_key_set_generator_request_spec.rb
244
- - spec/models/o_auth2_token_introspection_spec.rb
245
242
  - spec/models/json_web_key_spec.rb
246
- - spec/models/login_request_spec.rb
247
- - spec/models/accept_login_request_spec.rb
248
- - spec/models/logout_request_spec.rb
249
- - spec/models/health_not_ready_status_spec.rb
250
- - spec/models/o_auth2_client_spec.rb
251
- - spec/models/open_id_connect_context_spec.rb
252
- - spec/models/plugin_config_rootfs_spec.rb
253
- - spec/models/consent_request_session_spec.rb
254
- - spec/models/plugin_config_interface_spec.rb
255
- - spec/models/consent_request_spec.rb
243
+ - spec/models/well_known_spec.rb
244
+ - spec/models/plugin_device_spec.rb
245
+ - spec/models/generic_error_spec.rb
246
+ - spec/models/accept_consent_request_spec.rb
256
247
  - spec/models/health_status_spec.rb
257
- - spec/models/oauth2_token_response_spec.rb
258
248
  - spec/models/volume_usage_data_spec.rb
259
- - spec/models/completed_request_spec.rb
260
- - spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
249
+ - spec/models/previous_consent_session_spec.rb
250
+ - spec/models/oauth_token_response_spec.rb
251
+ - spec/models/health_not_ready_status_spec.rb
252
+ - spec/models/json_web_key_set_spec.rb
261
253
  - spec/models/plugin_env_spec.rb
262
- - spec/models/reject_request_spec.rb
263
- - spec/models/plugin_config_user_spec.rb
264
- - spec/models/plugin_config_linux_spec.rb
265
254
  - spec/models/plugin_mount_spec.rb
266
- - spec/models/json_web_key_set_spec.rb
267
- - spec/models/userinfo_response_spec.rb
268
- - spec/models/oauth_token_response_spec.rb
269
- - spec/models/plugin_interface_type_spec.rb
270
- - spec/models/accept_consent_request_spec.rb
271
- - spec/models/generic_error_spec.rb
272
- - spec/models/plugin_config_args_spec.rb
273
- - spec/models/version_spec.rb
274
255
  - spec/models/plugin_config_network_spec.rb
275
- - spec/models/plugin_device_spec.rb
276
- - spec/models/well_known_spec.rb
277
256
  - spec/models/plugin_config_spec.rb
257
+ - spec/models/plugin_interface_type_spec.rb
258
+ - spec/models/plugin_config_linux_spec.rb
259
+ - spec/models/plugin_config_interface_spec.rb
260
+ - spec/models/reject_request_spec.rb
261
+ - spec/models/consent_request_spec.rb
262
+ - spec/models/plugin_config_args_spec.rb
263
+ - spec/models/completed_request_spec.rb
264
+ - spec/models/json_web_key_set_generator_request_spec.rb
265
+ - spec/models/consent_request_session_spec.rb
266
+ - spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
267
+ - spec/models/o_auth2_client_spec.rb
268
+ - spec/models/oauth2_token_response_spec.rb
269
+ - spec/models/plugin_config_rootfs_spec.rb
270
+ - spec/models/o_auth2_token_introspection_spec.rb
271
+ - spec/models/plugin_config_user_spec.rb
272
+ - spec/models/logout_request_spec.rb
278
273
  - spec/models/plugin_settings_spec.rb
279
274
  - spec/models/container_wait_ok_body_error_spec.rb
275
+ - spec/models/open_id_connect_context_spec.rb
276
+ - spec/models/version_spec.rb
277
+ - spec/models/accept_login_request_spec.rb
278
+ - spec/models/login_request_spec.rb
279
+ - spec/models/userinfo_response_spec.rb
280
280
  - spec/spec_helper.rb