ory-hydra-client 1.7.4 → 1.9.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/AdminApi.md +51 -4
- data/docs/ConsentRequest.md +1 -1
- data/docs/LoginRequest.md +1 -1
- data/docs/OAuth2TokenIntrospection.md +3 -1
- data/docs/WellKnown.md +2 -0
- data/lib/ory-hydra-client.rb +1 -1
- data/lib/ory-hydra-client/api/admin_api.rb +68 -5
- data/lib/ory-hydra-client/api/public_api.rb +1 -1
- 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/completed_request.rb +1 -1
- data/lib/ory-hydra-client/models/consent_request.rb +2 -2
- data/lib/ory-hydra-client/models/consent_request_session.rb +1 -1
- data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +1 -1
- 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/json_web_key.rb +1 -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 +1 -1
- data/lib/ory-hydra-client/models/login_request.rb +2 -2
- data/lib/ory-hydra-client/models/logout_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_client.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +13 -3
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +1 -1
- data/lib/ory-hydra-client/models/open_id_connect_context.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_config.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_config_args.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_config_interface.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_config_linux.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_config_network.rb +1 -1
- data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +1 -1
- 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/plugin_settings.rb +1 -1
- data/lib/ory-hydra-client/models/previous_consent_session.rb +1 -1
- data/lib/ory-hydra-client/models/reject_request.rb +1 -1
- data/lib/ory-hydra-client/models/userinfo_response.rb +1 -1
- data/lib/ory-hydra-client/models/version.rb +1 -1
- data/lib/ory-hydra-client/models/volume_usage_data.rb +1 -1
- data/lib/ory-hydra-client/models/well_known.rb +14 -2
- data/lib/ory-hydra-client/version.rb +2 -2
- data/ory-hydra-client.gemspec +1 -1
- metadata +35 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fc3feab8ceac23be59e1cc2ada34435556480a971f08df6e6a70db6050e6795
|
4
|
+
data.tar.gz: 74a6991933d11341ca2f5c0bd340b6b1ee7dbb0d60bc8e6ab990b09568b9d87f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94db7b387872dc48ce234d471a09550e80574a5501c55a592f0596d6f9c7db20854d5e124316496c975975fd3cd7f95da6c20d81f05d17c224314d2ee0db9f72
|
7
|
+
data.tar.gz: ba73bee6c707fbc351d79e0a0b5c06a0cecde1e2bbbc1449f9f3233a2b33f56d772bce923d1494c18372be152212bf0ea5c689116257d5bce74e85006eb1ea0e
|
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: v1.
|
10
|
-
- Package version: v1.
|
9
|
+
- API version: v1.9.0-alpha.3
|
10
|
+
- Package version: v1.9.0-alpha.3
|
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.
|
26
|
+
gem install ./ory-hydra-client-v1.9.0-alpha.3.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./ory-hydra-client-v1.
|
29
|
+
(for development, run `gem install --dev ./ory-hydra-client-v1.9.0-alpha.3.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.
|
35
|
+
gem 'ory-hydra-client', '~> v1.9.0-alpha.3'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -86,6 +86,7 @@ Class | Method | HTTP request | Description
|
|
86
86
|
*OryHydraClient::AdminApi* | [**delete_json_web_key**](docs/AdminApi.md#delete_json_web_key) | **DELETE** /keys/{set}/{kid} | Delete a JSON Web Key
|
87
87
|
*OryHydraClient::AdminApi* | [**delete_json_web_key_set**](docs/AdminApi.md#delete_json_web_key_set) | **DELETE** /keys/{set} | Delete a JSON Web Key Set
|
88
88
|
*OryHydraClient::AdminApi* | [**delete_o_auth2_client**](docs/AdminApi.md#delete_o_auth2_client) | **DELETE** /clients/{id} | Deletes an OAuth 2.0 Client
|
89
|
+
*OryHydraClient::AdminApi* | [**delete_o_auth2_token**](docs/AdminApi.md#delete_o_auth2_token) | **DELETE** /oauth2/tokens | Delete OAuth2 Access Tokens from a Client
|
89
90
|
*OryHydraClient::AdminApi* | [**flush_inactive_o_auth2_tokens**](docs/AdminApi.md#flush_inactive_o_auth2_tokens) | **POST** /oauth2/flush | Flush Expired OAuth2 Access Tokens
|
90
91
|
*OryHydraClient::AdminApi* | [**get_consent_request**](docs/AdminApi.md#get_consent_request) | **GET** /oauth2/auth/requests/consent | Get Consent Request Information
|
91
92
|
*OryHydraClient::AdminApi* | [**get_json_web_key**](docs/AdminApi.md#get_json_web_key) | **GET** /keys/{set}/{kid} | Fetch a JSON Web Key
|
@@ -98,7 +99,7 @@ Class | Method | HTTP request | Description
|
|
98
99
|
*OryHydraClient::AdminApi* | [**is_instance_alive**](docs/AdminApi.md#is_instance_alive) | **GET** /health/alive | Check Alive Status
|
99
100
|
*OryHydraClient::AdminApi* | [**list_o_auth2_clients**](docs/AdminApi.md#list_o_auth2_clients) | **GET** /clients | List OAuth 2.0 Clients
|
100
101
|
*OryHydraClient::AdminApi* | [**list_subject_consent_sessions**](docs/AdminApi.md#list_subject_consent_sessions) | **GET** /oauth2/auth/sessions/consent | Lists All Consent Sessions of a Subject
|
101
|
-
*OryHydraClient::AdminApi* | [**prometheus**](docs/AdminApi.md#prometheus) | **GET** /metrics/prometheus | Get
|
102
|
+
*OryHydraClient::AdminApi* | [**prometheus**](docs/AdminApi.md#prometheus) | **GET** /metrics/prometheus | Get Snapshot Metrics from the Hydra Service.
|
102
103
|
*OryHydraClient::AdminApi* | [**reject_consent_request**](docs/AdminApi.md#reject_consent_request) | **PUT** /oauth2/auth/requests/consent/reject | Reject a Consent Request
|
103
104
|
*OryHydraClient::AdminApi* | [**reject_login_request**](docs/AdminApi.md#reject_login_request) | **PUT** /oauth2/auth/requests/login/reject | Reject a Login Request
|
104
105
|
*OryHydraClient::AdminApi* | [**reject_logout_request**](docs/AdminApi.md#reject_logout_request) | **PUT** /oauth2/auth/requests/logout/reject | Reject a Logout Request
|
data/docs/AdminApi.md
CHANGED
@@ -12,6 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
[**delete_json_web_key**](AdminApi.md#delete_json_web_key) | **DELETE** /keys/{set}/{kid} | Delete a JSON Web Key
|
13
13
|
[**delete_json_web_key_set**](AdminApi.md#delete_json_web_key_set) | **DELETE** /keys/{set} | Delete a JSON Web Key Set
|
14
14
|
[**delete_o_auth2_client**](AdminApi.md#delete_o_auth2_client) | **DELETE** /clients/{id} | Deletes an OAuth 2.0 Client
|
15
|
+
[**delete_o_auth2_token**](AdminApi.md#delete_o_auth2_token) | **DELETE** /oauth2/tokens | Delete OAuth2 Access Tokens from a Client
|
15
16
|
[**flush_inactive_o_auth2_tokens**](AdminApi.md#flush_inactive_o_auth2_tokens) | **POST** /oauth2/flush | Flush Expired OAuth2 Access Tokens
|
16
17
|
[**get_consent_request**](AdminApi.md#get_consent_request) | **GET** /oauth2/auth/requests/consent | Get Consent Request Information
|
17
18
|
[**get_json_web_key**](AdminApi.md#get_json_web_key) | **GET** /keys/{set}/{kid} | Fetch a JSON Web Key
|
@@ -24,7 +25,7 @@ Method | HTTP request | Description
|
|
24
25
|
[**is_instance_alive**](AdminApi.md#is_instance_alive) | **GET** /health/alive | Check Alive Status
|
25
26
|
[**list_o_auth2_clients**](AdminApi.md#list_o_auth2_clients) | **GET** /clients | List OAuth 2.0 Clients
|
26
27
|
[**list_subject_consent_sessions**](AdminApi.md#list_subject_consent_sessions) | **GET** /oauth2/auth/sessions/consent | Lists All Consent Sessions of a Subject
|
27
|
-
[**prometheus**](AdminApi.md#prometheus) | **GET** /metrics/prometheus | Get
|
28
|
+
[**prometheus**](AdminApi.md#prometheus) | **GET** /metrics/prometheus | Get Snapshot Metrics from the Hydra Service.
|
28
29
|
[**reject_consent_request**](AdminApi.md#reject_consent_request) | **PUT** /oauth2/auth/requests/consent/reject | Reject a Consent Request
|
29
30
|
[**reject_login_request**](AdminApi.md#reject_login_request) | **PUT** /oauth2/auth/requests/login/reject | Reject a Login Request
|
30
31
|
[**reject_logout_request**](AdminApi.md#reject_logout_request) | **PUT** /oauth2/auth/requests/logout/reject | Reject a Logout Request
|
@@ -423,6 +424,52 @@ No authorization required
|
|
423
424
|
- **Accept**: application/json
|
424
425
|
|
425
426
|
|
427
|
+
## delete_o_auth2_token
|
428
|
+
|
429
|
+
> delete_o_auth2_token(client_id)
|
430
|
+
|
431
|
+
Delete OAuth2 Access Tokens from a Client
|
432
|
+
|
433
|
+
This endpoint deletes OAuth2 access tokens issued for a client from the database
|
434
|
+
|
435
|
+
### Example
|
436
|
+
|
437
|
+
```ruby
|
438
|
+
# load the gem
|
439
|
+
require 'ory-hydra-client'
|
440
|
+
|
441
|
+
api_instance = OryHydraClient::AdminApi.new
|
442
|
+
client_id = 'client_id_example' # String |
|
443
|
+
|
444
|
+
begin
|
445
|
+
#Delete OAuth2 Access Tokens from a Client
|
446
|
+
api_instance.delete_o_auth2_token(client_id)
|
447
|
+
rescue OryHydraClient::ApiError => e
|
448
|
+
puts "Exception when calling AdminApi->delete_o_auth2_token: #{e}"
|
449
|
+
end
|
450
|
+
```
|
451
|
+
|
452
|
+
### Parameters
|
453
|
+
|
454
|
+
|
455
|
+
Name | Type | Description | Notes
|
456
|
+
------------- | ------------- | ------------- | -------------
|
457
|
+
**client_id** | **String**| |
|
458
|
+
|
459
|
+
### Return type
|
460
|
+
|
461
|
+
nil (empty response body)
|
462
|
+
|
463
|
+
### Authorization
|
464
|
+
|
465
|
+
No authorization required
|
466
|
+
|
467
|
+
### HTTP request headers
|
468
|
+
|
469
|
+
- **Content-Type**: Not defined
|
470
|
+
- **Accept**: application/json
|
471
|
+
|
472
|
+
|
426
473
|
## flush_inactive_o_auth2_tokens
|
427
474
|
|
428
475
|
> flush_inactive_o_auth2_tokens(opts)
|
@@ -994,9 +1041,9 @@ No authorization required
|
|
994
1041
|
|
995
1042
|
> prometheus
|
996
1043
|
|
997
|
-
Get
|
1044
|
+
Get Snapshot Metrics from the Hydra Service.
|
998
1045
|
|
999
|
-
``` metadata: annotations: prometheus.io/port: \"4445\" prometheus.io/path: \"/metrics/prometheus\" ```
|
1046
|
+
If you're using k8s, you can then add annotations to your deployment like so: ``` metadata: annotations: prometheus.io/port: \"4445\" prometheus.io/path: \"/metrics/prometheus\" ``` If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
|
1000
1047
|
|
1001
1048
|
### Example
|
1002
1049
|
|
@@ -1007,7 +1054,7 @@ require 'ory-hydra-client'
|
|
1007
1054
|
api_instance = OryHydraClient::AdminApi.new
|
1008
1055
|
|
1009
1056
|
begin
|
1010
|
-
#Get
|
1057
|
+
#Get Snapshot Metrics from the Hydra Service.
|
1011
1058
|
api_instance.prometheus
|
1012
1059
|
rescue OryHydraClient::ApiError => e
|
1013
1060
|
puts "Exception when calling AdminApi->prometheus: #{e}"
|
data/docs/ConsentRequest.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**acr** | **String** | ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. | [optional]
|
8
|
-
**challenge** | **String** |
|
8
|
+
**challenge** | **String** | ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session. |
|
9
9
|
**client** | [**OAuth2Client**](OAuth2Client.md) | | [optional]
|
10
10
|
**context** | [**Object**](.md) | | [optional]
|
11
11
|
**login_challenge** | **String** | LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. | [optional]
|
data/docs/LoginRequest.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**challenge** | **String** |
|
7
|
+
**challenge** | **String** | ID is the identifier (\"login challenge\") of the login request. It is used to identify the session. |
|
8
8
|
**client** | [**OAuth2Client**](OAuth2Client.md) | |
|
9
9
|
**oidc_context** | [**OpenIDConnectContext**](OpenIDConnectContext.md) | | [optional]
|
10
10
|
**request_url** | **String** | RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. |
|
@@ -15,7 +15,8 @@ Name | Type | Description | Notes
|
|
15
15
|
**obfuscated_subject** | **String** | ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. | [optional]
|
16
16
|
**scope** | **String** | Scope is a JSON string containing a space-separated list of scopes associated with this token. | [optional]
|
17
17
|
**sub** | **String** | Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. | [optional]
|
18
|
-
**token_type** | **String** | TokenType is the introspected token's type,
|
18
|
+
**token_type** | **String** | TokenType is the introspected token's type, typically `Bearer`. | [optional]
|
19
|
+
**token_use** | **String** | TokenUse is the introspected token's use, for example `access_token` or `refresh_token`. | [optional]
|
19
20
|
**username** | **String** | Username is a human-readable identifier for the resource owner who authorized this token. | [optional]
|
20
21
|
|
21
22
|
## Code Sample
|
@@ -35,6 +36,7 @@ instance = OryHydraClient::OAuth2TokenIntrospection.new(active: null,
|
|
35
36
|
scope: null,
|
36
37
|
sub: null,
|
37
38
|
token_type: null,
|
39
|
+
token_use: null,
|
38
40
|
username: null)
|
39
41
|
```
|
40
42
|
|
data/docs/WellKnown.md
CHANGED
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
17
17
|
**issuer** | **String** | URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL. |
|
18
18
|
**jwks_uri** | **String** | URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. 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. |
|
19
19
|
**registration_endpoint** | **String** | URL of the OP's Dynamic Client Registration Endpoint. | [optional]
|
20
|
+
**request_object_signing_alg_values_supported** | **Array<String>** | JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). | [optional]
|
20
21
|
**request_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. | [optional]
|
21
22
|
**request_uri_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. | [optional]
|
22
23
|
**require_request_uri_registration** | **Boolean** | Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. | [optional]
|
@@ -48,6 +49,7 @@ instance = OryHydraClient::WellKnown.new(authorization_endpoint: https://playgro
|
|
48
49
|
issuer: https://playground.ory.sh/ory-hydra/public/,
|
49
50
|
jwks_uri: https://playground.ory.sh/ory-hydra/public/.well-known/jwks.json,
|
50
51
|
registration_endpoint: https://playground.ory.sh/ory-hydra/admin/client,
|
52
|
+
request_object_signing_alg_values_supported: null,
|
51
53
|
request_parameter_supported: null,
|
52
54
|
request_uri_parameter_supported: null,
|
53
55
|
require_request_uri_registration: null,
|
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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -538,6 +538,69 @@ module OryHydraClient
|
|
538
538
|
return data, status_code, headers
|
539
539
|
end
|
540
540
|
|
541
|
+
# Delete OAuth2 Access Tokens from a Client
|
542
|
+
# This endpoint deletes OAuth2 access tokens issued for a client from the database
|
543
|
+
# @param client_id [String]
|
544
|
+
# @param [Hash] opts the optional parameters
|
545
|
+
# @return [nil]
|
546
|
+
def delete_o_auth2_token(client_id, opts = {})
|
547
|
+
delete_o_auth2_token_with_http_info(client_id, opts)
|
548
|
+
nil
|
549
|
+
end
|
550
|
+
|
551
|
+
# Delete OAuth2 Access Tokens from a Client
|
552
|
+
# This endpoint deletes OAuth2 access tokens issued for a client from the database
|
553
|
+
# @param client_id [String]
|
554
|
+
# @param [Hash] opts the optional parameters
|
555
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
556
|
+
def delete_o_auth2_token_with_http_info(client_id, opts = {})
|
557
|
+
if @api_client.config.debugging
|
558
|
+
@api_client.config.logger.debug 'Calling API: AdminApi.delete_o_auth2_token ...'
|
559
|
+
end
|
560
|
+
# verify the required parameter 'client_id' is set
|
561
|
+
if @api_client.config.client_side_validation && client_id.nil?
|
562
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling AdminApi.delete_o_auth2_token"
|
563
|
+
end
|
564
|
+
# resource path
|
565
|
+
local_var_path = '/oauth2/tokens'
|
566
|
+
|
567
|
+
# query parameters
|
568
|
+
query_params = opts[:query_params] || {}
|
569
|
+
query_params[:'client_id'] = client_id
|
570
|
+
|
571
|
+
# header parameters
|
572
|
+
header_params = opts[:header_params] || {}
|
573
|
+
# HTTP header 'Accept' (if needed)
|
574
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
575
|
+
|
576
|
+
# form parameters
|
577
|
+
form_params = opts[:form_params] || {}
|
578
|
+
|
579
|
+
# http body (model)
|
580
|
+
post_body = opts[:body]
|
581
|
+
|
582
|
+
# return_type
|
583
|
+
return_type = opts[:return_type]
|
584
|
+
|
585
|
+
# auth_names
|
586
|
+
auth_names = opts[:auth_names] || []
|
587
|
+
|
588
|
+
new_options = opts.merge(
|
589
|
+
:header_params => header_params,
|
590
|
+
:query_params => query_params,
|
591
|
+
:form_params => form_params,
|
592
|
+
:body => post_body,
|
593
|
+
:auth_names => auth_names,
|
594
|
+
:return_type => return_type
|
595
|
+
)
|
596
|
+
|
597
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
598
|
+
if @api_client.config.debugging
|
599
|
+
@api_client.config.logger.debug "API called: AdminApi#delete_o_auth2_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
600
|
+
end
|
601
|
+
return data, status_code, headers
|
602
|
+
end
|
603
|
+
|
541
604
|
# Flush Expired OAuth2 Access Tokens
|
542
605
|
# This endpoint flushes expired OAuth2 access tokens from the database. You can set a time after which no tokens will be not be touched, in case you want to keep recent tokens for auditing. Refresh tokens can not be flushed as they are deleted automatically when performing the refresh flow.
|
543
606
|
# @param [Hash] opts the optional parameters
|
@@ -1284,8 +1347,8 @@ module OryHydraClient
|
|
1284
1347
|
return data, status_code, headers
|
1285
1348
|
end
|
1286
1349
|
|
1287
|
-
# Get
|
1288
|
-
# ``` metadata: annotations: prometheus.io/port: \"4445\" prometheus.io/path: \"/metrics/prometheus\" ```
|
1350
|
+
# Get Snapshot Metrics from the Hydra Service.
|
1351
|
+
# If you're using k8s, you can then add annotations to your deployment like so: ``` metadata: annotations: prometheus.io/port: \"4445\" prometheus.io/path: \"/metrics/prometheus\" ``` If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
|
1289
1352
|
# @param [Hash] opts the optional parameters
|
1290
1353
|
# @return [nil]
|
1291
1354
|
def prometheus(opts = {})
|
@@ -1293,8 +1356,8 @@ module OryHydraClient
|
|
1293
1356
|
nil
|
1294
1357
|
end
|
1295
1358
|
|
1296
|
-
# Get
|
1297
|
-
# ``` metadata: annotations: prometheus.io/port: \"4445\" prometheus.io/path: \"/metrics/prometheus\" ```
|
1359
|
+
# Get Snapshot Metrics from the Hydra Service.
|
1360
|
+
# If you're using k8s, you can then add annotations to your deployment like so: ``` metadata: annotations: prometheus.io/port: \"4445\" prometheus.io/path: \"/metrics/prometheus\" ``` If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
|
1298
1361
|
# @param [Hash] opts the optional parameters
|
1299
1362
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
1300
1363
|
def prometheus_with_http_info(opts = {})
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -17,7 +17,7 @@ module OryHydraClient
|
|
17
17
|
# ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
|
18
18
|
attr_accessor :acr
|
19
19
|
|
20
|
-
#
|
20
|
+
# ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session.
|
21
21
|
attr_accessor :challenge
|
22
22
|
|
23
23
|
attr_accessor :client
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module OryHydraClient
|
16
16
|
class LoginRequest
|
17
|
-
#
|
17
|
+
# ID is the identifier (\"login challenge\") of the login request. It is used to identify the session.
|
18
18
|
attr_accessor :challenge
|
19
19
|
|
20
20
|
attr_accessor :client
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -48,9 +48,12 @@ module OryHydraClient
|
|
48
48
|
# Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token.
|
49
49
|
attr_accessor :sub
|
50
50
|
|
51
|
-
# TokenType is the introspected token's type,
|
51
|
+
# TokenType is the introspected token's type, typically `Bearer`.
|
52
52
|
attr_accessor :token_type
|
53
53
|
|
54
|
+
# TokenUse is the introspected token's use, for example `access_token` or `refresh_token`.
|
55
|
+
attr_accessor :token_use
|
56
|
+
|
54
57
|
# Username is a human-readable identifier for the resource owner who authorized this token.
|
55
58
|
attr_accessor :username
|
56
59
|
|
@@ -69,6 +72,7 @@ module OryHydraClient
|
|
69
72
|
:'scope' => :'scope',
|
70
73
|
:'sub' => :'sub',
|
71
74
|
:'token_type' => :'token_type',
|
75
|
+
:'token_use' => :'token_use',
|
72
76
|
:'username' => :'username'
|
73
77
|
}
|
74
78
|
end
|
@@ -88,6 +92,7 @@ module OryHydraClient
|
|
88
92
|
:'scope' => :'String',
|
89
93
|
:'sub' => :'String',
|
90
94
|
:'token_type' => :'String',
|
95
|
+
:'token_use' => :'String',
|
91
96
|
:'username' => :'String'
|
92
97
|
}
|
93
98
|
end
|
@@ -163,6 +168,10 @@ module OryHydraClient
|
|
163
168
|
self.token_type = attributes[:'token_type']
|
164
169
|
end
|
165
170
|
|
171
|
+
if attributes.key?(:'token_use')
|
172
|
+
self.token_use = attributes[:'token_use']
|
173
|
+
end
|
174
|
+
|
166
175
|
if attributes.key?(:'username')
|
167
176
|
self.username = attributes[:'username']
|
168
177
|
end
|
@@ -203,6 +212,7 @@ module OryHydraClient
|
|
203
212
|
scope == o.scope &&
|
204
213
|
sub == o.sub &&
|
205
214
|
token_type == o.token_type &&
|
215
|
+
token_use == o.token_use &&
|
206
216
|
username == o.username
|
207
217
|
end
|
208
218
|
|
@@ -215,7 +225,7 @@ module OryHydraClient
|
|
215
225
|
# Calculates hash code according to all attributes.
|
216
226
|
# @return [Integer] Hash code
|
217
227
|
def hash
|
218
|
-
[active, aud, client_id, exp, ext, iat, iss, nbf, obfuscated_subject, scope, sub, token_type, username].hash
|
228
|
+
[active, aud, client_id, exp, ext, iat, iss, nbf, obfuscated_subject, scope, sub, token_type, token_use, username].hash
|
219
229
|
end
|
220
230
|
|
221
231
|
# Builds the object from hash
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -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: v1.
|
6
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -54,6 +54,9 @@ module OryHydraClient
|
|
54
54
|
# URL of the OP's Dynamic Client Registration Endpoint.
|
55
55
|
attr_accessor :registration_endpoint
|
56
56
|
|
57
|
+
# JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter).
|
58
|
+
attr_accessor :request_object_signing_alg_values_supported
|
59
|
+
|
57
60
|
# Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
|
58
61
|
attr_accessor :request_parameter_supported
|
59
62
|
|
@@ -106,6 +109,7 @@ module OryHydraClient
|
|
106
109
|
:'issuer' => :'issuer',
|
107
110
|
:'jwks_uri' => :'jwks_uri',
|
108
111
|
:'registration_endpoint' => :'registration_endpoint',
|
112
|
+
:'request_object_signing_alg_values_supported' => :'request_object_signing_alg_values_supported',
|
109
113
|
:'request_parameter_supported' => :'request_parameter_supported',
|
110
114
|
:'request_uri_parameter_supported' => :'request_uri_parameter_supported',
|
111
115
|
:'require_request_uri_registration' => :'require_request_uri_registration',
|
@@ -137,6 +141,7 @@ module OryHydraClient
|
|
137
141
|
:'issuer' => :'String',
|
138
142
|
:'jwks_uri' => :'String',
|
139
143
|
:'registration_endpoint' => :'String',
|
144
|
+
:'request_object_signing_alg_values_supported' => :'Array<String>',
|
140
145
|
:'request_parameter_supported' => :'Boolean',
|
141
146
|
:'request_uri_parameter_supported' => :'Boolean',
|
142
147
|
:'require_request_uri_registration' => :'Boolean',
|
@@ -231,6 +236,12 @@ module OryHydraClient
|
|
231
236
|
self.registration_endpoint = attributes[:'registration_endpoint']
|
232
237
|
end
|
233
238
|
|
239
|
+
if attributes.key?(:'request_object_signing_alg_values_supported')
|
240
|
+
if (value = attributes[:'request_object_signing_alg_values_supported']).is_a?(Array)
|
241
|
+
self.request_object_signing_alg_values_supported = value
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
234
245
|
if attributes.key?(:'request_parameter_supported')
|
235
246
|
self.request_parameter_supported = attributes[:'request_parameter_supported']
|
236
247
|
end
|
@@ -358,6 +369,7 @@ module OryHydraClient
|
|
358
369
|
issuer == o.issuer &&
|
359
370
|
jwks_uri == o.jwks_uri &&
|
360
371
|
registration_endpoint == o.registration_endpoint &&
|
372
|
+
request_object_signing_alg_values_supported == o.request_object_signing_alg_values_supported &&
|
361
373
|
request_parameter_supported == o.request_parameter_supported &&
|
362
374
|
request_uri_parameter_supported == o.request_uri_parameter_supported &&
|
363
375
|
require_request_uri_registration == o.require_request_uri_registration &&
|
@@ -381,7 +393,7 @@ module OryHydraClient
|
|
381
393
|
# Calculates hash code according to all attributes.
|
382
394
|
# @return [Integer] Hash code
|
383
395
|
def hash
|
384
|
-
[authorization_endpoint, backchannel_logout_session_supported, backchannel_logout_supported, claims_parameter_supported, claims_supported, end_session_endpoint, frontchannel_logout_session_supported, frontchannel_logout_supported, grant_types_supported, id_token_signing_alg_values_supported, issuer, jwks_uri, registration_endpoint, request_parameter_supported, request_uri_parameter_supported, require_request_uri_registration, response_modes_supported, response_types_supported, revocation_endpoint, scopes_supported, subject_types_supported, token_endpoint, token_endpoint_auth_methods_supported, userinfo_endpoint, userinfo_signing_alg_values_supported].hash
|
396
|
+
[authorization_endpoint, backchannel_logout_session_supported, backchannel_logout_supported, claims_parameter_supported, claims_supported, end_session_endpoint, frontchannel_logout_session_supported, frontchannel_logout_supported, grant_types_supported, id_token_signing_alg_values_supported, issuer, jwks_uri, registration_endpoint, request_object_signing_alg_values_supported, request_parameter_supported, request_uri_parameter_supported, require_request_uri_registration, response_modes_supported, response_types_supported, revocation_endpoint, scopes_supported, subject_types_supported, token_endpoint, token_endpoint_auth_methods_supported, userinfo_endpoint, userinfo_signing_alg_values_supported].hash
|
385
397
|
end
|
386
398
|
|
387
399
|
# Builds the object from hash
|
@@ -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: 1.
|
6
|
+
The version of the OpenAPI document: 1.9.0.alpha3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module OryHydraClient
|
14
|
-
VERSION = '1.
|
14
|
+
VERSION = '1.9.0.alpha3'
|
15
15
|
end
|
data/ory-hydra-client.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.9.0-alpha.3
|
9
9
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 4.3.1
|
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
|
+
version: 1.9.0.alpha3
|
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-08
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -225,9 +225,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: '1.9'
|
226
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
227
|
requirements:
|
228
|
-
- - "
|
228
|
+
- - ">"
|
229
229
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
230
|
+
version: 1.3.1
|
231
231
|
requirements: []
|
232
232
|
rubyforge_project:
|
233
233
|
rubygems_version: 2.7.6.2
|
@@ -239,42 +239,42 @@ test_files:
|
|
239
239
|
- spec/api/admin_api_spec.rb
|
240
240
|
- spec/api_client_spec.rb
|
241
241
|
- spec/configuration_spec.rb
|
242
|
-
- spec/models/
|
243
|
-
- spec/models/
|
242
|
+
- spec/models/oauth2_token_response_spec.rb
|
243
|
+
- spec/models/plugin_config_user_spec.rb
|
244
|
+
- spec/models/plugin_config_interface_spec.rb
|
244
245
|
- spec/models/plugin_device_spec.rb
|
245
|
-
- spec/models/
|
246
|
-
- spec/models/
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/
|
249
|
-
- spec/models/previous_consent_session_spec.rb
|
250
|
-
- spec/models/oauth_token_response_spec.rb
|
251
|
-
- spec/models/health_not_ready_status_spec.rb
|
252
|
-
- spec/models/json_web_key_set_spec.rb
|
253
|
-
- spec/models/plugin_env_spec.rb
|
254
|
-
- spec/models/plugin_mount_spec.rb
|
255
|
-
- spec/models/plugin_config_network_spec.rb
|
256
|
-
- spec/models/plugin_config_spec.rb
|
246
|
+
- spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
|
247
|
+
- spec/models/userinfo_response_spec.rb
|
248
|
+
- spec/models/completed_request_spec.rb
|
249
|
+
- spec/models/login_request_spec.rb
|
257
250
|
- spec/models/plugin_interface_type_spec.rb
|
258
|
-
- spec/models/plugin_config_linux_spec.rb
|
259
|
-
- spec/models/plugin_config_interface_spec.rb
|
260
|
-
- spec/models/reject_request_spec.rb
|
261
|
-
- spec/models/consent_request_spec.rb
|
262
251
|
- spec/models/plugin_config_args_spec.rb
|
263
|
-
- spec/models/completed_request_spec.rb
|
264
|
-
- spec/models/json_web_key_set_generator_request_spec.rb
|
265
|
-
- spec/models/consent_request_session_spec.rb
|
266
|
-
- spec/models/flush_inactive_o_auth2_tokens_request_spec.rb
|
267
|
-
- spec/models/o_auth2_client_spec.rb
|
268
|
-
- spec/models/oauth2_token_response_spec.rb
|
269
|
-
- spec/models/plugin_config_rootfs_spec.rb
|
270
|
-
- spec/models/o_auth2_token_introspection_spec.rb
|
271
|
-
- spec/models/plugin_config_user_spec.rb
|
272
252
|
- spec/models/logout_request_spec.rb
|
253
|
+
- spec/models/o_auth2_token_introspection_spec.rb
|
254
|
+
- spec/models/plugin_config_rootfs_spec.rb
|
255
|
+
- spec/models/oauth_token_response_spec.rb
|
256
|
+
- spec/models/json_web_key_spec.rb
|
257
|
+
- spec/models/accept_login_request_spec.rb
|
258
|
+
- spec/models/plugin_mount_spec.rb
|
259
|
+
- spec/models/json_web_key_set_spec.rb
|
260
|
+
- spec/models/volume_usage_data_spec.rb
|
261
|
+
- spec/models/json_web_key_set_generator_request_spec.rb
|
273
262
|
- spec/models/plugin_settings_spec.rb
|
274
|
-
- spec/models/
|
263
|
+
- spec/models/previous_consent_session_spec.rb
|
264
|
+
- spec/models/health_status_spec.rb
|
275
265
|
- spec/models/open_id_connect_context_spec.rb
|
266
|
+
- spec/models/generic_error_spec.rb
|
267
|
+
- spec/models/consent_request_spec.rb
|
276
268
|
- spec/models/version_spec.rb
|
277
|
-
- spec/models/
|
278
|
-
- spec/models/
|
279
|
-
- spec/models/
|
269
|
+
- spec/models/container_wait_ok_body_error_spec.rb
|
270
|
+
- spec/models/reject_request_spec.rb
|
271
|
+
- spec/models/health_not_ready_status_spec.rb
|
272
|
+
- spec/models/plugin_config_spec.rb
|
273
|
+
- spec/models/plugin_env_spec.rb
|
274
|
+
- spec/models/plugin_config_network_spec.rb
|
275
|
+
- spec/models/o_auth2_client_spec.rb
|
276
|
+
- spec/models/consent_request_session_spec.rb
|
277
|
+
- spec/models/well_known_spec.rb
|
278
|
+
- spec/models/plugin_config_linux_spec.rb
|
279
|
+
- spec/models/accept_consent_request_spec.rb
|
280
280
|
- spec/spec_helper.rb
|