ory-client-client 0.0.1.alpha1
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +231 -0
- data/Rakefile +10 -0
- data/docs/AuthenticateOKBody.md +20 -0
- data/docs/ContainerChangeResponseItem.md +20 -0
- data/docs/ContainerCreateCreatedBody.md +20 -0
- data/docs/ContainerTopOKBody.md +20 -0
- data/docs/ContainerUpdateOKBody.md +18 -0
- data/docs/ContainerWaitOKBody.md +20 -0
- data/docs/ContainerWaitOKBodyError.md +18 -0
- data/docs/CreateIdentity.md +20 -0
- data/docs/CreateRecoveryLink.md +20 -0
- data/docs/DefaultApi.md +2902 -0
- data/docs/ErrorContainer.md +20 -0
- data/docs/ErrorResponse.md +18 -0
- data/docs/GenericError.md +30 -0
- data/docs/GraphDriverData.md +20 -0
- data/docs/HealthNotReadyStatus.md +18 -0
- data/docs/HealthStatus.md +18 -0
- data/docs/IdResponse.md +18 -0
- data/docs/Identity.md +28 -0
- data/docs/IdentityCredentials.md +22 -0
- data/docs/ImageDeleteResponseItem.md +20 -0
- data/docs/ImageSummary.md +36 -0
- data/docs/InlineResponse200.md +18 -0
- data/docs/InlineResponse2001.md +18 -0
- data/docs/InlineResponse503.md +18 -0
- data/docs/JsonError.md +18 -0
- data/docs/LoginFlow.md +32 -0
- data/docs/LoginViaApiResponse.md +20 -0
- data/docs/Meta.md +18 -0
- data/docs/Plugin.md +28 -0
- data/docs/PluginConfig.md +48 -0
- data/docs/PluginConfigArgs.md +24 -0
- data/docs/PluginConfigInterface.md +20 -0
- data/docs/PluginConfigLinux.md +22 -0
- data/docs/PluginConfigNetwork.md +18 -0
- data/docs/PluginConfigRootfs.md +20 -0
- data/docs/PluginConfigUser.md +20 -0
- data/docs/PluginDevice.md +24 -0
- data/docs/PluginEnv.md +24 -0
- data/docs/PluginInterfaceType.md +22 -0
- data/docs/PluginMount.md +30 -0
- data/docs/PluginSettings.md +24 -0
- data/docs/Port.md +24 -0
- data/docs/RecoveryAddress.md +22 -0
- data/docs/RecoveryFlow.md +32 -0
- data/docs/RecoveryLink.md +20 -0
- data/docs/RegistrationFlow.md +30 -0
- data/docs/RegistrationViaApiResponse.md +22 -0
- data/docs/RevokeSession.md +18 -0
- data/docs/ServiceUpdateResponse.md +18 -0
- data/docs/Session.md +28 -0
- data/docs/SettingsFlow.md +34 -0
- data/docs/SettingsProfileFormConfig.md +24 -0
- data/docs/SettingsViaApiResponse.md +20 -0
- data/docs/SubmitSelfServiceBrowserSettingsOIDCFlowPayload.md +22 -0
- data/docs/SubmitSelfServiceLoginFlow.md +47 -0
- data/docs/SubmitSelfServiceLoginFlowWithPasswordMethod.md +24 -0
- data/docs/SubmitSelfServiceRecoveryFlowWithLinkMethod.md +20 -0
- data/docs/SubmitSelfServiceRegistrationFlow.md +47 -0
- data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethod.md +24 -0
- data/docs/SubmitSelfServiceSettingsFlow.md +49 -0
- data/docs/SubmitSelfServiceSettingsFlowWithPasswordMethod.md +22 -0
- data/docs/SubmitSelfServiceSettingsFlowWithProfileMethod.md +22 -0
- data/docs/SubmitSelfServiceVerificationFlowWithLinkMethod.md +20 -0
- data/docs/UiContainer.md +24 -0
- data/docs/UiNode.md +26 -0
- data/docs/UiNodeAnchorAttributes.md +20 -0
- data/docs/UiNodeAttributes.md +53 -0
- data/docs/UiNodeImageAttributes.md +18 -0
- data/docs/UiNodeInputAttributes.md +30 -0
- data/docs/UiNodeInputAttributesValue.md +51 -0
- data/docs/UiNodeTextAttributes.md +18 -0
- data/docs/UiText.md +24 -0
- data/docs/UpdateIdentity.md +20 -0
- data/docs/VerifiableIdentityAddress.md +32 -0
- data/docs/VerificationFlow.md +32 -0
- data/docs/Version.md +18 -0
- data/docs/Volume.md +34 -0
- data/docs/VolumeUsageData.md +20 -0
- data/lib/ory-client-client.rb +117 -0
- data/lib/ory-client-client/api/default_api.rb +2690 -0
- data/lib/ory-client-client/api_client.rb +390 -0
- data/lib/ory-client-client/api_error.rb +57 -0
- data/lib/ory-client-client/configuration.rb +297 -0
- data/lib/ory-client-client/models/authenticate_ok_body.rb +240 -0
- data/lib/ory-client-client/models/container_change_response_item.rb +240 -0
- data/lib/ory-client-client/models/container_create_created_body.rb +242 -0
- data/lib/ory-client-client/models/container_top_ok_body.rb +244 -0
- data/lib/ory-client-client/models/container_update_ok_body.rb +227 -0
- data/lib/ory-client-client/models/container_wait_ok_body.rb +239 -0
- data/lib/ory-client-client/models/container_wait_ok_body_error.rb +220 -0
- data/lib/ory-client-client/models/create_identity.rb +239 -0
- data/lib/ory-client-client/models/create_recovery_link.rb +250 -0
- data/lib/ory-client-client/models/error_container.rb +240 -0
- data/lib/ory-client-client/models/error_response.rb +224 -0
- data/lib/ory-client-client/models/generic_error.rb +286 -0
- data/lib/ory-client-client/models/graph_driver_data.rb +241 -0
- data/lib/ory-client-client/models/health_not_ready_status.rb +221 -0
- data/lib/ory-client-client/models/health_status.rb +219 -0
- data/lib/ory-client-client/models/id_response.rb +225 -0
- data/lib/ory-client-client/models/identity.rb +289 -0
- data/lib/ory-client-client/models/identity_credentials.rb +241 -0
- data/lib/ory-client-client/models/image_delete_response_item.rb +230 -0
- data/lib/ory-client-client/models/image_summary.rb +366 -0
- data/lib/ory-client-client/models/inline_response200.rb +224 -0
- data/lib/ory-client-client/models/inline_response2001.rb +224 -0
- data/lib/ory-client-client/models/inline_response503.rb +226 -0
- data/lib/ory-client-client/models/json_error.rb +224 -0
- data/lib/ory-client-client/models/login_flow.rb +318 -0
- data/lib/ory-client-client/models/login_via_api_response.rb +239 -0
- data/lib/ory-client-client/models/meta.rb +219 -0
- data/lib/ory-client-client/models/plugin.rb +288 -0
- data/lib/ory-client-client/models/plugin_config.rb +434 -0
- data/lib/ory-client-client/models/plugin_config_args.rb +274 -0
- data/lib/ory-client-client/models/plugin_config_interface.rb +242 -0
- data/lib/ory-client-client/models/plugin_config_linux.rb +259 -0
- data/lib/ory-client-client/models/plugin_config_network.rb +225 -0
- data/lib/ory-client-client/models/plugin_config_rootfs.rb +232 -0
- data/lib/ory-client-client/models/plugin_config_user.rb +230 -0
- data/lib/ory-client-client/models/plugin_device.rb +272 -0
- data/lib/ory-client-client/models/plugin_env.rb +272 -0
- data/lib/ory-client-client/models/plugin_interface_type.rb +255 -0
- data/lib/ory-client-client/models/plugin_mount.rb +319 -0
- data/lib/ory-client-client/models/plugin_settings.rb +277 -0
- data/lib/ory-client-client/models/port.rb +260 -0
- data/lib/ory-client-client/models/recovery_address.rb +251 -0
- data/lib/ory-client-client/models/recovery_flow.rb +317 -0
- data/lib/ory-client-client/models/recovery_link.rb +234 -0
- data/lib/ory-client-client/models/registration_flow.rb +302 -0
- data/lib/ory-client-client/models/registration_via_api_response.rb +248 -0
- data/lib/ory-client-client/models/revoke_session.rb +224 -0
- data/lib/ory-client-client/models/service_update_response.rb +222 -0
- data/lib/ory-client-client/models/session.rb +288 -0
- data/lib/ory-client-client/models/settings_flow.rb +331 -0
- data/lib/ory-client-client/models/settings_profile_form_config.rb +266 -0
- data/lib/ory-client-client/models/settings_via_api_response.rb +238 -0
- data/lib/ory-client-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +239 -0
- data/lib/ory-client-client/models/submit_self_service_login_flow.rb +104 -0
- data/lib/ory-client-client/models/submit_self_service_login_flow_with_password_method.rb +249 -0
- data/lib/ory-client-client/models/submit_self_service_recovery_flow_with_link_method.rb +229 -0
- data/lib/ory-client-client/models/submit_self_service_registration_flow.rb +104 -0
- data/lib/ory-client-client/models/submit_self_service_registration_flow_with_password_method.rb +276 -0
- data/lib/ory-client-client/models/submit_self_service_settings_flow.rb +105 -0
- data/lib/ory-client-client/models/submit_self_service_settings_flow_with_password_method.rb +244 -0
- data/lib/ory-client-client/models/submit_self_service_settings_flow_with_profile_method.rb +245 -0
- data/lib/ory-client-client/models/submit_self_service_verification_flow_with_link_method.rb +230 -0
- data/lib/ory-client-client/models/ui_container.rb +267 -0
- data/lib/ory-client-client/models/ui_node.rb +282 -0
- data/lib/ory-client-client/models/ui_node_anchor_attributes.rb +238 -0
- data/lib/ory-client-client/models/ui_node_attributes.rb +107 -0
- data/lib/ory-client-client/models/ui_node_image_attributes.rb +224 -0
- data/lib/ory-client-client/models/ui_node_input_attributes.rb +292 -0
- data/lib/ory-client-client/models/ui_node_input_attributes_value.rb +106 -0
- data/lib/ory-client-client/models/ui_node_text_attributes.rb +223 -0
- data/lib/ory-client-client/models/ui_text.rb +262 -0
- data/lib/ory-client-client/models/update_identity.rb +234 -0
- data/lib/ory-client-client/models/verifiable_identity_address.rb +313 -0
- data/lib/ory-client-client/models/verification_flow.rb +307 -0
- data/lib/ory-client-client/models/version.rb +219 -0
- data/lib/ory-client-client/models/volume.rb +335 -0
- data/lib/ory-client-client/models/volume_usage_data.rb +240 -0
- data/lib/ory-client-client/version.rb +15 -0
- data/ory-client-client.gemspec +38 -0
- data/spec/api/default_api_spec.rb +544 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/authenticate_ok_body_spec.rb +40 -0
- data/spec/models/container_change_response_item_spec.rb +40 -0
- data/spec/models/container_create_created_body_spec.rb +40 -0
- data/spec/models/container_top_ok_body_spec.rb +40 -0
- data/spec/models/container_update_ok_body_spec.rb +34 -0
- data/spec/models/container_wait_ok_body_error_spec.rb +34 -0
- data/spec/models/container_wait_ok_body_spec.rb +40 -0
- data/spec/models/create_identity_spec.rb +40 -0
- data/spec/models/create_recovery_link_spec.rb +40 -0
- data/spec/models/error_container_spec.rb +40 -0
- data/spec/models/error_response_spec.rb +34 -0
- data/spec/models/generic_error_spec.rb +70 -0
- data/spec/models/graph_driver_data_spec.rb +40 -0
- data/spec/models/health_not_ready_status_spec.rb +34 -0
- data/spec/models/health_status_spec.rb +34 -0
- data/spec/models/id_response_spec.rb +34 -0
- data/spec/models/identity_credentials_spec.rb +46 -0
- data/spec/models/identity_spec.rb +64 -0
- data/spec/models/image_delete_response_item_spec.rb +40 -0
- data/spec/models/image_summary_spec.rb +88 -0
- data/spec/models/inline_response2001_spec.rb +34 -0
- data/spec/models/inline_response200_spec.rb +34 -0
- data/spec/models/inline_response503_spec.rb +34 -0
- data/spec/models/json_error_spec.rb +34 -0
- data/spec/models/login_flow_spec.rb +76 -0
- data/spec/models/login_via_api_response_spec.rb +40 -0
- data/spec/models/meta_spec.rb +34 -0
- data/spec/models/plugin_config_args_spec.rb +52 -0
- data/spec/models/plugin_config_interface_spec.rb +40 -0
- data/spec/models/plugin_config_linux_spec.rb +46 -0
- data/spec/models/plugin_config_network_spec.rb +34 -0
- data/spec/models/plugin_config_rootfs_spec.rb +40 -0
- data/spec/models/plugin_config_spec.rb +124 -0
- data/spec/models/plugin_config_user_spec.rb +40 -0
- data/spec/models/plugin_device_spec.rb +52 -0
- data/spec/models/plugin_env_spec.rb +52 -0
- data/spec/models/plugin_interface_type_spec.rb +46 -0
- data/spec/models/plugin_mount_spec.rb +70 -0
- data/spec/models/plugin_settings_spec.rb +52 -0
- data/spec/models/plugin_spec.rb +64 -0
- data/spec/models/port_spec.rb +52 -0
- data/spec/models/recovery_address_spec.rb +46 -0
- data/spec/models/recovery_flow_spec.rb +76 -0
- data/spec/models/recovery_link_spec.rb +40 -0
- data/spec/models/registration_flow_spec.rb +70 -0
- data/spec/models/registration_via_api_response_spec.rb +46 -0
- data/spec/models/revoke_session_spec.rb +34 -0
- data/spec/models/service_update_response_spec.rb +34 -0
- data/spec/models/session_spec.rb +64 -0
- data/spec/models/settings_flow_spec.rb +82 -0
- data/spec/models/settings_profile_form_config_spec.rb +52 -0
- data/spec/models/settings_via_api_response_spec.rb +40 -0
- data/spec/models/submit_self_service_browser_settings_oidc_flow_payload_spec.rb +46 -0
- data/spec/models/submit_self_service_login_flow_spec.rb +31 -0
- data/spec/models/submit_self_service_login_flow_with_password_method_spec.rb +52 -0
- data/spec/models/submit_self_service_recovery_flow_with_link_method_spec.rb +40 -0
- data/spec/models/submit_self_service_registration_flow_spec.rb +31 -0
- data/spec/models/submit_self_service_registration_flow_with_password_method_spec.rb +52 -0
- data/spec/models/submit_self_service_settings_flow_spec.rb +31 -0
- data/spec/models/submit_self_service_settings_flow_with_password_method_spec.rb +46 -0
- data/spec/models/submit_self_service_settings_flow_with_profile_method_spec.rb +46 -0
- data/spec/models/submit_self_service_verification_flow_with_link_method_spec.rb +40 -0
- data/spec/models/ui_container_spec.rb +52 -0
- data/spec/models/ui_node_anchor_attributes_spec.rb +40 -0
- data/spec/models/ui_node_attributes_spec.rb +31 -0
- data/spec/models/ui_node_image_attributes_spec.rb +34 -0
- data/spec/models/ui_node_input_attributes_spec.rb +70 -0
- data/spec/models/ui_node_input_attributes_value_spec.rb +31 -0
- data/spec/models/ui_node_spec.rb +58 -0
- data/spec/models/ui_node_text_attributes_spec.rb +34 -0
- data/spec/models/ui_text_spec.rb +52 -0
- data/spec/models/update_identity_spec.rb +40 -0
- data/spec/models/verifiable_identity_address_spec.rb +76 -0
- data/spec/models/verification_flow_spec.rb +76 -0
- data/spec/models/version_spec.rb +34 -0
- data/spec/models/volume_spec.rb +82 -0
- data/spec/models/volume_usage_data_spec.rb +40 -0
- data/spec/spec_helper.rb +111 -0
- metadata +413 -0
|
@@ -0,0 +1,46 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceBrowserSettingsOIDCFlowPayload' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceBrowserSettingsOIDCFlowPayload' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "flow"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "link"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "unlink"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceLoginFlow
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceLoginFlow do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceLoginFlowWithPasswordMethod' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceLoginFlowWithPasswordMethod' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "csrf_token"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "method"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "password"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "password_identifier"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceRecoveryFlowWithLinkMethod' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceRecoveryFlowWithLinkMethod' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "csrf_token"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "email"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceRegistrationFlow
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceRegistrationFlow do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceRegistrationFlowWithPasswordMethod' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceRegistrationFlowWithPasswordMethod' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "csrf_token"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "method"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "password"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "traits"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceSettingsFlow
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceSettingsFlow do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceSettingsFlowWithPasswordMethod' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceSettingsFlowWithPasswordMethod' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "csrf_token"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "method"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "password"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceSettingsFlowWithProfileMethod
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceSettingsFlowWithProfileMethod do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceSettingsFlowWithProfileMethod.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceSettingsFlowWithProfileMethod' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceSettingsFlowWithProfileMethod' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceSettingsFlowWithProfileMethod)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "csrf_token"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "method"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "traits"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod do
|
|
21
|
+
let(:instance) { OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SubmitSelfServiceVerificationFlowWithLinkMethod' do
|
|
24
|
+
it 'should create an instance of SubmitSelfServiceVerificationFlowWithLinkMethod' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "csrf_token"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "email"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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.1
|
|
7
|
+
Contact: support@ory.sh
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.1.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for OryHydraClient::UiContainer
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe OryHydraClient::UiContainer do
|
|
21
|
+
let(:instance) { OryHydraClient::UiContainer.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UiContainer' do
|
|
24
|
+
it 'should create an instance of UiContainer' do
|
|
25
|
+
expect(instance).to be_instance_of(OryHydraClient::UiContainer)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "action"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "messages"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "method"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "nodes"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|