ory-hydra-client 1.2.1 → 1.2.2
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FlushInactiveOAuth2TokensRequest.md +1 -1
- data/docs/JSONWebKey.md +12 -12
- data/docs/OAuth2Client.md +2 -2
- data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +2 -2
- data/lib/ory-hydra-client/models/json_web_key.rb +13 -0
- 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 +1 -1
- data/lib/ory-hydra-client/models/o_auth2_client.rb +2 -2
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +1 -1
- data/lib/ory-hydra-client/models/previous_consent_session.rb +1 -1
- data/lib/ory-hydra-client/models/userinfo_response.rb +1 -1
- data/lib/ory-hydra-client/models/version.rb +1 -0
- data/lib/ory-hydra-client/version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5ecbe0eb3c440ed55b619cf93fd44179357d061fe70c0c9e240c78cdb49af7d
|
4
|
+
data.tar.gz: 19ada5469fff450e7de2178dc281a840172ce884d37e0af7f16574a35f962d8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0eab9cf080502dc79a30a59bcad5b8f8d72cfc31aa0f8c22bf8fe8a2c91753e111ee975541c3bb882879e1b5fcd3e7d121bfd16199e4a42448058d129e93631
|
7
|
+
data.tar.gz: 41d5b4dbba6c88071b59873b0c3f8d63ede4b66007bc25701df6080b3f1731f6fb812daaf57f2cdd6db779a417774ede2600338d15bf023ff8ced93f23657820
|
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.2.
|
10
|
+
- Package version: v1.2.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.2.
|
26
|
+
gem install ./ory-hydra-client-v1.2.2.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./ory-hydra-client-v1.2.
|
29
|
+
(for development, run `gem install --dev ./ory-hydra-client-v1.2.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.2.
|
35
|
+
gem 'ory-hydra-client', '~> v1.2.2'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**not_after** | **DateTime** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. Format: date-time
|
7
|
+
**not_after** | **DateTime** | NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. Format: date-time | [optional]
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
data/docs/JSONWebKey.md
CHANGED
@@ -5,22 +5,22 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**alg** | **String** | The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. |
|
8
|
-
**crv** | **String** |
|
9
|
-
**d** | **String** |
|
10
|
-
**dp** | **String** |
|
11
|
-
**dq** | **String** |
|
12
|
-
**e** | **String** |
|
13
|
-
**k** | **String** |
|
8
|
+
**crv** | **String** | crv | [optional]
|
9
|
+
**d** | **String** | d | [optional]
|
10
|
+
**dp** | **String** | dp | [optional]
|
11
|
+
**dq** | **String** | dq | [optional]
|
12
|
+
**e** | **String** | e | [optional]
|
13
|
+
**k** | **String** | k | [optional]
|
14
14
|
**kid** | **String** | The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. |
|
15
15
|
**kty** | **String** | The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. |
|
16
|
-
**n** | **String** |
|
17
|
-
**p** | **String** |
|
18
|
-
**q** | **String** |
|
19
|
-
**qi** | **String** |
|
16
|
+
**n** | **String** | n | [optional]
|
17
|
+
**p** | **String** | p | [optional]
|
18
|
+
**q** | **String** | q | [optional]
|
19
|
+
**qi** | **String** | qi | [optional]
|
20
20
|
**use** | **String** | Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). |
|
21
|
-
**x** | **String** |
|
21
|
+
**x** | **String** | x | [optional]
|
22
22
|
**x5c** | **Array<String>** | The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. | [optional]
|
23
|
-
**y** | **String** |
|
23
|
+
**y** | **String** | y | [optional]
|
24
24
|
|
25
25
|
## Code Sample
|
26
26
|
|
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>** | Contacts is a array of strings representing ways to contact people responsible for this client, typically email addresses. | [optional]
|
17
|
-
**created_at** | **DateTime** | CreatedAt returns the timestamp of the client's creation. | [optional]
|
17
|
+
**created_at** | **DateTime** | CreatedAt returns the timestamp of the client's creation. Format: date-time Format: date-time Format: date-time | [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>** | GrantTypes is an array of grant types the client is allowed to use. | [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. | [optional]
|
37
|
+
**updated_at** | **DateTime** | UpdatedAt returns the timestamp of the last update. Format: date-time Format: date-time Format: date-time | [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
|
@@ -13,9 +13,9 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# FlushInactiveOAuth2TokensRequest
|
16
|
+
# FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request
|
17
17
|
class FlushInactiveOAuth2TokensRequest
|
18
|
-
# NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. Format: date-time
|
18
|
+
# NotAfter sets after which point tokens should not be flushed. This is useful when you want to keep a history of recently issued tokens for auditing. Format: date-time
|
19
19
|
attr_accessor :not_after
|
20
20
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -13,20 +13,27 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
+
# JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSONWebKey JSON web key
|
16
17
|
class JSONWebKey
|
17
18
|
# The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name.
|
18
19
|
attr_accessor :alg
|
19
20
|
|
21
|
+
# crv
|
20
22
|
attr_accessor :crv
|
21
23
|
|
24
|
+
# d
|
22
25
|
attr_accessor :d
|
23
26
|
|
27
|
+
# dp
|
24
28
|
attr_accessor :dp
|
25
29
|
|
30
|
+
# dq
|
26
31
|
attr_accessor :dq
|
27
32
|
|
33
|
+
# e
|
28
34
|
attr_accessor :e
|
29
35
|
|
36
|
+
# k
|
30
37
|
attr_accessor :k
|
31
38
|
|
32
39
|
# The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string.
|
@@ -35,22 +42,28 @@ module OryHydraClient
|
|
35
42
|
# The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string.
|
36
43
|
attr_accessor :kty
|
37
44
|
|
45
|
+
# n
|
38
46
|
attr_accessor :n
|
39
47
|
|
48
|
+
# p
|
40
49
|
attr_accessor :p
|
41
50
|
|
51
|
+
# q
|
42
52
|
attr_accessor :q
|
43
53
|
|
54
|
+
# qi
|
44
55
|
attr_accessor :qi
|
45
56
|
|
46
57
|
# Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).
|
47
58
|
attr_accessor :use
|
48
59
|
|
60
|
+
# x
|
49
61
|
attr_accessor :x
|
50
62
|
|
51
63
|
# The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.
|
52
64
|
attr_accessor :x5c
|
53
65
|
|
66
|
+
# y
|
54
67
|
attr_accessor :y
|
55
68
|
|
56
69
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# JSONWebKeySet
|
16
|
+
# JSONWebKeySet JSON web key set
|
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,7 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# JSONWebKeySetGeneratorRequest
|
16
|
+
# JSONWebKeySetGeneratorRequest json web key set generator request
|
17
17
|
class JsonWebKeySetGeneratorRequest
|
18
18
|
# The algorithm to be used for creating the key. Supports \"RS256\", \"ES512\", \"HS512\", and \"HS256\"
|
19
19
|
attr_accessor :alg
|
@@ -44,7 +44,7 @@ module OryHydraClient
|
|
44
44
|
# Contacts is a array of strings representing ways to contact people responsible for this client, typically email addresses.
|
45
45
|
attr_accessor :contacts
|
46
46
|
|
47
|
-
# CreatedAt returns the timestamp of the client's creation.
|
47
|
+
# CreatedAt returns the timestamp of the client's creation. Format: date-time Format: date-time Format: date-time
|
48
48
|
attr_accessor :created_at
|
49
49
|
|
50
50
|
# 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.
|
@@ -103,7 +103,7 @@ module OryHydraClient
|
|
103
103
|
# TermsOfServiceURI is a URL string that points to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client.
|
104
104
|
attr_accessor :tos_uri
|
105
105
|
|
106
|
-
# UpdatedAt returns the timestamp of the last update.
|
106
|
+
# UpdatedAt returns the timestamp of the last update. Format: date-time Format: date-time Format: date-time
|
107
107
|
attr_accessor :updated_at
|
108
108
|
|
109
109
|
# 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.
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# Oauth2TokenResponse
|
16
|
+
# Oauth2TokenResponse The Access Token Response
|
17
17
|
class Oauth2TokenResponse
|
18
18
|
# access token
|
19
19
|
attr_accessor :access_token
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# 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
|
+
# 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
|
17
17
|
class PreviousConsentSession
|
18
18
|
attr_accessor :consent_request
|
19
19
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.2
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
|
-
# UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse The userinfo response
|
16
|
+
# UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse UserinfoResponse The userinfo response
|
17
17
|
class UserinfoResponse
|
18
18
|
# End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.
|
19
19
|
attr_accessor :birthdate
|
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.2.
|
4
|
+
version: 1.2.2
|
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-01-
|
11
|
+
date: 2020-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -193,32 +193,32 @@ signing_key:
|
|
193
193
|
specification_version: 4
|
194
194
|
summary: ORY Hydra Ruby Gem
|
195
195
|
test_files:
|
196
|
-
- spec/api/admin_api_spec.rb
|
197
196
|
- spec/api/public_api_spec.rb
|
197
|
+
- spec/api/admin_api_spec.rb
|
198
198
|
- spec/api_client_spec.rb
|
199
199
|
- spec/configuration_spec.rb
|
200
|
-
- spec/models/o_auth2_client_spec.rb
|
201
|
-
- spec/models/userinfo_response_spec.rb
|
202
|
-
- spec/models/accept_consent_request_spec.rb
|
203
200
|
- spec/models/version_spec.rb
|
204
|
-
- spec/models/
|
205
|
-
- spec/models/
|
201
|
+
- spec/models/health_not_ready_status_spec.rb
|
202
|
+
- spec/models/reject_request_spec.rb
|
203
|
+
- spec/models/consent_request_session_spec.rb
|
206
204
|
- spec/models/logout_request_spec.rb
|
207
|
-
- spec/models/
|
205
|
+
- spec/models/json_web_key_spec.rb
|
208
206
|
- spec/models/login_request_spec.rb
|
207
|
+
- spec/models/oauth_token_response_spec.rb
|
208
|
+
- spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
|
209
|
+
- spec/models/completed_request_spec.rb
|
210
|
+
- spec/models/accept_consent_request_spec.rb
|
209
211
|
- spec/models/health_status_spec.rb
|
212
|
+
- spec/models/oauth2_token_response_spec.rb
|
210
213
|
- spec/models/well_known_spec.rb
|
211
|
-
- spec/models/previous_consent_session_spec.rb
|
212
214
|
- spec/models/open_id_connect_context_spec.rb
|
213
|
-
- spec/models/json_web_key_set_spec.rb
|
214
215
|
- spec/models/accept_login_request_spec.rb
|
215
|
-
- spec/models/
|
216
|
-
- spec/models/
|
217
|
-
- spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
|
218
|
-
- spec/models/health_not_ready_status_spec.rb
|
216
|
+
- spec/models/previous_consent_session_spec.rb
|
217
|
+
- spec/models/json_web_key_set_spec.rb
|
219
218
|
- spec/models/consent_request_spec.rb
|
220
|
-
- spec/models/consent_request_session_spec.rb
|
221
|
-
- spec/models/oauth2_token_response_spec.rb
|
222
219
|
- spec/models/o_auth2_token_introspection_spec.rb
|
223
|
-
- spec/models/
|
220
|
+
- spec/models/userinfo_response_spec.rb
|
221
|
+
- spec/models/generic_error_spec.rb
|
222
|
+
- spec/models/json_web_key_set_generator_request_spec.rb
|
223
|
+
- spec/models/o_auth2_client_spec.rb
|
224
224
|
- spec/spec_helper.rb
|