ory-hydra-client 1.5.0.beta2 → 1.7.4

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.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +29 -29
  4. data/docs/AdminApi.md +55 -62
  5. data/docs/CompletedRequest.md +1 -1
  6. data/docs/ConsentRequest.md +1 -1
  7. data/docs/LoginRequest.md +7 -7
  8. data/docs/OAuth2Client.md +3 -1
  9. data/docs/OAuth2TokenIntrospection.md +1 -1
  10. data/docs/PublicApi.md +15 -15
  11. data/docs/RejectRequest.md +5 -5
  12. data/lib/ory-hydra-client.rb +2 -2
  13. data/lib/ory-hydra-client/api/admin_api.rb +40 -37
  14. data/lib/ory-hydra-client/api/public_api.rb +12 -12
  15. data/lib/ory-hydra-client/api_client.rb +9 -7
  16. data/lib/ory-hydra-client/api_error.rb +2 -2
  17. data/lib/ory-hydra-client/configuration.rb +2 -2
  18. data/lib/ory-hydra-client/models/accept_consent_request.rb +2 -2
  19. data/lib/ory-hydra-client/models/accept_login_request.rb +2 -2
  20. data/lib/ory-hydra-client/models/completed_request.rb +7 -2
  21. data/lib/ory-hydra-client/models/consent_request.rb +7 -2
  22. data/lib/ory-hydra-client/models/consent_request_session.rb +2 -2
  23. data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +2 -2
  24. data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +2 -2
  25. data/lib/ory-hydra-client/models/generic_error.rb +2 -2
  26. data/lib/ory-hydra-client/models/health_not_ready_status.rb +2 -2
  27. data/lib/ory-hydra-client/models/health_status.rb +2 -2
  28. data/lib/ory-hydra-client/models/json_web_key.rb +2 -2
  29. data/lib/ory-hydra-client/models/json_web_key_set.rb +2 -2
  30. data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +2 -2
  31. data/lib/ory-hydra-client/models/login_request.rb +37 -2
  32. data/lib/ory-hydra-client/models/logout_request.rb +2 -2
  33. data/lib/ory-hydra-client/models/o_auth2_client.rb +14 -4
  34. data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +3 -3
  35. data/lib/ory-hydra-client/models/oauth2_token_response.rb +2 -2
  36. data/lib/ory-hydra-client/models/open_id_connect_context.rb +2 -2
  37. data/lib/ory-hydra-client/models/plugin_config.rb +2 -2
  38. data/lib/ory-hydra-client/models/plugin_config_args.rb +2 -2
  39. data/lib/ory-hydra-client/models/plugin_config_interface.rb +2 -2
  40. data/lib/ory-hydra-client/models/plugin_config_linux.rb +2 -2
  41. data/lib/ory-hydra-client/models/plugin_config_network.rb +2 -2
  42. data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +2 -2
  43. data/lib/ory-hydra-client/models/plugin_config_user.rb +2 -2
  44. data/lib/ory-hydra-client/models/plugin_device.rb +2 -2
  45. data/lib/ory-hydra-client/models/plugin_env.rb +2 -2
  46. data/lib/ory-hydra-client/models/plugin_interface_type.rb +2 -2
  47. data/lib/ory-hydra-client/models/plugin_mount.rb +2 -2
  48. data/lib/ory-hydra-client/models/plugin_settings.rb +2 -2
  49. data/lib/ory-hydra-client/models/previous_consent_session.rb +2 -2
  50. data/lib/ory-hydra-client/models/reject_request.rb +7 -2
  51. data/lib/ory-hydra-client/models/userinfo_response.rb +2 -2
  52. data/lib/ory-hydra-client/models/version.rb +2 -2
  53. data/lib/ory-hydra-client/models/volume_usage_data.rb +2 -2
  54. data/lib/ory-hydra-client/models/well_known.rb +2 -2
  55. data/lib/ory-hydra-client/version.rb +3 -3
  56. data/ory-hydra-client.gemspec +2 -2
  57. metadata +34 -34
@@ -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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -19,7 +19,7 @@ module OryHydraClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # OpenID Connect Front-Backchannel enabled Logout
22
+ # OpenID Connect Front-Backchannel Enabled Logout
23
23
  # This endpoint initiates and completes user logout at ORY Hydra and initiates OpenID Connect Front-/Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [nil]
@@ -28,7 +28,7 @@ module OryHydraClient
28
28
  nil
29
29
  end
30
30
 
31
- # OpenID Connect Front-Backchannel enabled Logout
31
+ # OpenID Connect Front-Backchannel Enabled Logout
32
32
  # This endpoint initiates and completes user logout at ORY Hydra and initiates OpenID Connect Front-/Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -129,7 +129,7 @@ module OryHydraClient
129
129
  return data, status_code, headers
130
130
  end
131
131
 
132
- # Check readiness status
132
+ # Check Readiness Status
133
133
  # This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
134
134
  # @param [Hash] opts the optional parameters
135
135
  # @return [HealthStatus]
@@ -138,7 +138,7 @@ module OryHydraClient
138
138
  data
139
139
  end
140
140
 
141
- # Check readiness status
141
+ # Check Readiness Status
142
142
  # This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the &#x60;X-Forwarded-Proto&#x60; header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
143
143
  # @param [Hash] opts the optional parameters
144
144
  # @return [Array<(HealthStatus, Integer, Hash)>] HealthStatus data, response status code and response headers
@@ -185,7 +185,7 @@ module OryHydraClient
185
185
  return data, status_code, headers
186
186
  end
187
187
 
188
- # The OAuth 2.0 token endpoint
188
+ # The OAuth 2.0 Token Endpoint
189
189
  # The client makes a request to the token endpoint by sending the following parameters using the \"application/x-www-form-urlencoded\" HTTP request entity-body. > Do not implement a client for this endpoint yourself. Use a library. There are many libraries > available for any programming language. You can find a list of libraries here: https://oauth.net/code/ > > Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above!
190
190
  # @param grant_type [String]
191
191
  # @param [Hash] opts the optional parameters
@@ -199,7 +199,7 @@ module OryHydraClient
199
199
  data
200
200
  end
201
201
 
202
- # The OAuth 2.0 token endpoint
202
+ # The OAuth 2.0 Token Endpoint
203
203
  # The client makes a request to the token endpoint by sending the following parameters using the \&quot;application/x-www-form-urlencoded\&quot; HTTP request entity-body. &gt; Do not implement a client for this endpoint yourself. Use a library. There are many libraries &gt; available for any programming language. You can find a list of libraries here: https://oauth.net/code/ &gt; &gt; Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above!
204
204
  # @param grant_type [String]
205
205
  # @param [Hash] opts the optional parameters
@@ -262,7 +262,7 @@ module OryHydraClient
262
262
  return data, status_code, headers
263
263
  end
264
264
 
265
- # The OAuth 2.0 authorize endpoint
265
+ # The OAuth 2.0 Authorize Endpoint
266
266
  # This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows. OAuth2 is a very popular protocol and a library for your programming language will exists. To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc6749
267
267
  # @param [Hash] opts the optional parameters
268
268
  # @return [nil]
@@ -271,7 +271,7 @@ module OryHydraClient
271
271
  nil
272
272
  end
273
273
 
274
- # The OAuth 2.0 authorize endpoint
274
+ # The OAuth 2.0 Authorize Endpoint
275
275
  # This endpoint is not documented here because you should never use your own implementation to perform OAuth2 flows. OAuth2 is a very popular protocol and a library for your programming language will exists. To learn more about this flow please refer to the specification: https://tools.ietf.org/html/rfc6749
276
276
  # @param [Hash] opts the optional parameters
277
277
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -318,7 +318,7 @@ module OryHydraClient
318
318
  return data, status_code, headers
319
319
  end
320
320
 
321
- # Revoke OAuth2 tokens
321
+ # Revoke OAuth2 Tokens
322
322
  # Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for.
323
323
  # @param token [String]
324
324
  # @param [Hash] opts the optional parameters
@@ -328,7 +328,7 @@ module OryHydraClient
328
328
  nil
329
329
  end
330
330
 
331
- # Revoke OAuth2 tokens
331
+ # Revoke OAuth2 Tokens
332
332
  # Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for.
333
333
  # @param token [String]
334
334
  # @param [Hash] opts the optional parameters
@@ -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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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
- tempfile.close if tempfile
273
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
274
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
275
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
276
- "explicitly with `tempfile.delete`"
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -133,12 +133,47 @@ module OryHydraClient
133
133
  # @return Array for valid properties with the reasons
134
134
  def list_invalid_properties
135
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
+
136
164
  invalid_properties
137
165
  end
138
166
 
139
167
  # Check to see if the all the properties in the model are valid
140
168
  # @return true if the model is valid
141
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?
142
177
  true
143
178
  end
144
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
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: latest
6
+ The version of the OpenAPI document: v1.7.4
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -24,7 +24,7 @@ module OryHydraClient
24
24
  # RP URL that will cause the RP to log itself out when sent a Logout Token by the OP.
25
25
  attr_accessor :backchannel_logout_uri
26
26
 
27
- # ClientID is the id for this client.
27
+ # ID is the id for this client.
28
28
  attr_accessor :client_id
29
29
 
30
30
  # Name is the human-readable string name of the client to be presented to the end-user during authorization.
@@ -91,6 +91,9 @@ module OryHydraClient
91
91
  # Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none.
92
92
  attr_accessor :token_endpoint_auth_method
93
93
 
94
+ # Requested Client Authentication signing algorithm for the Token Endpoint.
95
+ attr_accessor :token_endpoint_auth_signing_alg
96
+
94
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.
95
98
  attr_accessor :tos_uri
96
99
 
@@ -132,6 +135,7 @@ module OryHydraClient
132
135
  :'sector_identifier_uri' => :'sector_identifier_uri',
133
136
  :'subject_type' => :'subject_type',
134
137
  :'token_endpoint_auth_method' => :'token_endpoint_auth_method',
138
+ :'token_endpoint_auth_signing_alg' => :'token_endpoint_auth_signing_alg',
135
139
  :'tos_uri' => :'tos_uri',
136
140
  :'updated_at' => :'updated_at',
137
141
  :'userinfo_signed_response_alg' => :'userinfo_signed_response_alg'
@@ -170,6 +174,7 @@ module OryHydraClient
170
174
  :'sector_identifier_uri' => :'String',
171
175
  :'subject_type' => :'String',
172
176
  :'token_endpoint_auth_method' => :'String',
177
+ :'token_endpoint_auth_signing_alg' => :'String',
173
178
  :'tos_uri' => :'String',
174
179
  :'updated_at' => :'DateTime',
175
180
  :'userinfo_signed_response_alg' => :'String'
@@ -329,6 +334,10 @@ module OryHydraClient
329
334
  self.token_endpoint_auth_method = attributes[:'token_endpoint_auth_method']
330
335
  end
331
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
+
332
341
  if attributes.key?(:'tos_uri')
333
342
  self.tos_uri = attributes[:'tos_uri']
334
343
  end
@@ -406,6 +415,7 @@ module OryHydraClient
406
415
  sector_identifier_uri == o.sector_identifier_uri &&
407
416
  subject_type == o.subject_type &&
408
417
  token_endpoint_auth_method == o.token_endpoint_auth_method &&
418
+ token_endpoint_auth_signing_alg == o.token_endpoint_auth_signing_alg &&
409
419
  tos_uri == o.tos_uri &&
410
420
  updated_at == o.updated_at &&
411
421
  userinfo_signed_response_alg == o.userinfo_signed_response_alg
@@ -420,7 +430,7 @@ module OryHydraClient
420
430
  # Calculates hash code according to all attributes.
421
431
  # @return [Integer] Hash code
422
432
  def hash
423
- [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
424
434
  end
425
435
 
426
436
  # Builds the object from hash