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/CommonApi.md
DELETED
@@ -1,345 +0,0 @@
|
|
1
|
-
# OryHydraClient::CommonApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://localhost*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**get_schema**](CommonApi.md#get_schema) | **GET** /schemas/{id} |
|
8
|
-
[**get_self_service_browser_login_request**](CommonApi.md#get_self_service_browser_login_request) | **GET** /self-service/browser/flows/requests/login | Get the request context of browser-based login user flows
|
9
|
-
[**get_self_service_browser_recovery_request**](CommonApi.md#get_self_service_browser_recovery_request) | **GET** /self-service/browser/flows/requests/recovery | Get the request context of browser-based recovery flows
|
10
|
-
[**get_self_service_browser_registration_request**](CommonApi.md#get_self_service_browser_registration_request) | **GET** /self-service/browser/flows/requests/registration | Get the request context of browser-based registration user flows
|
11
|
-
[**get_self_service_browser_settings_request**](CommonApi.md#get_self_service_browser_settings_request) | **GET** /self-service/browser/flows/requests/settings | Get the request context of browser-based settings flows
|
12
|
-
[**get_self_service_error**](CommonApi.md#get_self_service_error) | **GET** /self-service/errors | Get user-facing self-service errors
|
13
|
-
[**get_self_service_verification_request**](CommonApi.md#get_self_service_verification_request) | **GET** /self-service/browser/flows/requests/verification | Get the request context of browser-based verification flows
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
## get_schema
|
18
|
-
|
19
|
-
> Object get_schema(id)
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
Get a traits schema definition
|
24
|
-
|
25
|
-
### Example
|
26
|
-
|
27
|
-
```ruby
|
28
|
-
# load the gem
|
29
|
-
require 'ory-kratos-client'
|
30
|
-
|
31
|
-
api_instance = OryHydraClient::CommonApi.new
|
32
|
-
id = 'id_example' # String | ID must be set to the ID of schema you want to get
|
33
|
-
|
34
|
-
begin
|
35
|
-
result = api_instance.get_schema(id)
|
36
|
-
p result
|
37
|
-
rescue OryHydraClient::ApiError => e
|
38
|
-
puts "Exception when calling CommonApi->get_schema: #{e}"
|
39
|
-
end
|
40
|
-
```
|
41
|
-
|
42
|
-
### Parameters
|
43
|
-
|
44
|
-
|
45
|
-
Name | Type | Description | Notes
|
46
|
-
------------- | ------------- | ------------- | -------------
|
47
|
-
**id** | **String**| ID must be set to the ID of schema you want to get |
|
48
|
-
|
49
|
-
### Return type
|
50
|
-
|
51
|
-
**Object**
|
52
|
-
|
53
|
-
### Authorization
|
54
|
-
|
55
|
-
No authorization required
|
56
|
-
|
57
|
-
### HTTP request headers
|
58
|
-
|
59
|
-
- **Content-Type**: Not defined
|
60
|
-
- **Accept**: application/json
|
61
|
-
|
62
|
-
|
63
|
-
## get_self_service_browser_login_request
|
64
|
-
|
65
|
-
> LoginRequest get_self_service_browser_login_request(request)
|
66
|
-
|
67
|
-
Get the request context of browser-based login user flows
|
68
|
-
|
69
|
-
This endpoint returns a login request's context with, for example, error details and other information. When accessing this endpoint through ORY Kratos' Public API, ensure that cookies are set as they are required for CSRF to work. To prevent token scanning attacks, the public endpoint does not return 404 status codes. More information can be found at [ORY Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
|
70
|
-
|
71
|
-
### Example
|
72
|
-
|
73
|
-
```ruby
|
74
|
-
# load the gem
|
75
|
-
require 'ory-kratos-client'
|
76
|
-
|
77
|
-
api_instance = OryHydraClient::CommonApi.new
|
78
|
-
request = 'request_example' # String | Request is the Login Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/login?request=abcde`).
|
79
|
-
|
80
|
-
begin
|
81
|
-
#Get the request context of browser-based login user flows
|
82
|
-
result = api_instance.get_self_service_browser_login_request(request)
|
83
|
-
p result
|
84
|
-
rescue OryHydraClient::ApiError => e
|
85
|
-
puts "Exception when calling CommonApi->get_self_service_browser_login_request: #{e}"
|
86
|
-
end
|
87
|
-
```
|
88
|
-
|
89
|
-
### Parameters
|
90
|
-
|
91
|
-
|
92
|
-
Name | Type | Description | Notes
|
93
|
-
------------- | ------------- | ------------- | -------------
|
94
|
-
**request** | **String**| Request is the Login Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/login?request=abcde`). |
|
95
|
-
|
96
|
-
### Return type
|
97
|
-
|
98
|
-
[**LoginRequest**](LoginRequest.md)
|
99
|
-
|
100
|
-
### Authorization
|
101
|
-
|
102
|
-
No authorization required
|
103
|
-
|
104
|
-
### HTTP request headers
|
105
|
-
|
106
|
-
- **Content-Type**: Not defined
|
107
|
-
- **Accept**: application/json
|
108
|
-
|
109
|
-
|
110
|
-
## get_self_service_browser_recovery_request
|
111
|
-
|
112
|
-
> RecoveryRequest get_self_service_browser_recovery_request(request)
|
113
|
-
|
114
|
-
Get the request context of browser-based recovery flows
|
115
|
-
|
116
|
-
When accessing this endpoint through ORY Kratos' Public API, ensure that cookies are set as they are required for checking the auth session. To prevent scanning attacks, the public endpoint does not return 404 status codes but instead 403 or 500. More information can be found at [ORY Kratos Account Recovery Documentation](../self-service/flows/password-reset-account-recovery).
|
117
|
-
|
118
|
-
### Example
|
119
|
-
|
120
|
-
```ruby
|
121
|
-
# load the gem
|
122
|
-
require 'ory-kratos-client'
|
123
|
-
|
124
|
-
api_instance = OryHydraClient::CommonApi.new
|
125
|
-
request = 'request_example' # String | Request is the Login Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recover?request=abcde`).
|
126
|
-
|
127
|
-
begin
|
128
|
-
#Get the request context of browser-based recovery flows
|
129
|
-
result = api_instance.get_self_service_browser_recovery_request(request)
|
130
|
-
p result
|
131
|
-
rescue OryHydraClient::ApiError => e
|
132
|
-
puts "Exception when calling CommonApi->get_self_service_browser_recovery_request: #{e}"
|
133
|
-
end
|
134
|
-
```
|
135
|
-
|
136
|
-
### Parameters
|
137
|
-
|
138
|
-
|
139
|
-
Name | Type | Description | Notes
|
140
|
-
------------- | ------------- | ------------- | -------------
|
141
|
-
**request** | **String**| Request is the Login Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recover?request=abcde`). |
|
142
|
-
|
143
|
-
### Return type
|
144
|
-
|
145
|
-
[**RecoveryRequest**](RecoveryRequest.md)
|
146
|
-
|
147
|
-
### Authorization
|
148
|
-
|
149
|
-
No authorization required
|
150
|
-
|
151
|
-
### HTTP request headers
|
152
|
-
|
153
|
-
- **Content-Type**: Not defined
|
154
|
-
- **Accept**: application/json
|
155
|
-
|
156
|
-
|
157
|
-
## get_self_service_browser_registration_request
|
158
|
-
|
159
|
-
> RegistrationRequest get_self_service_browser_registration_request(request)
|
160
|
-
|
161
|
-
Get the request context of browser-based registration user flows
|
162
|
-
|
163
|
-
This endpoint returns a registration request's context with, for example, error details and other information. When accessing this endpoint through ORY Kratos' Public API, ensure that cookies are set as they are required for CSRF to work. To prevent token scanning attacks, the public endpoint does not return 404 status codes. More information can be found at [ORY Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
|
164
|
-
|
165
|
-
### Example
|
166
|
-
|
167
|
-
```ruby
|
168
|
-
# load the gem
|
169
|
-
require 'ory-kratos-client'
|
170
|
-
|
171
|
-
api_instance = OryHydraClient::CommonApi.new
|
172
|
-
request = 'request_example' # String | Request is the Registration Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/registration?request=abcde`).
|
173
|
-
|
174
|
-
begin
|
175
|
-
#Get the request context of browser-based registration user flows
|
176
|
-
result = api_instance.get_self_service_browser_registration_request(request)
|
177
|
-
p result
|
178
|
-
rescue OryHydraClient::ApiError => e
|
179
|
-
puts "Exception when calling CommonApi->get_self_service_browser_registration_request: #{e}"
|
180
|
-
end
|
181
|
-
```
|
182
|
-
|
183
|
-
### Parameters
|
184
|
-
|
185
|
-
|
186
|
-
Name | Type | Description | Notes
|
187
|
-
------------- | ------------- | ------------- | -------------
|
188
|
-
**request** | **String**| Request is the Registration Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/registration?request=abcde`). |
|
189
|
-
|
190
|
-
### Return type
|
191
|
-
|
192
|
-
[**RegistrationRequest**](RegistrationRequest.md)
|
193
|
-
|
194
|
-
### Authorization
|
195
|
-
|
196
|
-
No authorization required
|
197
|
-
|
198
|
-
### HTTP request headers
|
199
|
-
|
200
|
-
- **Content-Type**: Not defined
|
201
|
-
- **Accept**: application/json
|
202
|
-
|
203
|
-
|
204
|
-
## get_self_service_browser_settings_request
|
205
|
-
|
206
|
-
> SettingsRequest get_self_service_browser_settings_request(request)
|
207
|
-
|
208
|
-
Get the request context of browser-based settings flows
|
209
|
-
|
210
|
-
When accessing this endpoint through ORY Kratos' Public API, ensure that cookies are set as they are required for checking the auth session. To prevent scanning attacks, the public endpoint does not return 404 status codes but instead 403 or 500. More information can be found at [ORY Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
|
211
|
-
|
212
|
-
### Example
|
213
|
-
|
214
|
-
```ruby
|
215
|
-
# load the gem
|
216
|
-
require 'ory-kratos-client'
|
217
|
-
|
218
|
-
api_instance = OryHydraClient::CommonApi.new
|
219
|
-
request = 'request_example' # String | Request is the Login Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/settingss?request=abcde`).
|
220
|
-
|
221
|
-
begin
|
222
|
-
#Get the request context of browser-based settings flows
|
223
|
-
result = api_instance.get_self_service_browser_settings_request(request)
|
224
|
-
p result
|
225
|
-
rescue OryHydraClient::ApiError => e
|
226
|
-
puts "Exception when calling CommonApi->get_self_service_browser_settings_request: #{e}"
|
227
|
-
end
|
228
|
-
```
|
229
|
-
|
230
|
-
### Parameters
|
231
|
-
|
232
|
-
|
233
|
-
Name | Type | Description | Notes
|
234
|
-
------------- | ------------- | ------------- | -------------
|
235
|
-
**request** | **String**| Request is the Login Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/settingss?request=abcde`). |
|
236
|
-
|
237
|
-
### Return type
|
238
|
-
|
239
|
-
[**SettingsRequest**](SettingsRequest.md)
|
240
|
-
|
241
|
-
### Authorization
|
242
|
-
|
243
|
-
No authorization required
|
244
|
-
|
245
|
-
### HTTP request headers
|
246
|
-
|
247
|
-
- **Content-Type**: Not defined
|
248
|
-
- **Accept**: application/json
|
249
|
-
|
250
|
-
|
251
|
-
## get_self_service_error
|
252
|
-
|
253
|
-
> ErrorContainer get_self_service_error(opts)
|
254
|
-
|
255
|
-
Get user-facing self-service errors
|
256
|
-
|
257
|
-
This endpoint returns the error associated with a user-facing self service errors. When accessing this endpoint through ORY Kratos' Public API, ensure that cookies are set as they are required for CSRF to work. To prevent token scanning attacks, the public endpoint does not return 404 status codes. More information can be found at [ORY Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
|
258
|
-
|
259
|
-
### Example
|
260
|
-
|
261
|
-
```ruby
|
262
|
-
# load the gem
|
263
|
-
require 'ory-kratos-client'
|
264
|
-
|
265
|
-
api_instance = OryHydraClient::CommonApi.new
|
266
|
-
opts = {
|
267
|
-
error: 'error_example' # String |
|
268
|
-
}
|
269
|
-
|
270
|
-
begin
|
271
|
-
#Get user-facing self-service errors
|
272
|
-
result = api_instance.get_self_service_error(opts)
|
273
|
-
p result
|
274
|
-
rescue OryHydraClient::ApiError => e
|
275
|
-
puts "Exception when calling CommonApi->get_self_service_error: #{e}"
|
276
|
-
end
|
277
|
-
```
|
278
|
-
|
279
|
-
### Parameters
|
280
|
-
|
281
|
-
|
282
|
-
Name | Type | Description | Notes
|
283
|
-
------------- | ------------- | ------------- | -------------
|
284
|
-
**error** | **String**| | [optional]
|
285
|
-
|
286
|
-
### Return type
|
287
|
-
|
288
|
-
[**ErrorContainer**](ErrorContainer.md)
|
289
|
-
|
290
|
-
### Authorization
|
291
|
-
|
292
|
-
No authorization required
|
293
|
-
|
294
|
-
### HTTP request headers
|
295
|
-
|
296
|
-
- **Content-Type**: Not defined
|
297
|
-
- **Accept**: application/json
|
298
|
-
|
299
|
-
|
300
|
-
## get_self_service_verification_request
|
301
|
-
|
302
|
-
> VerificationRequest get_self_service_verification_request(request)
|
303
|
-
|
304
|
-
Get the request context of browser-based verification flows
|
305
|
-
|
306
|
-
When accessing this endpoint through ORY Kratos' Public API, ensure that cookies are set as they are required for checking the auth session. To prevent scanning attacks, the public endpoint does not return 404 status codes but instead 403 or 500. More information can be found at [ORY Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
|
307
|
-
|
308
|
-
### Example
|
309
|
-
|
310
|
-
```ruby
|
311
|
-
# load the gem
|
312
|
-
require 'ory-kratos-client'
|
313
|
-
|
314
|
-
api_instance = OryHydraClient::CommonApi.new
|
315
|
-
request = 'request_example' # String | Request is the Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verify?request=abcde`).
|
316
|
-
|
317
|
-
begin
|
318
|
-
#Get the request context of browser-based verification flows
|
319
|
-
result = api_instance.get_self_service_verification_request(request)
|
320
|
-
p result
|
321
|
-
rescue OryHydraClient::ApiError => e
|
322
|
-
puts "Exception when calling CommonApi->get_self_service_verification_request: #{e}"
|
323
|
-
end
|
324
|
-
```
|
325
|
-
|
326
|
-
### Parameters
|
327
|
-
|
328
|
-
|
329
|
-
Name | Type | Description | Notes
|
330
|
-
------------- | ------------- | ------------- | -------------
|
331
|
-
**request** | **String**| Request is the Request ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verify?request=abcde`). |
|
332
|
-
|
333
|
-
### Return type
|
334
|
-
|
335
|
-
[**VerificationRequest**](VerificationRequest.md)
|
336
|
-
|
337
|
-
### Authorization
|
338
|
-
|
339
|
-
No authorization required
|
340
|
-
|
341
|
-
### HTTP request headers
|
342
|
-
|
343
|
-
- **Content-Type**: Not defined
|
344
|
-
- **Accept**: application/json
|
345
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# OryHydraClient::CompleteSelfServiceBrowserProfileManagementFlowPayload
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**traits** | [**Object**](.md) | Traits contains all of the identity's traits. type: string format: binary |
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'OryHydraClient'
|
13
|
-
|
14
|
-
instance = OryHydraClient::CompleteSelfServiceBrowserProfileManagementFlowPayload.new(traits: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# OryHydraClient::CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**request_id** | **String** | RequestID is request ID. in: query | [optional]
|
8
|
-
**traits** | [**Object**](.md) | Traits contains all of the identity's traits. type: string format: binary |
|
9
|
-
|
10
|
-
## Code Sample
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
require 'OryHydraClient'
|
14
|
-
|
15
|
-
instance = OryHydraClient::CompleteSelfServiceBrowserSettingsStrategyProfileFlowPayload.new(request_id: null,
|
16
|
-
traits: null)
|
17
|
-
```
|
18
|
-
|
19
|
-
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# OryHydraClient::CompleteSelfServiceLoginFlowWithPasswordMethod
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **csrf_token** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] |
|
8
|
-
| **identifier** | **String** | Identifier is the email or username of the user trying to log in. | [optional] |
|
9
|
-
| **password** | **String** | The user's password. | [optional] |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'ory-kratos-client'
|
15
|
-
|
16
|
-
instance = OryHydraClient::CompleteSelfServiceLoginFlowWithPasswordMethod.new(
|
17
|
-
csrf_token: null,
|
18
|
-
identifier: null,
|
19
|
-
password: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|
data/docs/Error.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# OryHydraClient::Error
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**message** | **String** | Code FormErrorCode `json:\"id,omitempty\"` | [optional]
|
8
|
-
|
9
|
-
## Code Sample
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
require 'OryHydraClient'
|
13
|
-
|
14
|
-
instance = OryHydraClient::Error.new(message: null)
|
15
|
-
```
|
16
|
-
|
17
|
-
|
data/docs/Form.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# OryHydraClient::Form
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
------------ | ------------- | ------------- | -------------
|
7
|
-
**action** | **String** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. |
|
8
|
-
**fields** | [**Array<FormField>**](FormField.md) | Fields contains multiple fields |
|
9
|
-
**messages** | [**Array<Message>**](Message.md) | | [optional]
|
10
|
-
**method** | **String** | Method is the form method (e.g. POST) |
|
11
|
-
|
12
|
-
## Code Sample
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
require 'OryHydraClient'
|
16
|
-
|
17
|
-
instance = OryHydraClient::Form.new(action: null,
|
18
|
-
fields: null,
|
19
|
-
messages: null,
|
20
|
-
method: null)
|
21
|
-
```
|
22
|
-
|
23
|
-
|