ory-hydra-client 0.0.0.alpha62 → 0.0.0.alpha63
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 +46 -32
- data/docs/AcceptConsentRequest.md +4 -2
- data/docs/AcceptLoginRequest.md +1 -1
- data/docs/AdminApi.md +111 -71
- data/docs/CompletedRequest.md +1 -1
- data/docs/ConsentRequest.md +4 -4
- data/docs/ConsentRequestSession.md +2 -2
- data/docs/ContainerWaitOKBodyError.md +17 -0
- data/docs/LoginRequest.md +7 -7
- data/docs/OAuth2Client.md +13 -11
- data/docs/OAuth2TokenIntrospection.md +5 -3
- 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 +4 -2
- data/docs/PublicApi.md +16 -16
- data/docs/RejectRequest.md +5 -5
- data/docs/VolumeUsageData.md +19 -0
- data/docs/WellKnown.md +3 -1
- data/lib/ory-hydra-client.rb +16 -3
- data/lib/ory-hydra-client/api/admin_api.rb +115 -49
- data/lib/ory-hydra-client/api/public_api.rb +14 -14
- 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 +12 -5
- data/lib/ory-hydra-client/models/accept_login_request.rb +4 -7
- data/lib/ory-hydra-client/models/completed_request.rb +7 -2
- data/lib/ory-hydra-client/models/consent_request.rb +10 -10
- 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 -2
- data/lib/ory-hydra-client/models/health_status.rb +2 -2
- data/lib/ory-hydra-client/models/json_web_key.rb +3 -2
- data/lib/ory-hydra-client/models/json_web_key_set.rb +3 -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 +38 -5
- data/lib/ory-hydra-client/models/logout_request.rb +2 -2
- data/lib/ory-hydra-client/models/o_auth2_client.rb +17 -18
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +17 -9
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +2 -2
- data/lib/ory-hydra-client/models/oauth_token_response.rb +1 -1
- 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 +12 -5
- data/lib/ory-hydra-client/models/reject_request.rb +7 -2
- data/lib/ory-hydra-client/models/userinfo_response.rb +2 -2
- 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 +15 -3
- 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 +76 -20
@@ -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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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,16 +3,17 @@
|
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
+
# It is important that this model object is named JSONWebKey for \"swagger generate spec\" to generate only on definition of a JSONWebKey.
|
16
17
|
class JSONWebKey
|
17
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.
|
18
19
|
attr_accessor :alg
|
@@ -3,16 +3,17 @@
|
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
+
# It is important that this model object is named JSONWebKeySet for \"swagger generate spec\" to generate only on definition of a JSONWebKeySet. Since one with the same name is previously defined as client.Client.JSONWebKeys and this one is last, this one will be effectively written in the swagger spec.
|
16
17
|
class JSONWebKeySet
|
17
18
|
# The value of the \"keys\" parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
|
18
19
|
attr_accessor :keys
|
@@ -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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
16
|
class LoginRequest
|
17
|
-
#
|
17
|
+
# ID is the identifier (\"login challenge\") of the login request. It is used to identify the session.
|
18
18
|
attr_accessor :challenge
|
19
19
|
|
20
20
|
attr_accessor :client
|
@@ -24,10 +24,8 @@ module OryHydraClient
|
|
24
24
|
# RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
|
25
25
|
attr_accessor :request_url
|
26
26
|
|
27
|
-
# RequestedScope contains the access token audience as requested by the OAuth 2.0 Client.
|
28
27
|
attr_accessor :requested_access_token_audience
|
29
28
|
|
30
|
-
# RequestedScope contains the OAuth 2.0 Scope requested by the OAuth 2.0 Client.
|
31
29
|
attr_accessor :requested_scope
|
32
30
|
|
33
31
|
# SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
|
@@ -135,12 +133,47 @@ module OryHydraClient
|
|
135
133
|
# @return Array for valid properties with the reasons
|
136
134
|
def list_invalid_properties
|
137
135
|
invalid_properties = Array.new
|
136
|
+
if @challenge.nil?
|
137
|
+
invalid_properties.push('invalid value for "challenge", challenge cannot be nil.')
|
138
|
+
end
|
139
|
+
|
140
|
+
if @client.nil?
|
141
|
+
invalid_properties.push('invalid value for "client", client cannot be nil.')
|
142
|
+
end
|
143
|
+
|
144
|
+
if @request_url.nil?
|
145
|
+
invalid_properties.push('invalid value for "request_url", request_url cannot be nil.')
|
146
|
+
end
|
147
|
+
|
148
|
+
if @requested_access_token_audience.nil?
|
149
|
+
invalid_properties.push('invalid value for "requested_access_token_audience", requested_access_token_audience cannot be nil.')
|
150
|
+
end
|
151
|
+
|
152
|
+
if @requested_scope.nil?
|
153
|
+
invalid_properties.push('invalid value for "requested_scope", requested_scope cannot be nil.')
|
154
|
+
end
|
155
|
+
|
156
|
+
if @skip.nil?
|
157
|
+
invalid_properties.push('invalid value for "skip", skip cannot be nil.')
|
158
|
+
end
|
159
|
+
|
160
|
+
if @subject.nil?
|
161
|
+
invalid_properties.push('invalid value for "subject", subject cannot be nil.')
|
162
|
+
end
|
163
|
+
|
138
164
|
invalid_properties
|
139
165
|
end
|
140
166
|
|
141
167
|
# Check to see if the all the properties in the model are valid
|
142
168
|
# @return true if the model is valid
|
143
169
|
def valid?
|
170
|
+
return false if @challenge.nil?
|
171
|
+
return false if @client.nil?
|
172
|
+
return false if @request_url.nil?
|
173
|
+
return false if @requested_access_token_audience.nil?
|
174
|
+
return false if @requested_scope.nil?
|
175
|
+
return false if @skip.nil?
|
176
|
+
return false if @subject.nil?
|
144
177
|
true
|
145
178
|
end
|
146
179
|
|
@@ -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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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
|
|
@@ -14,10 +14,8 @@ require 'date'
|
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
16
|
class OAuth2Client
|
17
|
-
# AllowedCORSOrigins are one or more URLs (scheme://host[:port]) which are allowed to make CORS requests to the /oauth/token endpoint. If this array is empty, the sever's CORS origin configuration (`CORS_ALLOWED_ORIGINS`) will be used instead. If this array is set, the allowed origins are appended to the server's CORS origin configuration. Be aware that environment variable `CORS_ENABLED` MUST be set to `true` for this to work.
|
18
17
|
attr_accessor :allowed_cors_origins
|
19
18
|
|
20
|
-
# Audience is a whitelist defining the audiences this client is allowed to request tokens for. An audience limits the applicability of an OAuth 2.0 Access Token to, for example, certain API endpoints. The value is a list of URLs. URLs MUST NOT contain whitespaces.
|
21
19
|
attr_accessor :audience
|
22
20
|
|
23
21
|
# Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false.
|
@@ -26,7 +24,7 @@ module OryHydraClient
|
|
26
24
|
# RP URL that will cause the RP to log itself out when sent a Logout Token by the OP.
|
27
25
|
attr_accessor :backchannel_logout_uri
|
28
26
|
|
29
|
-
#
|
27
|
+
# ID is the id for this client.
|
30
28
|
attr_accessor :client_id
|
31
29
|
|
32
30
|
# Name is the human-readable string name of the client to be presented to the end-user during authorization.
|
@@ -41,7 +39,6 @@ module OryHydraClient
|
|
41
39
|
# ClientURI is an URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion.
|
42
40
|
attr_accessor :client_uri
|
43
41
|
|
44
|
-
# Contacts is a array of strings representing ways to contact people responsible for this client, typically email addresses.
|
45
42
|
attr_accessor :contacts
|
46
43
|
|
47
44
|
# CreatedAt returns the timestamp of the client's creation.
|
@@ -53,7 +50,6 @@ module OryHydraClient
|
|
53
50
|
# RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be.
|
54
51
|
attr_accessor :frontchannel_logout_uri
|
55
52
|
|
56
|
-
# GrantTypes is an array of grant types the client is allowed to use.
|
57
53
|
attr_accessor :grant_types
|
58
54
|
|
59
55
|
attr_accessor :jwks
|
@@ -64,7 +60,6 @@ module OryHydraClient
|
|
64
60
|
# LogoURI is an URL string that references a logo for the client.
|
65
61
|
attr_accessor :logo_uri
|
66
62
|
|
67
|
-
# Metadata is arbitrary data.
|
68
63
|
attr_accessor :metadata
|
69
64
|
|
70
65
|
# Owner is a string identifying the owner of the OAuth 2.0 Client.
|
@@ -73,19 +68,15 @@ module OryHydraClient
|
|
73
68
|
# PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data.
|
74
69
|
attr_accessor :policy_uri
|
75
70
|
|
76
|
-
# Array of URLs supplied by the RP to which it MAY request that the End-User's User Agent be redirected using the post_logout_redirect_uri parameter after a logout has been performed.
|
77
71
|
attr_accessor :post_logout_redirect_uris
|
78
72
|
|
79
|
-
# RedirectURIs is an array of allowed redirect urls for the client, for example http://mydomain/oauth/callback .
|
80
73
|
attr_accessor :redirect_uris
|
81
74
|
|
82
75
|
# JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm.
|
83
76
|
attr_accessor :request_object_signing_alg
|
84
77
|
|
85
|
-
# Array of request_uri values that are pre-registered by the RP for use at the OP. Servers MAY cache the contents of the files referenced by these URIs and not retrieve them at the time they are used in a request. OPs can require that request_uri values used be pre-registered with the require_request_uri_registration discovery parameter.
|
86
78
|
attr_accessor :request_uris
|
87
79
|
|
88
|
-
# ResponseTypes is an array of the OAuth 2.0 response type strings that the client can use at the authorization endpoint.
|
89
80
|
attr_accessor :response_types
|
90
81
|
|
91
82
|
# Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens.
|
@@ -100,6 +91,9 @@ module OryHydraClient
|
|
100
91
|
# Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none.
|
101
92
|
attr_accessor :token_endpoint_auth_method
|
102
93
|
|
94
|
+
# Requested Client Authentication signing algorithm for the Token Endpoint.
|
95
|
+
attr_accessor :token_endpoint_auth_signing_alg
|
96
|
+
|
103
97
|
# TermsOfServiceURI is a URL string that points to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client.
|
104
98
|
attr_accessor :tos_uri
|
105
99
|
|
@@ -141,6 +135,7 @@ module OryHydraClient
|
|
141
135
|
:'sector_identifier_uri' => :'sector_identifier_uri',
|
142
136
|
:'subject_type' => :'subject_type',
|
143
137
|
:'token_endpoint_auth_method' => :'token_endpoint_auth_method',
|
138
|
+
:'token_endpoint_auth_signing_alg' => :'token_endpoint_auth_signing_alg',
|
144
139
|
:'tos_uri' => :'tos_uri',
|
145
140
|
:'updated_at' => :'updated_at',
|
146
141
|
:'userinfo_signed_response_alg' => :'userinfo_signed_response_alg'
|
@@ -164,10 +159,10 @@ module OryHydraClient
|
|
164
159
|
:'frontchannel_logout_session_required' => :'Boolean',
|
165
160
|
:'frontchannel_logout_uri' => :'String',
|
166
161
|
:'grant_types' => :'Array<String>',
|
167
|
-
:'jwks' => :'
|
162
|
+
:'jwks' => :'Object',
|
168
163
|
:'jwks_uri' => :'String',
|
169
164
|
:'logo_uri' => :'String',
|
170
|
-
:'metadata' => :'
|
165
|
+
:'metadata' => :'Object',
|
171
166
|
:'owner' => :'String',
|
172
167
|
:'policy_uri' => :'String',
|
173
168
|
:'post_logout_redirect_uris' => :'Array<String>',
|
@@ -179,6 +174,7 @@ module OryHydraClient
|
|
179
174
|
:'sector_identifier_uri' => :'String',
|
180
175
|
:'subject_type' => :'String',
|
181
176
|
:'token_endpoint_auth_method' => :'String',
|
177
|
+
:'token_endpoint_auth_signing_alg' => :'String',
|
182
178
|
:'tos_uri' => :'String',
|
183
179
|
:'updated_at' => :'DateTime',
|
184
180
|
:'userinfo_signed_response_alg' => :'String'
|
@@ -283,9 +279,7 @@ module OryHydraClient
|
|
283
279
|
end
|
284
280
|
|
285
281
|
if attributes.key?(:'metadata')
|
286
|
-
|
287
|
-
self.metadata = value
|
288
|
-
end
|
282
|
+
self.metadata = attributes[:'metadata']
|
289
283
|
end
|
290
284
|
|
291
285
|
if attributes.key?(:'owner')
|
@@ -340,6 +334,10 @@ module OryHydraClient
|
|
340
334
|
self.token_endpoint_auth_method = attributes[:'token_endpoint_auth_method']
|
341
335
|
end
|
342
336
|
|
337
|
+
if attributes.key?(:'token_endpoint_auth_signing_alg')
|
338
|
+
self.token_endpoint_auth_signing_alg = attributes[:'token_endpoint_auth_signing_alg']
|
339
|
+
end
|
340
|
+
|
343
341
|
if attributes.key?(:'tos_uri')
|
344
342
|
self.tos_uri = attributes[:'tos_uri']
|
345
343
|
end
|
@@ -417,6 +415,7 @@ module OryHydraClient
|
|
417
415
|
sector_identifier_uri == o.sector_identifier_uri &&
|
418
416
|
subject_type == o.subject_type &&
|
419
417
|
token_endpoint_auth_method == o.token_endpoint_auth_method &&
|
418
|
+
token_endpoint_auth_signing_alg == o.token_endpoint_auth_signing_alg &&
|
420
419
|
tos_uri == o.tos_uri &&
|
421
420
|
updated_at == o.updated_at &&
|
422
421
|
userinfo_signed_response_alg == o.userinfo_signed_response_alg
|
@@ -431,7 +430,7 @@ module OryHydraClient
|
|
431
430
|
# Calculates hash code according to all attributes.
|
432
431
|
# @return [Integer] Hash code
|
433
432
|
def hash
|
434
|
-
[allowed_cors_origins, audience, backchannel_logout_session_required, backchannel_logout_uri, client_id, client_name, client_secret, client_secret_expires_at, client_uri, contacts, created_at, frontchannel_logout_session_required, frontchannel_logout_uri, grant_types, jwks, jwks_uri, logo_uri, metadata, owner, policy_uri, post_logout_redirect_uris, redirect_uris, request_object_signing_alg, request_uris, response_types, scope, sector_identifier_uri, subject_type, token_endpoint_auth_method, tos_uri, updated_at, userinfo_signed_response_alg].hash
|
433
|
+
[allowed_cors_origins, audience, backchannel_logout_session_required, backchannel_logout_uri, client_id, client_name, client_secret, client_secret_expires_at, client_uri, contacts, created_at, frontchannel_logout_session_required, frontchannel_logout_uri, grant_types, jwks, jwks_uri, logo_uri, metadata, owner, policy_uri, post_logout_redirect_uris, redirect_uris, request_object_signing_alg, request_uris, response_types, scope, sector_identifier_uri, subject_type, token_endpoint_auth_method, token_endpoint_auth_signing_alg, tos_uri, updated_at, userinfo_signed_response_alg].hash
|
435
434
|
end
|
436
435
|
|
437
436
|
# Builds the object from hash
|
@@ -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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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
|
|
@@ -21,7 +21,7 @@ module OryHydraClient
|
|
21
21
|
# Audience contains a list of the token's intended audiences.
|
22
22
|
attr_accessor :aud
|
23
23
|
|
24
|
-
#
|
24
|
+
# ID is aclient identifier for the OAuth 2.0 client that requested this token.
|
25
25
|
attr_accessor :client_id
|
26
26
|
|
27
27
|
# Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire.
|
@@ -48,9 +48,12 @@ module OryHydraClient
|
|
48
48
|
# Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token.
|
49
49
|
attr_accessor :sub
|
50
50
|
|
51
|
-
# TokenType is the introspected token's type,
|
51
|
+
# TokenType is the introspected token's type, typically `Bearer`.
|
52
52
|
attr_accessor :token_type
|
53
53
|
|
54
|
+
# TokenUse is the introspected token's use, for example `access_token` or `refresh_token`.
|
55
|
+
attr_accessor :token_use
|
56
|
+
|
54
57
|
# Username is a human-readable identifier for the resource owner who authorized this token.
|
55
58
|
attr_accessor :username
|
56
59
|
|
@@ -69,6 +72,7 @@ module OryHydraClient
|
|
69
72
|
:'scope' => :'scope',
|
70
73
|
:'sub' => :'sub',
|
71
74
|
:'token_type' => :'token_type',
|
75
|
+
:'token_use' => :'token_use',
|
72
76
|
:'username' => :'username'
|
73
77
|
}
|
74
78
|
end
|
@@ -80,7 +84,7 @@ module OryHydraClient
|
|
80
84
|
:'aud' => :'Array<String>',
|
81
85
|
:'client_id' => :'String',
|
82
86
|
:'exp' => :'Integer',
|
83
|
-
:'ext' => :'
|
87
|
+
:'ext' => :'Object',
|
84
88
|
:'iat' => :'Integer',
|
85
89
|
:'iss' => :'String',
|
86
90
|
:'nbf' => :'Integer',
|
@@ -88,6 +92,7 @@ module OryHydraClient
|
|
88
92
|
:'scope' => :'String',
|
89
93
|
:'sub' => :'String',
|
90
94
|
:'token_type' => :'String',
|
95
|
+
:'token_use' => :'String',
|
91
96
|
:'username' => :'String'
|
92
97
|
}
|
93
98
|
end
|
@@ -132,9 +137,7 @@ module OryHydraClient
|
|
132
137
|
end
|
133
138
|
|
134
139
|
if attributes.key?(:'ext')
|
135
|
-
|
136
|
-
self.ext = value
|
137
|
-
end
|
140
|
+
self.ext = attributes[:'ext']
|
138
141
|
end
|
139
142
|
|
140
143
|
if attributes.key?(:'iat')
|
@@ -165,6 +168,10 @@ module OryHydraClient
|
|
165
168
|
self.token_type = attributes[:'token_type']
|
166
169
|
end
|
167
170
|
|
171
|
+
if attributes.key?(:'token_use')
|
172
|
+
self.token_use = attributes[:'token_use']
|
173
|
+
end
|
174
|
+
|
168
175
|
if attributes.key?(:'username')
|
169
176
|
self.username = attributes[:'username']
|
170
177
|
end
|
@@ -205,6 +212,7 @@ module OryHydraClient
|
|
205
212
|
scope == o.scope &&
|
206
213
|
sub == o.sub &&
|
207
214
|
token_type == o.token_type &&
|
215
|
+
token_use == o.token_use &&
|
208
216
|
username == o.username
|
209
217
|
end
|
210
218
|
|
@@ -217,7 +225,7 @@ module OryHydraClient
|
|
217
225
|
# Calculates hash code according to all attributes.
|
218
226
|
# @return [Integer] Hash code
|
219
227
|
def hash
|
220
|
-
[active, aud, client_id, exp, ext, iat, iss, nbf, obfuscated_subject, scope, sub, token_type, username].hash
|
228
|
+
[active, aud, client_id, exp, ext, iat, iss, nbf, obfuscated_subject, scope, sub, token_type, token_use, username].hash
|
221
229
|
end
|
222
230
|
|
223
231
|
# Builds the object from hash
|
@@ -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: v0.0.0-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.0-alpha.63
|
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
|
|