ory-hydra-client 1.4.10 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +20 -6
  4. data/docs/AdminApi.md +4 -2
  5. data/docs/CompletedRequest.md +1 -1
  6. data/docs/ConsentRequest.md +1 -1
  7. data/docs/ConsentRequestSession.md +2 -2
  8. data/docs/ContainerWaitOKBodyError.md +17 -0
  9. data/docs/JSONWebKey.md +12 -12
  10. data/docs/LoginRequest.md +7 -7
  11. data/docs/OAuth2Client.md +3 -1
  12. data/docs/OAuth2TokenIntrospection.md +2 -2
  13. data/docs/Oauth2TokenResponse.md +6 -6
  14. data/docs/OpenIDConnectContext.md +1 -1
  15. data/docs/PluginConfig.md +47 -0
  16. data/docs/PluginConfigArgs.md +23 -0
  17. data/docs/PluginConfigInterface.md +19 -0
  18. data/docs/PluginConfigLinux.md +21 -0
  19. data/docs/PluginConfigNetwork.md +17 -0
  20. data/docs/PluginConfigRootfs.md +19 -0
  21. data/docs/PluginConfigUser.md +19 -0
  22. data/docs/PluginDevice.md +23 -0
  23. data/docs/PluginEnv.md +23 -0
  24. data/docs/PluginInterfaceType.md +21 -0
  25. data/docs/PluginMount.md +29 -0
  26. data/docs/PluginSettings.md +23 -0
  27. data/docs/PreviousConsentSession.md +3 -3
  28. data/docs/RejectRequest.md +5 -5
  29. data/docs/VolumeUsageData.md +19 -0
  30. data/lib/ory-hydra-client.rb +16 -2
  31. data/lib/ory-hydra-client/api/admin_api.rb +7 -4
  32. data/lib/ory-hydra-client/api/public_api.rb +2 -2
  33. data/lib/ory-hydra-client/api_client.rb +9 -7
  34. data/lib/ory-hydra-client/api_error.rb +2 -2
  35. data/lib/ory-hydra-client/configuration.rb +2 -2
  36. data/lib/ory-hydra-client/models/accept_consent_request.rb +2 -2
  37. data/lib/ory-hydra-client/models/accept_login_request.rb +2 -2
  38. data/lib/ory-hydra-client/models/completed_request.rb +7 -2
  39. data/lib/ory-hydra-client/models/consent_request.rb +7 -2
  40. data/lib/ory-hydra-client/models/consent_request_session.rb +6 -10
  41. data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +208 -0
  42. data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +2 -2
  43. data/lib/ory-hydra-client/models/generic_error.rb +2 -2
  44. data/lib/ory-hydra-client/models/health_not_ready_status.rb +2 -3
  45. data/lib/ory-hydra-client/models/health_status.rb +2 -2
  46. data/lib/ory-hydra-client/models/json_web_key.rb +3 -15
  47. data/lib/ory-hydra-client/models/json_web_key_set.rb +3 -3
  48. data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +2 -2
  49. data/lib/ory-hydra-client/models/login_request.rb +37 -2
  50. data/lib/ory-hydra-client/models/logout_request.rb +2 -2
  51. data/lib/ory-hydra-client/models/o_auth2_client.rb +14 -4
  52. data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +5 -7
  53. data/lib/ory-hydra-client/models/oauth2_token_response.rb +3 -9
  54. data/lib/ory-hydra-client/models/open_id_connect_context.rb +4 -6
  55. data/lib/ory-hydra-client/models/plugin_config.rb +422 -0
  56. data/lib/ory-hydra-client/models/plugin_config_args.rb +262 -0
  57. data/lib/ory-hydra-client/models/plugin_config_interface.rb +230 -0
  58. data/lib/ory-hydra-client/models/plugin_config_linux.rb +247 -0
  59. data/lib/ory-hydra-client/models/plugin_config_network.rb +213 -0
  60. data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +220 -0
  61. data/lib/ory-hydra-client/models/plugin_config_user.rb +218 -0
  62. data/lib/ory-hydra-client/models/plugin_device.rb +260 -0
  63. data/lib/ory-hydra-client/models/plugin_env.rb +260 -0
  64. data/lib/ory-hydra-client/models/plugin_interface_type.rb +243 -0
  65. data/lib/ory-hydra-client/models/plugin_mount.rb +307 -0
  66. data/lib/ory-hydra-client/models/plugin_settings.rb +265 -0
  67. data/lib/ory-hydra-client/models/previous_consent_session.rb +3 -6
  68. data/lib/ory-hydra-client/models/reject_request.rb +7 -7
  69. data/lib/ory-hydra-client/models/userinfo_response.rb +3 -3
  70. data/lib/ory-hydra-client/models/version.rb +2 -3
  71. data/lib/ory-hydra-client/models/volume_usage_data.rb +228 -0
  72. data/lib/ory-hydra-client/models/well_known.rb +2 -2
  73. data/lib/ory-hydra-client/version.rb +3 -3
  74. data/ory-hydra-client.gemspec +2 -2
  75. data/spec/models/container_wait_ok_body_error_spec.rb +41 -0
  76. data/spec/models/plugin_config_args_spec.rb +59 -0
  77. data/spec/models/plugin_config_interface_spec.rb +47 -0
  78. data/spec/models/plugin_config_linux_spec.rb +53 -0
  79. data/spec/models/plugin_config_network_spec.rb +41 -0
  80. data/spec/models/plugin_config_rootfs_spec.rb +47 -0
  81. data/spec/models/plugin_config_spec.rb +131 -0
  82. data/spec/models/plugin_config_user_spec.rb +47 -0
  83. data/spec/models/plugin_device_spec.rb +59 -0
  84. data/spec/models/plugin_env_spec.rb +59 -0
  85. data/spec/models/plugin_interface_type_spec.rb +53 -0
  86. data/spec/models/plugin_mount_spec.rb +77 -0
  87. data/spec/models/plugin_settings_spec.rb +59 -0
  88. data/spec/models/volume_usage_data_spec.rb +47 -0
  89. metadata +74 -18
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginConfigInterface
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginConfigInterface' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginConfigInterface.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginConfigInterface' do
31
+ it 'should create an instance of PluginConfigInterface' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginConfigInterface)
33
+ end
34
+ end
35
+ describe 'test attribute "socket"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "types"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginConfigLinux
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginConfigLinux' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginConfigLinux.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginConfigLinux' do
31
+ it 'should create an instance of PluginConfigLinux' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginConfigLinux)
33
+ end
34
+ end
35
+ describe 'test attribute "allow_all_devices"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "capabilities"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "devices"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginConfigNetwork
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginConfigNetwork' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginConfigNetwork.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginConfigNetwork' do
31
+ it 'should create an instance of PluginConfigNetwork' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginConfigNetwork)
33
+ end
34
+ end
35
+ describe 'test attribute "type"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginConfigRootfs
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginConfigRootfs' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginConfigRootfs.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginConfigRootfs' do
31
+ it 'should create an instance of PluginConfigRootfs' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginConfigRootfs)
33
+ end
34
+ end
35
+ describe 'test attribute "diff_ids"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "type"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,131 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginConfig
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginConfig' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginConfig.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginConfig' do
31
+ it 'should create an instance of PluginConfig' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginConfig)
33
+ end
34
+ end
35
+ describe 'test attribute "args"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "description"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "docker_version"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "documentation"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "entrypoint"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "env"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "interface"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "ipc_host"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "linux"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "mounts"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "network"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "pid_host"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "propagated_mount"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "user"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ describe 'test attribute "work_dir"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ describe 'test attribute "rootfs"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginConfigUser
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginConfigUser' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginConfigUser.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginConfigUser' do
31
+ it 'should create an instance of PluginConfigUser' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginConfigUser)
33
+ end
34
+ end
35
+ describe 'test attribute "gid"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "uid"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginDevice
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginDevice' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginDevice.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginDevice' do
31
+ it 'should create an instance of PluginDevice' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginDevice)
33
+ end
34
+ end
35
+ describe 'test attribute "description"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "path"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "settable"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #ORY Hydra
3
+
4
+ #Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5
+
6
+ The version of the OpenAPI document: latest
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for OryHydraClient::PluginEnv
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'PluginEnv' do
21
+ before do
22
+ # run before each test
23
+ @instance = OryHydraClient::PluginEnv.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of PluginEnv' do
31
+ it 'should create an instance of PluginEnv' do
32
+ expect(@instance).to be_instance_of(OryHydraClient::PluginEnv)
33
+ end
34
+ end
35
+ describe 'test attribute "description"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "settable"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "value"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end