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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AdminApi.md +1 -1
- data/docs/ConsentRequestSession.md +2 -2
- data/docs/OAuth2Client.md +2 -2
- data/docs/OAuth2TokenIntrospection.md +1 -1
- data/docs/Oauth2TokenResponse.md +6 -6
- data/docs/OpenIDConnectContext.md +1 -1
- data/docs/PreviousConsentSession.md +3 -3
- data/docs/RejectRequest.md +5 -5
- 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 +1 -1
- data/lib/ory-hydra-client/models/health_status.rb +0 -1
- 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_client.rb +2 -2
- 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_user.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_device.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_env.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_interface_type.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_mount.rb +1 -1
- 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 +1 -1
- data/lib/ory-hydra-client/version.rb +1 -1
- metadata +27 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84ae5412157a13be43a1f2ef0ba48631552fc06f0b7cb1e4720b915c1db36692
|
4
|
+
data.tar.gz: 4e84d222937f47af8c46f2c70116c3b11a77d32e9f7df8f06141deab150b473d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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** | **
|
8
|
-
**id_token** | **
|
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'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'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<String>** | | [optional]
|
17
|
-
**created_at** | **DateTime** | CreatedAt returns the timestamp of the client's creation.
|
17
|
+
**created_at** | **DateTime** | CreatedAt returns the timestamp of the client'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<String>** | | [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 `pairwise` and `public`. | [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.
|
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<String>** | Audience contains a list of the token'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** | **
|
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]
|
data/docs/Oauth2TokenResponse.md
CHANGED
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**access_token** | **String** |
|
8
|
-
**expires_in** | **Integer** |
|
9
|
-
**id_token** | **String** |
|
10
|
-
**refresh_token** | **String** |
|
11
|
-
**scope** | **String** |
|
12
|
-
**token_type** | **String** |
|
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<String>** | 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: > 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 \"feature phone\" 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** | **
|
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'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<String>** | UILocales is the End-User'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 \"fr-CA fr en\" 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<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
|
|
@@ -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
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# ContainerWaitOKBodyError
|
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,7 @@ 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 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.
|
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.
|
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' => :'
|
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
|
-
|
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' => :'
|
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
|
-
|
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
|
-
# PluginInterfaceType
|
16
|
+
# PluginInterfaceType plugin interface type
|
17
17
|
class PluginInterfaceType
|
18
18
|
# capability
|
19
19
|
attr_accessor :capability
|
@@ -13,17 +13,14 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
#
|
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,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# VolumeUsageData
|
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
|
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.
|
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-
|
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/
|
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/
|
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/
|
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/
|
252
|
-
- spec/models/
|
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/
|
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/
|
264
|
-
- spec/models/
|
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/
|
269
|
-
- spec/models/
|
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/
|
272
|
-
- spec/models/
|
273
|
-
- spec/models/
|
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
|