ory-hydra-client 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27099b5feca8700f2b2d6632884bbc2da4d604f5f133da48a681b91920e0265f
4
- data.tar.gz: 0eefea3266354ab92208b699a41870eb75cf5f91ffb252e391b49d6bcd07295f
3
+ metadata.gz: 7860d76331dc8c6ecc8cfbe55098fcc460a5f76ba0a656d31ee760c12909865e
4
+ data.tar.gz: e00d665ed9a003118ba2505891f37679a704dd82cd58eb92ecd7a7bda7ed8a88
5
5
  SHA512:
6
- metadata.gz: 24f560adcd50edb2f28d53aa484cf0c86b3a4fdd3fce76efe39560ce5fffba676ffab826722685bf559cedad0443985dfb9a9f6a9467f74e662d34357687eb6c
7
- data.tar.gz: 6bdab38d451d6b2ae3076260f60fdfe0979f473ce69026d0a21e41242cacef5c67c0a14e2b5385e9008f7e14101521187d2548108aee6ee09d022cb1d28ab7e1
6
+ metadata.gz: 5b1b8e8c0d1b19287a5c0836582830c27b7fddf5f95ce6253f864e0b6c9cf4e49b77a9cb7e6dba6a7b5f0d6834537c6ac29f2706fd7bc9aacb75a91000c51d46
7
+ data.tar.gz: f6b265aaf2775b7a21c3c9980a2b2147bc522211364e9b95c6aa8cbf5f9adf39c8aa2c31d87caab7771ca3d5a4eaa21d862f1081be7a69e282386908b9c25de3
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.4.5
10
+ - Package version: v1.4.6
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.4.5.gem
26
+ gem install ./ory-hydra-client-v1.4.6.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./ory-hydra-client-v1.4.5.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ory-hydra-client-v1.4.6.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.4.5'
35
+ gem 'ory-hydra-client', '~> v1.4.6'
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. | [optional]
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 Format: date-time Format: date-time Format: date-time Format: date-time | [optional]
8
8
 
9
9
  ## Code Sample
10
10
 
@@ -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** | | [optional]
9
- **d** | **String** | | [optional]
10
- **dp** | **String** | | [optional]
11
- **dq** | **String** | | [optional]
12
- **e** | **String** | | [optional]
13
- **k** | **String** | | [optional]
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** | | [optional]
17
- **p** | **String** | | [optional]
18
- **q** | **String** | | [optional]
19
- **qi** | **String** | | [optional]
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** | | [optional]
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** | | [optional]
23
+ **y** | **String** | y | [optional]
24
24
 
25
25
  ## Code Sample
26
26
 
@@ -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. Format: date-time Format: date-time Format: date-time | [optional]
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. 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
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **consent_request** | [**ConsentRequest**](ConsentRequest.md) | | [optional]
8
8
  **grant_access_token_audience** | **Array<String>** | GrantedAudience sets the audience the user authorized the client to use. Should be a subset of `requested_access_token_audience`. | [optional]
9
9
  **grant_scope** | **Array<String>** | GrantScope sets the scope the user authorized the client to use. Should be a subset of `requested_scope` | [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 | [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 | [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]
@@ -13,8 +13,9 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
+ # FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest FlushInactiveOAuth2TokensRequest flush inactive o auth2 tokens request
16
17
  class FlushInactiveOAuth2TokensRequest
17
- # 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.
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 Format: date-time Format: date-time Format: date-time Format: date-time
18
19
  attr_accessor :not_after
19
20
 
20
21
  # 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
- # HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus health not ready status
16
+ # HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus HealthNotReadyStatus health not ready status
17
17
  class HealthNotReadyStatus
18
18
  # Errors contains a list of errors that caused the not ready status.
19
19
  attr_accessor :errors
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
+ # HealthStatus health status
16
17
  class HealthStatus
17
18
  # Status always contains \"ok\".
18
19
  attr_accessor :status
@@ -13,21 +13,27 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # It is important that this model object is named JSONWebKey for \"swagger generate spec\" to generate only on definition of a JSONWebKey.
16
+ # JSONWebKey It is important that this model object is named JSONWebKey for \"swagger generate spec\" to generate only on definition of a JSONWebKey.
17
17
  class JSONWebKey
18
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.
19
19
  attr_accessor :alg
20
20
 
21
+ # crv
21
22
  attr_accessor :crv
22
23
 
24
+ # d
23
25
  attr_accessor :d
24
26
 
27
+ # dp
25
28
  attr_accessor :dp
26
29
 
30
+ # dq
27
31
  attr_accessor :dq
28
32
 
33
+ # e
29
34
  attr_accessor :e
30
35
 
36
+ # k
31
37
  attr_accessor :k
32
38
 
33
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.
@@ -36,22 +42,28 @@ module OryHydraClient
36
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.
37
43
  attr_accessor :kty
38
44
 
45
+ # n
39
46
  attr_accessor :n
40
47
 
48
+ # p
41
49
  attr_accessor :p
42
50
 
51
+ # q
43
52
  attr_accessor :q
44
53
 
54
+ # qi
45
55
  attr_accessor :qi
46
56
 
47
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).
48
58
  attr_accessor :use
49
59
 
60
+ # x
50
61
  attr_accessor :x
51
62
 
52
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.
53
64
  attr_accessor :x5c
54
65
 
66
+ # y
55
67
  attr_accessor :y
56
68
 
57
69
  # 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
- # 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
+ # 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.
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
@@ -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.
@@ -13,7 +13,7 @@ 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 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 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
 
@@ -23,7 +23,7 @@ module OryHydraClient
23
23
  # GrantScope sets the scope the user authorized the client to use. Should be a subset of `requested_scope`
24
24
  attr_accessor :grant_scope
25
25
 
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
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
27
27
  attr_accessor :handled_at
28
28
 
29
29
  # 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.
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module OryHydraClient
16
- # Version version
16
+ # Version Version version
17
17
  class Version
18
18
  # Version is the service's version.
19
19
  attr_accessor :version
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module OryHydraClient
14
- VERSION = '1.4.5'
14
+ VERSION = '1.4.6'
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.4.5
4
+ version: 1.4.6
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-16 00:00:00.000000000 Z
11
+ date: 2020-04-17 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/public_api_spec.rb
197
196
  - spec/api/admin_api_spec.rb
197
+ - spec/api/public_api_spec.rb
198
198
  - spec/api_client_spec.rb
199
199
  - spec/configuration_spec.rb
200
- - spec/models/previous_consent_session_spec.rb
201
200
  - spec/models/json_web_key_set_generator_request_spec.rb
202
- - spec/models/open_id_connect_context_spec.rb
201
+ - spec/models/accept_consent_request_spec.rb
202
+ - spec/models/o_auth2_client_spec.rb
203
+ - spec/models/oauth_token_response_spec.rb
203
204
  - spec/models/well_known_spec.rb
204
- - spec/models/version_spec.rb
205
- - spec/models/o_auth2_token_introspection_spec.rb
205
+ - spec/models/completed_request_spec.rb
206
+ - spec/models/health_not_ready_status_spec.rb
206
207
  - spec/models/accept_login_request_spec.rb
207
- - spec/models/login_request_spec.rb
208
- - spec/models/o_auth2_client_spec.rb
209
208
  - spec/models/reject_request_spec.rb
209
+ - spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
210
+ - spec/models/consent_request_session_spec.rb
211
+ - spec/models/json_web_key_set_spec.rb
212
+ - spec/models/version_spec.rb
210
213
  - spec/models/json_web_key_spec.rb
211
- - spec/models/logout_request_spec.rb
212
214
  - spec/models/health_status_spec.rb
213
- - spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
214
215
  - spec/models/oauth2_token_response_spec.rb
215
- - spec/models/health_not_ready_status_spec.rb
216
- - spec/models/consent_request_session_spec.rb
216
+ - spec/models/logout_request_spec.rb
217
+ - spec/models/login_request_spec.rb
218
+ - spec/models/previous_consent_session_spec.rb
219
+ - spec/models/o_auth2_token_introspection_spec.rb
217
220
  - spec/models/consent_request_spec.rb
218
- - spec/models/json_web_key_set_spec.rb
219
- - spec/models/accept_consent_request_spec.rb
221
+ - spec/models/open_id_connect_context_spec.rb
220
222
  - spec/models/userinfo_response_spec.rb
221
223
  - spec/models/generic_error_spec.rb
222
- - spec/models/oauth_token_response_spec.rb
223
- - spec/models/completed_request_spec.rb
224
224
  - spec/spec_helper.rb