ory-hydra-client 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AcceptConsentRequest.md +18 -17
- data/docs/AcceptLoginRequest.md +18 -17
- data/docs/AdminApi.md +815 -303
- data/docs/CompletedRequest.md +8 -7
- data/docs/ConsentRequest.md +30 -29
- data/docs/ConsentRequestSession.md +10 -9
- data/docs/ContainerWaitOKBodyError.md +8 -7
- data/docs/FlushInactiveOAuth2TokensRequest.md +8 -7
- data/docs/GenericError.md +14 -13
- data/docs/HealthNotReadyStatus.md +8 -7
- data/docs/HealthStatus.md +8 -7
- data/docs/JSONWebKey.md +40 -39
- data/docs/JSONWebKeySet.md +8 -7
- data/docs/JsonWebKeySetGeneratorRequest.md +12 -11
- data/docs/LoginRequest.md +24 -23
- data/docs/LogoutRequest.md +14 -13
- data/docs/OAuth2Client.md +72 -71
- data/docs/OAuth2TokenIntrospection.md +34 -33
- data/docs/Oauth2TokenResponse.md +18 -17
- data/docs/OpenIDConnectContext.md +16 -15
- data/docs/PluginConfig.md +38 -37
- data/docs/PluginConfigArgs.md +14 -13
- data/docs/PluginConfigInterface.md +10 -9
- data/docs/PluginConfigLinux.md +12 -11
- data/docs/PluginConfigNetwork.md +8 -7
- data/docs/PluginConfigRootfs.md +10 -9
- data/docs/PluginConfigUser.md +10 -9
- data/docs/PluginDevice.md +14 -13
- data/docs/PluginEnv.md +14 -13
- data/docs/PluginInterfaceType.md +12 -11
- data/docs/PluginMount.md +20 -19
- data/docs/PluginSettings.md +14 -13
- data/docs/PreviousConsentSession.md +20 -19
- data/docs/PublicApi.md +201 -60
- data/docs/RejectRequest.md +16 -15
- data/docs/UserinfoResponse.md +44 -43
- data/docs/Version.md +8 -7
- data/docs/VolumeUsageData.md +10 -9
- data/docs/WellKnown.md +58 -57
- data/lib/ory-hydra-client.rb +2 -2
- data/lib/ory-hydra-client/api/admin_api.rb +122 -92
- data/lib/ory-hydra-client/api/public_api.rb +34 -26
- data/lib/ory-hydra-client/api_client.rb +50 -48
- data/lib/ory-hydra-client/api_error.rb +2 -2
- data/lib/ory-hydra-client/configuration.rb +34 -7
- data/lib/ory-hydra-client/models/accept_consent_request.rb +21 -9
- data/lib/ory-hydra-client/models/accept_login_request.rb +20 -8
- data/lib/ory-hydra-client/models/completed_request.rb +20 -8
- data/lib/ory-hydra-client/models/consent_request.rb +20 -8
- data/lib/ory-hydra-client/models/consent_request_session.rb +20 -8
- data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +20 -8
- data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +21 -9
- data/lib/ory-hydra-client/models/generic_error.rb +20 -8
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +20 -8
- data/lib/ory-hydra-client/models/health_status.rb +20 -8
- data/lib/ory-hydra-client/models/json_web_key.rb +20 -8
- data/lib/ory-hydra-client/models/json_web_key_set.rb +20 -8
- data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +20 -8
- data/lib/ory-hydra-client/models/login_request.rb +20 -8
- data/lib/ory-hydra-client/models/logout_request.rb +20 -8
- data/lib/ory-hydra-client/models/o_auth2_client.rb +22 -10
- data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +20 -8
- data/lib/ory-hydra-client/models/oauth2_token_response.rb +20 -8
- data/lib/ory-hydra-client/models/open_id_connect_context.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config_args.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config_interface.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config_linux.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config_network.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_config_user.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_device.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_env.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_interface_type.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_mount.rb +20 -8
- data/lib/ory-hydra-client/models/plugin_settings.rb +20 -8
- data/lib/ory-hydra-client/models/previous_consent_session.rb +21 -9
- data/lib/ory-hydra-client/models/reject_request.rb +20 -8
- data/lib/ory-hydra-client/models/userinfo_response.rb +20 -8
- data/lib/ory-hydra-client/models/version.rb +20 -8
- data/lib/ory-hydra-client/models/volume_usage_data.rb +20 -8
- data/lib/ory-hydra-client/models/well_known.rb +20 -8
- data/lib/ory-hydra-client/version.rb +3 -3
- data/ory-hydra-client.gemspec +4 -5
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +32 -52
data/docs/RejectRequest.md
CHANGED
@@ -2,24 +2,25 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**error** | **String** | The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. | [optional]
|
8
|
-
**error_debug** | **String** | Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. | [optional]
|
9
|
-
**error_description** | **String** | Description of the error in a human readable format. | [optional]
|
10
|
-
**error_hint** | **String** | Hint to help resolve the error. | [optional]
|
11
|
-
**status_code** | **Integer** | Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **error** | **String** | The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. | [optional] |
|
8
|
+
| **error_debug** | **String** | Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. | [optional] |
|
9
|
+
| **error_description** | **String** | Description of the error in a human readable format. | [optional] |
|
10
|
+
| **error_hint** | **String** | Hint to help resolve the error. | [optional] |
|
11
|
+
| **status_code** | **Integer** | Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 | [optional] |
|
12
12
|
|
13
|
-
##
|
13
|
+
## Example
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
require '
|
16
|
+
require 'ory-hydra-client'
|
17
17
|
|
18
|
-
instance = OryHydraClient::RejectRequest.new(
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
instance = OryHydraClient::RejectRequest.new(
|
19
|
+
error: null,
|
20
|
+
error_debug: null,
|
21
|
+
error_description: null,
|
22
|
+
error_hint: null,
|
23
|
+
status_code: null
|
24
|
+
)
|
23
25
|
```
|
24
26
|
|
25
|
-
|
data/docs/UserinfoResponse.md
CHANGED
@@ -2,52 +2,53 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**birthdate** | **String** | End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates. | [optional]
|
8
|
-
**email** | **String** | End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. | [optional]
|
9
|
-
**email_verified** | **Boolean** | True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. | [optional]
|
10
|
-
**family_name** | **String** | Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters. | [optional]
|
11
|
-
**gender** | **String** | End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable. | [optional]
|
12
|
-
**given_name** | **String** | Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters. | [optional]
|
13
|
-
**locale** | **String** | End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. | [optional]
|
14
|
-
**middle_name** | **String** | Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used. | [optional]
|
15
|
-
**name** | **String** | End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. | [optional]
|
16
|
-
**nickname** | **String** | Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. | [optional]
|
17
|
-
**phone_number** | **String** | End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. | [optional]
|
18
|
-
**phone_number_verified** | **Boolean** | True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format. | [optional]
|
19
|
-
**picture** | **String** | URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User. | [optional]
|
20
|
-
**preferred_username** | **String** | Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. | [optional]
|
21
|
-
**profile** | **String** | URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User. | [optional]
|
22
|
-
**sub** | **String** | Subject - Identifier for the End-User at the IssuerURL. | [optional]
|
23
|
-
**updated_at** | **Integer** | Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. | [optional]
|
24
|
-
**website** | **String** | URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with. | [optional]
|
25
|
-
**zoneinfo** | **String** | String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **birthdate** | **String** | End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates. | [optional] |
|
8
|
+
| **email** | **String** | End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. | [optional] |
|
9
|
+
| **email_verified** | **Boolean** | True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. | [optional] |
|
10
|
+
| **family_name** | **String** | Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters. | [optional] |
|
11
|
+
| **gender** | **String** | End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable. | [optional] |
|
12
|
+
| **given_name** | **String** | Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters. | [optional] |
|
13
|
+
| **locale** | **String** | End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. | [optional] |
|
14
|
+
| **middle_name** | **String** | Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used. | [optional] |
|
15
|
+
| **name** | **String** | End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. | [optional] |
|
16
|
+
| **nickname** | **String** | Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. | [optional] |
|
17
|
+
| **phone_number** | **String** | End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. | [optional] |
|
18
|
+
| **phone_number_verified** | **Boolean** | True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format. | [optional] |
|
19
|
+
| **picture** | **String** | URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User. | [optional] |
|
20
|
+
| **preferred_username** | **String** | Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. | [optional] |
|
21
|
+
| **profile** | **String** | URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User. | [optional] |
|
22
|
+
| **sub** | **String** | Subject - Identifier for the End-User at the IssuerURL. | [optional] |
|
23
|
+
| **updated_at** | **Integer** | Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. | [optional] |
|
24
|
+
| **website** | **String** | URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with. | [optional] |
|
25
|
+
| **zoneinfo** | **String** | String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. | [optional] |
|
26
26
|
|
27
|
-
##
|
27
|
+
## Example
|
28
28
|
|
29
29
|
```ruby
|
30
|
-
require '
|
30
|
+
require 'ory-hydra-client'
|
31
31
|
|
32
|
-
instance = OryHydraClient::UserinfoResponse.new(
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
32
|
+
instance = OryHydraClient::UserinfoResponse.new(
|
33
|
+
birthdate: null,
|
34
|
+
email: null,
|
35
|
+
email_verified: null,
|
36
|
+
family_name: null,
|
37
|
+
gender: null,
|
38
|
+
given_name: null,
|
39
|
+
locale: null,
|
40
|
+
middle_name: null,
|
41
|
+
name: null,
|
42
|
+
nickname: null,
|
43
|
+
phone_number: null,
|
44
|
+
phone_number_verified: null,
|
45
|
+
picture: null,
|
46
|
+
preferred_username: null,
|
47
|
+
profile: null,
|
48
|
+
sub: null,
|
49
|
+
updated_at: null,
|
50
|
+
website: null,
|
51
|
+
zoneinfo: null
|
52
|
+
)
|
51
53
|
```
|
52
54
|
|
53
|
-
|
data/docs/Version.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**version** | **String** | Version is the service's version. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | Version is the service's version. | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-hydra-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::Version.new(
|
14
|
+
instance = OryHydraClient::Version.new(
|
15
|
+
version: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/VolumeUsageData.md
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**ref_count** | **Integer** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. |
|
8
|
-
**size** | **Integer** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ref_count** | **Integer** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. | |
|
8
|
+
| **size** | **Integer** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") | |
|
9
9
|
|
10
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'ory-hydra-client'
|
14
14
|
|
15
|
-
instance = OryHydraClient::VolumeUsageData.new(
|
16
|
-
|
15
|
+
instance = OryHydraClient::VolumeUsageData.new(
|
16
|
+
ref_count: null,
|
17
|
+
size: null
|
18
|
+
)
|
17
19
|
```
|
18
20
|
|
19
|
-
|
data/docs/WellKnown.md
CHANGED
@@ -2,66 +2,67 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**authorization_endpoint** | **String** | URL of the OP's OAuth 2.0 Authorization Endpoint. |
|
8
|
-
**backchannel_logout_session_supported** | **Boolean** | Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP | [optional]
|
9
|
-
**backchannel_logout_supported** | **Boolean** | Boolean value specifying whether the OP supports back-channel logout, with true indicating support. | [optional]
|
10
|
-
**claims_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. | [optional]
|
11
|
-
**claims_supported** | **Array<String>** | JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. | [optional]
|
12
|
-
**end_session_endpoint** | **String** | URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. | [optional]
|
13
|
-
**frontchannel_logout_session_supported** | **Boolean** | Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. | [optional]
|
14
|
-
**frontchannel_logout_supported** | **Boolean** | Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. | [optional]
|
15
|
-
**grant_types_supported** | **Array<String>** | JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. | [optional]
|
16
|
-
**id_token_signing_alg_values_supported** | **Array<String>** | JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. |
|
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
|
-
**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
|
-
**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]
|
21
|
-
**request_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. | [optional]
|
22
|
-
**request_uri_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. | [optional]
|
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]
|
24
|
-
**response_modes_supported** | **Array<String>** | JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. | [optional]
|
25
|
-
**response_types_supported** | **Array<String>** | JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values. |
|
26
|
-
**revocation_endpoint** | **String** | URL of the authorization server's OAuth 2.0 revocation endpoint. | [optional]
|
27
|
-
**scopes_supported** | **Array<String>** | SON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used | [optional]
|
28
|
-
**subject_types_supported** | **Array<String>** | JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. |
|
29
|
-
**token_endpoint** | **String** | URL of the OP's OAuth 2.0 Token Endpoint |
|
30
|
-
**token_endpoint_auth_methods_supported** | **Array<String>** | JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 | [optional]
|
31
|
-
**userinfo_endpoint** | **String** | URL of the OP's UserInfo Endpoint. | [optional]
|
32
|
-
**userinfo_signing_alg_values_supported** | **Array<String>** | JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **authorization_endpoint** | **String** | URL of the OP's OAuth 2.0 Authorization Endpoint. | |
|
8
|
+
| **backchannel_logout_session_supported** | **Boolean** | Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP | [optional] |
|
9
|
+
| **backchannel_logout_supported** | **Boolean** | Boolean value specifying whether the OP supports back-channel logout, with true indicating support. | [optional] |
|
10
|
+
| **claims_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. | [optional] |
|
11
|
+
| **claims_supported** | **Array<String>** | JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. | [optional] |
|
12
|
+
| **end_session_endpoint** | **String** | URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. | [optional] |
|
13
|
+
| **frontchannel_logout_session_supported** | **Boolean** | Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. | [optional] |
|
14
|
+
| **frontchannel_logout_supported** | **Boolean** | Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. | [optional] |
|
15
|
+
| **grant_types_supported** | **Array<String>** | JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. | [optional] |
|
16
|
+
| **id_token_signing_alg_values_supported** | **Array<String>** | JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. | |
|
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
|
+
| **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
|
+
| **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] |
|
21
|
+
| **request_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. | [optional] |
|
22
|
+
| **request_uri_parameter_supported** | **Boolean** | Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. | [optional] |
|
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] |
|
24
|
+
| **response_modes_supported** | **Array<String>** | JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. | [optional] |
|
25
|
+
| **response_types_supported** | **Array<String>** | JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values. | |
|
26
|
+
| **revocation_endpoint** | **String** | URL of the authorization server's OAuth 2.0 revocation endpoint. | [optional] |
|
27
|
+
| **scopes_supported** | **Array<String>** | SON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used | [optional] |
|
28
|
+
| **subject_types_supported** | **Array<String>** | JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. | |
|
29
|
+
| **token_endpoint** | **String** | URL of the OP's OAuth 2.0 Token Endpoint | |
|
30
|
+
| **token_endpoint_auth_methods_supported** | **Array<String>** | JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 | [optional] |
|
31
|
+
| **userinfo_endpoint** | **String** | URL of the OP's UserInfo Endpoint. | [optional] |
|
32
|
+
| **userinfo_signing_alg_values_supported** | **Array<String>** | JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. | [optional] |
|
33
33
|
|
34
|
-
##
|
34
|
+
## Example
|
35
35
|
|
36
36
|
```ruby
|
37
|
-
require '
|
37
|
+
require 'ory-hydra-client'
|
38
38
|
|
39
|
-
instance = OryHydraClient::WellKnown.new(
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
39
|
+
instance = OryHydraClient::WellKnown.new(
|
40
|
+
authorization_endpoint: https://playground.ory.sh/ory-hydra/public/oauth2/auth,
|
41
|
+
backchannel_logout_session_supported: null,
|
42
|
+
backchannel_logout_supported: null,
|
43
|
+
claims_parameter_supported: null,
|
44
|
+
claims_supported: null,
|
45
|
+
end_session_endpoint: null,
|
46
|
+
frontchannel_logout_session_supported: null,
|
47
|
+
frontchannel_logout_supported: null,
|
48
|
+
grant_types_supported: null,
|
49
|
+
id_token_signing_alg_values_supported: null,
|
50
|
+
issuer: https://playground.ory.sh/ory-hydra/public/,
|
51
|
+
jwks_uri: https://playground.ory.sh/ory-hydra/public/.well-known/jwks.json,
|
52
|
+
registration_endpoint: https://playground.ory.sh/ory-hydra/admin/client,
|
53
|
+
request_object_signing_alg_values_supported: null,
|
54
|
+
request_parameter_supported: null,
|
55
|
+
request_uri_parameter_supported: null,
|
56
|
+
require_request_uri_registration: null,
|
57
|
+
response_modes_supported: null,
|
58
|
+
response_types_supported: null,
|
59
|
+
revocation_endpoint: null,
|
60
|
+
scopes_supported: null,
|
61
|
+
subject_types_supported: null,
|
62
|
+
token_endpoint: https://playground.ory.sh/ory-hydra/public/oauth2/token,
|
63
|
+
token_endpoint_auth_methods_supported: null,
|
64
|
+
userinfo_endpoint: null,
|
65
|
+
userinfo_signing_alg_values_supported: null
|
66
|
+
)
|
65
67
|
```
|
66
68
|
|
67
|
-
|
data/lib/ory-hydra-client.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
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.9.
|
6
|
+
The version of the OpenAPI document: v1.9.1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
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.9.
|
6
|
+
The version of the OpenAPI document: v1.9.1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -62,15 +62,16 @@ module OryHydraClient
|
|
62
62
|
form_params = opts[:form_params] || {}
|
63
63
|
|
64
64
|
# http body (model)
|
65
|
-
post_body = opts[:
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
66
66
|
|
67
67
|
# return_type
|
68
|
-
return_type = opts[:
|
68
|
+
return_type = opts[:debug_return_type] || 'CompletedRequest'
|
69
69
|
|
70
70
|
# auth_names
|
71
|
-
auth_names = opts[:
|
71
|
+
auth_names = opts[:debug_auth_names] || []
|
72
72
|
|
73
73
|
new_options = opts.merge(
|
74
|
+
:operation => :"AdminApi.accept_consent_request",
|
74
75
|
:header_params => header_params,
|
75
76
|
:query_params => query_params,
|
76
77
|
:form_params => form_params,
|
@@ -129,15 +130,16 @@ module OryHydraClient
|
|
129
130
|
form_params = opts[:form_params] || {}
|
130
131
|
|
131
132
|
# http body (model)
|
132
|
-
post_body = opts[:
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
133
134
|
|
134
135
|
# return_type
|
135
|
-
return_type = opts[:
|
136
|
+
return_type = opts[:debug_return_type] || 'CompletedRequest'
|
136
137
|
|
137
138
|
# auth_names
|
138
|
-
auth_names = opts[:
|
139
|
+
auth_names = opts[:debug_auth_names] || []
|
139
140
|
|
140
141
|
new_options = opts.merge(
|
142
|
+
:operation => :"AdminApi.accept_login_request",
|
141
143
|
:header_params => header_params,
|
142
144
|
:query_params => query_params,
|
143
145
|
:form_params => form_params,
|
@@ -192,15 +194,16 @@ module OryHydraClient
|
|
192
194
|
form_params = opts[:form_params] || {}
|
193
195
|
|
194
196
|
# http body (model)
|
195
|
-
post_body = opts[:
|
197
|
+
post_body = opts[:debug_body]
|
196
198
|
|
197
199
|
# return_type
|
198
|
-
return_type = opts[:
|
200
|
+
return_type = opts[:debug_return_type] || 'CompletedRequest'
|
199
201
|
|
200
202
|
# auth_names
|
201
|
-
auth_names = opts[:
|
203
|
+
auth_names = opts[:debug_auth_names] || []
|
202
204
|
|
203
205
|
new_options = opts.merge(
|
206
|
+
:operation => :"AdminApi.accept_logout_request",
|
204
207
|
:header_params => header_params,
|
205
208
|
:query_params => query_params,
|
206
209
|
:form_params => form_params,
|
@@ -258,15 +261,16 @@ module OryHydraClient
|
|
258
261
|
form_params = opts[:form_params] || {}
|
259
262
|
|
260
263
|
# http body (model)
|
261
|
-
post_body = opts[:
|
264
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
262
265
|
|
263
266
|
# return_type
|
264
|
-
return_type = opts[:
|
267
|
+
return_type = opts[:debug_return_type] || 'JSONWebKeySet'
|
265
268
|
|
266
269
|
# auth_names
|
267
|
-
auth_names = opts[:
|
270
|
+
auth_names = opts[:debug_auth_names] || []
|
268
271
|
|
269
272
|
new_options = opts.merge(
|
273
|
+
:operation => :"AdminApi.create_json_web_key_set",
|
270
274
|
:header_params => header_params,
|
271
275
|
:query_params => query_params,
|
272
276
|
:form_params => form_params,
|
@@ -322,15 +326,16 @@ module OryHydraClient
|
|
322
326
|
form_params = opts[:form_params] || {}
|
323
327
|
|
324
328
|
# http body (model)
|
325
|
-
post_body = opts[:
|
329
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
326
330
|
|
327
331
|
# return_type
|
328
|
-
return_type = opts[:
|
332
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
329
333
|
|
330
334
|
# auth_names
|
331
|
-
auth_names = opts[:
|
335
|
+
auth_names = opts[:debug_auth_names] || []
|
332
336
|
|
333
337
|
new_options = opts.merge(
|
338
|
+
:operation => :"AdminApi.create_o_auth2_client",
|
334
339
|
:header_params => header_params,
|
335
340
|
:query_params => query_params,
|
336
341
|
:form_params => form_params,
|
@@ -390,15 +395,16 @@ module OryHydraClient
|
|
390
395
|
form_params = opts[:form_params] || {}
|
391
396
|
|
392
397
|
# http body (model)
|
393
|
-
post_body = opts[:
|
398
|
+
post_body = opts[:debug_body]
|
394
399
|
|
395
400
|
# return_type
|
396
|
-
return_type = opts[:
|
401
|
+
return_type = opts[:debug_return_type]
|
397
402
|
|
398
403
|
# auth_names
|
399
|
-
auth_names = opts[:
|
404
|
+
auth_names = opts[:debug_auth_names] || []
|
400
405
|
|
401
406
|
new_options = opts.merge(
|
407
|
+
:operation => :"AdminApi.delete_json_web_key",
|
402
408
|
:header_params => header_params,
|
403
409
|
:query_params => query_params,
|
404
410
|
:form_params => form_params,
|
@@ -452,15 +458,16 @@ module OryHydraClient
|
|
452
458
|
form_params = opts[:form_params] || {}
|
453
459
|
|
454
460
|
# http body (model)
|
455
|
-
post_body = opts[:
|
461
|
+
post_body = opts[:debug_body]
|
456
462
|
|
457
463
|
# return_type
|
458
|
-
return_type = opts[:
|
464
|
+
return_type = opts[:debug_return_type]
|
459
465
|
|
460
466
|
# auth_names
|
461
|
-
auth_names = opts[:
|
467
|
+
auth_names = opts[:debug_auth_names] || []
|
462
468
|
|
463
469
|
new_options = opts.merge(
|
470
|
+
:operation => :"AdminApi.delete_json_web_key_set",
|
464
471
|
:header_params => header_params,
|
465
472
|
:query_params => query_params,
|
466
473
|
:form_params => form_params,
|
@@ -514,15 +521,16 @@ module OryHydraClient
|
|
514
521
|
form_params = opts[:form_params] || {}
|
515
522
|
|
516
523
|
# http body (model)
|
517
|
-
post_body = opts[:
|
524
|
+
post_body = opts[:debug_body]
|
518
525
|
|
519
526
|
# return_type
|
520
|
-
return_type = opts[:
|
527
|
+
return_type = opts[:debug_return_type]
|
521
528
|
|
522
529
|
# auth_names
|
523
|
-
auth_names = opts[:
|
530
|
+
auth_names = opts[:debug_auth_names] || []
|
524
531
|
|
525
532
|
new_options = opts.merge(
|
533
|
+
:operation => :"AdminApi.delete_o_auth2_client",
|
526
534
|
:header_params => header_params,
|
527
535
|
:query_params => query_params,
|
528
536
|
:form_params => form_params,
|
@@ -577,15 +585,16 @@ module OryHydraClient
|
|
577
585
|
form_params = opts[:form_params] || {}
|
578
586
|
|
579
587
|
# http body (model)
|
580
|
-
post_body = opts[:
|
588
|
+
post_body = opts[:debug_body]
|
581
589
|
|
582
590
|
# return_type
|
583
|
-
return_type = opts[:
|
591
|
+
return_type = opts[:debug_return_type]
|
584
592
|
|
585
593
|
# auth_names
|
586
|
-
auth_names = opts[:
|
594
|
+
auth_names = opts[:debug_auth_names] || []
|
587
595
|
|
588
596
|
new_options = opts.merge(
|
597
|
+
:operation => :"AdminApi.delete_o_auth2_token",
|
589
598
|
:header_params => header_params,
|
590
599
|
:query_params => query_params,
|
591
600
|
:form_params => form_params,
|
@@ -637,15 +646,16 @@ module OryHydraClient
|
|
637
646
|
form_params = opts[:form_params] || {}
|
638
647
|
|
639
648
|
# http body (model)
|
640
|
-
post_body = opts[:
|
649
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
641
650
|
|
642
651
|
# return_type
|
643
|
-
return_type = opts[:
|
652
|
+
return_type = opts[:debug_return_type]
|
644
653
|
|
645
654
|
# auth_names
|
646
|
-
auth_names = opts[:
|
655
|
+
auth_names = opts[:debug_auth_names] || []
|
647
656
|
|
648
657
|
new_options = opts.merge(
|
658
|
+
:operation => :"AdminApi.flush_inactive_o_auth2_tokens",
|
649
659
|
:header_params => header_params,
|
650
660
|
:query_params => query_params,
|
651
661
|
:form_params => form_params,
|
@@ -700,15 +710,16 @@ module OryHydraClient
|
|
700
710
|
form_params = opts[:form_params] || {}
|
701
711
|
|
702
712
|
# http body (model)
|
703
|
-
post_body = opts[:
|
713
|
+
post_body = opts[:debug_body]
|
704
714
|
|
705
715
|
# return_type
|
706
|
-
return_type = opts[:
|
716
|
+
return_type = opts[:debug_return_type] || 'ConsentRequest'
|
707
717
|
|
708
718
|
# auth_names
|
709
|
-
auth_names = opts[:
|
719
|
+
auth_names = opts[:debug_auth_names] || []
|
710
720
|
|
711
721
|
new_options = opts.merge(
|
722
|
+
:operation => :"AdminApi.get_consent_request",
|
712
723
|
:header_params => header_params,
|
713
724
|
:query_params => query_params,
|
714
725
|
:form_params => form_params,
|
@@ -768,15 +779,16 @@ module OryHydraClient
|
|
768
779
|
form_params = opts[:form_params] || {}
|
769
780
|
|
770
781
|
# http body (model)
|
771
|
-
post_body = opts[:
|
782
|
+
post_body = opts[:debug_body]
|
772
783
|
|
773
784
|
# return_type
|
774
|
-
return_type = opts[:
|
785
|
+
return_type = opts[:debug_return_type] || 'JSONWebKeySet'
|
775
786
|
|
776
787
|
# auth_names
|
777
|
-
auth_names = opts[:
|
788
|
+
auth_names = opts[:debug_auth_names] || []
|
778
789
|
|
779
790
|
new_options = opts.merge(
|
791
|
+
:operation => :"AdminApi.get_json_web_key",
|
780
792
|
:header_params => header_params,
|
781
793
|
:query_params => query_params,
|
782
794
|
:form_params => form_params,
|
@@ -830,15 +842,16 @@ module OryHydraClient
|
|
830
842
|
form_params = opts[:form_params] || {}
|
831
843
|
|
832
844
|
# http body (model)
|
833
|
-
post_body = opts[:
|
845
|
+
post_body = opts[:debug_body]
|
834
846
|
|
835
847
|
# return_type
|
836
|
-
return_type = opts[:
|
848
|
+
return_type = opts[:debug_return_type] || 'JSONWebKeySet'
|
837
849
|
|
838
850
|
# auth_names
|
839
|
-
auth_names = opts[:
|
851
|
+
auth_names = opts[:debug_auth_names] || []
|
840
852
|
|
841
853
|
new_options = opts.merge(
|
854
|
+
:operation => :"AdminApi.get_json_web_key_set",
|
842
855
|
:header_params => header_params,
|
843
856
|
:query_params => query_params,
|
844
857
|
:form_params => form_params,
|
@@ -893,15 +906,16 @@ module OryHydraClient
|
|
893
906
|
form_params = opts[:form_params] || {}
|
894
907
|
|
895
908
|
# http body (model)
|
896
|
-
post_body = opts[:
|
909
|
+
post_body = opts[:debug_body]
|
897
910
|
|
898
911
|
# return_type
|
899
|
-
return_type = opts[:
|
912
|
+
return_type = opts[:debug_return_type] || 'LoginRequest'
|
900
913
|
|
901
914
|
# auth_names
|
902
|
-
auth_names = opts[:
|
915
|
+
auth_names = opts[:debug_auth_names] || []
|
903
916
|
|
904
917
|
new_options = opts.merge(
|
918
|
+
:operation => :"AdminApi.get_login_request",
|
905
919
|
:header_params => header_params,
|
906
920
|
:query_params => query_params,
|
907
921
|
:form_params => form_params,
|
@@ -956,15 +970,16 @@ module OryHydraClient
|
|
956
970
|
form_params = opts[:form_params] || {}
|
957
971
|
|
958
972
|
# http body (model)
|
959
|
-
post_body = opts[:
|
973
|
+
post_body = opts[:debug_body]
|
960
974
|
|
961
975
|
# return_type
|
962
|
-
return_type = opts[:
|
976
|
+
return_type = opts[:debug_return_type] || 'LogoutRequest'
|
963
977
|
|
964
978
|
# auth_names
|
965
|
-
auth_names = opts[:
|
979
|
+
auth_names = opts[:debug_auth_names] || []
|
966
980
|
|
967
981
|
new_options = opts.merge(
|
982
|
+
:operation => :"AdminApi.get_logout_request",
|
968
983
|
:header_params => header_params,
|
969
984
|
:query_params => query_params,
|
970
985
|
:form_params => form_params,
|
@@ -1018,15 +1033,16 @@ module OryHydraClient
|
|
1018
1033
|
form_params = opts[:form_params] || {}
|
1019
1034
|
|
1020
1035
|
# http body (model)
|
1021
|
-
post_body = opts[:
|
1036
|
+
post_body = opts[:debug_body]
|
1022
1037
|
|
1023
1038
|
# return_type
|
1024
|
-
return_type = opts[:
|
1039
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
1025
1040
|
|
1026
1041
|
# auth_names
|
1027
|
-
auth_names = opts[:
|
1042
|
+
auth_names = opts[:debug_auth_names] || []
|
1028
1043
|
|
1029
1044
|
new_options = opts.merge(
|
1045
|
+
:operation => :"AdminApi.get_o_auth2_client",
|
1030
1046
|
:header_params => header_params,
|
1031
1047
|
:query_params => query_params,
|
1032
1048
|
:form_params => form_params,
|
@@ -1074,15 +1090,16 @@ module OryHydraClient
|
|
1074
1090
|
form_params = opts[:form_params] || {}
|
1075
1091
|
|
1076
1092
|
# http body (model)
|
1077
|
-
post_body = opts[:
|
1093
|
+
post_body = opts[:debug_body]
|
1078
1094
|
|
1079
1095
|
# return_type
|
1080
|
-
return_type = opts[:
|
1096
|
+
return_type = opts[:debug_return_type] || 'Version'
|
1081
1097
|
|
1082
1098
|
# auth_names
|
1083
|
-
auth_names = opts[:
|
1099
|
+
auth_names = opts[:debug_auth_names] || []
|
1084
1100
|
|
1085
1101
|
new_options = opts.merge(
|
1102
|
+
:operation => :"AdminApi.get_version",
|
1086
1103
|
:header_params => header_params,
|
1087
1104
|
:query_params => query_params,
|
1088
1105
|
:form_params => form_params,
|
@@ -1142,15 +1159,16 @@ module OryHydraClient
|
|
1142
1159
|
form_params['scope'] = opts[:'scope'] if !opts[:'scope'].nil?
|
1143
1160
|
|
1144
1161
|
# http body (model)
|
1145
|
-
post_body = opts[:
|
1162
|
+
post_body = opts[:debug_body]
|
1146
1163
|
|
1147
1164
|
# return_type
|
1148
|
-
return_type = opts[:
|
1165
|
+
return_type = opts[:debug_return_type] || 'OAuth2TokenIntrospection'
|
1149
1166
|
|
1150
1167
|
# auth_names
|
1151
|
-
auth_names = opts[:
|
1168
|
+
auth_names = opts[:debug_auth_names] || []
|
1152
1169
|
|
1153
1170
|
new_options = opts.merge(
|
1171
|
+
:operation => :"AdminApi.introspect_o_auth2_token",
|
1154
1172
|
:header_params => header_params,
|
1155
1173
|
:query_params => query_params,
|
1156
1174
|
:form_params => form_params,
|
@@ -1198,15 +1216,16 @@ module OryHydraClient
|
|
1198
1216
|
form_params = opts[:form_params] || {}
|
1199
1217
|
|
1200
1218
|
# http body (model)
|
1201
|
-
post_body = opts[:
|
1219
|
+
post_body = opts[:debug_body]
|
1202
1220
|
|
1203
1221
|
# return_type
|
1204
|
-
return_type = opts[:
|
1222
|
+
return_type = opts[:debug_return_type] || 'HealthStatus'
|
1205
1223
|
|
1206
1224
|
# auth_names
|
1207
|
-
auth_names = opts[:
|
1225
|
+
auth_names = opts[:debug_auth_names] || []
|
1208
1226
|
|
1209
1227
|
new_options = opts.merge(
|
1228
|
+
:operation => :"AdminApi.is_instance_alive",
|
1210
1229
|
:header_params => header_params,
|
1211
1230
|
:query_params => query_params,
|
1212
1231
|
:form_params => form_params,
|
@@ -1260,15 +1279,16 @@ module OryHydraClient
|
|
1260
1279
|
form_params = opts[:form_params] || {}
|
1261
1280
|
|
1262
1281
|
# http body (model)
|
1263
|
-
post_body = opts[:
|
1282
|
+
post_body = opts[:debug_body]
|
1264
1283
|
|
1265
1284
|
# return_type
|
1266
|
-
return_type = opts[:
|
1285
|
+
return_type = opts[:debug_return_type] || 'Array<OAuth2Client>'
|
1267
1286
|
|
1268
1287
|
# auth_names
|
1269
|
-
auth_names = opts[:
|
1288
|
+
auth_names = opts[:debug_auth_names] || []
|
1270
1289
|
|
1271
1290
|
new_options = opts.merge(
|
1291
|
+
:operation => :"AdminApi.list_o_auth2_clients",
|
1272
1292
|
:header_params => header_params,
|
1273
1293
|
:query_params => query_params,
|
1274
1294
|
:form_params => form_params,
|
@@ -1323,15 +1343,16 @@ module OryHydraClient
|
|
1323
1343
|
form_params = opts[:form_params] || {}
|
1324
1344
|
|
1325
1345
|
# http body (model)
|
1326
|
-
post_body = opts[:
|
1346
|
+
post_body = opts[:debug_body]
|
1327
1347
|
|
1328
1348
|
# return_type
|
1329
|
-
return_type = opts[:
|
1349
|
+
return_type = opts[:debug_return_type] || 'Array<PreviousConsentSession>'
|
1330
1350
|
|
1331
1351
|
# auth_names
|
1332
|
-
auth_names = opts[:
|
1352
|
+
auth_names = opts[:debug_auth_names] || []
|
1333
1353
|
|
1334
1354
|
new_options = opts.merge(
|
1355
|
+
:operation => :"AdminApi.list_subject_consent_sessions",
|
1335
1356
|
:header_params => header_params,
|
1336
1357
|
:query_params => query_params,
|
1337
1358
|
:form_params => form_params,
|
@@ -1377,15 +1398,16 @@ module OryHydraClient
|
|
1377
1398
|
form_params = opts[:form_params] || {}
|
1378
1399
|
|
1379
1400
|
# http body (model)
|
1380
|
-
post_body = opts[:
|
1401
|
+
post_body = opts[:debug_body]
|
1381
1402
|
|
1382
1403
|
# return_type
|
1383
|
-
return_type = opts[:
|
1404
|
+
return_type = opts[:debug_return_type]
|
1384
1405
|
|
1385
1406
|
# auth_names
|
1386
|
-
auth_names = opts[:
|
1407
|
+
auth_names = opts[:debug_auth_names] || []
|
1387
1408
|
|
1388
1409
|
new_options = opts.merge(
|
1410
|
+
:operation => :"AdminApi.prometheus",
|
1389
1411
|
:header_params => header_params,
|
1390
1412
|
:query_params => query_params,
|
1391
1413
|
:form_params => form_params,
|
@@ -1444,15 +1466,16 @@ module OryHydraClient
|
|
1444
1466
|
form_params = opts[:form_params] || {}
|
1445
1467
|
|
1446
1468
|
# http body (model)
|
1447
|
-
post_body = opts[:
|
1469
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
1448
1470
|
|
1449
1471
|
# return_type
|
1450
|
-
return_type = opts[:
|
1472
|
+
return_type = opts[:debug_return_type] || 'CompletedRequest'
|
1451
1473
|
|
1452
1474
|
# auth_names
|
1453
|
-
auth_names = opts[:
|
1475
|
+
auth_names = opts[:debug_auth_names] || []
|
1454
1476
|
|
1455
1477
|
new_options = opts.merge(
|
1478
|
+
:operation => :"AdminApi.reject_consent_request",
|
1456
1479
|
:header_params => header_params,
|
1457
1480
|
:query_params => query_params,
|
1458
1481
|
:form_params => form_params,
|
@@ -1511,15 +1534,16 @@ module OryHydraClient
|
|
1511
1534
|
form_params = opts[:form_params] || {}
|
1512
1535
|
|
1513
1536
|
# http body (model)
|
1514
|
-
post_body = opts[:
|
1537
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
1515
1538
|
|
1516
1539
|
# return_type
|
1517
|
-
return_type = opts[:
|
1540
|
+
return_type = opts[:debug_return_type] || 'CompletedRequest'
|
1518
1541
|
|
1519
1542
|
# auth_names
|
1520
|
-
auth_names = opts[:
|
1543
|
+
auth_names = opts[:debug_auth_names] || []
|
1521
1544
|
|
1522
1545
|
new_options = opts.merge(
|
1546
|
+
:operation => :"AdminApi.reject_login_request",
|
1523
1547
|
:header_params => header_params,
|
1524
1548
|
:query_params => query_params,
|
1525
1549
|
:form_params => form_params,
|
@@ -1578,15 +1602,16 @@ module OryHydraClient
|
|
1578
1602
|
form_params = opts[:form_params] || {}
|
1579
1603
|
|
1580
1604
|
# http body (model)
|
1581
|
-
post_body = opts[:
|
1605
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
1582
1606
|
|
1583
1607
|
# return_type
|
1584
|
-
return_type = opts[:
|
1608
|
+
return_type = opts[:debug_return_type]
|
1585
1609
|
|
1586
1610
|
# auth_names
|
1587
|
-
auth_names = opts[:
|
1611
|
+
auth_names = opts[:debug_auth_names] || []
|
1588
1612
|
|
1589
1613
|
new_options = opts.merge(
|
1614
|
+
:operation => :"AdminApi.reject_logout_request",
|
1590
1615
|
:header_params => header_params,
|
1591
1616
|
:query_params => query_params,
|
1592
1617
|
:form_params => form_params,
|
@@ -1641,15 +1666,16 @@ module OryHydraClient
|
|
1641
1666
|
form_params = opts[:form_params] || {}
|
1642
1667
|
|
1643
1668
|
# http body (model)
|
1644
|
-
post_body = opts[:
|
1669
|
+
post_body = opts[:debug_body]
|
1645
1670
|
|
1646
1671
|
# return_type
|
1647
|
-
return_type = opts[:
|
1672
|
+
return_type = opts[:debug_return_type]
|
1648
1673
|
|
1649
1674
|
# auth_names
|
1650
|
-
auth_names = opts[:
|
1675
|
+
auth_names = opts[:debug_auth_names] || []
|
1651
1676
|
|
1652
1677
|
new_options = opts.merge(
|
1678
|
+
:operation => :"AdminApi.revoke_authentication_session",
|
1653
1679
|
:header_params => header_params,
|
1654
1680
|
:query_params => query_params,
|
1655
1681
|
:form_params => form_params,
|
@@ -1710,15 +1736,16 @@ module OryHydraClient
|
|
1710
1736
|
form_params = opts[:form_params] || {}
|
1711
1737
|
|
1712
1738
|
# http body (model)
|
1713
|
-
post_body = opts[:
|
1739
|
+
post_body = opts[:debug_body]
|
1714
1740
|
|
1715
1741
|
# return_type
|
1716
|
-
return_type = opts[:
|
1742
|
+
return_type = opts[:debug_return_type]
|
1717
1743
|
|
1718
1744
|
# auth_names
|
1719
|
-
auth_names = opts[:
|
1745
|
+
auth_names = opts[:debug_auth_names] || []
|
1720
1746
|
|
1721
1747
|
new_options = opts.merge(
|
1748
|
+
:operation => :"AdminApi.revoke_consent_sessions",
|
1722
1749
|
:header_params => header_params,
|
1723
1750
|
:query_params => query_params,
|
1724
1751
|
:form_params => form_params,
|
@@ -1782,15 +1809,16 @@ module OryHydraClient
|
|
1782
1809
|
form_params = opts[:form_params] || {}
|
1783
1810
|
|
1784
1811
|
# http body (model)
|
1785
|
-
post_body = opts[:
|
1812
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
1786
1813
|
|
1787
1814
|
# return_type
|
1788
|
-
return_type = opts[:
|
1815
|
+
return_type = opts[:debug_return_type] || 'JSONWebKey'
|
1789
1816
|
|
1790
1817
|
# auth_names
|
1791
|
-
auth_names = opts[:
|
1818
|
+
auth_names = opts[:debug_auth_names] || []
|
1792
1819
|
|
1793
1820
|
new_options = opts.merge(
|
1821
|
+
:operation => :"AdminApi.update_json_web_key",
|
1794
1822
|
:header_params => header_params,
|
1795
1823
|
:query_params => query_params,
|
1796
1824
|
:form_params => form_params,
|
@@ -1848,15 +1876,16 @@ module OryHydraClient
|
|
1848
1876
|
form_params = opts[:form_params] || {}
|
1849
1877
|
|
1850
1878
|
# http body (model)
|
1851
|
-
post_body = opts[:
|
1879
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
1852
1880
|
|
1853
1881
|
# return_type
|
1854
|
-
return_type = opts[:
|
1882
|
+
return_type = opts[:debug_return_type] || 'JSONWebKeySet'
|
1855
1883
|
|
1856
1884
|
# auth_names
|
1857
|
-
auth_names = opts[:
|
1885
|
+
auth_names = opts[:debug_auth_names] || []
|
1858
1886
|
|
1859
1887
|
new_options = opts.merge(
|
1888
|
+
:operation => :"AdminApi.update_json_web_key_set",
|
1860
1889
|
:header_params => header_params,
|
1861
1890
|
:query_params => query_params,
|
1862
1891
|
:form_params => form_params,
|
@@ -1918,15 +1947,16 @@ module OryHydraClient
|
|
1918
1947
|
form_params = opts[:form_params] || {}
|
1919
1948
|
|
1920
1949
|
# http body (model)
|
1921
|
-
post_body = opts[:
|
1950
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
1922
1951
|
|
1923
1952
|
# return_type
|
1924
|
-
return_type = opts[:
|
1953
|
+
return_type = opts[:debug_return_type] || 'OAuth2Client'
|
1925
1954
|
|
1926
1955
|
# auth_names
|
1927
|
-
auth_names = opts[:
|
1956
|
+
auth_names = opts[:debug_auth_names] || []
|
1928
1957
|
|
1929
1958
|
new_options = opts.merge(
|
1959
|
+
:operation => :"AdminApi.update_o_auth2_client",
|
1930
1960
|
:header_params => header_params,
|
1931
1961
|
:query_params => query_params,
|
1932
1962
|
:form_params => form_params,
|