ory-hydra-client 1.4.6 → 1.5.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/docs/AdminApi.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/OAuth2TokenIntrospection.md +1 -1
- 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 +14 -0
- data/lib/ory-hydra-client/api/admin_api.rb +2 -2
- data/lib/ory-hydra-client/models/consent_request_session.rb +4 -8
- 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 +1 -2
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +0 -1
- data/lib/ory-hydra-client/models/health_status.rb +0 -1
- data/lib/ory-hydra-client/models/json_web_key.rb +1 -13
- data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
- data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +0 -1
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +2 -4
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +0 -6
- data/lib/ory-hydra-client/models/open_id_connect_context.rb +2 -4
- 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 +1 -4
- data/lib/ory-hydra-client/models/reject_request.rb +0 -5
- data/lib/ory-hydra-client/models/version.rb +0 -1
- data/lib/ory-hydra-client/models/volume_usage_data.rb +228 -0
- data/lib/ory-hydra-client/version.rb +1 -1
- 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 +77 -21
@@ -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** |
|
8
|
-
**error_debug** | **String** |
|
9
|
-
**error_description** | **String** |
|
10
|
-
**error_hint** | **String** |
|
11
|
-
**status_code** | **Integer** |
|
7
|
+
**error** | **String** | | [optional]
|
8
|
+
**error_debug** | **String** | | [optional]
|
9
|
+
**error_description** | **String** | | [optional]
|
10
|
+
**error_hint** | **String** | | [optional]
|
11
|
+
**status_code** | **Integer** | | [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
@@ -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
|
@@ -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
|
@@ -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
|
|
@@ -0,0 +1,208 @@
|
|
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 'date'
|
14
|
+
|
15
|
+
module OryHydraClient
|
16
|
+
# ContainerWaitOKBodyError container waiting error, if any
|
17
|
+
class ContainerWaitOKBodyError
|
18
|
+
# Details of an error
|
19
|
+
attr_accessor :message
|
20
|
+
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
22
|
+
def self.attribute_map
|
23
|
+
{
|
24
|
+
:'message' => :'Message'
|
25
|
+
}
|
26
|
+
end
|
27
|
+
|
28
|
+
# Attribute type mapping.
|
29
|
+
def self.openapi_types
|
30
|
+
{
|
31
|
+
:'message' => :'String'
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
# List of attributes with nullable: true
|
36
|
+
def self.openapi_nullable
|
37
|
+
Set.new([
|
38
|
+
])
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
if (!attributes.is_a?(Hash))
|
45
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryHydraClient::ContainerWaitOKBodyError` initialize method"
|
46
|
+
end
|
47
|
+
|
48
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
49
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
50
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
51
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryHydraClient::ContainerWaitOKBodyError`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
52
|
+
end
|
53
|
+
h[k.to_sym] = v
|
54
|
+
}
|
55
|
+
|
56
|
+
if attributes.key?(:'message')
|
57
|
+
self.message = attributes[:'message']
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
62
|
+
# @return Array for valid properties with the reasons
|
63
|
+
def list_invalid_properties
|
64
|
+
invalid_properties = Array.new
|
65
|
+
invalid_properties
|
66
|
+
end
|
67
|
+
|
68
|
+
# Check to see if the all the properties in the model are valid
|
69
|
+
# @return true if the model is valid
|
70
|
+
def valid?
|
71
|
+
true
|
72
|
+
end
|
73
|
+
|
74
|
+
# Checks equality by comparing each attribute.
|
75
|
+
# @param [Object] Object to be compared
|
76
|
+
def ==(o)
|
77
|
+
return true if self.equal?(o)
|
78
|
+
self.class == o.class &&
|
79
|
+
message == o.message
|
80
|
+
end
|
81
|
+
|
82
|
+
# @see the `==` method
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def eql?(o)
|
85
|
+
self == o
|
86
|
+
end
|
87
|
+
|
88
|
+
# Calculates hash code according to all attributes.
|
89
|
+
# @return [Integer] Hash code
|
90
|
+
def hash
|
91
|
+
[message].hash
|
92
|
+
end
|
93
|
+
|
94
|
+
# Builds the object from hash
|
95
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
96
|
+
# @return [Object] Returns the model itself
|
97
|
+
def self.build_from_hash(attributes)
|
98
|
+
new.build_from_hash(attributes)
|
99
|
+
end
|
100
|
+
|
101
|
+
# Builds the object from hash
|
102
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
103
|
+
# @return [Object] Returns the model itself
|
104
|
+
def build_from_hash(attributes)
|
105
|
+
return nil unless attributes.is_a?(Hash)
|
106
|
+
self.class.openapi_types.each_pair do |key, type|
|
107
|
+
if type =~ /\AArray<(.*)>/i
|
108
|
+
# check to ensure the input is an array given that the attribute
|
109
|
+
# is documented as an array but the input is not
|
110
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
111
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
112
|
+
end
|
113
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
114
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
115
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
116
|
+
end
|
117
|
+
|
118
|
+
self
|
119
|
+
end
|
120
|
+
|
121
|
+
# Deserializes the data based on type
|
122
|
+
# @param string type Data type
|
123
|
+
# @param string value Value to be deserialized
|
124
|
+
# @return [Object] Deserialized data
|
125
|
+
def _deserialize(type, value)
|
126
|
+
case type.to_sym
|
127
|
+
when :DateTime
|
128
|
+
DateTime.parse(value)
|
129
|
+
when :Date
|
130
|
+
Date.parse(value)
|
131
|
+
when :String
|
132
|
+
value.to_s
|
133
|
+
when :Integer
|
134
|
+
value.to_i
|
135
|
+
when :Float
|
136
|
+
value.to_f
|
137
|
+
when :Boolean
|
138
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
139
|
+
true
|
140
|
+
else
|
141
|
+
false
|
142
|
+
end
|
143
|
+
when :Object
|
144
|
+
# generic object (usually a Hash), return directly
|
145
|
+
value
|
146
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
147
|
+
inner_type = Regexp.last_match[:inner_type]
|
148
|
+
value.map { |v| _deserialize(inner_type, v) }
|
149
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
150
|
+
k_type = Regexp.last_match[:k_type]
|
151
|
+
v_type = Regexp.last_match[:v_type]
|
152
|
+
{}.tap do |hash|
|
153
|
+
value.each do |k, v|
|
154
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
155
|
+
end
|
156
|
+
end
|
157
|
+
else # model
|
158
|
+
OryHydraClient.const_get(type).build_from_hash(value)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
# Returns the string representation of the object
|
163
|
+
# @return [String] String presentation of the object
|
164
|
+
def to_s
|
165
|
+
to_hash.to_s
|
166
|
+
end
|
167
|
+
|
168
|
+
# to_body is an alias to to_hash (backward compatibility)
|
169
|
+
# @return [Hash] Returns the object in the form of hash
|
170
|
+
def to_body
|
171
|
+
to_hash
|
172
|
+
end
|
173
|
+
|
174
|
+
# Returns the object in the form of hash
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
176
|
+
def to_hash
|
177
|
+
hash = {}
|
178
|
+
self.class.attribute_map.each_pair do |attr, param|
|
179
|
+
value = self.send(attr)
|
180
|
+
if value.nil?
|
181
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
182
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
183
|
+
end
|
184
|
+
|
185
|
+
hash[param] = _to_hash(value)
|
186
|
+
end
|
187
|
+
hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Outputs non-array value in the form of hash
|
191
|
+
# For object, use to_hash. Otherwise, just return the value
|
192
|
+
# @param [Object] value Any valid value
|
193
|
+
# @return [Hash] Returns the value in the form of hash
|
194
|
+
def _to_hash(value)
|
195
|
+
if value.is_a?(Array)
|
196
|
+
value.compact.map { |v| _to_hash(v) }
|
197
|
+
elsif value.is_a?(Hash)
|
198
|
+
{}.tap do |hash|
|
199
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
200
|
+
end
|
201
|
+
elsif value.respond_to? :to_hash
|
202
|
+
value.to_hash
|
203
|
+
else
|
204
|
+
value
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
@@ -13,9 +13,8 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request
|
17
16
|
class FlushInactiveOAuth2TokensRequest
|
18
|
-
# NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing.
|
17
|
+
# NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing.
|
19
18
|
attr_accessor :not_after
|
20
19
|
|
21
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -13,7 +13,6 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus health not ready status
|
17
16
|
class HealthNotReadyStatus
|
18
17
|
# Errors contains a list of errors that caused the not ready status.
|
19
18
|
attr_accessor :errors
|
@@ -13,27 +13,21 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
#
|
16
|
+
# It is important that this model object is named JSONWebKey for \"swagger generate spec\" to generate only on definition of a JSONWebKey.
|
17
17
|
class JSONWebKey
|
18
18
|
# 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.
|
19
19
|
attr_accessor :alg
|
20
20
|
|
21
|
-
# crv
|
22
21
|
attr_accessor :crv
|
23
22
|
|
24
|
-
# d
|
25
23
|
attr_accessor :d
|
26
24
|
|
27
|
-
# dp
|
28
25
|
attr_accessor :dp
|
29
26
|
|
30
|
-
# dq
|
31
27
|
attr_accessor :dq
|
32
28
|
|
33
|
-
# e
|
34
29
|
attr_accessor :e
|
35
30
|
|
36
|
-
# k
|
37
31
|
attr_accessor :k
|
38
32
|
|
39
33
|
# The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string.
|
@@ -42,28 +36,22 @@ module OryHydraClient
|
|
42
36
|
# The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string.
|
43
37
|
attr_accessor :kty
|
44
38
|
|
45
|
-
# n
|
46
39
|
attr_accessor :n
|
47
40
|
|
48
|
-
# p
|
49
41
|
attr_accessor :p
|
50
42
|
|
51
|
-
# q
|
52
43
|
attr_accessor :q
|
53
44
|
|
54
|
-
# qi
|
55
45
|
attr_accessor :qi
|
56
46
|
|
57
47
|
# Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).
|
58
48
|
attr_accessor :use
|
59
49
|
|
60
|
-
# x
|
61
50
|
attr_accessor :x
|
62
51
|
|
63
52
|
# The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.
|
64
53
|
attr_accessor :x5c
|
65
54
|
|
66
|
-
# y
|
67
55
|
attr_accessor :y
|
68
56
|
|
69
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|