ory-client-client 0.0.1.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- 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,22 @@
|
|
1
|
+
# OryHydraClient::RegistrationViaApiResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **identity** | [**Identity**](Identity.md) | | |
|
8
|
+
| **session** | [**Session**](Session.md) | | [optional] |
|
9
|
+
| **session_token** | **String** | The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ory-client-client'
|
15
|
+
|
16
|
+
instance = OryHydraClient::RegistrationViaApiResponse.new(
|
17
|
+
identity: null,
|
18
|
+
session: null,
|
19
|
+
session_token: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryHydraClient::RevokeSession
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **session_token** | **String** | The Session Token Invalidate this session token. | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-client-client'
|
13
|
+
|
14
|
+
instance = OryHydraClient::RevokeSession.new(
|
15
|
+
session_token: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryHydraClient::ServiceUpdateResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **warnings** | **Array<String>** | Optional warning messages | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-client-client'
|
13
|
+
|
14
|
+
instance = OryHydraClient::ServiceUpdateResponse.new(
|
15
|
+
warnings: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/Session.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# OryHydraClient::Session
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **active** | **Boolean** | | [optional] |
|
8
|
+
| **authenticated_at** | **Time** | | |
|
9
|
+
| **expires_at** | **Time** | | |
|
10
|
+
| **id** | **String** | | |
|
11
|
+
| **identity** | [**Identity**](Identity.md) | | |
|
12
|
+
| **issued_at** | **Time** | | |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ory-client-client'
|
18
|
+
|
19
|
+
instance = OryHydraClient::Session.new(
|
20
|
+
active: null,
|
21
|
+
authenticated_at: null,
|
22
|
+
expires_at: null,
|
23
|
+
id: null,
|
24
|
+
identity: null,
|
25
|
+
issued_at: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# OryHydraClient::SettingsFlow
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **active** | **String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional] |
|
8
|
+
| **expires_at** | **Time** | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. | |
|
9
|
+
| **id** | **String** | | |
|
10
|
+
| **identity** | [**Identity**](Identity.md) | | |
|
11
|
+
| **issued_at** | **Time** | IssuedAt is the time (UTC) when the flow occurred. | |
|
12
|
+
| **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. | |
|
13
|
+
| **state** | **String** | | |
|
14
|
+
| **type** | **String** | The flow type can either be `api` or `browser`. | [optional] |
|
15
|
+
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'ory-client-client'
|
21
|
+
|
22
|
+
instance = OryHydraClient::SettingsFlow.new(
|
23
|
+
active: null,
|
24
|
+
expires_at: null,
|
25
|
+
id: null,
|
26
|
+
identity: null,
|
27
|
+
issued_at: null,
|
28
|
+
request_url: null,
|
29
|
+
state: null,
|
30
|
+
type: null,
|
31
|
+
ui: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# OryHydraClient::SettingsProfileFormConfig
|
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
|
+
| **messages** | [**Array<UiText>**](UiText.md) | | [optional] |
|
9
|
+
| **method** | **String** | Method is the form method (e.g. POST) | |
|
10
|
+
| **nodes** | [**Array<UiNode>**](UiNode.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ory-client-client'
|
16
|
+
|
17
|
+
instance = OryHydraClient::SettingsProfileFormConfig.new(
|
18
|
+
action: null,
|
19
|
+
messages: null,
|
20
|
+
method: null,
|
21
|
+
nodes: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryHydraClient::SettingsViaApiResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **flow** | [**SettingsFlow**](SettingsFlow.md) | | |
|
8
|
+
| **identity** | [**Identity**](Identity.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-client-client'
|
14
|
+
|
15
|
+
instance = OryHydraClient::SettingsViaApiResponse.new(
|
16
|
+
flow: null,
|
17
|
+
identity: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **flow** | **String** | Flow ID is the flow's ID. in: query | [optional] |
|
8
|
+
| **link** | **String** | Link this provider Either this or `unlink` must be set. type: string in: body | [optional] |
|
9
|
+
| **unlink** | **String** | Unlink this provider Either this or `link` must be set. type: string in: body | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ory-client-client'
|
15
|
+
|
16
|
+
instance = OryHydraClient::SubmitSelfServiceBrowserSettingsOIDCFlowPayload.new(
|
17
|
+
flow: null,
|
18
|
+
link: null,
|
19
|
+
unlink: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceLoginFlow
|
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-client-client'
|
13
|
+
|
14
|
+
OryHydraClient::SubmitSelfServiceLoginFlow.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'SubmitSelfServiceLoginFlowWithPasswordMethod'
|
18
|
+
# ]
|
19
|
+
```
|
20
|
+
|
21
|
+
### build
|
22
|
+
|
23
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
24
|
+
|
25
|
+
#### Example
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
require 'ory-client-client'
|
29
|
+
|
30
|
+
OryHydraClient::SubmitSelfServiceLoginFlow.build(data)
|
31
|
+
# => #<SubmitSelfServiceLoginFlowWithPasswordMethod:0x00007fdd4aab02a0>
|
32
|
+
|
33
|
+
OryHydraClient::SubmitSelfServiceLoginFlow.build(data_that_doesnt_match)
|
34
|
+
# => nil
|
35
|
+
```
|
36
|
+
|
37
|
+
#### Parameters
|
38
|
+
|
39
|
+
| Name | Type | Description |
|
40
|
+
| ---- | ---- | ----------- |
|
41
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
42
|
+
|
43
|
+
#### Return type
|
44
|
+
|
45
|
+
- `SubmitSelfServiceLoginFlowWithPasswordMethod`
|
46
|
+
- `nil` (if no type matches)
|
47
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod
|
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
|
+
| **method** | **String** | Method should be set to \"password\" when logging in using the identifier and password strategy. | [optional] |
|
9
|
+
| **password** | **String** | The user's password. | [optional] |
|
10
|
+
| **password_identifier** | **String** | Identifier is the email or username of the user trying to log in. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ory-client-client'
|
16
|
+
|
17
|
+
instance = OryHydraClient::SubmitSelfServiceLoginFlowWithPasswordMethod.new(
|
18
|
+
csrf_token: null,
|
19
|
+
method: null,
|
20
|
+
password: null,
|
21
|
+
password_identifier: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod
|
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
|
+
| **email** | **String** | Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email in: body | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-client-client'
|
14
|
+
|
15
|
+
instance = OryHydraClient::SubmitSelfServiceRecoveryFlowWithLinkMethod.new(
|
16
|
+
csrf_token: null,
|
17
|
+
email: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceRegistrationFlow
|
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-client-client'
|
13
|
+
|
14
|
+
OryHydraClient::SubmitSelfServiceRegistrationFlow.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'SubmitSelfServiceRegistrationFlowWithPasswordMethod'
|
18
|
+
# ]
|
19
|
+
```
|
20
|
+
|
21
|
+
### build
|
22
|
+
|
23
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
24
|
+
|
25
|
+
#### Example
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
require 'ory-client-client'
|
29
|
+
|
30
|
+
OryHydraClient::SubmitSelfServiceRegistrationFlow.build(data)
|
31
|
+
# => #<SubmitSelfServiceRegistrationFlowWithPasswordMethod:0x00007fdd4aab02a0>
|
32
|
+
|
33
|
+
OryHydraClient::SubmitSelfServiceRegistrationFlow.build(data_that_doesnt_match)
|
34
|
+
# => nil
|
35
|
+
```
|
36
|
+
|
37
|
+
#### Parameters
|
38
|
+
|
39
|
+
| Name | Type | Description |
|
40
|
+
| ---- | ---- | ----------- |
|
41
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
42
|
+
|
43
|
+
#### Return type
|
44
|
+
|
45
|
+
- `SubmitSelfServiceRegistrationFlowWithPasswordMethod`
|
46
|
+
- `nil` (if no type matches)
|
47
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **csrf_token** | **String** | The CSRF Token | [optional] |
|
8
|
+
| **method** | **String** | Method to use This field must be set to `password` when using the password method. | |
|
9
|
+
| **password** | **String** | Password to sign the user up with | [optional] |
|
10
|
+
| **traits** | **Object** | The identity's traits | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ory-client-client'
|
16
|
+
|
17
|
+
instance = OryHydraClient::SubmitSelfServiceRegistrationFlowWithPasswordMethod.new(
|
18
|
+
csrf_token: null,
|
19
|
+
method: null,
|
20
|
+
password: null,
|
21
|
+
traits: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceSettingsFlow
|
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-client-client'
|
13
|
+
|
14
|
+
OryHydraClient::SubmitSelfServiceSettingsFlow.openapi_one_of
|
15
|
+
# =>
|
16
|
+
# [
|
17
|
+
# :'SubmitSelfServiceSettingsFlowWithPasswordMethod',
|
18
|
+
# :'SubmitSelfServiceSettingsFlowWithProfileMethod'
|
19
|
+
# ]
|
20
|
+
```
|
21
|
+
|
22
|
+
### build
|
23
|
+
|
24
|
+
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
25
|
+
|
26
|
+
#### Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'ory-client-client'
|
30
|
+
|
31
|
+
OryHydraClient::SubmitSelfServiceSettingsFlow.build(data)
|
32
|
+
# => #<SubmitSelfServiceSettingsFlowWithPasswordMethod:0x00007fdd4aab02a0>
|
33
|
+
|
34
|
+
OryHydraClient::SubmitSelfServiceSettingsFlow.build(data_that_doesnt_match)
|
35
|
+
# => nil
|
36
|
+
```
|
37
|
+
|
38
|
+
#### Parameters
|
39
|
+
|
40
|
+
| Name | Type | Description |
|
41
|
+
| ---- | ---- | ----------- |
|
42
|
+
| **data** | **Mixed** | data to be matched against the list of oneOf items |
|
43
|
+
|
44
|
+
#### Return type
|
45
|
+
|
46
|
+
- `SubmitSelfServiceSettingsFlowWithPasswordMethod`
|
47
|
+
- `SubmitSelfServiceSettingsFlowWithProfileMethod`
|
48
|
+
- `nil` (if no type matches)
|
49
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **csrf_token** | **String** | CSRFToken is the anti-CSRF token type: string | [optional] |
|
8
|
+
| **method** | **String** | Method Should be set to password when trying to update a password. type: string | [optional] |
|
9
|
+
| **password** | **String** | Password is the updated password type: string | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'ory-client-client'
|
15
|
+
|
16
|
+
instance = OryHydraClient::SubmitSelfServiceSettingsFlowWithPasswordMethod.new(
|
17
|
+
csrf_token: null,
|
18
|
+
method: null,
|
19
|
+
password: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|