ory-hydra-client 1.4.9 → 1.6.0
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.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +19 -5
- data/docs/AdminApi.md +1 -1
- 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/FlushInactiveOAuth2TokensRequest.md +1 -1
- data/docs/JSONWebKey.md +12 -12
- data/docs/LoginRequest.md +7 -7
- data/docs/OAuth2Client.md +5 -3
- 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 +4 -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 +3 -4
- 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 +2 -2
- 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 +16 -6
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +5 -7
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +2 -8
- 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 -2
- 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 +71 -15
|
@@ -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.6.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.6.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
|
|
@@ -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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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
|
|
|
@@ -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.6.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
|
|
|
@@ -31,8 +31,8 @@ module OryHydraClient
|
|
|
31
31
|
# Attribute type mapping.
|
|
32
32
|
def self.openapi_types
|
|
33
33
|
{
|
|
34
|
-
:'access_token' => :'
|
|
35
|
-
:'id_token' => :'
|
|
34
|
+
:'access_token' => :'Object',
|
|
35
|
+
:'id_token' => :'Object'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -58,15 +58,11 @@ module OryHydraClient
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
if attributes.key?(:'access_token')
|
|
61
|
-
|
|
62
|
-
self.access_token = value
|
|
63
|
-
end
|
|
61
|
+
self.access_token = attributes[:'access_token']
|
|
64
62
|
end
|
|
65
63
|
|
|
66
64
|
if attributes.key?(:'id_token')
|
|
67
|
-
|
|
68
|
-
self.id_token = value
|
|
69
|
-
end
|
|
65
|
+
self.id_token = attributes[:'id_token']
|
|
70
66
|
end
|
|
71
67
|
end
|
|
72
68
|
|