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.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +20 -6
- data/docs/AdminApi.md +4 -2
- data/docs/CompletedRequest.md +1 -1
- data/docs/ConsentRequest.md +1 -1
- data/docs/ConsentRequestSession.md +2 -2
- data/docs/ContainerWaitOKBodyError.md +17 -0
- data/docs/JSONWebKey.md +12 -12
- data/docs/LoginRequest.md +7 -7
- data/docs/OAuth2Client.md +3 -1
- data/docs/OAuth2TokenIntrospection.md +2 -2
- data/docs/Oauth2TokenResponse.md +6 -6
- data/docs/OpenIDConnectContext.md +1 -1
- data/docs/PluginConfig.md +47 -0
- data/docs/PluginConfigArgs.md +23 -0
- data/docs/PluginConfigInterface.md +19 -0
- data/docs/PluginConfigLinux.md +21 -0
- data/docs/PluginConfigNetwork.md +17 -0
- data/docs/PluginConfigRootfs.md +19 -0
- data/docs/PluginConfigUser.md +19 -0
- data/docs/PluginDevice.md +23 -0
- data/docs/PluginEnv.md +23 -0
- data/docs/PluginInterfaceType.md +21 -0
- data/docs/PluginMount.md +29 -0
- data/docs/PluginSettings.md +23 -0
- data/docs/PreviousConsentSession.md +3 -3
- data/docs/RejectRequest.md +5 -5
- data/docs/VolumeUsageData.md +19 -0
- data/lib/ory-hydra-client.rb +16 -2
- data/lib/ory-hydra-client/api/admin_api.rb +7 -4
- data/lib/ory-hydra-client/api/public_api.rb +2 -2
- data/lib/ory-hydra-client/api_client.rb +9 -7
- data/lib/ory-hydra-client/api_error.rb +2 -2
- data/lib/ory-hydra-client/configuration.rb +2 -2
- data/lib/ory-hydra-client/models/accept_consent_request.rb +2 -2
- data/lib/ory-hydra-client/models/accept_login_request.rb +2 -2
- data/lib/ory-hydra-client/models/completed_request.rb +7 -2
- data/lib/ory-hydra-client/models/consent_request.rb +7 -2
- data/lib/ory-hydra-client/models/consent_request_session.rb +6 -10
- data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +208 -0
- data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +2 -2
- data/lib/ory-hydra-client/models/generic_error.rb +2 -2
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +2 -3
- data/lib/ory-hydra-client/models/health_status.rb +2 -2
- data/lib/ory-hydra-client/models/json_web_key.rb +3 -15
- data/lib/ory-hydra-client/models/json_web_key_set.rb +3 -3
- data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +2 -2
- data/lib/ory-hydra-client/models/login_request.rb +37 -2
- data/lib/ory-hydra-client/models/logout_request.rb +2 -2
- data/lib/ory-hydra-client/models/o_auth2_client.rb +14 -4
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +5 -7
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +3 -9
- data/lib/ory-hydra-client/models/open_id_connect_context.rb +4 -6
- data/lib/ory-hydra-client/models/plugin_config.rb +422 -0
- data/lib/ory-hydra-client/models/plugin_config_args.rb +262 -0
- data/lib/ory-hydra-client/models/plugin_config_interface.rb +230 -0
- data/lib/ory-hydra-client/models/plugin_config_linux.rb +247 -0
- data/lib/ory-hydra-client/models/plugin_config_network.rb +213 -0
- data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +220 -0
- data/lib/ory-hydra-client/models/plugin_config_user.rb +218 -0
- data/lib/ory-hydra-client/models/plugin_device.rb +260 -0
- data/lib/ory-hydra-client/models/plugin_env.rb +260 -0
- data/lib/ory-hydra-client/models/plugin_interface_type.rb +243 -0
- data/lib/ory-hydra-client/models/plugin_mount.rb +307 -0
- data/lib/ory-hydra-client/models/plugin_settings.rb +265 -0
- data/lib/ory-hydra-client/models/previous_consent_session.rb +3 -6
- data/lib/ory-hydra-client/models/reject_request.rb +7 -7
- data/lib/ory-hydra-client/models/userinfo_response.rb +3 -3
- data/lib/ory-hydra-client/models/version.rb +2 -3
- data/lib/ory-hydra-client/models/volume_usage_data.rb +228 -0
- data/lib/ory-hydra-client/models/well_known.rb +2 -2
- data/lib/ory-hydra-client/version.rb +3 -3
- data/ory-hydra-client.gemspec +2 -2
- data/spec/models/container_wait_ok_body_error_spec.rb +41 -0
- data/spec/models/plugin_config_args_spec.rb +59 -0
- data/spec/models/plugin_config_interface_spec.rb +47 -0
- data/spec/models/plugin_config_linux_spec.rb +53 -0
- data/spec/models/plugin_config_network_spec.rb +41 -0
- data/spec/models/plugin_config_rootfs_spec.rb +47 -0
- data/spec/models/plugin_config_spec.rb +131 -0
- data/spec/models/plugin_config_user_spec.rb +47 -0
- data/spec/models/plugin_device_spec.rb +59 -0
- data/spec/models/plugin_env_spec.rb +59 -0
- data/spec/models/plugin_interface_type_spec.rb +53 -0
- data/spec/models/plugin_mount_spec.rb +77 -0
- data/spec/models/plugin_settings_spec.rb +59 -0
- data/spec/models/volume_usage_data_spec.rb +47 -0
- metadata +74 -18
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::PluginConfigUser
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**gid** | **Integer** | g ID | [optional]
|
8
|
+
**uid** | **Integer** | UID | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::PluginConfigUser.new(gid: null,
|
16
|
+
uid: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# OryHydraClient::PluginDevice
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**description** | **String** | description |
|
8
|
+
**name** | **String** | name |
|
9
|
+
**path** | **String** | path |
|
10
|
+
**settable** | **Array<String>** | settable |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'OryHydraClient'
|
16
|
+
|
17
|
+
instance = OryHydraClient::PluginDevice.new(description: null,
|
18
|
+
name: null,
|
19
|
+
path: null,
|
20
|
+
settable: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PluginEnv.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# OryHydraClient::PluginEnv
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**description** | **String** | description |
|
8
|
+
**name** | **String** | name |
|
9
|
+
**settable** | **Array<String>** | settable |
|
10
|
+
**value** | **String** | value |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'OryHydraClient'
|
16
|
+
|
17
|
+
instance = OryHydraClient::PluginEnv.new(description: null,
|
18
|
+
name: null,
|
19
|
+
settable: null,
|
20
|
+
value: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# OryHydraClient::PluginInterfaceType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**capability** | **String** | capability |
|
8
|
+
**prefix** | **String** | prefix |
|
9
|
+
**version** | **String** | version |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'OryHydraClient'
|
15
|
+
|
16
|
+
instance = OryHydraClient::PluginInterfaceType.new(capability: null,
|
17
|
+
prefix: null,
|
18
|
+
version: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/PluginMount.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# OryHydraClient::PluginMount
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**description** | **String** | description |
|
8
|
+
**destination** | **String** | destination |
|
9
|
+
**name** | **String** | name |
|
10
|
+
**options** | **Array<String>** | options |
|
11
|
+
**settable** | **Array<String>** | settable |
|
12
|
+
**source** | **String** | source |
|
13
|
+
**type** | **String** | type |
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'OryHydraClient'
|
19
|
+
|
20
|
+
instance = OryHydraClient::PluginMount.new(description: null,
|
21
|
+
destination: null,
|
22
|
+
name: null,
|
23
|
+
options: null,
|
24
|
+
settable: null,
|
25
|
+
source: null,
|
26
|
+
type: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# OryHydraClient::PluginSettings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**args** | **Array<String>** | args |
|
8
|
+
**devices** | [**Array<PluginDevice>**](PluginDevice.md) | devices |
|
9
|
+
**env** | **Array<String>** | env |
|
10
|
+
**mounts** | [**Array<PluginMount>**](PluginMount.md) | mounts |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'OryHydraClient'
|
16
|
+
|
17
|
+
instance = OryHydraClient::PluginSettings.new(args: null,
|
18
|
+
devices: null,
|
19
|
+
env: null,
|
20
|
+
mounts: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -5,9 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**consent_request** | [**ConsentRequest**](ConsentRequest.md) | | [optional]
|
8
|
-
**grant_access_token_audience** | **Array<String>** |
|
9
|
-
**grant_scope** | **Array<String>** |
|
10
|
-
**handled_at** | **DateTime** |
|
8
|
+
**grant_access_token_audience** | **Array<String>** | | [optional]
|
9
|
+
**grant_scope** | **Array<String>** | | [optional]
|
10
|
+
**handled_at** | **DateTime** | | [optional]
|
11
11
|
**remember** | **Boolean** | Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. | [optional]
|
12
12
|
**remember_for** | **Integer** | RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. | [optional]
|
13
13
|
**session** | [**ConsentRequestSession**](ConsentRequestSession.md) | | [optional]
|
data/docs/RejectRequest.md
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**error** | **String** | error | [optional]
|
8
|
-
**error_debug** | **String** |
|
9
|
-
**error_description** | **String** | error
|
10
|
-
**error_hint** | **String** | error
|
11
|
-
**status_code** | **Integer** | status code | [optional]
|
7
|
+
**error** | **String** | The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. | [optional]
|
8
|
+
**error_debug** | **String** | Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. | [optional]
|
9
|
+
**error_description** | **String** | Description of the error in a human readable format. | [optional]
|
10
|
+
**error_hint** | **String** | Hint to help resolve the error. | [optional]
|
11
|
+
**status_code** | **Integer** | Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::VolumeUsageData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**ref_count** | **Integer** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. |
|
8
|
+
**size** | **Integer** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::VolumeUsageData.new(ref_count: null,
|
16
|
+
size: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/lib/ory-hydra-client.rb
CHANGED
@@ -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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,6 +22,7 @@ require 'ory-hydra-client/models/accept_login_request'
|
|
22
22
|
require 'ory-hydra-client/models/completed_request'
|
23
23
|
require 'ory-hydra-client/models/consent_request'
|
24
24
|
require 'ory-hydra-client/models/consent_request_session'
|
25
|
+
require 'ory-hydra-client/models/container_wait_ok_body_error'
|
25
26
|
require 'ory-hydra-client/models/flush_inactive_o_auth2_tokens_request'
|
26
27
|
require 'ory-hydra-client/models/generic_error'
|
27
28
|
require 'ory-hydra-client/models/health_not_ready_status'
|
@@ -35,10 +36,23 @@ require 'ory-hydra-client/models/o_auth2_client'
|
|
35
36
|
require 'ory-hydra-client/models/o_auth2_token_introspection'
|
36
37
|
require 'ory-hydra-client/models/oauth2_token_response'
|
37
38
|
require 'ory-hydra-client/models/open_id_connect_context'
|
39
|
+
require 'ory-hydra-client/models/plugin_config'
|
40
|
+
require 'ory-hydra-client/models/plugin_config_args'
|
41
|
+
require 'ory-hydra-client/models/plugin_config_interface'
|
42
|
+
require 'ory-hydra-client/models/plugin_config_linux'
|
43
|
+
require 'ory-hydra-client/models/plugin_config_network'
|
44
|
+
require 'ory-hydra-client/models/plugin_config_rootfs'
|
45
|
+
require 'ory-hydra-client/models/plugin_config_user'
|
46
|
+
require 'ory-hydra-client/models/plugin_device'
|
47
|
+
require 'ory-hydra-client/models/plugin_env'
|
48
|
+
require 'ory-hydra-client/models/plugin_interface_type'
|
49
|
+
require 'ory-hydra-client/models/plugin_mount'
|
50
|
+
require 'ory-hydra-client/models/plugin_settings'
|
38
51
|
require 'ory-hydra-client/models/previous_consent_session'
|
39
52
|
require 'ory-hydra-client/models/reject_request'
|
40
53
|
require 'ory-hydra-client/models/userinfo_response'
|
41
54
|
require 'ory-hydra-client/models/version'
|
55
|
+
require 'ory-hydra-client/models/volume_usage_data'
|
42
56
|
require 'ory-hydra-client/models/well_known'
|
43
57
|
|
44
58
|
# APIs
|
@@ -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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1222,7 +1222,7 @@ module OryHydraClient
|
|
1222
1222
|
end
|
1223
1223
|
|
1224
1224
|
# Lists all consent sessions of a subject
|
1225
|
-
# This endpoint lists all subject's granted consent sessions, including client and granted scope. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
1225
|
+
# This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
1226
1226
|
# @param subject [String]
|
1227
1227
|
# @param [Hash] opts the optional parameters
|
1228
1228
|
# @return [Array<PreviousConsentSession>]
|
@@ -1232,7 +1232,7 @@ module OryHydraClient
|
|
1232
1232
|
end
|
1233
1233
|
|
1234
1234
|
# Lists all consent sessions of a subject
|
1235
|
-
# This endpoint lists all subject's granted consent sessions, including client and granted scope. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
1235
|
+
# This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. The \"Link\" header is also included in successful responses, which contains one or more links for pagination, formatted like so: '<https://hydra-url/admin/oauth2/auth/sessions/consent?subject={user}&limit={limit}&offset={offset}>; rel=\"{page}\"', where page is one of the following applicable pages: 'first', 'next', 'last', and 'previous'. Multiple links can be included in this header, and will be separated by a comma.
|
1236
1236
|
# @param subject [String]
|
1237
1237
|
# @param [Hash] opts the optional parameters
|
1238
1238
|
# @return [Array<(Array<PreviousConsentSession>, Integer, Hash)>] Array<PreviousConsentSession> data, response status code and response headers
|
@@ -1607,6 +1607,7 @@ module OryHydraClient
|
|
1607
1607
|
# @param subject [String] The subject (Subject) who's consent sessions should be deleted.
|
1608
1608
|
# @param [Hash] opts the optional parameters
|
1609
1609
|
# @option opts [String] :client If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID
|
1610
|
+
# @option opts [Boolean] :all If set to `?all=true`, deletes all consent sessions by the Subject that have been granted.
|
1610
1611
|
# @return [nil]
|
1611
1612
|
def revoke_consent_sessions(subject, opts = {})
|
1612
1613
|
revoke_consent_sessions_with_http_info(subject, opts)
|
@@ -1618,6 +1619,7 @@ module OryHydraClient
|
|
1618
1619
|
# @param subject [String] The subject (Subject) who's consent sessions should be deleted.
|
1619
1620
|
# @param [Hash] opts the optional parameters
|
1620
1621
|
# @option opts [String] :client If set, deletes only those consent sessions by the Subject that have been granted to the specified OAuth 2.0 Client ID
|
1622
|
+
# @option opts [Boolean] :all If set to `?all=true`, deletes all consent sessions by the Subject that have been granted.
|
1621
1623
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1622
1624
|
def revoke_consent_sessions_with_http_info(subject, opts = {})
|
1623
1625
|
if @api_client.config.debugging
|
@@ -1634,6 +1636,7 @@ module OryHydraClient
|
|
1634
1636
|
query_params = opts[:query_params] || {}
|
1635
1637
|
query_params[:'subject'] = subject
|
1636
1638
|
query_params[:'client'] = opts[:'client'] if !opts[:'client'].nil?
|
1639
|
+
query_params[:'all'] = opts[:'all'] if !opts[:'all'].nil?
|
1637
1640
|
|
1638
1641
|
# header parameters
|
1639
1642
|
header_params = opts[:header_params] || {}
|
@@ -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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -269,11 +269,13 @@ module OryHydraClient
|
|
269
269
|
tempfile.write(chunk)
|
270
270
|
end
|
271
271
|
request.on_complete do |response|
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
272
|
+
if tempfile
|
273
|
+
tempfile.close
|
274
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
275
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
276
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
277
|
+
"explicitly with `tempfile.delete`"
|
278
|
+
end
|
277
279
|
end
|
278
280
|
end
|
279
281
|
|
@@ -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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -61,12 +61,17 @@ module OryHydraClient
|
|
61
61
|
# @return Array for valid properties with the reasons
|
62
62
|
def list_invalid_properties
|
63
63
|
invalid_properties = Array.new
|
64
|
+
if @redirect_to.nil?
|
65
|
+
invalid_properties.push('invalid value for "redirect_to", redirect_to cannot be nil.')
|
66
|
+
end
|
67
|
+
|
64
68
|
invalid_properties
|
65
69
|
end
|
66
70
|
|
67
71
|
# Check to see if the all the properties in the model are valid
|
68
72
|
# @return true if the model is valid
|
69
73
|
def valid?
|
74
|
+
return false if @redirect_to.nil?
|
70
75
|
true
|
71
76
|
end
|
72
77
|
|
@@ -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:
|
6
|
+
The version of the OpenAPI document: v1.7.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -159,12 +159,17 @@ module OryHydraClient
|
|
159
159
|
# @return Array for valid properties with the reasons
|
160
160
|
def list_invalid_properties
|
161
161
|
invalid_properties = Array.new
|
162
|
+
if @challenge.nil?
|
163
|
+
invalid_properties.push('invalid value for "challenge", challenge cannot be nil.')
|
164
|
+
end
|
165
|
+
|
162
166
|
invalid_properties
|
163
167
|
end
|
164
168
|
|
165
169
|
# Check to see if the all the properties in the model are valid
|
166
170
|
# @return true if the model is valid
|
167
171
|
def valid?
|
172
|
+
return false if @challenge.nil?
|
168
173
|
true
|
169
174
|
end
|
170
175
|
|