ory-client 0.0.1.alpha17 → 0.0.1.alpha18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +138 -129
- data/docs/AdminCreateIdentityBody.md +2 -2
- data/docs/AdminCreateSelfServiceRecoveryLinkBody.md +2 -2
- data/docs/AdminUpdateIdentityBody.md +2 -2
- data/docs/AuthenticateOKBody.md +2 -2
- data/docs/AuthenticatorAssuranceLevel.md +15 -0
- data/docs/ContainerChangeResponseItem.md +2 -2
- data/docs/ContainerCreateCreatedBody.md +2 -2
- data/docs/ContainerTopOKBody.md +2 -2
- data/docs/ContainerUpdateOKBody.md +2 -2
- data/docs/ContainerWaitOKBody.md +2 -2
- data/docs/ContainerWaitOKBodyError.md +2 -2
- data/docs/ErrorResponse.md +2 -2
- data/docs/GenericError.md +2 -2
- data/docs/GraphDriverData.md +2 -2
- data/docs/HealthNotReadyStatus.md +2 -2
- data/docs/HealthStatus.md +2 -2
- data/docs/IdResponse.md +2 -2
- data/docs/Identity.md +2 -2
- data/docs/IdentityCredentials.md +3 -3
- data/docs/IdentityCredentialsType.md +15 -0
- data/docs/IdentityState.md +2 -2
- data/docs/ImageDeleteResponseItem.md +2 -2
- data/docs/ImageSummary.md +2 -2
- data/docs/InlineResponse200.md +2 -2
- data/docs/InlineResponse2001.md +2 -2
- data/docs/InlineResponse503.md +2 -2
- data/docs/JsonError.md +2 -2
- data/docs/Meta.md +2 -2
- data/docs/MetadataApi.md +13 -13
- data/docs/Plugin.md +2 -2
- data/docs/PluginConfig.md +2 -2
- data/docs/PluginConfigArgs.md +2 -2
- data/docs/PluginConfigInterface.md +2 -2
- data/docs/PluginConfigLinux.md +2 -2
- data/docs/PluginConfigNetwork.md +2 -2
- data/docs/PluginConfigRootfs.md +2 -2
- data/docs/PluginConfigUser.md +2 -2
- data/docs/PluginDevice.md +2 -2
- data/docs/PluginEnv.md +2 -2
- data/docs/PluginInterfaceType.md +2 -2
- data/docs/PluginMount.md +2 -2
- data/docs/PluginSettings.md +2 -2
- data/docs/Port.md +2 -2
- data/docs/RecoveryAddress.md +2 -2
- data/docs/SelfServiceError.md +2 -2
- data/docs/SelfServiceLoginFlow.md +6 -4
- data/docs/SelfServiceLogoutUrl.md +2 -2
- data/docs/SelfServiceRecoveryFlow.md +2 -2
- data/docs/SelfServiceRecoveryFlowState.md +2 -2
- data/docs/SelfServiceRecoveryLink.md +2 -2
- data/docs/SelfServiceRegistrationFlow.md +3 -3
- data/docs/SelfServiceSettingsFlow.md +2 -2
- data/docs/SelfServiceSettingsFlowState.md +2 -2
- data/docs/SelfServiceVerificationFlow.md +2 -2
- data/docs/SelfServiceVerificationFlowState.md +2 -2
- data/docs/ServiceUpdateResponse.md +2 -2
- data/docs/Session.md +9 -5
- data/docs/SessionAuthenticationMethod.md +20 -0
- data/docs/SessionDevice.md +18 -0
- data/docs/SettingsProfileFormConfig.md +2 -2
- data/docs/SubmitSelfServiceLoginFlowBody.md +14 -9
- data/docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md +22 -0
- data/docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md +2 -2
- data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +2 -2
- data/docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md +22 -0
- data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +22 -0
- data/docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md +2 -2
- data/docs/SubmitSelfServiceRecoveryFlowBody.md +6 -6
- data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md +2 -2
- data/docs/SubmitSelfServiceRegistrationFlowBody.md +6 -6
- data/docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md +2 -2
- data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md +2 -2
- data/docs/SubmitSelfServiceSettingsFlowBody.md +14 -9
- data/docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md +26 -0
- data/docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md +2 -2
- data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md +2 -2
- data/docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md +2 -2
- data/docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md +24 -0
- data/docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md +26 -0
- data/docs/SubmitSelfServiceVerificationFlowBody.md +6 -6
- data/docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md +2 -2
- data/docs/SuccessfulSelfServiceLoginWithoutBrowser.md +2 -2
- data/docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md +2 -2
- data/docs/UiContainer.md +2 -2
- data/docs/UiNode.md +2 -2
- data/docs/UiNodeAnchorAttributes.md +4 -2
- data/docs/UiNodeAttributes.md +4 -4
- data/docs/UiNodeImageAttributes.md +9 -3
- data/docs/UiNodeInputAttributes.md +4 -2
- data/docs/UiNodeTextAttributes.md +4 -2
- data/docs/UiText.md +2 -2
- data/docs/V0alpha2Api.md +2194 -0
- data/docs/VerifiableIdentityAddress.md +2 -2
- data/docs/Version.md +2 -2
- data/docs/Volume.md +2 -2
- data/docs/VolumeUsageData.md +2 -2
- data/lib/ory-client/api/metadata_api.rb +3 -3
- data/lib/ory-client/api/v0alpha2_api.rb +2069 -0
- data/lib/ory-client/api_client.rb +4 -4
- data/lib/ory-client/api_error.rb +3 -3
- data/lib/ory-client/configuration.rb +3 -3
- data/lib/ory-client/models/admin_create_identity_body.rb +6 -6
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +6 -6
- data/lib/ory-client/models/admin_update_identity_body.rb +6 -6
- data/lib/ory-client/models/authenticate_ok_body.rb +6 -6
- data/lib/ory-client/models/authenticator_assurance_level.rb +39 -0
- data/lib/ory-client/models/container_change_response_item.rb +6 -6
- data/lib/ory-client/models/container_create_created_body.rb +6 -6
- data/lib/ory-client/models/container_top_ok_body.rb +6 -6
- data/lib/ory-client/models/container_update_ok_body.rb +6 -6
- data/lib/ory-client/models/container_wait_ok_body.rb +6 -6
- data/lib/ory-client/models/container_wait_ok_body_error.rb +6 -6
- data/lib/ory-client/models/error_response.rb +6 -6
- data/lib/ory-client/models/generic_error.rb +6 -6
- data/lib/ory-client/models/graph_driver_data.rb +6 -6
- data/lib/ory-client/models/health_not_ready_status.rb +6 -6
- data/lib/ory-client/models/health_status.rb +6 -6
- data/lib/ory-client/models/id_response.rb +6 -6
- data/lib/ory-client/models/identity.rb +6 -6
- data/lib/ory-client/models/identity_credentials.rb +7 -8
- data/lib/ory-client/models/identity_credentials_type.rb +38 -0
- data/lib/ory-client/models/identity_state.rb +3 -3
- data/lib/ory-client/models/image_delete_response_item.rb +6 -6
- data/lib/ory-client/models/image_summary.rb +6 -6
- data/lib/ory-client/models/inline_response200.rb +6 -6
- data/lib/ory-client/models/inline_response2001.rb +6 -6
- data/lib/ory-client/models/inline_response503.rb +6 -6
- data/lib/ory-client/models/json_error.rb +6 -6
- data/lib/ory-client/models/meta.rb +6 -6
- data/lib/ory-client/models/plugin.rb +6 -6
- data/lib/ory-client/models/plugin_config.rb +6 -6
- data/lib/ory-client/models/plugin_config_args.rb +6 -6
- data/lib/ory-client/models/plugin_config_interface.rb +6 -6
- data/lib/ory-client/models/plugin_config_linux.rb +6 -6
- data/lib/ory-client/models/plugin_config_network.rb +6 -6
- data/lib/ory-client/models/plugin_config_rootfs.rb +6 -6
- data/lib/ory-client/models/plugin_config_user.rb +6 -6
- data/lib/ory-client/models/plugin_device.rb +6 -6
- data/lib/ory-client/models/plugin_env.rb +6 -6
- data/lib/ory-client/models/plugin_interface_type.rb +6 -6
- data/lib/ory-client/models/plugin_mount.rb +6 -6
- data/lib/ory-client/models/plugin_settings.rb +6 -6
- data/lib/ory-client/models/port.rb +6 -6
- data/lib/ory-client/models/recovery_address.rb +6 -6
- data/lib/ory-client/models/self_service_error.rb +6 -6
- data/lib/ory-client/models/self_service_login_flow.rb +18 -10
- data/lib/ory-client/models/self_service_logout_url.rb +6 -6
- data/lib/ory-client/models/self_service_recovery_flow.rb +6 -6
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +3 -3
- data/lib/ory-client/models/self_service_recovery_link.rb +6 -6
- data/lib/ory-client/models/self_service_registration_flow.rb +7 -8
- data/lib/ory-client/models/self_service_settings_flow.rb +6 -6
- data/lib/ory-client/models/self_service_settings_flow_state.rb +3 -3
- data/lib/ory-client/models/self_service_verification_flow.rb +6 -6
- data/lib/ory-client/models/self_service_verification_flow_state.rb +3 -3
- data/lib/ory-client/models/service_update_response.rb +6 -6
- data/lib/ory-client/models/session.rb +31 -10
- data/lib/ory-client/models/session_authentication_method.rb +263 -0
- data/lib/ory-client/models/session_device.rb +219 -0
- data/lib/ory-client/models/settings_profile_form_config.rb +6 -6
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +9 -6
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +249 -0
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +8 -8
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +249 -0
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +244 -0
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +9 -6
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +264 -0
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +8 -8
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +6 -6
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +254 -0
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +264 -0
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +6 -6
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +6 -6
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +6 -6
- data/lib/ory-client/models/ui_container.rb +6 -6
- data/lib/ory-client/models/ui_node.rb +6 -6
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +22 -7
- data/lib/ory-client/models/ui_node_attributes.rb +4 -4
- data/lib/ory-client/models/ui_node_image_attributes.rb +45 -10
- data/lib/ory-client/models/ui_node_input_attributes.rb +17 -7
- data/lib/ory-client/models/ui_node_text_attributes.rb +22 -7
- data/lib/ory-client/models/ui_text.rb +6 -6
- data/lib/ory-client/models/verifiable_identity_address.rb +6 -6
- data/lib/ory-client/models/version.rb +6 -6
- data/lib/ory-client/models/volume.rb +6 -6
- data/lib/ory-client/models/volume_usage_data.rb +6 -6
- data/lib/ory-client/version.rb +4 -4
- data/lib/ory-client.rb +15 -6
- data/ory-client.gemspec +3 -3
- data/spec/api/v0alpha2_api_spec.rb +434 -0
- data/spec/api_client_spec.rb +31 -31
- data/spec/configuration_spec.rb +5 -5
- data/spec/models/authenticator_assurance_level_spec.rb +28 -0
- data/spec/models/identity_credentials_type_spec.rb +28 -0
- data/spec/models/session_authentication_method_spec.rb +44 -0
- data/spec/models/session_device_spec.rb +34 -0
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +46 -0
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +46 -0
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +46 -0
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +58 -0
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +52 -0
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +58 -0
- data/spec/spec_helper.rb +2 -2
- metadata +46 -2
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,7 +17,7 @@ require 'tempfile'
|
|
17
17
|
require 'time'
|
18
18
|
require 'typhoeus'
|
19
19
|
|
20
|
-
module
|
20
|
+
module OryClient
|
21
21
|
class ApiClient
|
22
22
|
# The Configuration object holding settings to be used in the API client.
|
23
23
|
attr_accessor :config
|
@@ -276,7 +276,7 @@ module OryHydraClient
|
|
276
276
|
end
|
277
277
|
else
|
278
278
|
# models (e.g. Pet) or oneOf
|
279
|
-
klass =
|
279
|
+
klass = OryClient.const_get(return_type)
|
280
280
|
klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data)
|
281
281
|
end
|
282
282
|
end
|
data/lib/ory-client/api_error.rb
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
module
|
13
|
+
module OryClient
|
14
14
|
class ApiError < StandardError
|
15
15
|
attr_reader :code, :response_headers, :response_body
|
16
16
|
|
@@ -3,14 +3,14 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
module
|
13
|
+
module OryClient
|
14
14
|
class Configuration
|
15
15
|
# Defines url scheme
|
16
16
|
attr_accessor :scheme
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
class AdminCreateIdentityBody
|
18
18
|
# SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
|
19
19
|
attr_accessor :schema_id
|
@@ -52,13 +52,13 @@ module OryHydraClient
|
|
52
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
53
53
|
def initialize(attributes = {})
|
54
54
|
if (!attributes.is_a?(Hash))
|
55
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AdminCreateIdentityBody` initialize method"
|
56
56
|
end
|
57
57
|
|
58
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
59
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
60
|
if (!self.class.attribute_map.key?(k.to_sym))
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::AdminCreateIdentityBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
62
62
|
end
|
63
63
|
h[k.to_sym] = v
|
64
64
|
}
|
@@ -183,7 +183,7 @@ module OryHydraClient
|
|
183
183
|
end
|
184
184
|
else # model
|
185
185
|
# models (e.g. Pet) or oneOf
|
186
|
-
klass =
|
186
|
+
klass = OryClient.const_get(type)
|
187
187
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
188
188
|
end
|
189
189
|
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
class AdminCreateSelfServiceRecoveryLinkBody
|
18
18
|
# Link Expires In The recovery link will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`.
|
19
19
|
attr_accessor :expires_in
|
@@ -51,13 +51,13 @@ module OryHydraClient
|
|
51
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
52
52
|
def initialize(attributes = {})
|
53
53
|
if (!attributes.is_a?(Hash))
|
54
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AdminCreateSelfServiceRecoveryLinkBody` initialize method"
|
55
55
|
end
|
56
56
|
|
57
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
58
58
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
59
|
if (!self.class.attribute_map.key?(k.to_sym))
|
60
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::AdminCreateSelfServiceRecoveryLinkBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
61
61
|
end
|
62
62
|
h[k.to_sym] = v
|
63
63
|
}
|
@@ -194,7 +194,7 @@ module OryHydraClient
|
|
194
194
|
end
|
195
195
|
else # model
|
196
196
|
# models (e.g. Pet) or oneOf
|
197
|
-
klass =
|
197
|
+
klass = OryClient.const_get(type)
|
198
198
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
199
199
|
end
|
200
200
|
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
class AdminUpdateIdentityBody
|
18
18
|
# 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.
|
19
19
|
attr_accessor :schema_id
|
@@ -56,13 +56,13 @@ module OryHydraClient
|
|
56
56
|
# @param [Hash] attributes Model attributes in the form of hash
|
57
57
|
def initialize(attributes = {})
|
58
58
|
if (!attributes.is_a?(Hash))
|
59
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
59
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AdminUpdateIdentityBody` initialize method"
|
60
60
|
end
|
61
61
|
|
62
62
|
# check to see if the attribute exists and convert string to symbol for hash key
|
63
63
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
64
64
|
if (!self.class.attribute_map.key?(k.to_sym))
|
65
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::AdminUpdateIdentityBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
66
66
|
end
|
67
67
|
h[k.to_sym] = v
|
68
68
|
}
|
@@ -192,7 +192,7 @@ module OryHydraClient
|
|
192
192
|
end
|
193
193
|
else # model
|
194
194
|
# models (e.g. Pet) or oneOf
|
195
|
-
klass =
|
195
|
+
klass = OryClient.const_get(type)
|
196
196
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
197
197
|
end
|
198
198
|
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
# AuthenticateOKBody authenticate o k body
|
18
18
|
class AuthenticateOKBody
|
19
19
|
# An opaque token used to authenticate a user after a successful login
|
@@ -53,13 +53,13 @@ module OryHydraClient
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
54
54
|
def initialize(attributes = {})
|
55
55
|
if (!attributes.is_a?(Hash))
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AuthenticateOKBody` initialize method"
|
57
57
|
end
|
58
58
|
|
59
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::AuthenticateOKBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
63
|
end
|
64
64
|
h[k.to_sym] = v
|
65
65
|
}
|
@@ -184,7 +184,7 @@ module OryHydraClient
|
|
184
184
|
end
|
185
185
|
else # model
|
186
186
|
# models (e.g. Pet) or oneOf
|
187
|
-
klass =
|
187
|
+
klass = OryClient.const_get(type)
|
188
188
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
189
189
|
end
|
190
190
|
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
=begin
|
2
|
+
#Ory APIs
|
3
|
+
|
4
|
+
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
class AuthenticatorAssuranceLevel
|
18
|
+
AAL0 = "aal0".freeze
|
19
|
+
AAL1 = "aal1".freeze
|
20
|
+
AAL2 = "aal2".freeze
|
21
|
+
AAL3 = "aal3".freeze
|
22
|
+
|
23
|
+
# Builds the enum from string
|
24
|
+
# @param [String] The enum value in the form of the string
|
25
|
+
# @return [String] The enum value
|
26
|
+
def self.build_from_hash(value)
|
27
|
+
new.build_from_hash(value)
|
28
|
+
end
|
29
|
+
|
30
|
+
# Builds the enum from string
|
31
|
+
# @param [String] The enum value in the form of the string
|
32
|
+
# @return [String] The enum value
|
33
|
+
def build_from_hash(value)
|
34
|
+
constantValues = AuthenticatorAssuranceLevel.constants.select { |c| AuthenticatorAssuranceLevel::const_get(c) == value }
|
35
|
+
raise "Invalid ENUM value #{value} for class #AuthenticatorAssuranceLevel" if constantValues.empty?
|
36
|
+
value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
# ContainerChangeResponseItem change item in response to ContainerChanges operation
|
18
18
|
class ContainerChangeResponseItem
|
19
19
|
# Kind of change
|
@@ -53,13 +53,13 @@ module OryHydraClient
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
54
54
|
def initialize(attributes = {})
|
55
55
|
if (!attributes.is_a?(Hash))
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ContainerChangeResponseItem` initialize method"
|
57
57
|
end
|
58
58
|
|
59
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ContainerChangeResponseItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
63
|
end
|
64
64
|
h[k.to_sym] = v
|
65
65
|
}
|
@@ -184,7 +184,7 @@ module OryHydraClient
|
|
184
184
|
end
|
185
185
|
else # model
|
186
186
|
# models (e.g. Pet) or oneOf
|
187
|
-
klass =
|
187
|
+
klass = OryClient.const_get(type)
|
188
188
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
189
189
|
end
|
190
190
|
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
# ContainerCreateCreatedBody OK response to ContainerCreate operation
|
18
18
|
class ContainerCreateCreatedBody
|
19
19
|
# The ID of the created container
|
@@ -53,13 +53,13 @@ module OryHydraClient
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
54
54
|
def initialize(attributes = {})
|
55
55
|
if (!attributes.is_a?(Hash))
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ContainerCreateCreatedBody` initialize method"
|
57
57
|
end
|
58
58
|
|
59
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ContainerCreateCreatedBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
63
|
end
|
64
64
|
h[k.to_sym] = v
|
65
65
|
}
|
@@ -186,7 +186,7 @@ module OryHydraClient
|
|
186
186
|
end
|
187
187
|
else # model
|
188
188
|
# models (e.g. Pet) or oneOf
|
189
|
-
klass =
|
189
|
+
klass = OryClient.const_get(type)
|
190
190
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
191
191
|
end
|
192
192
|
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
# ContainerTopOKBody OK response to ContainerTop operation
|
18
18
|
class ContainerTopOKBody
|
19
19
|
# Each process running in the container, where each is process is an array of values corresponding to the titles
|
@@ -53,13 +53,13 @@ module OryHydraClient
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
54
54
|
def initialize(attributes = {})
|
55
55
|
if (!attributes.is_a?(Hash))
|
56
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ContainerTopOKBody` initialize method"
|
57
57
|
end
|
58
58
|
|
59
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!self.class.attribute_map.key?(k.to_sym))
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ContainerTopOKBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
63
63
|
end
|
64
64
|
h[k.to_sym] = v
|
65
65
|
}
|
@@ -188,7 +188,7 @@ module OryHydraClient
|
|
188
188
|
end
|
189
189
|
else # model
|
190
190
|
# models (e.g. Pet) or oneOf
|
191
|
-
klass =
|
191
|
+
klass = OryClient.const_get(type)
|
192
192
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
193
193
|
end
|
194
194
|
end
|
@@ -3,17 +3,17 @@
|
|
3
3
|
|
4
4
|
#Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.18
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.2.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module OryClient
|
17
17
|
# ContainerUpdateOKBody OK response to ContainerUpdate operation
|
18
18
|
class ContainerUpdateOKBody
|
19
19
|
# warnings
|
@@ -48,13 +48,13 @@ module OryHydraClient
|
|
48
48
|
# @param [Hash] attributes Model attributes in the form of hash
|
49
49
|
def initialize(attributes = {})
|
50
50
|
if (!attributes.is_a?(Hash))
|
51
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ContainerUpdateOKBody` initialize method"
|
52
52
|
end
|
53
53
|
|
54
54
|
# check to see if the attribute exists and convert string to symbol for hash key
|
55
55
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
56
|
if (!self.class.attribute_map.key?(k.to_sym))
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ContainerUpdateOKBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
58
58
|
end
|
59
59
|
h[k.to_sym] = v
|
60
60
|
}
|
@@ -171,7 +171,7 @@ module OryHydraClient
|
|
171
171
|
end
|
172
172
|
else # model
|
173
173
|
# models (e.g. Pet) or oneOf
|
174
|
-
klass =
|
174
|
+
klass = OryClient.const_get(type)
|
175
175
|
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
176
176
|
end
|
177
177
|
end
|