ory-kratos-client 0.5.4.alpha1 → 0.5.5.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/docs/AdminApi.md +382 -143
  4. data/docs/CompleteSelfServiceLoginFlowWithPasswordMethod.md +12 -11
  5. data/docs/CompleteSelfServiceRecoveryFlowWithLinkMethod.md +10 -9
  6. data/docs/CompleteSelfServiceSettingsFlowWithPasswordMethod.md +10 -9
  7. data/docs/CompleteSelfServiceVerificationFlowWithLinkMethod.md +10 -9
  8. data/docs/CreateIdentity.md +10 -9
  9. data/docs/CreateRecoveryLink.md +10 -9
  10. data/docs/ErrorContainer.md +10 -9
  11. data/docs/FormField.md +20 -19
  12. data/docs/GenericError.md +8 -7
  13. data/docs/GenericErrorPayload.md +20 -19
  14. data/docs/HealthApi.md +50 -15
  15. data/docs/HealthNotReadyStatus.md +8 -7
  16. data/docs/HealthStatus.md +8 -7
  17. data/docs/Identity.md +18 -17
  18. data/docs/LoginFlow.md +24 -23
  19. data/docs/LoginFlowMethod.md +10 -9
  20. data/docs/LoginFlowMethodConfig.md +16 -15
  21. data/docs/LoginViaApiResponse.md +10 -9
  22. data/docs/Message.md +14 -13
  23. data/docs/PublicApi.md +707 -237
  24. data/docs/RecoveryAddress.md +12 -11
  25. data/docs/RecoveryFlow.md +24 -23
  26. data/docs/RecoveryFlowMethod.md +10 -9
  27. data/docs/RecoveryFlowMethodConfig.md +14 -13
  28. data/docs/RecoveryLink.md +10 -9
  29. data/docs/RegistrationFlow.md +22 -21
  30. data/docs/RegistrationFlowMethod.md +10 -9
  31. data/docs/RegistrationFlowMethodConfig.md +16 -15
  32. data/docs/RegistrationViaApiResponse.md +12 -11
  33. data/docs/RevokeSession.md +8 -7
  34. data/docs/Session.md +18 -17
  35. data/docs/SettingsFlow.md +26 -25
  36. data/docs/SettingsFlowMethod.md +10 -9
  37. data/docs/SettingsFlowMethodConfig.md +14 -13
  38. data/docs/SettingsViaApiResponse.md +10 -9
  39. data/docs/UpdateIdentity.md +10 -9
  40. data/docs/VerifiableAddress.md +18 -17
  41. data/docs/VerificationFlow.md +24 -23
  42. data/docs/VerificationFlowMethod.md +10 -9
  43. data/docs/VerificationFlowMethodConfig.md +14 -13
  44. data/docs/Version.md +8 -7
  45. data/docs/VersionApi.md +26 -9
  46. data/lib/ory-kratos-client.rb +2 -2
  47. data/lib/ory-kratos-client/api/admin_api.rb +58 -44
  48. data/lib/ory-kratos-client/api/health_api.rb +10 -8
  49. data/lib/ory-kratos-client/api/public_api.rb +113 -86
  50. data/lib/ory-kratos-client/api/version_api.rb +6 -5
  51. data/lib/ory-kratos-client/api_client.rb +50 -48
  52. data/lib/ory-kratos-client/api_error.rb +2 -2
  53. data/lib/ory-kratos-client/configuration.rb +34 -7
  54. data/lib/ory-kratos-client/models/complete_self_service_login_flow_with_password_method.rb +20 -8
  55. data/lib/ory-kratos-client/models/complete_self_service_recovery_flow_with_link_method.rb +20 -8
  56. data/lib/ory-kratos-client/models/complete_self_service_settings_flow_with_password_method.rb +20 -8
  57. data/lib/ory-kratos-client/models/complete_self_service_verification_flow_with_link_method.rb +20 -8
  58. data/lib/ory-kratos-client/models/create_identity.rb +20 -8
  59. data/lib/ory-kratos-client/models/create_recovery_link.rb +20 -8
  60. data/lib/ory-kratos-client/models/error_container.rb +20 -8
  61. data/lib/ory-kratos-client/models/form_field.rb +20 -8
  62. data/lib/ory-kratos-client/models/generic_error.rb +20 -8
  63. data/lib/ory-kratos-client/models/generic_error_payload.rb +20 -8
  64. data/lib/ory-kratos-client/models/health_not_ready_status.rb +20 -8
  65. data/lib/ory-kratos-client/models/health_status.rb +20 -8
  66. data/lib/ory-kratos-client/models/identity.rb +20 -8
  67. data/lib/ory-kratos-client/models/login_flow.rb +22 -10
  68. data/lib/ory-kratos-client/models/login_flow_method.rb +20 -8
  69. data/lib/ory-kratos-client/models/login_flow_method_config.rb +20 -8
  70. data/lib/ory-kratos-client/models/login_via_api_response.rb +20 -8
  71. data/lib/ory-kratos-client/models/message.rb +20 -8
  72. data/lib/ory-kratos-client/models/recovery_address.rb +20 -8
  73. data/lib/ory-kratos-client/models/recovery_flow.rb +22 -10
  74. data/lib/ory-kratos-client/models/recovery_flow_method.rb +20 -8
  75. data/lib/ory-kratos-client/models/recovery_flow_method_config.rb +20 -8
  76. data/lib/ory-kratos-client/models/recovery_link.rb +21 -9
  77. data/lib/ory-kratos-client/models/registration_flow.rb +22 -10
  78. data/lib/ory-kratos-client/models/registration_flow_method.rb +20 -8
  79. data/lib/ory-kratos-client/models/registration_flow_method_config.rb +20 -8
  80. data/lib/ory-kratos-client/models/registration_via_api_response.rb +20 -8
  81. data/lib/ory-kratos-client/models/revoke_session.rb +20 -8
  82. data/lib/ory-kratos-client/models/session.rb +23 -11
  83. data/lib/ory-kratos-client/models/settings_flow.rb +22 -10
  84. data/lib/ory-kratos-client/models/settings_flow_method.rb +20 -8
  85. data/lib/ory-kratos-client/models/settings_flow_method_config.rb +20 -8
  86. data/lib/ory-kratos-client/models/settings_via_api_response.rb +20 -8
  87. data/lib/ory-kratos-client/models/update_identity.rb +20 -8
  88. data/lib/ory-kratos-client/models/verifiable_address.rb +21 -9
  89. data/lib/ory-kratos-client/models/verification_flow.rb +22 -10
  90. data/lib/ory-kratos-client/models/verification_flow_method.rb +20 -8
  91. data/lib/ory-kratos-client/models/verification_flow_method_config.rb +20 -8
  92. data/lib/ory-kratos-client/models/version.rb +20 -8
  93. data/lib/ory-kratos-client/version.rb +3 -3
  94. data/ory-kratos-client.gemspec +4 -5
  95. data/spec/api_client_spec.rb +3 -3
  96. data/spec/configuration_spec.rb +2 -2
  97. data/spec/spec_helper.rb +2 -2
  98. metadata +48 -68
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **config** | [**SettingsFlowMethodConfig**](SettingsFlowMethodConfig.md) | |
8
- **method** | **String** | Method is the name of this flow method. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **config** | [**SettingsFlowMethodConfig**](SettingsFlowMethodConfig.md) | | |
8
+ | **method** | **String** | Method is the name of this flow method. | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::SettingsFlowMethod.new(config: null,
16
- method: null)
15
+ instance = OryHydraClient::SettingsFlowMethod.new(
16
+ config: null,
17
+ method: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **action** | **String** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. |
8
- **fields** | [**Array<FormField>**](FormField.md) | Fields contains multiple fields |
9
- **messages** | [**Array<Message>**](Message.md) | | [optional]
10
- **method** | **String** | Method is the form method (e.g. POST) |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **action** | **String** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. | |
8
+ | **fields** | [**Array<FormField>**](FormField.md) | Fields contains multiple fields | |
9
+ | **messages** | [**Array<Message>**](Message.md) | | [optional] |
10
+ | **method** | **String** | Method is the form method (e.g. POST) | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OryHydraClient'
15
+ require 'ory-kratos-client'
16
16
 
17
- instance = OryHydraClient::SettingsFlowMethodConfig.new(action: null,
18
- fields: null,
19
- messages: null,
20
- method: null)
17
+ instance = OryHydraClient::SettingsFlowMethodConfig.new(
18
+ action: null,
19
+ fields: null,
20
+ messages: null,
21
+ method: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **flow** | [**SettingsFlow**](SettingsFlow.md) | |
8
- **identity** | [**Identity**](Identity.md) | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **flow** | [**SettingsFlow**](SettingsFlow.md) | | |
8
+ | **identity** | [**Identity**](Identity.md) | | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::SettingsViaApiResponse.new(flow: null,
16
- identity: null)
15
+ instance = OryHydraClient::SettingsViaApiResponse.new(
16
+ flow: null,
17
+ identity: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. | [optional]
8
- **traits** | [**Object**](.md) | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. | [optional] |
8
+ | **traits** | **Object** | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::UpdateIdentity.new(schema_id: null,
16
- traits: null)
15
+ instance = OryHydraClient::UpdateIdentity.new(
16
+ schema_id: null,
17
+ traits: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,26 +2,27 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | |
8
- **status** | **String** | |
9
- **value** | **String** | |
10
- **verified** | **Boolean** | |
11
- **verified_at** | **DateTime** | | [optional]
12
- **via** | **String** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **status** | **String** | | |
9
+ | **value** | **String** | | |
10
+ | **verified** | **Boolean** | | |
11
+ | **verified_at** | **Time** | | [optional] |
12
+ | **via** | **String** | | |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-kratos-client'
18
18
 
19
- instance = OryHydraClient::VerifiableAddress.new(id: null,
20
- status: null,
21
- value: null,
22
- verified: null,
23
- verified_at: null,
24
- via: null)
19
+ instance = OryHydraClient::VerifiableAddress.new(
20
+ id: null,
21
+ status: null,
22
+ value: null,
23
+ verified: null,
24
+ verified_at: null,
25
+ via: null
26
+ )
25
27
  ```
26
28
 
27
-
@@ -2,32 +2,33 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional]
8
- **expires_at** | **DateTime** | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. | [optional]
9
- **id** | **String** | | [optional]
10
- **issued_at** | **DateTime** | IssuedAt is the time (UTC) when the request occurred. | [optional]
11
- **messages** | [**Array<Message>**](Message.md) | | [optional]
12
- **methods** | [**Hash<String, VerificationFlowMethod>**](VerificationFlowMethod.md) | Methods contains context for all account verification methods. If a registration request has been processed, but for example the password is incorrect, this will contain error messages. |
13
- **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL's path or query for example. | [optional]
14
- **state** | **String** | |
15
- **type** | **String** | The flow type can either be `api` or `browser`. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional] |
8
+ | **expires_at** | **Time** | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. | [optional] |
9
+ | **id** | **String** | | [optional] |
10
+ | **issued_at** | **Time** | IssuedAt is the time (UTC) when the request occurred. | [optional] |
11
+ | **messages** | [**Array<Message>**](Message.md) | | [optional] |
12
+ | **methods** | [**Hash<String, VerificationFlowMethod>**](VerificationFlowMethod.md) | Methods contains context for all account verification methods. If a registration request has been processed, but for example the password is incorrect, this will contain error messages. | |
13
+ | **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL's path or query for example. | [optional] |
14
+ | **state** | **String** | | |
15
+ | **type** | **String** | The flow type can either be `api` or `browser`. | [optional] |
16
16
 
17
- ## Code Sample
17
+ ## Example
18
18
 
19
19
  ```ruby
20
- require 'OryHydraClient'
20
+ require 'ory-kratos-client'
21
21
 
22
- instance = OryHydraClient::VerificationFlow.new(active: null,
23
- expires_at: null,
24
- id: null,
25
- issued_at: null,
26
- messages: null,
27
- methods: null,
28
- request_url: null,
29
- state: null,
30
- type: null)
22
+ instance = OryHydraClient::VerificationFlow.new(
23
+ active: null,
24
+ expires_at: null,
25
+ id: null,
26
+ issued_at: null,
27
+ messages: null,
28
+ methods: null,
29
+ request_url: null,
30
+ state: null,
31
+ type: null
32
+ )
31
33
  ```
32
34
 
33
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **config** | [**VerificationFlowMethodConfig**](VerificationFlowMethodConfig.md) | |
8
- **method** | **String** | Method contains the request credentials type. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **config** | [**VerificationFlowMethodConfig**](VerificationFlowMethodConfig.md) | | |
8
+ | **method** | **String** | Method contains the request credentials type. | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::VerificationFlowMethod.new(config: null,
16
- method: null)
15
+ instance = OryHydraClient::VerificationFlowMethod.new(
16
+ config: null,
17
+ method: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **action** | **String** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. |
8
- **fields** | [**Array<FormField>**](FormField.md) | Fields contains multiple fields |
9
- **messages** | [**Array<Message>**](Message.md) | | [optional]
10
- **method** | **String** | Method is the form method (e.g. POST) |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **action** | **String** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. | |
8
+ | **fields** | [**Array<FormField>**](FormField.md) | Fields contains multiple fields | |
9
+ | **messages** | [**Array<Message>**](Message.md) | | [optional] |
10
+ | **method** | **String** | Method is the form method (e.g. POST) | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OryHydraClient'
15
+ require 'ory-kratos-client'
16
16
 
17
- instance = OryHydraClient::VerificationFlowMethodConfig.new(action: null,
18
- fields: null,
19
- messages: null,
20
- method: null)
17
+ instance = OryHydraClient::VerificationFlowMethodConfig.new(
18
+ action: null,
19
+ fields: null,
20
+ messages: null,
21
+ method: null
22
+ )
21
23
  ```
22
24
 
23
-
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
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-kratos-client'
13
13
 
14
- instance = OryHydraClient::Version.new(version: null)
14
+ instance = OryHydraClient::Version.new(
15
+ version: null
16
+ )
15
17
  ```
16
18
 
17
-
data/docs/VersionApi.md CHANGED
@@ -2,34 +2,51 @@
2
2
 
3
3
  All URIs are relative to *http://localhost*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_version**](VersionApi.md#get_version) | **GET** /version | Get service version
8
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_version**](VersionApi.md#get_version) | **GET** /version | Get service version |
9
8
 
10
9
 
11
10
  ## get_version
12
11
 
13
- > Version get_version
12
+ > <Version> get_version
14
13
 
15
14
  Get service version
16
15
 
17
16
  This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
18
17
 
19
- ### Example
18
+ ### Examples
20
19
 
21
20
  ```ruby
22
- # load the gem
21
+ require 'time'
23
22
  require 'ory-kratos-client'
24
23
 
25
24
  api_instance = OryHydraClient::VersionApi.new
26
25
 
27
26
  begin
28
- #Get service version
27
+ # Get service version
29
28
  result = api_instance.get_version
30
29
  p result
31
30
  rescue OryHydraClient::ApiError => e
32
- puts "Exception when calling VersionApi->get_version: #{e}"
31
+ puts "Error when calling VersionApi->get_version: #{e}"
32
+ end
33
+ ```
34
+
35
+ #### Using the get_version_with_http_info variant
36
+
37
+ This returns an Array which contains the response data, status code and headers.
38
+
39
+ > <Array(<Version>, Integer, Hash)> get_version_with_http_info
40
+
41
+ ```ruby
42
+ begin
43
+ # Get service version
44
+ data, status_code, headers = api_instance.get_version_with_http_info
45
+ p status_code # => 2xx
46
+ p headers # => { ... }
47
+ p data # => <Version>
48
+ rescue OryHydraClient::ApiError => e
49
+ puts "Error when calling VersionApi->get_version_with_http_info: #{e}"
33
50
  end
34
51
  ```
35
52
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Welcome to the ORY Kratos HTTP API documentation!
5
5
 
6
- The version of the OpenAPI document: v0.5.4-alpha.1
6
+ The version of the OpenAPI document: v0.5.5-alpha.2
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
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 Kratos HTTP API documentation!
5
5
 
6
- The version of the OpenAPI document: v0.5.4-alpha.1
6
+ The version of the OpenAPI document: v0.5.5-alpha.2
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ OpenAPI Generator version: 5.0.0
10
10
 
11
11
  =end
12
12
 
@@ -55,15 +55,16 @@ module OryHydraClient
55
55
  form_params = opts[:form_params] || {}
56
56
 
57
57
  # http body (model)
58
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
58
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
59
59
 
60
60
  # return_type
61
- return_type = opts[:return_type] || 'Identity'
61
+ return_type = opts[:debug_return_type] || 'Identity'
62
62
 
63
63
  # auth_names
64
- auth_names = opts[:auth_names] || []
64
+ auth_names = opts[:debug_auth_names] || []
65
65
 
66
66
  new_options = opts.merge(
67
+ :operation => :"AdminApi.create_identity",
67
68
  :header_params => header_params,
68
69
  :query_params => query_params,
69
70
  :form_params => form_params,
@@ -115,15 +116,16 @@ module OryHydraClient
115
116
  form_params = opts[:form_params] || {}
116
117
 
117
118
  # http body (model)
118
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
119
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
119
120
 
120
121
  # return_type
121
- return_type = opts[:return_type] || 'RecoveryLink'
122
+ return_type = opts[:debug_return_type] || 'RecoveryLink'
122
123
 
123
124
  # auth_names
124
- auth_names = opts[:auth_names] || []
125
+ auth_names = opts[:debug_auth_names] || []
125
126
 
126
127
  new_options = opts.merge(
128
+ :operation => :"AdminApi.create_recovery_link",
127
129
  :header_params => header_params,
128
130
  :query_params => query_params,
129
131
  :form_params => form_params,
@@ -177,15 +179,16 @@ module OryHydraClient
177
179
  form_params = opts[:form_params] || {}
178
180
 
179
181
  # http body (model)
180
- post_body = opts[:body]
182
+ post_body = opts[:debug_body]
181
183
 
182
184
  # return_type
183
- return_type = opts[:return_type]
185
+ return_type = opts[:debug_return_type]
184
186
 
185
187
  # auth_names
186
- auth_names = opts[:auth_names] || []
188
+ auth_names = opts[:debug_auth_names] || []
187
189
 
188
190
  new_options = opts.merge(
191
+ :operation => :"AdminApi.delete_identity",
189
192
  :header_params => header_params,
190
193
  :query_params => query_params,
191
194
  :form_params => form_params,
@@ -239,15 +242,16 @@ module OryHydraClient
239
242
  form_params = opts[:form_params] || {}
240
243
 
241
244
  # http body (model)
242
- post_body = opts[:body]
245
+ post_body = opts[:debug_body]
243
246
 
244
247
  # return_type
245
- return_type = opts[:return_type] || 'Identity'
248
+ return_type = opts[:debug_return_type] || 'Identity'
246
249
 
247
250
  # auth_names
248
- auth_names = opts[:auth_names] || []
251
+ auth_names = opts[:debug_auth_names] || []
249
252
 
250
253
  new_options = opts.merge(
254
+ :operation => :"AdminApi.get_identity",
251
255
  :header_params => header_params,
252
256
  :query_params => query_params,
253
257
  :form_params => form_params,
@@ -299,15 +303,16 @@ module OryHydraClient
299
303
  form_params = opts[:form_params] || {}
300
304
 
301
305
  # http body (model)
302
- post_body = opts[:body]
306
+ post_body = opts[:debug_body]
303
307
 
304
308
  # return_type
305
- return_type = opts[:return_type] || 'Object'
309
+ return_type = opts[:debug_return_type] || 'Object'
306
310
 
307
311
  # auth_names
308
- auth_names = opts[:auth_names] || []
312
+ auth_names = opts[:debug_auth_names] || []
309
313
 
310
314
  new_options = opts.merge(
315
+ :operation => :"AdminApi.get_schema",
311
316
  :header_params => header_params,
312
317
  :query_params => query_params,
313
318
  :form_params => form_params,
@@ -362,15 +367,16 @@ module OryHydraClient
362
367
  form_params = opts[:form_params] || {}
363
368
 
364
369
  # http body (model)
365
- post_body = opts[:body]
370
+ post_body = opts[:debug_body]
366
371
 
367
372
  # return_type
368
- return_type = opts[:return_type] || 'ErrorContainer'
373
+ return_type = opts[:debug_return_type] || 'ErrorContainer'
369
374
 
370
375
  # auth_names
371
- auth_names = opts[:auth_names] || []
376
+ auth_names = opts[:debug_auth_names] || []
372
377
 
373
378
  new_options = opts.merge(
379
+ :operation => :"AdminApi.get_self_service_error",
374
380
  :header_params => header_params,
375
381
  :query_params => query_params,
376
382
  :form_params => form_params,
@@ -425,15 +431,16 @@ module OryHydraClient
425
431
  form_params = opts[:form_params] || {}
426
432
 
427
433
  # http body (model)
428
- post_body = opts[:body]
434
+ post_body = opts[:debug_body]
429
435
 
430
436
  # return_type
431
- return_type = opts[:return_type] || 'LoginFlow'
437
+ return_type = opts[:debug_return_type] || 'LoginFlow'
432
438
 
433
439
  # auth_names
434
- auth_names = opts[:auth_names] || []
440
+ auth_names = opts[:debug_auth_names] || []
435
441
 
436
442
  new_options = opts.merge(
443
+ :operation => :"AdminApi.get_self_service_login_flow",
437
444
  :header_params => header_params,
438
445
  :query_params => query_params,
439
446
  :form_params => form_params,
@@ -488,15 +495,16 @@ module OryHydraClient
488
495
  form_params = opts[:form_params] || {}
489
496
 
490
497
  # http body (model)
491
- post_body = opts[:body]
498
+ post_body = opts[:debug_body]
492
499
 
493
500
  # return_type
494
- return_type = opts[:return_type] || 'RecoveryFlow'
501
+ return_type = opts[:debug_return_type] || 'RecoveryFlow'
495
502
 
496
503
  # auth_names
497
- auth_names = opts[:auth_names] || []
504
+ auth_names = opts[:debug_auth_names] || []
498
505
 
499
506
  new_options = opts.merge(
507
+ :operation => :"AdminApi.get_self_service_recovery_flow",
500
508
  :header_params => header_params,
501
509
  :query_params => query_params,
502
510
  :form_params => form_params,
@@ -551,15 +559,16 @@ module OryHydraClient
551
559
  form_params = opts[:form_params] || {}
552
560
 
553
561
  # http body (model)
554
- post_body = opts[:body]
562
+ post_body = opts[:debug_body]
555
563
 
556
564
  # return_type
557
- return_type = opts[:return_type] || 'RegistrationFlow'
565
+ return_type = opts[:debug_return_type] || 'RegistrationFlow'
558
566
 
559
567
  # auth_names
560
- auth_names = opts[:auth_names] || []
568
+ auth_names = opts[:debug_auth_names] || []
561
569
 
562
570
  new_options = opts.merge(
571
+ :operation => :"AdminApi.get_self_service_registration_flow",
563
572
  :header_params => header_params,
564
573
  :query_params => query_params,
565
574
  :form_params => form_params,
@@ -614,15 +623,16 @@ module OryHydraClient
614
623
  form_params = opts[:form_params] || {}
615
624
 
616
625
  # http body (model)
617
- post_body = opts[:body]
626
+ post_body = opts[:debug_body]
618
627
 
619
628
  # return_type
620
- return_type = opts[:return_type] || 'SettingsFlow'
629
+ return_type = opts[:debug_return_type] || 'SettingsFlow'
621
630
 
622
631
  # auth_names
623
- auth_names = opts[:auth_names] || ['sessionToken']
632
+ auth_names = opts[:debug_auth_names] || ['sessionToken']
624
633
 
625
634
  new_options = opts.merge(
635
+ :operation => :"AdminApi.get_self_service_settings_flow",
626
636
  :header_params => header_params,
627
637
  :query_params => query_params,
628
638
  :form_params => form_params,
@@ -677,15 +687,16 @@ module OryHydraClient
677
687
  form_params = opts[:form_params] || {}
678
688
 
679
689
  # http body (model)
680
- post_body = opts[:body]
690
+ post_body = opts[:debug_body]
681
691
 
682
692
  # return_type
683
- return_type = opts[:return_type] || 'VerificationFlow'
693
+ return_type = opts[:debug_return_type] || 'VerificationFlow'
684
694
 
685
695
  # auth_names
686
- auth_names = opts[:auth_names] || []
696
+ auth_names = opts[:debug_auth_names] || []
687
697
 
688
698
  new_options = opts.merge(
699
+ :operation => :"AdminApi.get_self_service_verification_flow",
689
700
  :header_params => header_params,
690
701
  :query_params => query_params,
691
702
  :form_params => form_params,
@@ -751,15 +762,16 @@ module OryHydraClient
751
762
  form_params = opts[:form_params] || {}
752
763
 
753
764
  # http body (model)
754
- post_body = opts[:body]
765
+ post_body = opts[:debug_body]
755
766
 
756
767
  # return_type
757
- return_type = opts[:return_type] || 'Array<Identity>'
768
+ return_type = opts[:debug_return_type] || 'Array<Identity>'
758
769
 
759
770
  # auth_names
760
- auth_names = opts[:auth_names] || []
771
+ auth_names = opts[:debug_auth_names] || []
761
772
 
762
773
  new_options = opts.merge(
774
+ :operation => :"AdminApi.list_identities",
763
775
  :header_params => header_params,
764
776
  :query_params => query_params,
765
777
  :form_params => form_params,
@@ -805,15 +817,16 @@ module OryHydraClient
805
817
  form_params = opts[:form_params] || {}
806
818
 
807
819
  # http body (model)
808
- post_body = opts[:body]
820
+ post_body = opts[:debug_body]
809
821
 
810
822
  # return_type
811
- return_type = opts[:return_type]
823
+ return_type = opts[:debug_return_type]
812
824
 
813
825
  # auth_names
814
- auth_names = opts[:auth_names] || []
826
+ auth_names = opts[:debug_auth_names] || []
815
827
 
816
828
  new_options = opts.merge(
829
+ :operation => :"AdminApi.prometheus",
817
830
  :header_params => header_params,
818
831
  :query_params => query_params,
819
832
  :form_params => form_params,
@@ -871,15 +884,16 @@ module OryHydraClient
871
884
  form_params = opts[:form_params] || {}
872
885
 
873
886
  # http body (model)
874
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'body'])
887
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
875
888
 
876
889
  # return_type
877
- return_type = opts[:return_type] || 'Identity'
890
+ return_type = opts[:debug_return_type] || 'Identity'
878
891
 
879
892
  # auth_names
880
- auth_names = opts[:auth_names] || []
893
+ auth_names = opts[:debug_auth_names] || []
881
894
 
882
895
  new_options = opts.merge(
896
+ :operation => :"AdminApi.update_identity",
883
897
  :header_params => header_params,
884
898
  :query_params => query_params,
885
899
  :form_params => form_params,