ory-hydra-client 0.0.0.alpha56 → 1.2.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -6
- data/docs/AdminApi.md +1 -1
- data/docs/AttributeTypeAndValue.md +19 -0
- data/docs/Certificate.md +101 -0
- data/docs/Extension.md +21 -0
- data/docs/IPNet.md +19 -0
- data/docs/JSONWebKey.md +12 -12
- data/docs/Name.md +27 -0
- data/docs/OAuth2Client.md +1 -1
- data/docs/Oauth2TokenResponse.md +6 -6
- data/docs/PublicApi.md +1 -1
- data/docs/RejectRequest.md +5 -5
- data/docs/URL.md +33 -0
- data/lib/ory-hydra-client.rb +7 -1
- data/lib/ory-hydra-client/api/admin_api.rb +3 -3
- data/lib/ory-hydra-client/api/public_api.rb +3 -3
- data/lib/ory-hydra-client/api_client.rb +1 -1
- data/lib/ory-hydra-client/api_error.rb +1 -1
- data/lib/ory-hydra-client/configuration.rb +1 -1
- data/lib/ory-hydra-client/models/accept_consent_request.rb +1 -1
- data/lib/ory-hydra-client/models/accept_login_request.rb +1 -1
- data/lib/ory-hydra-client/models/attribute_type_and_value.rb +219 -0
- data/lib/ory-hydra-client/models/certificate.rb +683 -0
- data/lib/ory-hydra-client/models/completed_request.rb +1 -1
- data/lib/ory-hydra-client/models/consent_request.rb +1 -1
- data/lib/ory-hydra-client/models/consent_request_session.rb +1 -1
- data/lib/ory-hydra-client/models/extension.rb +231 -0
- data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +1 -1
- data/lib/ory-hydra-client/models/generic_error.rb +1 -1
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-hydra-client/models/health_status.rb +1 -1
- data/lib/ory-hydra-client/models/ip_net.rb +220 -0
- data/lib/ory-hydra-client/models/json_web_key.rb +14 -1
- data/lib/ory-hydra-client/models/json_web_key_set.rb +2 -1
- data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +2 -1
- data/lib/ory-hydra-client/models/login_request.rb +1 -1
- data/lib/ory-hydra-client/models/logout_request.rb +1 -1
- data/lib/ory-hydra-client/models/name.rb +268 -0
- data/lib/ory-hydra-client/models/o_auth2_client.rb +3 -5
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +1 -1
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +7 -1
- data/lib/ory-hydra-client/models/oauth_token_response.rb +2 -2
- data/lib/ory-hydra-client/models/open_id_connect_context.rb +1 -1
- data/lib/ory-hydra-client/models/previous_consent_session.rb +2 -2
- data/lib/ory-hydra-client/models/reject_request.rb +6 -1
- data/lib/ory-hydra-client/models/url.rb +288 -0
- data/lib/ory-hydra-client/models/userinfo_response.rb +2 -2
- data/lib/ory-hydra-client/models/version.rb +2 -1
- data/lib/ory-hydra-client/models/well_known.rb +1 -1
- data/lib/ory-hydra-client/version.rb +2 -2
- data/ory-hydra-client.gemspec +1 -1
- data/spec/models/attribute_type_and_value_spec.rb +47 -0
- data/spec/models/certificate_spec.rb +293 -0
- data/spec/models/extension_spec.rb +53 -0
- data/spec/models/ip_net_spec.rb +47 -0
- data/spec/models/name_spec.rb +71 -0
- data/spec/models/url_spec.rb +89 -0
- metadata +44 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c7448e2c33244322d453b4c89c01a551972e8cf34908f051738725cca9d8a2
|
4
|
+
data.tar.gz: e2a4d7ab554df404622c063f6edda5c6d6eb5841ed0acc65902e9f06a4beb403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 344f8e55176eb4d822eaabe8de34e19e5664c680a1968808896330d9ebf95574924e35ac63a593be89676751fc8eda177d5e24d711b0661b03b10afeadcc4055
|
7
|
+
data.tar.gz: dc4f8ba62cc8440c94630cf8d4874ab3b559c49b67dafa405f7f0e2c97f84d84b064a5f0b4ec85c5089018588d8093425a06a98dbcac8348f28fb2ac146132ba
|
data/README.md
CHANGED
@@ -6,8 +6,8 @@ Welcome to the ORY Hydra HTTP API documentation. You will find documentation for
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version:
|
10
|
-
- Package version:
|
9
|
+
- API version: latest
|
10
|
+
- Package version: v1.2.0-alpha.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-
|
26
|
+
gem install ./ory-hydra-client-v1.2.0-alpha.2.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./ory-hydra-client-
|
29
|
+
(for development, run `gem install --dev ./ory-hydra-client-v1.2.0-alpha.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', '~>
|
35
|
+
gem 'ory-hydra-client', '~> v1.2.0-alpha.2'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -121,18 +121,23 @@ Class | Method | HTTP request | Description
|
|
121
121
|
|
122
122
|
- [OryHydraClient::AcceptConsentRequest](docs/AcceptConsentRequest.md)
|
123
123
|
- [OryHydraClient::AcceptLoginRequest](docs/AcceptLoginRequest.md)
|
124
|
+
- [OryHydraClient::AttributeTypeAndValue](docs/AttributeTypeAndValue.md)
|
125
|
+
- [OryHydraClient::Certificate](docs/Certificate.md)
|
124
126
|
- [OryHydraClient::CompletedRequest](docs/CompletedRequest.md)
|
125
127
|
- [OryHydraClient::ConsentRequest](docs/ConsentRequest.md)
|
126
128
|
- [OryHydraClient::ConsentRequestSession](docs/ConsentRequestSession.md)
|
129
|
+
- [OryHydraClient::Extension](docs/Extension.md)
|
127
130
|
- [OryHydraClient::FlushInactiveOAuth2TokensRequest](docs/FlushInactiveOAuth2TokensRequest.md)
|
128
131
|
- [OryHydraClient::GenericError](docs/GenericError.md)
|
129
132
|
- [OryHydraClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
|
130
133
|
- [OryHydraClient::HealthStatus](docs/HealthStatus.md)
|
134
|
+
- [OryHydraClient::IPNet](docs/IPNet.md)
|
131
135
|
- [OryHydraClient::JSONWebKey](docs/JSONWebKey.md)
|
132
136
|
- [OryHydraClient::JSONWebKeySet](docs/JSONWebKeySet.md)
|
133
137
|
- [OryHydraClient::JsonWebKeySetGeneratorRequest](docs/JsonWebKeySetGeneratorRequest.md)
|
134
138
|
- [OryHydraClient::LoginRequest](docs/LoginRequest.md)
|
135
139
|
- [OryHydraClient::LogoutRequest](docs/LogoutRequest.md)
|
140
|
+
- [OryHydraClient::Name](docs/Name.md)
|
136
141
|
- [OryHydraClient::OAuth2Client](docs/OAuth2Client.md)
|
137
142
|
- [OryHydraClient::OAuth2TokenIntrospection](docs/OAuth2TokenIntrospection.md)
|
138
143
|
- [OryHydraClient::Oauth2TokenResponse](docs/Oauth2TokenResponse.md)
|
@@ -140,6 +145,7 @@ Class | Method | HTTP request | Description
|
|
140
145
|
- [OryHydraClient::OpenIDConnectContext](docs/OpenIDConnectContext.md)
|
141
146
|
- [OryHydraClient::PreviousConsentSession](docs/PreviousConsentSession.md)
|
142
147
|
- [OryHydraClient::RejectRequest](docs/RejectRequest.md)
|
148
|
+
- [OryHydraClient::URL](docs/URL.md)
|
143
149
|
- [OryHydraClient::UserinfoResponse](docs/UserinfoResponse.md)
|
144
150
|
- [OryHydraClient::Version](docs/Version.md)
|
145
151
|
- [OryHydraClient::WellKnown](docs/WellKnown.md)
|
@@ -159,7 +165,7 @@ Class | Method | HTTP request | Description
|
|
159
165
|
- **Flow**: accessCode
|
160
166
|
- **Authorization URL**: /oauth2/auth
|
161
167
|
- **Scopes**:
|
162
|
-
- offline: A scope required when requesting refresh tokens (alias for `
|
168
|
+
- offline: A scope required when requesting refresh tokens (alias for `offline_access`)
|
163
169
|
- offline_access: A scope required when requesting refresh tokens
|
164
170
|
- openid: Request an OpenID Connect ID Token
|
165
171
|
|
data/docs/AdminApi.md
CHANGED
@@ -761,7 +761,7 @@ No authorization required
|
|
761
761
|
|
762
762
|
Get service version
|
763
763
|
|
764
|
-
This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
|
764
|
+
This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
|
765
765
|
|
766
766
|
### Example
|
767
767
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::AttributeTypeAndValue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**type** | **Array<Integer>** | | [optional]
|
8
|
+
**value** | [**Object**](.md) | value | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::AttributeTypeAndValue.new(type: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/Certificate.md
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# OryHydraClient::Certificate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**authority_key_id** | **Array<Integer>** | authority key Id | [optional]
|
8
|
+
**basic_constraints_valid** | **Boolean** | BasicConstraintsValid indicates whether IsCA, MaxPathLen, and MaxPathLenZero are valid. | [optional]
|
9
|
+
**crl_distribution_points** | **Array<String>** | CRL Distribution Points | [optional]
|
10
|
+
**dns_names** | **Array<String>** | Subject Alternate Name values. (Note that these values may not be valid if invalid values were contained within a parsed certificate. For example, an element of DNSNames may not be a valid DNS domain name.) | [optional]
|
11
|
+
**email_addresses** | **Array<String>** | email addresses | [optional]
|
12
|
+
**excluded_dns_domains** | **Array<String>** | excluded DNS domains | [optional]
|
13
|
+
**excluded_email_addresses** | **Array<String>** | excluded email addresses | [optional]
|
14
|
+
**excluded_ip_ranges** | [**Array<IPNet>**](IPNet.md) | excluded IP ranges | [optional]
|
15
|
+
**excluded_uri_domains** | **Array<String>** | excluded URI domains | [optional]
|
16
|
+
**ext_key_usage** | **Array<Integer>** | ext key usage | [optional]
|
17
|
+
**extensions** | [**Array<Extension>**](Extension.md) | Extensions contains raw X.509 extensions. When parsing certificates, this can be used to extract non-critical extensions that are not parsed by this package. When marshaling certificates, the Extensions field is ignored, see ExtraExtensions. | [optional]
|
18
|
+
**extra_extensions** | [**Array<Extension>**](Extension.md) | ExtraExtensions contains extensions to be copied, raw, into any marshaled certificates. Values override any extensions that would otherwise be produced based on the other fields. The ExtraExtensions field is not populated when parsing certificates, see Extensions. | [optional]
|
19
|
+
**ip_addresses** | **Array<Array>** | IP addresses | [optional]
|
20
|
+
**is_ca** | **Boolean** | is c a | [optional]
|
21
|
+
**issuer** | [**Name**](Name.md) | | [optional]
|
22
|
+
**issuing_certificate_url** | **Array<String>** | issuing certificate URL | [optional]
|
23
|
+
**key_usage** | **Integer** | KeyUsage KeyUsage KeyUsage KeyUsage represents the set of actions that are valid for a given key. It's a bitmap of the KeyUsage* constants. | [optional]
|
24
|
+
**max_path_len** | **Integer** | MaxPathLen and MaxPathLenZero indicate the presence and value of the BasicConstraints' \"pathLenConstraint\". When parsing a certificate, a positive non-zero MaxPathLen means that the field was specified, -1 means it was unset, and MaxPathLenZero being true mean that the field was explicitly set to zero. The case of MaxPathLen==0 with MaxPathLenZero==false should be treated equivalent to -1 (unset). When generating a certificate, an unset pathLenConstraint can be requested with either MaxPathLen == -1 or using the zero value for both MaxPathLen and MaxPathLenZero. | [optional]
|
25
|
+
**max_path_len_zero** | **Boolean** | MaxPathLenZero indicates that BasicConstraintsValid==true and MaxPathLen==0 should be interpreted as an actual maximum path length of zero. Otherwise, that combination is interpreted as MaxPathLen not being set. | [optional]
|
26
|
+
**not_before** | **DateTime** | not before Format: date-time Format: date-time Format: date-time | [optional]
|
27
|
+
**ocsp_server** | **Array<String>** | RFC 5280, 4.2.2.1 (Authority Information Access) | [optional]
|
28
|
+
**permitted_dns_domains** | **Array<String>** | permitted DNS domains | [optional]
|
29
|
+
**permitted_dns_domains_critical** | **Boolean** | Name constraints | [optional]
|
30
|
+
**permitted_email_addresses** | **Array<String>** | permitted email addresses | [optional]
|
31
|
+
**permitted_ip_ranges** | [**Array<IPNet>**](IPNet.md) | permitted IP ranges | [optional]
|
32
|
+
**permitted_uri_domains** | **Array<String>** | permitted URI domains | [optional]
|
33
|
+
**policy_identifiers** | **Array<Array>** | policy identifiers | [optional]
|
34
|
+
**public_key** | [**Object**](.md) | public key | [optional]
|
35
|
+
**public_key_algorithm** | **Integer** | PublicKeyAlgorithm PublicKeyAlgorithm PublicKeyAlgorithm public key algorithm | [optional]
|
36
|
+
**raw** | **Array<Integer>** | raw | [optional]
|
37
|
+
**raw_issuer** | **Array<Integer>** | raw issuer | [optional]
|
38
|
+
**raw_subject** | **Array<Integer>** | raw subject | [optional]
|
39
|
+
**raw_subject_public_key_info** | **Array<Integer>** | raw subject public key info | [optional]
|
40
|
+
**raw_tbs_certificate** | **Array<Integer>** | raw t b s certificate | [optional]
|
41
|
+
**serial_number** | [**Object**](.md) | Operations always take pointer arguments (*Int) rather than Int values, and each unique Int value requires its own unique *Int pointer. To \"copy\" an Int value, an existing (or newly allocated) Int must be set to a new value using the Int.Set method; shallow copies of Ints are not supported and may lead to errors. | [optional]
|
42
|
+
**signature** | **Array<Integer>** | signature | [optional]
|
43
|
+
**signature_algorithm** | **Integer** | SignatureAlgorithm SignatureAlgorithm SignatureAlgorithm signature algorithm | [optional]
|
44
|
+
**subject** | [**Name**](Name.md) | | [optional]
|
45
|
+
**subject_key_id** | **Array<Integer>** | subject key Id | [optional]
|
46
|
+
**ur_is** | [**Array<URL>**](URL.md) | u r is | [optional]
|
47
|
+
**unhandled_critical_extensions** | **Array<Array>** | UnhandledCriticalExtensions contains a list of extension IDs that were not (fully) processed when parsing. Verify will fail if this slice is non-empty, unless verification is delegated to an OS library which understands all the critical extensions. Users can access these extensions using Extensions and can remove elements from this slice if they believe that they have been handled. | [optional]
|
48
|
+
**unknown_ext_key_usage** | **Array<Array>** | unknown ext key usage | [optional]
|
49
|
+
**version** | **Integer** | version | [optional]
|
50
|
+
|
51
|
+
## Code Sample
|
52
|
+
|
53
|
+
```ruby
|
54
|
+
require 'OryHydraClient'
|
55
|
+
|
56
|
+
instance = OryHydraClient::Certificate.new(authority_key_id: null,
|
57
|
+
basic_constraints_valid: null,
|
58
|
+
crl_distribution_points: null,
|
59
|
+
dns_names: null,
|
60
|
+
email_addresses: null,
|
61
|
+
excluded_dns_domains: null,
|
62
|
+
excluded_email_addresses: null,
|
63
|
+
excluded_ip_ranges: null,
|
64
|
+
excluded_uri_domains: null,
|
65
|
+
ext_key_usage: null,
|
66
|
+
extensions: null,
|
67
|
+
extra_extensions: null,
|
68
|
+
ip_addresses: null,
|
69
|
+
is_ca: null,
|
70
|
+
issuer: null,
|
71
|
+
issuing_certificate_url: null,
|
72
|
+
key_usage: null,
|
73
|
+
max_path_len: null,
|
74
|
+
max_path_len_zero: null,
|
75
|
+
not_before: null,
|
76
|
+
ocsp_server: null,
|
77
|
+
permitted_dns_domains: null,
|
78
|
+
permitted_dns_domains_critical: null,
|
79
|
+
permitted_email_addresses: null,
|
80
|
+
permitted_ip_ranges: null,
|
81
|
+
permitted_uri_domains: null,
|
82
|
+
policy_identifiers: null,
|
83
|
+
public_key: null,
|
84
|
+
public_key_algorithm: null,
|
85
|
+
raw: null,
|
86
|
+
raw_issuer: null,
|
87
|
+
raw_subject: null,
|
88
|
+
raw_subject_public_key_info: null,
|
89
|
+
raw_tbs_certificate: null,
|
90
|
+
serial_number: null,
|
91
|
+
signature: null,
|
92
|
+
signature_algorithm: null,
|
93
|
+
subject: null,
|
94
|
+
subject_key_id: null,
|
95
|
+
ur_is: null,
|
96
|
+
unhandled_critical_extensions: null,
|
97
|
+
unknown_ext_key_usage: null,
|
98
|
+
version: null)
|
99
|
+
```
|
100
|
+
|
101
|
+
|
data/docs/Extension.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# OryHydraClient::Extension
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**critical** | **Boolean** | critical | [optional]
|
8
|
+
**id** | **Array<Integer>** | | [optional]
|
9
|
+
**value** | **Array<Integer>** | value | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'OryHydraClient'
|
15
|
+
|
16
|
+
instance = OryHydraClient::Extension.new(critical: null,
|
17
|
+
id: null,
|
18
|
+
value: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/IPNet.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# OryHydraClient::IPNet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**ip** | **Array<Integer>** | Note that in this documentation, referring to an IP address as an IPv4 address or an IPv6 address is a semantic property of the address, not just the length of the byte slice: a 16-byte slice can still be an IPv4 address. | [optional]
|
8
|
+
**mask** | **Array<Integer>** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'OryHydraClient'
|
14
|
+
|
15
|
+
instance = OryHydraClient::IPNet.new(ip: null,
|
16
|
+
mask: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
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/Name.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# OryHydraClient::Name
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**country** | **Array<String>** | country | [optional]
|
8
|
+
**extra_names** | [**Array<AttributeTypeAndValue>**](AttributeTypeAndValue.md) | extra names | [optional]
|
9
|
+
**locality** | **Array<String>** | locality | [optional]
|
10
|
+
**names** | [**Array<AttributeTypeAndValue>**](AttributeTypeAndValue.md) | names | [optional]
|
11
|
+
**serial_number** | **String** | serial number | [optional]
|
12
|
+
**street_address** | **Array<String>** | street address | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'OryHydraClient'
|
18
|
+
|
19
|
+
instance = OryHydraClient::Name.new(country: null,
|
20
|
+
extra_names: null,
|
21
|
+
locality: null,
|
22
|
+
names: null,
|
23
|
+
serial_number: null,
|
24
|
+
street_address: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
data/docs/OAuth2Client.md
CHANGED
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
|
|
21
21
|
**jwks** | [**JSONWebKeySet**](JSONWebKeySet.md) | | [optional]
|
22
22
|
**jwks_uri** | **String** | URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. | [optional]
|
23
23
|
**logo_uri** | **String** | LogoURI is an URL string that references a logo for the client. | [optional]
|
24
|
-
**metadata** | **
|
24
|
+
**metadata** | [**Object**](.md) | Metadata is arbitrary data. | [optional]
|
25
25
|
**owner** | **String** | Owner is a string identifying the owner of the OAuth 2.0 Client. | [optional]
|
26
26
|
**policy_uri** | **String** | PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. | [optional]
|
27
27
|
**post_logout_redirect_uris** | **Array<String>** | Array of URLs supplied by the RP to which it MAY request that the End-User's User Agent be redirected using the post_logout_redirect_uri parameter after a logout has been performed. | [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** | 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]
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
data/docs/PublicApi.md
CHANGED
@@ -149,7 +149,7 @@ No authorization required
|
|
149
149
|
|
150
150
|
The OAuth 2.0 token endpoint
|
151
151
|
|
152
|
-
The client makes a request to the token endpoint by sending the following parameters using the \"application/x-www-form-urlencoded\" HTTP request entity-body. > Do not implement a client for this endpoint yourself. Use a library. There are many libraries > available for any programming language. You can find a list of libraries here: https://oauth.net/code/ > > Do
|
152
|
+
The client makes a request to the token endpoint by sending the following parameters using the \"application/x-www-form-urlencoded\" HTTP request entity-body. > Do not implement a client for this endpoint yourself. Use a library. There are many libraries > available for any programming language. You can find a list of libraries here: https://oauth.net/code/ > > Do note that Hydra SDK does not implement this endpoint properly. Use one of the libraries listed above!
|
153
153
|
|
154
154
|
### Example
|
155
155
|
|
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** | 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]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
data/docs/URL.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# OryHydraClient::URL
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**force_query** | **Boolean** | force query | [optional]
|
8
|
+
**fragment** | **String** | fragment | [optional]
|
9
|
+
**host** | **String** | host | [optional]
|
10
|
+
**opaque** | **String** | opaque | [optional]
|
11
|
+
**path** | **String** | path | [optional]
|
12
|
+
**raw_path** | **String** | raw path | [optional]
|
13
|
+
**raw_query** | **String** | raw query | [optional]
|
14
|
+
**scheme** | **String** | scheme | [optional]
|
15
|
+
**user** | [**Object**](.md) | Userinfo Userinfo Userinfo The Userinfo type is an immutable encapsulation of username and password details for a URL. An existing Userinfo value is guaranteed to have a username set (potentially empty, as allowed by RFC 2396), and optionally a password. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'OryHydraClient'
|
21
|
+
|
22
|
+
instance = OryHydraClient::URL.new(force_query: null,
|
23
|
+
fragment: null,
|
24
|
+
host: null,
|
25
|
+
opaque: null,
|
26
|
+
path: null,
|
27
|
+
raw_path: null,
|
28
|
+
raw_query: null,
|
29
|
+
scheme: null,
|
30
|
+
user: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
data/lib/ory-hydra-client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: latest
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.2
|
@@ -19,18 +19,23 @@ require 'ory-hydra-client/configuration'
|
|
19
19
|
# Models
|
20
20
|
require 'ory-hydra-client/models/accept_consent_request'
|
21
21
|
require 'ory-hydra-client/models/accept_login_request'
|
22
|
+
require 'ory-hydra-client/models/attribute_type_and_value'
|
23
|
+
require 'ory-hydra-client/models/certificate'
|
22
24
|
require 'ory-hydra-client/models/completed_request'
|
23
25
|
require 'ory-hydra-client/models/consent_request'
|
24
26
|
require 'ory-hydra-client/models/consent_request_session'
|
27
|
+
require 'ory-hydra-client/models/extension'
|
25
28
|
require 'ory-hydra-client/models/flush_inactive_o_auth2_tokens_request'
|
26
29
|
require 'ory-hydra-client/models/generic_error'
|
27
30
|
require 'ory-hydra-client/models/health_not_ready_status'
|
28
31
|
require 'ory-hydra-client/models/health_status'
|
32
|
+
require 'ory-hydra-client/models/ip_net'
|
29
33
|
require 'ory-hydra-client/models/json_web_key'
|
30
34
|
require 'ory-hydra-client/models/json_web_key_set'
|
31
35
|
require 'ory-hydra-client/models/json_web_key_set_generator_request'
|
32
36
|
require 'ory-hydra-client/models/login_request'
|
33
37
|
require 'ory-hydra-client/models/logout_request'
|
38
|
+
require 'ory-hydra-client/models/name'
|
34
39
|
require 'ory-hydra-client/models/o_auth2_client'
|
35
40
|
require 'ory-hydra-client/models/o_auth2_token_introspection'
|
36
41
|
require 'ory-hydra-client/models/oauth2_token_response'
|
@@ -38,6 +43,7 @@ require 'ory-hydra-client/models/oauth_token_response'
|
|
38
43
|
require 'ory-hydra-client/models/open_id_connect_context'
|
39
44
|
require 'ory-hydra-client/models/previous_consent_session'
|
40
45
|
require 'ory-hydra-client/models/reject_request'
|
46
|
+
require 'ory-hydra-client/models/url'
|
41
47
|
require 'ory-hydra-client/models/userinfo_response'
|
42
48
|
require 'ory-hydra-client/models/version'
|
43
49
|
require 'ory-hydra-client/models/well_known'
|