ory-hydra-client 1.5.0.beta1 → 1.5.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AdminApi.md +1 -1
  4. data/docs/ConsentRequestSession.md +2 -2
  5. data/docs/OAuth2Client.md +2 -2
  6. data/docs/OAuth2TokenIntrospection.md +1 -1
  7. data/docs/Oauth2TokenResponse.md +6 -6
  8. data/docs/OpenIDConnectContext.md +1 -1
  9. data/docs/PreviousConsentSession.md +3 -3
  10. data/docs/RejectRequest.md +5 -5
  11. data/lib/ory-hydra-client/api/admin_api.rb +2 -2
  12. data/lib/ory-hydra-client/models/consent_request_session.rb +4 -8
  13. data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +1 -1
  14. data/lib/ory-hydra-client/models/health_status.rb +0 -1
  15. data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
  16. data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +0 -1
  17. data/lib/ory-hydra-client/models/o_auth2_client.rb +2 -2
  18. data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +2 -4
  19. data/lib/ory-hydra-client/models/oauth2_token_response.rb +0 -6
  20. data/lib/ory-hydra-client/models/open_id_connect_context.rb +2 -4
  21. data/lib/ory-hydra-client/models/plugin_config_user.rb +1 -1
  22. data/lib/ory-hydra-client/models/plugin_device.rb +1 -1
  23. data/lib/ory-hydra-client/models/plugin_env.rb +1 -1
  24. data/lib/ory-hydra-client/models/plugin_interface_type.rb +1 -1
  25. data/lib/ory-hydra-client/models/plugin_mount.rb +1 -1
  26. data/lib/ory-hydra-client/models/previous_consent_session.rb +1 -4
  27. data/lib/ory-hydra-client/models/reject_request.rb +0 -5
  28. data/lib/ory-hydra-client/models/version.rb +0 -1
  29. data/lib/ory-hydra-client/models/volume_usage_data.rb +1 -1
  30. data/lib/ory-hydra-client/version.rb +1 -1
  31. metadata +27 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a96e405c8dff8390128891dfa87baf277e79fecf1e7cde7d09efaa55fff11d66
4
- data.tar.gz: ca30a2207db90808c24800d483dcd98f37c92dd75182c2a70a6b6b4de14237f9
3
+ metadata.gz: 84ae5412157a13be43a1f2ef0ba48631552fc06f0b7cb1e4720b915c1db36692
4
+ data.tar.gz: 4e84d222937f47af8c46f2c70116c3b11a77d32e9f7df8f06141deab150b473d
5
5
  SHA512:
6
- metadata.gz: 692ab125feee61e2e2202b8e77eb969bbd40a405d0cf16e5d0e627c2798ba6a10e29f5277ec9fafc36d2cbb3f653f27da5b04c3f189690193e51ef1be2113e6a
7
- data.tar.gz: a5ac61a3488c14d8cd2c56a26a278ea6523845f7cc7c8afb68342f4aac72b27134a0d562dfcaa6d579f3d6a82fc8c344112e794c9949184619c5fe014f66f617
6
+ metadata.gz: 8b221f1f98426a1f489bfc969a788caf8abc2fb61f476a2aaee4fa1159e54865795622b673b0707c77dfe10efd99f2875fc7a4ab7c236134c7e81d55a9e7e099
7
+ data.tar.gz: 7eb9b211ad8d5c79b869e1a9dd710448b8977af98e1d39614b5fb06cfb0fef9ca3fae840ef23cf2f38222a214ad4b5ee723d570df26759eabd36bf18d686a1a0
data/README.md CHANGED
@@ -7,7 +7,7 @@ Welcome to the ORY Hydra HTTP API documentation. You will find documentation for
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: latest
10
- - Package version: v1.5.0-beta.1
10
+ - Package version: v1.5.0-beta.2
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build ory-hydra-client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./ory-hydra-client-v1.5.0-beta.1.gem
26
+ gem install ./ory-hydra-client-v1.5.0-beta.2.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./ory-hydra-client-v1.5.0-beta.1.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ory-hydra-client-v1.5.0-beta.2.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ory-hydra-client', '~> v1.5.0-beta.1'
35
+ gem 'ory-hydra-client', '~> v1.5.0-beta.2'
36
36
 
37
37
  ### Install from Git
38
38
 
data/docs/AdminApi.md CHANGED
@@ -958,7 +958,7 @@ No authorization required
958
958
 
959
959
  Lists all consent sessions of a subject
960
960
 
961
- 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.
961
+ 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.
962
962
 
963
963
  ### Example
964
964
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **access_token** | **Hash&lt;String, Object&gt;** | AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care! | [optional]
8
- **id_token** | **Hash&lt;String, Object&gt;** | IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session&#39;id payloads are readable by anyone that has access to the ID Challenge. Use with care! | [optional]
7
+ **access_token** | [**Object**](.md) | AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care! | [optional]
8
+ **id_token** | [**Object**](.md) | IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session&#39;id payloads are readable by anyone that has access to the ID Challenge. Use with care! | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
data/docs/OAuth2Client.md CHANGED
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
14
14
  **client_secret_expires_at** | **Integer** | SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. The time is represented as the number of seconds from 1970-01-01T00:00:00Z as measured in UTC until the date/time of expiration. This feature is currently not supported and it&#39;s value will always be set to 0. | [optional]
15
15
  **client_uri** | **String** | 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. | [optional]
16
16
  **contacts** | **Array&lt;String&gt;** | | [optional]
17
- **created_at** | **DateTime** | CreatedAt returns the timestamp of the client&#39;s creation. Format: date-time Format: date-time Format: date-time | [optional]
17
+ **created_at** | **DateTime** | CreatedAt returns the timestamp of the client&#39;s creation. | [optional]
18
18
  **frontchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. | [optional]
19
19
  **frontchannel_logout_uri** | **String** | 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. | [optional]
20
20
  **grant_types** | **Array&lt;String&gt;** | | [optional]
@@ -34,7 +34,7 @@ Name | Type | Description | Notes
34
34
  **subject_type** | **String** | SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include &#x60;pairwise&#x60; and &#x60;public&#x60;. | [optional]
35
35
  **token_endpoint_auth_method** | **String** | Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. | [optional]
36
36
  **tos_uri** | **String** | 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. | [optional]
37
- **updated_at** | **DateTime** | UpdatedAt returns the timestamp of the last update. Format: date-time Format: date-time Format: date-time | [optional]
37
+ **updated_at** | **DateTime** | UpdatedAt returns the timestamp of the last update. | [optional]
38
38
  **userinfo_signed_response_alg** | **String** | JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. | [optional]
39
39
 
40
40
  ## Code Sample
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **aud** | **Array&lt;String&gt;** | Audience contains a list of the token&#39;s intended audiences. | [optional]
9
9
  **client_id** | **String** | ClientID is aclient identifier for the OAuth 2.0 client that requested this token. | [optional]
10
10
  **exp** | **Integer** | Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. | [optional]
11
- **ext** | **Hash&lt;String, Object&gt;** | Extra is arbitrary data set by the session. | [optional]
11
+ **ext** | [**Object**](.md) | Extra is arbitrary data set by the session. | [optional]
12
12
  **iat** | **Integer** | Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. | [optional]
13
13
  **iss** | **String** | IssuerURL is a string representing the issuer of this token | [optional]
14
14
  **nbf** | **Integer** | NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. | [optional]
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **access_token** | **String** | access token | [optional]
8
- **expires_in** | **Integer** | expires in | [optional]
9
- **id_token** | **String** | id token | [optional]
10
- **refresh_token** | **String** | refresh token | [optional]
11
- **scope** | **String** | scope | [optional]
12
- **token_type** | **String** | token type | [optional]
7
+ **access_token** | **String** | | [optional]
8
+ **expires_in** | **Integer** | | [optional]
9
+ **id_token** | **String** | | [optional]
10
+ **refresh_token** | **String** | | [optional]
11
+ **scope** | **String** | | [optional]
12
+ **token_type** | **String** | | [optional]
13
13
 
14
14
  ## Code Sample
15
15
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **acr_values** | **Array&lt;String&gt;** | ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: &gt; Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. | [optional]
8
8
  **display** | **String** | Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \&quot;feature phone\&quot; type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. | [optional]
9
- **id_token_hint_claims** | **Hash&lt;String, Object&gt;** | IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User&#39;s current or past authenticated session with the Client. | [optional]
9
+ **id_token_hint_claims** | [**Object**](.md) | IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User&#39;s current or past authenticated session with the Client. | [optional]
10
10
  **login_hint** | **String** | LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. | [optional]
11
11
  **ui_locales** | **Array&lt;String&gt;** | UILocales is the End-User&#39;id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \&quot;fr-CA fr en\&quot; represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. | [optional]
12
12
 
@@ -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&lt;String&gt;** | GrantedAudience sets the audience the user authorized the client to use. Should be a subset of &#x60;requested_access_token_audience&#x60;. | [optional]
9
- **grant_scope** | **Array&lt;String&gt;** | GrantScope sets the scope the user authorized the client to use. Should be a subset of &#x60;requested_scope&#x60; | [optional]
10
- **handled_at** | **DateTime** | handled at Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time | [optional]
8
+ **grant_access_token_audience** | **Array&lt;String&gt;** | | [optional]
9
+ **grant_scope** | **Array&lt;String&gt;** | | [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 &#x60;0&#x60;, the authorization will be remembered indefinitely. | [optional]
13
13
  **session** | [**ConsentRequestSession**](ConsentRequestSession.md) | | [optional]
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **error** | **String** | error | [optional]
8
- **error_debug** | **String** | error debug | [optional]
9
- **error_description** | **String** | error description | [optional]
10
- **error_hint** | **String** | error hint | [optional]
11
- **status_code** | **Integer** | status code | [optional]
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
 
@@ -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&#39;s granted consent sessions, including client and granted scope. The \&quot;Link\&quot; header is also included in successful responses, which contains one or more links for pagination, formatted like so: &#39;&lt;https://hydra-url/admin/oauth2/auth/sessions/consent?subject&#x3D;{user}&amp;limit&#x3D;{limit}&amp;offset&#x3D;{offset}&gt;; rel&#x3D;\&quot;{page}\&quot;&#39;, where page is one of the following applicable pages: &#39;first&#39;, &#39;next&#39;, &#39;last&#39;, and &#39;previous&#39;. Multiple links can be included in this header, and will be separated by a comma.
1235
+ # This endpoint lists all subject&#39;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 \&quot;Link\&quot; header is also included in successful responses, which contains one or more links for pagination, formatted like so: &#39;&lt;https://hydra-url/admin/oauth2/auth/sessions/consent?subject&#x3D;{user}&amp;limit&#x3D;{limit}&amp;offset&#x3D;{offset}&gt;; rel&#x3D;\&quot;{page}\&quot;&#39;, where page is one of the following applicable pages: &#39;first&#39;, &#39;next&#39;, &#39;last&#39;, and &#39;previous&#39;. 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' => :'Hash<String, Object>',
35
- :'id_token' => :'Hash<String, Object>'
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
- if (value = attributes[:'access_token']).is_a?(Hash)
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
- if (value = attributes[:'id_token']).is_a?(Hash)
68
- self.id_token = value
69
- end
65
+ self.id_token = attributes[:'id_token']
70
66
  end
71
67
  end
72
68
 
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # ContainerWaitOKBodyError ContainerWaitOKBodyError container waiting error, if any
16
+ # ContainerWaitOKBodyError container waiting error, if any
17
17
  class ContainerWaitOKBodyError
18
18
  # Details of an error
19
19
  attr_accessor :message
@@ -13,7 +13,6 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # HealthStatus health status
17
16
  class HealthStatus
18
17
  # Status always contains \"ok\".
19
18
  attr_accessor :status
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # JSONWebKeySet JSONWebKeySet JSONWebKeySet JSONWebKeySet 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
+ # 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.
17
17
  class JSONWebKeySet
18
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.
19
19
  attr_accessor :keys
@@ -13,7 +13,6 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # JSONWebKeySetGeneratorRequest json web key set generator request
17
16
  class JsonWebKeySetGeneratorRequest
18
17
  # The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\"
19
18
  attr_accessor :alg
@@ -41,7 +41,7 @@ module OryHydraClient
41
41
 
42
42
  attr_accessor :contacts
43
43
 
44
- # CreatedAt returns the timestamp of the client's creation. Format: date-time Format: date-time Format: date-time
44
+ # CreatedAt returns the timestamp of the client's creation.
45
45
  attr_accessor :created_at
46
46
 
47
47
  # Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false.
@@ -94,7 +94,7 @@ module OryHydraClient
94
94
  # 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
95
  attr_accessor :tos_uri
96
96
 
97
- # UpdatedAt returns the timestamp of the last update. Format: date-time Format: date-time Format: date-time
97
+ # UpdatedAt returns the timestamp of the last update.
98
98
  attr_accessor :updated_at
99
99
 
100
100
  # JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type.
@@ -80,7 +80,7 @@ module OryHydraClient
80
80
  :'aud' => :'Array<String>',
81
81
  :'client_id' => :'String',
82
82
  :'exp' => :'Integer',
83
- :'ext' => :'Hash<String, Object>',
83
+ :'ext' => :'Object',
84
84
  :'iat' => :'Integer',
85
85
  :'iss' => :'String',
86
86
  :'nbf' => :'Integer',
@@ -132,9 +132,7 @@ module OryHydraClient
132
132
  end
133
133
 
134
134
  if attributes.key?(:'ext')
135
- if (value = attributes[:'ext']).is_a?(Hash)
136
- self.ext = value
137
- end
135
+ self.ext = attributes[:'ext']
138
136
  end
139
137
 
140
138
  if attributes.key?(:'iat')
@@ -15,22 +15,16 @@ require 'date'
15
15
  module OryHydraClient
16
16
  # The Access Token Response
17
17
  class Oauth2TokenResponse
18
- # access token
19
18
  attr_accessor :access_token
20
19
 
21
- # expires in
22
20
  attr_accessor :expires_in
23
21
 
24
- # id token
25
22
  attr_accessor :id_token
26
23
 
27
- # refresh token
28
24
  attr_accessor :refresh_token
29
25
 
30
- # scope
31
26
  attr_accessor :scope
32
27
 
33
- # token type
34
28
  attr_accessor :token_type
35
29
 
36
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,7 +45,7 @@ module OryHydraClient
45
45
  {
46
46
  :'acr_values' => :'Array<String>',
47
47
  :'display' => :'String',
48
- :'id_token_hint_claims' => :'Hash<String, Object>',
48
+ :'id_token_hint_claims' => :'Object',
49
49
  :'login_hint' => :'String',
50
50
  :'ui_locales' => :'Array<String>'
51
51
  }
@@ -83,9 +83,7 @@ module OryHydraClient
83
83
  end
84
84
 
85
85
  if attributes.key?(:'id_token_hint_claims')
86
- if (value = attributes[:'id_token_hint_claims']).is_a?(Hash)
87
- self.id_token_hint_claims = value
88
- end
86
+ self.id_token_hint_claims = attributes[:'id_token_hint_claims']
89
87
  end
90
88
 
91
89
  if attributes.key?(:'login_hint')
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # PluginConfigUser PluginConfigUser plugin config user
16
+ # PluginConfigUser plugin config user
17
17
  class PluginConfigUser
18
18
  # g ID
19
19
  attr_accessor :gid
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # PluginDevice PluginDevice PluginDevice plugin device
16
+ # PluginDevice plugin device
17
17
  class PluginDevice
18
18
  # description
19
19
  attr_accessor :description
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # PluginEnv PluginEnv PluginEnv plugin env
16
+ # PluginEnv plugin env
17
17
  class PluginEnv
18
18
  # description
19
19
  attr_accessor :description
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # PluginInterfaceType PluginInterfaceType plugin interface type
16
+ # PluginInterfaceType plugin interface type
17
17
  class PluginInterfaceType
18
18
  # capability
19
19
  attr_accessor :capability
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # PluginMount PluginMount plugin mount
16
+ # PluginMount plugin mount
17
17
  class PluginMount
18
18
  # description
19
19
  attr_accessor :description
@@ -13,17 +13,14 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession PreviousConsentSession The response used to return used consent requests same as HandledLoginRequest, just with consent_request exposed as json
16
+ # The response used to return used consent requests same as HandledLoginRequest, just with consent_request exposed as json
17
17
  class PreviousConsentSession
18
18
  attr_accessor :consent_request
19
19
 
20
- # GrantedAudience sets the audience the user authorized the client to use. Should be a subset of `requested_access_token_audience`.
21
20
  attr_accessor :grant_access_token_audience
22
21
 
23
- # GrantScope sets the scope the user authorized the client to use. Should be a subset of `requested_scope`
24
22
  attr_accessor :grant_scope
25
23
 
26
- # handled at Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time Format: date-time
27
24
  attr_accessor :handled_at
28
25
 
29
26
  # 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.
@@ -14,19 +14,14 @@ require 'date'
14
14
 
15
15
  module OryHydraClient
16
16
  class RejectRequest
17
- # error
18
17
  attr_accessor :error
19
18
 
20
- # error debug
21
19
  attr_accessor :error_debug
22
20
 
23
- # error description
24
21
  attr_accessor :error_description
25
22
 
26
- # error hint
27
23
  attr_accessor :error_hint
28
24
 
29
- # status code
30
25
  attr_accessor :status_code
31
26
 
32
27
  # 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
- # Version Version Version Version version
17
16
  class Version
18
17
  # Version is the service's version.
19
18
  attr_accessor :version
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # VolumeUsageData VolumeUsageData Usage details about the volume. This information is used by the `GET /system/df` endpoint, and omitted in other endpoints.
16
+ # VolumeUsageData Usage details about the volume. This information is used by the `GET /system/df` endpoint, and omitted in other endpoints.
17
17
  class VolumeUsageData
18
18
  # The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available.
19
19
  attr_accessor :ref_count
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module OryHydraClient
14
- VERSION = '1.5.0.beta1'
14
+ VERSION = '1.5.0.beta2'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ory-hydra-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.beta1
4
+ version: 1.5.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ORY GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-30 00:00:00.000000000 Z
11
+ date: 2020-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -239,42 +239,42 @@ test_files:
239
239
  - spec/api/public_api_spec.rb
240
240
  - spec/api_client_spec.rb
241
241
  - spec/configuration_spec.rb
242
- - spec/models/accept_consent_request_spec.rb
243
- - spec/models/reject_request_spec.rb
244
- - spec/models/well_known_spec.rb
245
- - spec/models/health_status_spec.rb
242
+ - spec/models/previous_consent_session_spec.rb
246
243
  - spec/models/json_web_key_set_generator_request_spec.rb
247
- - spec/models/plugin_config_user_spec.rb
244
+ - spec/models/o_auth2_token_introspection_spec.rb
245
+ - spec/models/json_web_key_spec.rb
246
+ - spec/models/login_request_spec.rb
248
247
  - spec/models/accept_login_request_spec.rb
249
- - spec/models/plugin_config_args_spec.rb
248
+ - spec/models/logout_request_spec.rb
249
+ - spec/models/health_not_ready_status_spec.rb
250
250
  - spec/models/o_auth2_client_spec.rb
251
- - spec/models/json_web_key_spec.rb
252
- - spec/models/json_web_key_set_spec.rb
253
- - spec/models/o_auth2_token_introspection_spec.rb
251
+ - spec/models/open_id_connect_context_spec.rb
252
+ - spec/models/plugin_config_rootfs_spec.rb
254
253
  - spec/models/consent_request_session_spec.rb
255
- - spec/models/plugin_config_network_spec.rb
254
+ - spec/models/plugin_config_interface_spec.rb
255
+ - spec/models/consent_request_spec.rb
256
+ - spec/models/health_status_spec.rb
256
257
  - spec/models/oauth2_token_response_spec.rb
257
- - spec/models/plugin_config_linux_spec.rb
258
- - spec/models/login_request_spec.rb
259
- - spec/models/plugin_settings_spec.rb
260
258
  - spec/models/volume_usage_data_spec.rb
259
+ - spec/models/completed_request_spec.rb
261
260
  - spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
262
261
  - spec/models/plugin_env_spec.rb
263
- - spec/models/completed_request_spec.rb
264
- - spec/models/plugin_config_interface_spec.rb
262
+ - spec/models/reject_request_spec.rb
263
+ - spec/models/plugin_config_user_spec.rb
264
+ - spec/models/plugin_config_linux_spec.rb
265
+ - spec/models/plugin_mount_spec.rb
266
+ - spec/models/json_web_key_set_spec.rb
267
+ - spec/models/userinfo_response_spec.rb
265
268
  - spec/models/oauth_token_response_spec.rb
266
269
  - spec/models/plugin_interface_type_spec.rb
270
+ - spec/models/accept_consent_request_spec.rb
267
271
  - spec/models/generic_error_spec.rb
268
- - spec/models/plugin_config_spec.rb
269
- - spec/models/plugin_mount_spec.rb
272
+ - spec/models/plugin_config_args_spec.rb
273
+ - spec/models/version_spec.rb
274
+ - spec/models/plugin_config_network_spec.rb
270
275
  - spec/models/plugin_device_spec.rb
271
- - spec/models/previous_consent_session_spec.rb
272
- - spec/models/health_not_ready_status_spec.rb
273
- - spec/models/plugin_config_rootfs_spec.rb
276
+ - spec/models/well_known_spec.rb
277
+ - spec/models/plugin_config_spec.rb
278
+ - spec/models/plugin_settings_spec.rb
274
279
  - spec/models/container_wait_ok_body_error_spec.rb
275
- - spec/models/userinfo_response_spec.rb
276
- - spec/models/consent_request_spec.rb
277
- - spec/models/logout_request_spec.rb
278
- - spec/models/open_id_connect_context_spec.rb
279
- - spec/models/version_spec.rb
280
280
  - spec/spec_helper.rb