ory-kratos-client 0.5.5.alpha2 → 0.6.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +85 -36
- data/docs/AdminApi.md +206 -20
- 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/ErrorContainer.md +1 -1
- data/docs/ErrorResponse.md +18 -0
- data/docs/GenericErrorPayload.md +1 -1
- data/docs/GraphDriverData.md +20 -0
- data/docs/IdResponse.md +18 -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/LoginFlow.md +5 -7
- 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/PublicApi.md +481 -552
- data/docs/RecoveryFlow.md +4 -6
- data/docs/RegistrationFlow.md +4 -6
- data/docs/ServiceUpdateResponse.md +18 -0
- data/docs/SettingsFlow.md +4 -6
- data/docs/{RecoveryFlowMethodConfig.md → SettingsProfileFormConfig.md} +6 -6
- data/docs/SubmitSelfServiceBrowserSettingsOIDCFlowPayload.md +22 -0
- data/docs/SubmitSelfServiceLoginFlow.md +47 -0
- data/docs/SubmitSelfServiceLoginFlowWithPasswordMethod.md +24 -0
- data/docs/{CompleteSelfServiceRecoveryFlowWithLinkMethod.md → SubmitSelfServiceRecoveryFlowWithLinkMethod.md} +2 -2
- data/docs/SubmitSelfServiceRegistrationFlow.md +47 -0
- data/docs/SubmitSelfServiceRegistrationFlowWithPasswordMethod.md +24 -0
- data/docs/SubmitSelfServiceSettingsFlow.md +49 -0
- data/docs/{CompleteSelfServiceSettingsFlowWithPasswordMethod.md → SubmitSelfServiceSettingsFlowWithPasswordMethod.md} +4 -2
- data/docs/SubmitSelfServiceSettingsFlowWithProfileMethod.md +22 -0
- data/docs/{CompleteSelfServiceVerificationFlowWithLinkMethod.md → SubmitSelfServiceVerificationFlowWithLinkMethod.md} +2 -2
- data/docs/{SettingsFlowMethodConfig.md → UiContainer.md} +6 -6
- 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/VerificationFlow.md +6 -8
- data/docs/Volume.md +34 -0
- data/docs/VolumeUsageData.md +20 -0
- data/lib/ory-kratos-client.rb +59 -23
- data/lib/ory-kratos-client/api/admin_api.rb +207 -36
- data/lib/ory-kratos-client/api/public_api.rb +494 -538
- data/lib/ory-kratos-client/api_client.rb +6 -6
- data/lib/ory-kratos-client/api_error.rb +5 -5
- data/lib/ory-kratos-client/configuration.rb +36 -13
- data/lib/ory-kratos-client/models/authenticate_ok_body.rb +240 -0
- data/lib/ory-kratos-client/models/container_change_response_item.rb +240 -0
- data/lib/ory-kratos-client/models/container_create_created_body.rb +242 -0
- data/lib/ory-kratos-client/models/container_top_ok_body.rb +244 -0
- data/lib/ory-kratos-client/models/container_update_ok_body.rb +227 -0
- data/lib/ory-kratos-client/models/container_wait_ok_body.rb +239 -0
- data/lib/ory-kratos-client/models/container_wait_ok_body_error.rb +220 -0
- data/lib/ory-kratos-client/models/create_identity.rb +5 -5
- data/lib/ory-kratos-client/models/create_recovery_link.rb +5 -5
- data/lib/ory-kratos-client/models/error_container.rb +9 -7
- data/lib/ory-kratos-client/models/{registration_flow_method.rb → error_response.rb} +19 -33
- data/lib/ory-kratos-client/models/generic_error.rb +5 -5
- data/lib/ory-kratos-client/models/generic_error_payload.rb +9 -7
- data/lib/ory-kratos-client/models/graph_driver_data.rb +241 -0
- data/lib/ory-kratos-client/models/health_not_ready_status.rb +5 -5
- data/lib/ory-kratos-client/models/health_status.rb +5 -5
- data/lib/ory-kratos-client/models/id_response.rb +225 -0
- data/lib/ory-kratos-client/models/identity.rb +5 -5
- data/lib/ory-kratos-client/models/identity_credentials.rb +241 -0
- data/lib/ory-kratos-client/models/{complete_self_service_login_flow_with_password_method.rb → image_delete_response_item.rb} +24 -33
- data/lib/ory-kratos-client/models/image_summary.rb +366 -0
- data/lib/ory-kratos-client/models/{recovery_flow_method.rb → inline_response200.rb} +19 -33
- data/lib/ory-kratos-client/models/{settings_flow_method.rb → inline_response2001.rb} +19 -33
- data/lib/ory-kratos-client/models/inline_response503.rb +226 -0
- data/lib/ory-kratos-client/models/login_flow.rb +29 -38
- data/lib/ory-kratos-client/models/login_via_api_response.rb +5 -5
- data/lib/ory-kratos-client/models/meta.rb +219 -0
- data/lib/ory-kratos-client/models/plugin.rb +288 -0
- data/lib/ory-kratos-client/models/plugin_config.rb +434 -0
- data/lib/ory-kratos-client/models/plugin_config_args.rb +274 -0
- data/lib/ory-kratos-client/models/plugin_config_interface.rb +242 -0
- data/lib/ory-kratos-client/models/plugin_config_linux.rb +259 -0
- data/lib/ory-kratos-client/models/{message.rb → plugin_config_network.rb} +17 -38
- data/lib/ory-kratos-client/models/plugin_config_rootfs.rb +232 -0
- data/lib/ory-kratos-client/models/plugin_config_user.rb +230 -0
- data/lib/ory-kratos-client/models/plugin_device.rb +272 -0
- data/lib/ory-kratos-client/models/plugin_env.rb +272 -0
- data/lib/ory-kratos-client/models/{settings_flow_method_config.rb → plugin_interface_type.rb} +40 -52
- data/lib/ory-kratos-client/models/plugin_mount.rb +319 -0
- data/lib/ory-kratos-client/models/plugin_settings.rb +277 -0
- data/lib/ory-kratos-client/models/port.rb +260 -0
- data/lib/ory-kratos-client/models/recovery_address.rb +5 -5
- data/lib/ory-kratos-client/models/recovery_flow.rb +24 -38
- data/lib/ory-kratos-client/models/recovery_link.rb +5 -5
- data/lib/ory-kratos-client/models/registration_flow.rb +24 -38
- data/lib/ory-kratos-client/models/registration_via_api_response.rb +5 -5
- data/lib/ory-kratos-client/models/revoke_session.rb +5 -5
- data/lib/ory-kratos-client/models/service_update_response.rb +222 -0
- data/lib/ory-kratos-client/models/session.rb +5 -5
- data/lib/ory-kratos-client/models/settings_flow.rb +24 -38
- data/lib/ory-kratos-client/models/{login_flow_method_config.rb → settings_profile_form_config.rb} +22 -35
- data/lib/ory-kratos-client/models/settings_via_api_response.rb +5 -5
- data/lib/ory-kratos-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +239 -0
- data/lib/ory-kratos-client/models/submit_self_service_login_flow.rb +104 -0
- data/lib/ory-kratos-client/models/submit_self_service_login_flow_with_password_method.rb +249 -0
- data/lib/ory-kratos-client/models/{complete_self_service_recovery_flow_with_link_method.rb → submit_self_service_recovery_flow_with_link_method.rb} +8 -8
- data/lib/ory-kratos-client/models/submit_self_service_registration_flow.rb +104 -0
- data/lib/ory-kratos-client/models/{recovery_flow_method_config.rb → submit_self_service_registration_flow_with_password_method.rb} +38 -50
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow.rb +105 -0
- data/lib/ory-kratos-client/models/{complete_self_service_settings_flow_with_password_method.rb → submit_self_service_settings_flow_with_password_method.rb} +19 -9
- data/lib/ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method.rb +245 -0
- data/lib/ory-kratos-client/models/{complete_self_service_verification_flow_with_link_method.rb → submit_self_service_verification_flow_with_link_method.rb} +9 -8
- data/lib/ory-kratos-client/models/{registration_flow_method_config.rb → ui_container.rb} +23 -35
- data/lib/ory-kratos-client/models/ui_node.rb +282 -0
- data/lib/ory-kratos-client/models/{verification_flow_method.rb → ui_node_anchor_attributes.rb} +28 -28
- data/lib/ory-kratos-client/models/ui_node_attributes.rb +107 -0
- data/lib/ory-kratos-client/models/ui_node_image_attributes.rb +224 -0
- data/lib/ory-kratos-client/models/{form_field.rb → ui_node_input_attributes.rb} +26 -25
- data/lib/ory-kratos-client/models/ui_node_input_attributes_value.rb +106 -0
- data/lib/ory-kratos-client/models/{login_flow_method.rb → ui_node_text_attributes.rb} +18 -33
- data/lib/ory-kratos-client/models/{verification_flow_method_config.rb → ui_text.rb} +44 -49
- data/lib/ory-kratos-client/models/update_identity.rb +5 -5
- data/lib/ory-kratos-client/models/verifiable_address.rb +5 -5
- data/lib/ory-kratos-client/models/verification_flow.rb +32 -36
- data/lib/ory-kratos-client/models/version.rb +5 -5
- data/lib/ory-kratos-client/models/volume.rb +335 -0
- data/lib/ory-kratos-client/models/volume_usage_data.rb +240 -0
- data/lib/ory-kratos-client/version.rb +6 -6
- data/ory-kratos-client.gemspec +7 -7
- data/spec/api/admin_api_spec.rb +134 -41
- data/spec/api/public_api_spec.rb +268 -37
- data/spec/api_client_spec.rb +5 -5
- data/spec/configuration_spec.rb +8 -8
- 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 +8 -15
- data/spec/models/create_recovery_link_spec.rb +8 -15
- data/spec/models/error_container_spec.rb +8 -15
- data/spec/models/error_response_spec.rb +34 -0
- data/spec/models/generic_error_payload_spec.rb +8 -15
- data/spec/models/generic_error_spec.rb +8 -33
- data/spec/models/graph_driver_data_spec.rb +40 -0
- data/spec/models/health_not_ready_status_spec.rb +8 -15
- data/spec/models/health_status_spec.rb +8 -15
- data/spec/models/id_response_spec.rb +34 -0
- data/spec/models/identity_credentials_spec.rb +46 -0
- data/spec/models/identity_spec.rb +27 -16
- 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/login_flow_spec.rb +11 -24
- data/spec/models/login_via_api_response_spec.rb +8 -15
- 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/{settings_request_spec.rb → plugin_mount_spec.rb} +18 -31
- data/spec/models/plugin_settings_spec.rb +52 -0
- data/spec/models/{registration_request_spec.rb → plugin_spec.rb} +16 -23
- data/spec/models/port_spec.rb +52 -0
- data/spec/models/recovery_address_spec.rb +8 -15
- data/spec/models/recovery_flow_spec.rb +12 -25
- data/spec/models/recovery_link_spec.rb +8 -15
- data/spec/models/registration_flow_spec.rb +11 -24
- data/spec/models/registration_via_api_response_spec.rb +8 -15
- data/spec/models/revoke_session_spec.rb +8 -15
- data/spec/models/service_update_response_spec.rb +34 -0
- data/spec/models/session_spec.rb +17 -18
- data/spec/models/settings_flow_spec.rb +12 -25
- data/spec/models/settings_profile_form_config_spec.rb +52 -0
- data/spec/models/settings_via_api_response_spec.rb +8 -15
- 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 +46 -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/{registration_flow_method_config_spec.rb → ui_container_spec.rb} +12 -25
- 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/{verification_request_spec.rb → ui_node_input_attributes_spec.rb} +18 -25
- data/spec/models/ui_node_input_attributes_value_spec.rb +31 -0
- data/spec/models/{login_flow_method_config_spec.rb → ui_node_spec.rb} +15 -22
- data/spec/models/ui_node_text_attributes_spec.rb +34 -0
- data/spec/models/{message_spec.rb → ui_text_spec.rb} +11 -18
- data/spec/models/update_identity_spec.rb +8 -15
- data/spec/models/verifiable_address_spec.rb +10 -17
- data/spec/models/verification_flow_spec.rb +12 -25
- data/spec/models/version_spec.rb +8 -15
- data/spec/models/{recovery_request_spec.rb → volume_spec.rb} +24 -25
- data/spec/models/volume_usage_data_spec.rb +40 -0
- data/spec/spec_helper.rb +5 -5
- metadata +225 -160
- data/docs/CommonApi.md +0 -345
- data/docs/CompleteSelfServiceBrowserProfileManagementFlowPayload.md +0 -17
- data/docs/CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload.md +0 -19
- data/docs/CompleteSelfServiceLoginFlowWithPasswordMethod.md +0 -22
- data/docs/Error.md +0 -17
- data/docs/Form.md +0 -23
- data/docs/FormField.md +0 -30
- data/docs/HealthApi.md +0 -131
- data/docs/LoginFlowMethod.md +0 -20
- data/docs/LoginFlowMethodConfig.md +0 -26
- data/docs/LoginRequest.md +0 -31
- data/docs/LoginRequestMethod.md +0 -19
- data/docs/LoginRequestMethodConfig.md +0 -25
- data/docs/Message.md +0 -24
- data/docs/OidcStrategyCredentialsConfig.md +0 -19
- data/docs/OidcStrategyRequestMethod.md +0 -25
- data/docs/ProfileManagementRequest.md +0 -29
- data/docs/ProviderCredentialsConfig.md +0 -19
- data/docs/RecoveryFlowMethod.md +0 -20
- data/docs/RecoveryRequest.md +0 -31
- data/docs/RecoveryRequestMethod.md +0 -19
- data/docs/RegistrationFlowMethod.md +0 -20
- data/docs/RegistrationFlowMethodConfig.md +0 -26
- data/docs/RegistrationRequest.md +0 -29
- data/docs/RegistrationRequestMethod.md +0 -19
- data/docs/RegistrationRequestMethodConfig.md +0 -25
- data/docs/RequestMethodConfig.md +0 -23
- data/docs/SettingsFlowMethod.md +0 -20
- data/docs/SettingsRequest.md +0 -33
- data/docs/SettingsRequestMethod.md +0 -19
- data/docs/VerificationFlowMethod.md +0 -20
- data/docs/VerificationFlowMethodConfig.md +0 -24
- data/docs/VerificationRequest.md +0 -31
- data/docs/VersionApi.md +0 -69
- data/lib/ory-kratos-client/api/common_api.rb +0 -456
- data/lib/ory-kratos-client/api/health_api.rb +0 -136
- data/lib/ory-kratos-client/api/version_api.rb +0 -79
- data/lib/ory-kratos-client/models/complete_self_service_browser_profile_management_flow_payload.rb +0 -212
- data/lib/ory-kratos-client/models/complete_self_service_browser_settings_strategy_profile_flow_payload.rb +0 -222
- data/lib/ory-kratos-client/models/error.rb +0 -207
- data/lib/ory-kratos-client/models/form.rb +0 -256
- data/lib/ory-kratos-client/models/login_request.rb +0 -304
- data/lib/ory-kratos-client/models/login_request_method.rb +0 -226
- data/lib/ory-kratos-client/models/login_request_method_config.rb +0 -267
- data/lib/ory-kratos-client/models/oidc_strategy_credentials_config.rb +0 -215
- data/lib/ory-kratos-client/models/oidc_strategy_request_method.rb +0 -252
- data/lib/ory-kratos-client/models/profile_management_request.rb +0 -300
- data/lib/ory-kratos-client/models/provider_credentials_config.rb +0 -215
- data/lib/ory-kratos-client/models/recovery_request.rb +0 -309
- data/lib/ory-kratos-client/models/recovery_request_method.rb +0 -216
- data/lib/ory-kratos-client/models/registration_request.rb +0 -294
- data/lib/ory-kratos-client/models/registration_request_method.rb +0 -216
- data/lib/ory-kratos-client/models/registration_request_method_config.rb +0 -267
- data/lib/ory-kratos-client/models/request_method_config.rb +0 -255
- data/lib/ory-kratos-client/models/settings_request.rb +0 -323
- data/lib/ory-kratos-client/models/settings_request_method.rb +0 -216
- data/lib/ory-kratos-client/models/verification_request.rb +0 -276
- data/spec/api/common_api_spec.rb +0 -83
- data/spec/api/health_api_spec.rb +0 -57
- data/spec/api/version_api_spec.rb +0 -46
- data/spec/models/complete_self_service_browser_profile_management_flow_payload_spec.rb +0 -41
- data/spec/models/complete_self_service_browser_settings_strategy_profile_flow_payload_spec.rb +0 -47
- data/spec/models/complete_self_service_login_flow_with_password_method_spec.rb +0 -53
- data/spec/models/complete_self_service_recovery_flow_with_link_method_spec.rb +0 -47
- data/spec/models/complete_self_service_settings_flow_with_password_method_spec.rb +0 -47
- data/spec/models/complete_self_service_verification_flow_with_link_method_spec.rb +0 -47
- data/spec/models/error_spec.rb +0 -41
- data/spec/models/form_field_spec.rb +0 -65
- data/spec/models/form_spec.rb +0 -59
- data/spec/models/login_flow_method_spec.rb +0 -47
- data/spec/models/login_request_method_config_spec.rb +0 -35
- data/spec/models/login_request_method_spec.rb +0 -47
- data/spec/models/login_request_spec.rb +0 -71
- data/spec/models/oidc_strategy_credentials_config_spec.rb +0 -47
- data/spec/models/oidc_strategy_request_method_spec.rb +0 -65
- data/spec/models/profile_management_request_spec.rb +0 -77
- data/spec/models/provider_credentials_config_spec.rb +0 -47
- data/spec/models/recovery_flow_method_config_spec.rb +0 -59
- data/spec/models/recovery_flow_method_spec.rb +0 -47
- data/spec/models/recovery_request_method_spec.rb +0 -47
- data/spec/models/registration_flow_method_spec.rb +0 -47
- data/spec/models/registration_request_method_config_spec.rb +0 -35
- data/spec/models/registration_request_method_spec.rb +0 -47
- data/spec/models/request_method_config_spec.rb +0 -59
- data/spec/models/settings_flow_method_config_spec.rb +0 -59
- data/spec/models/settings_flow_method_spec.rb +0 -47
- data/spec/models/settings_request_method_spec.rb +0 -47
- data/spec/models/verification_flow_method_config_spec.rb +0 -59
- data/spec/models/verification_flow_method_spec.rb +0 -47
data/docs/UiNode.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# OryHydraClient::UiNode
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **attributes** | [**UiNodeAttributes**](UiNodeAttributes.md) | | |
|
8
|
+
| **group** | **String** | | |
|
9
|
+
| **messages** | [**Array<UiText>**](UiText.md) | | |
|
10
|
+
| **meta** | [**Meta**](Meta.md) | | |
|
11
|
+
| **type** | **String** | | |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ory-kratos-client'
|
17
|
+
|
18
|
+
instance = OryHydraClient::UiNode.new(
|
19
|
+
attributes: null,
|
20
|
+
group: null,
|
21
|
+
messages: null,
|
22
|
+
meta: null,
|
23
|
+
type: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryHydraClient::UiNodeAnchorAttributes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **href** | **String** | The link's href (destination) URL. format: uri | |
|
8
|
+
| **title** | [**UiText**](UiText.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-kratos-client'
|
14
|
+
|
15
|
+
instance = OryHydraClient::UiNodeAnchorAttributes.new(
|
16
|
+
href: null,
|
17
|
+
title: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# OryHydraClient::UiNodeAttributes
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-kratos-client'
|
13
|
+
|
14
|
+
OryHydraClient::UiNodeAttributes.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'UiNodeAnchorAttributes',
|
18
|
+
# :'UiNodeImageAttributes',
|
19
|
+
# :'UiNodeInputAttributes',
|
20
|
+
# :'UiNodeTextAttributes'
|
21
|
+
# ]
|
22
|
+
```
|
23
|
+
|
24
|
+
### build
|
25
|
+
|
26
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
27
|
+
|
28
|
+
#### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'ory-kratos-client'
|
32
|
+
|
33
|
+
OryHydraClient::UiNodeAttributes.build(data)
|
34
|
+
# => #<UiNodeAnchorAttributes:0x00007fdd4aab02a0>
|
35
|
+
|
36
|
+
OryHydraClient::UiNodeAttributes.build(data_that_doesnt_match)
|
37
|
+
# => nil
|
38
|
+
```
|
39
|
+
|
40
|
+
#### Parameters
|
41
|
+
|
42
|
+
| Name | Type | Description |
|
43
|
+
| ---- | ---- | ----------- |
|
44
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
45
|
+
|
46
|
+
#### Return type
|
47
|
+
|
48
|
+
- `UiNodeAnchorAttributes`
|
49
|
+
- `UiNodeImageAttributes`
|
50
|
+
- `UiNodeInputAttributes`
|
51
|
+
- `UiNodeTextAttributes`
|
52
|
+
- `nil` (if no type matches)
|
53
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryHydraClient::UiNodeImageAttributes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **src** | **String** | The image's source URL. format: uri | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-kratos-client'
|
13
|
+
|
14
|
+
instance = OryHydraClient::UiNodeImageAttributes.new(
|
15
|
+
src: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# OryHydraClient::UiNodeInputAttributes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **disabled** | **Boolean** | Sets the input's disabled field to true or false. | |
|
8
|
+
| **label** | [**UiText**](UiText.md) | | [optional] |
|
9
|
+
| **name** | **String** | The input's element name. | |
|
10
|
+
| **pattern** | **String** | The input's pattern. | [optional] |
|
11
|
+
| **required** | **Boolean** | Mark this input field as required. | [optional] |
|
12
|
+
| **type** | **String** | | |
|
13
|
+
| **value** | [**UiNodeInputAttributesValue**](UiNodeInputAttributesValue.md) | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'ory-kratos-client'
|
19
|
+
|
20
|
+
instance = OryHydraClient::UiNodeInputAttributes.new(
|
21
|
+
disabled: null,
|
22
|
+
label: null,
|
23
|
+
name: null,
|
24
|
+
pattern: null,
|
25
|
+
required: null,
|
26
|
+
type: null,
|
27
|
+
value: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# OryHydraClient::UiNodeInputAttributesValue
|
2
|
+
|
3
|
+
## Class instance methods
|
4
|
+
|
5
|
+
### `openapi_one_of`
|
6
|
+
|
7
|
+
Returns the list of classes defined in oneOf.
|
8
|
+
|
9
|
+
#### Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-kratos-client'
|
13
|
+
|
14
|
+
OryHydraClient::UiNodeInputAttributesValue.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'Boolean',
|
18
|
+
# :'Float',
|
19
|
+
# :'String'
|
20
|
+
# ]
|
21
|
+
```
|
22
|
+
|
23
|
+
### build
|
24
|
+
|
25
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
26
|
+
|
27
|
+
#### Example
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'ory-kratos-client'
|
31
|
+
|
32
|
+
OryHydraClient::UiNodeInputAttributesValue.build(data)
|
33
|
+
# => #<Boolean:0x00007fdd4aab02a0>
|
34
|
+
|
35
|
+
OryHydraClient::UiNodeInputAttributesValue.build(data_that_doesnt_match)
|
36
|
+
# => nil
|
37
|
+
```
|
38
|
+
|
39
|
+
#### Parameters
|
40
|
+
|
41
|
+
| Name | Type | Description |
|
42
|
+
| ---- | ---- | ----------- |
|
43
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
44
|
+
|
45
|
+
#### Return type
|
46
|
+
|
47
|
+
- `Boolean`
|
48
|
+
- `Float`
|
49
|
+
- `String`
|
50
|
+
- `nil` (if no type matches)
|
51
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryHydraClient::UiNodeTextAttributes
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **text** | [**UiText**](UiText.md) | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-kratos-client'
|
13
|
+
|
14
|
+
instance = OryHydraClient::UiNodeTextAttributes.new(
|
15
|
+
text: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/UiText.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# OryHydraClient::UiText
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **context** | **Object** | The message's context. Useful when customizing messages. | [optional] |
|
8
|
+
| **id** | **Integer** | | |
|
9
|
+
| **text** | **String** | The message text. Written in american english. | |
|
10
|
+
| **type** | **String** | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ory-kratos-client'
|
16
|
+
|
17
|
+
instance = OryHydraClient::UiText.new(
|
18
|
+
context: null,
|
19
|
+
id: null,
|
20
|
+
text: null,
|
21
|
+
type: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
data/docs/VerificationFlow.md
CHANGED
@@ -6,13 +6,12 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional] |
|
8
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** | |
|
9
|
+
| **id** | **String** | | |
|
10
10
|
| **issued_at** | **Time** | IssuedAt is the time (UTC) when the request occurred. | [optional] |
|
11
|
-
| **
|
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] |
|
11
|
+
| **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
12
|
| **state** | **String** | | |
|
15
|
-
| **type** | **String** | The flow type can either be `api` or `browser`. |
|
13
|
+
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
14
|
+
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
16
15
|
|
17
16
|
## Example
|
18
17
|
|
@@ -24,11 +23,10 @@ instance = OryHydraClient::VerificationFlow.new(
|
|
24
23
|
expires_at: null,
|
25
24
|
id: null,
|
26
25
|
issued_at: null,
|
27
|
-
messages: null,
|
28
|
-
methods: null,
|
29
26
|
request_url: null,
|
30
27
|
state: null,
|
31
|
-
type: null
|
28
|
+
type: null,
|
29
|
+
ui: null
|
32
30
|
)
|
33
31
|
```
|
34
32
|
|
data/docs/Volume.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# OryHydraClient::Volume
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **String** | Date/Time the volume was created. | [optional] |
|
8
|
+
| **driver** | **String** | Name of the volume driver used by the volume. | |
|
9
|
+
| **labels** | **Hash<String, String>** | User-defined key/value metadata. | |
|
10
|
+
| **mountpoint** | **String** | Mount path of the volume on the host. | |
|
11
|
+
| **name** | **String** | Name of the volume. | |
|
12
|
+
| **options** | **Hash<String, String>** | The driver specific options used when creating the volume. | |
|
13
|
+
| **scope** | **String** | The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level. | |
|
14
|
+
| **status** | **Hash<String, Object>** | Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: `{\"key\":\"value\",\"key2\":\"value2\"}`. The `Status` field is optional, and is omitted if the volume driver does not support this feature. | [optional] |
|
15
|
+
| **usage_data** | [**VolumeUsageData**](VolumeUsageData.md) | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'ory-kratos-client'
|
21
|
+
|
22
|
+
instance = OryHydraClient::Volume.new(
|
23
|
+
created_at: null,
|
24
|
+
driver: null,
|
25
|
+
labels: null,
|
26
|
+
mountpoint: null,
|
27
|
+
name: null,
|
28
|
+
options: null,
|
29
|
+
scope: null,
|
30
|
+
status: null,
|
31
|
+
usage_data: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryHydraClient::VolumeUsageData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ref_count** | **Integer** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. | |
|
8
|
+
| **size** | **Integer** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-kratos-client'
|
14
|
+
|
15
|
+
instance = OryHydraClient::VolumeUsageData.new(
|
16
|
+
ref_count: null,
|
17
|
+
size: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/lib/ory-kratos-client.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
|
-
#Ory Kratos
|
2
|
+
#Ory Kratos API
|
3
3
|
|
4
|
-
#
|
5
|
-
|
6
|
-
The version of the OpenAPI document: v0.5.5-alpha.2
|
4
|
+
#Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.
|
7
5
|
|
6
|
+
The version of the OpenAPI document: v0.6.0-alpha.4
|
7
|
+
Contact: hi@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,51 +17,87 @@ require 'ory-kratos-client/version'
|
|
17
17
|
require 'ory-kratos-client/configuration'
|
18
18
|
|
19
19
|
# Models
|
20
|
-
require 'ory-kratos-client/models/
|
21
|
-
require 'ory-kratos-client/models/
|
22
|
-
require 'ory-kratos-client/models/
|
23
|
-
require 'ory-kratos-client/models/
|
20
|
+
require 'ory-kratos-client/models/authenticate_ok_body'
|
21
|
+
require 'ory-kratos-client/models/container_change_response_item'
|
22
|
+
require 'ory-kratos-client/models/container_create_created_body'
|
23
|
+
require 'ory-kratos-client/models/container_top_ok_body'
|
24
|
+
require 'ory-kratos-client/models/container_update_ok_body'
|
25
|
+
require 'ory-kratos-client/models/container_wait_ok_body'
|
26
|
+
require 'ory-kratos-client/models/container_wait_ok_body_error'
|
24
27
|
require 'ory-kratos-client/models/create_identity'
|
25
28
|
require 'ory-kratos-client/models/create_recovery_link'
|
26
29
|
require 'ory-kratos-client/models/error_container'
|
27
|
-
require 'ory-kratos-client/models/
|
30
|
+
require 'ory-kratos-client/models/error_response'
|
28
31
|
require 'ory-kratos-client/models/generic_error'
|
29
32
|
require 'ory-kratos-client/models/generic_error_payload'
|
33
|
+
require 'ory-kratos-client/models/graph_driver_data'
|
30
34
|
require 'ory-kratos-client/models/health_not_ready_status'
|
31
35
|
require 'ory-kratos-client/models/health_status'
|
36
|
+
require 'ory-kratos-client/models/id_response'
|
32
37
|
require 'ory-kratos-client/models/identity'
|
38
|
+
require 'ory-kratos-client/models/identity_credentials'
|
39
|
+
require 'ory-kratos-client/models/image_delete_response_item'
|
40
|
+
require 'ory-kratos-client/models/image_summary'
|
41
|
+
require 'ory-kratos-client/models/inline_response200'
|
42
|
+
require 'ory-kratos-client/models/inline_response2001'
|
43
|
+
require 'ory-kratos-client/models/inline_response503'
|
33
44
|
require 'ory-kratos-client/models/login_flow'
|
34
|
-
require 'ory-kratos-client/models/login_flow_method'
|
35
|
-
require 'ory-kratos-client/models/login_flow_method_config'
|
36
45
|
require 'ory-kratos-client/models/login_via_api_response'
|
37
|
-
require 'ory-kratos-client/models/
|
46
|
+
require 'ory-kratos-client/models/meta'
|
47
|
+
require 'ory-kratos-client/models/plugin'
|
48
|
+
require 'ory-kratos-client/models/plugin_config'
|
49
|
+
require 'ory-kratos-client/models/plugin_config_args'
|
50
|
+
require 'ory-kratos-client/models/plugin_config_interface'
|
51
|
+
require 'ory-kratos-client/models/plugin_config_linux'
|
52
|
+
require 'ory-kratos-client/models/plugin_config_network'
|
53
|
+
require 'ory-kratos-client/models/plugin_config_rootfs'
|
54
|
+
require 'ory-kratos-client/models/plugin_config_user'
|
55
|
+
require 'ory-kratos-client/models/plugin_device'
|
56
|
+
require 'ory-kratos-client/models/plugin_env'
|
57
|
+
require 'ory-kratos-client/models/plugin_interface_type'
|
58
|
+
require 'ory-kratos-client/models/plugin_mount'
|
59
|
+
require 'ory-kratos-client/models/plugin_settings'
|
60
|
+
require 'ory-kratos-client/models/port'
|
38
61
|
require 'ory-kratos-client/models/recovery_address'
|
39
62
|
require 'ory-kratos-client/models/recovery_flow'
|
40
|
-
require 'ory-kratos-client/models/recovery_flow_method'
|
41
|
-
require 'ory-kratos-client/models/recovery_flow_method_config'
|
42
63
|
require 'ory-kratos-client/models/recovery_link'
|
43
64
|
require 'ory-kratos-client/models/registration_flow'
|
44
|
-
require 'ory-kratos-client/models/registration_flow_method'
|
45
|
-
require 'ory-kratos-client/models/registration_flow_method_config'
|
46
65
|
require 'ory-kratos-client/models/registration_via_api_response'
|
47
66
|
require 'ory-kratos-client/models/revoke_session'
|
67
|
+
require 'ory-kratos-client/models/service_update_response'
|
48
68
|
require 'ory-kratos-client/models/session'
|
49
69
|
require 'ory-kratos-client/models/settings_flow'
|
50
|
-
require 'ory-kratos-client/models/
|
51
|
-
require 'ory-kratos-client/models/settings_flow_method_config'
|
70
|
+
require 'ory-kratos-client/models/settings_profile_form_config'
|
52
71
|
require 'ory-kratos-client/models/settings_via_api_response'
|
72
|
+
require 'ory-kratos-client/models/submit_self_service_browser_settings_oidc_flow_payload'
|
73
|
+
require 'ory-kratos-client/models/submit_self_service_login_flow'
|
74
|
+
require 'ory-kratos-client/models/submit_self_service_login_flow_with_password_method'
|
75
|
+
require 'ory-kratos-client/models/submit_self_service_recovery_flow_with_link_method'
|
76
|
+
require 'ory-kratos-client/models/submit_self_service_registration_flow'
|
77
|
+
require 'ory-kratos-client/models/submit_self_service_registration_flow_with_password_method'
|
78
|
+
require 'ory-kratos-client/models/submit_self_service_settings_flow'
|
79
|
+
require 'ory-kratos-client/models/submit_self_service_settings_flow_with_password_method'
|
80
|
+
require 'ory-kratos-client/models/submit_self_service_settings_flow_with_profile_method'
|
81
|
+
require 'ory-kratos-client/models/submit_self_service_verification_flow_with_link_method'
|
82
|
+
require 'ory-kratos-client/models/ui_container'
|
83
|
+
require 'ory-kratos-client/models/ui_node'
|
84
|
+
require 'ory-kratos-client/models/ui_node_anchor_attributes'
|
85
|
+
require 'ory-kratos-client/models/ui_node_attributes'
|
86
|
+
require 'ory-kratos-client/models/ui_node_image_attributes'
|
87
|
+
require 'ory-kratos-client/models/ui_node_input_attributes'
|
88
|
+
require 'ory-kratos-client/models/ui_node_input_attributes_value'
|
89
|
+
require 'ory-kratos-client/models/ui_node_text_attributes'
|
90
|
+
require 'ory-kratos-client/models/ui_text'
|
53
91
|
require 'ory-kratos-client/models/update_identity'
|
54
92
|
require 'ory-kratos-client/models/verifiable_address'
|
55
93
|
require 'ory-kratos-client/models/verification_flow'
|
56
|
-
require 'ory-kratos-client/models/verification_flow_method'
|
57
|
-
require 'ory-kratos-client/models/verification_flow_method_config'
|
58
94
|
require 'ory-kratos-client/models/version'
|
95
|
+
require 'ory-kratos-client/models/volume'
|
96
|
+
require 'ory-kratos-client/models/volume_usage_data'
|
59
97
|
|
60
98
|
# APIs
|
61
99
|
require 'ory-kratos-client/api/admin_api'
|
62
|
-
require 'ory-kratos-client/api/health_api'
|
63
100
|
require 'ory-kratos-client/api/public_api'
|
64
|
-
require 'ory-kratos-client/api/version_api'
|
65
101
|
|
66
102
|
module OryHydraClient
|
67
103
|
class << self
|