ory-client 0.0.1.alpha5
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 +2922 -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 +32 -0
- data/docs/IdentityCredentials.md +26 -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 +36 -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 +26 -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/SelfServiceErrorContainer.md +24 -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.rb +117 -0
- data/lib/ory-client/api/default_api.rb +2705 -0
- data/lib/ory-client/api_client.rb +390 -0
- data/lib/ory-client/api_error.rb +57 -0
- data/lib/ory-client/configuration.rb +297 -0
- data/lib/ory-client/models/authenticate_ok_body.rb +240 -0
- data/lib/ory-client/models/container_change_response_item.rb +240 -0
- data/lib/ory-client/models/container_create_created_body.rb +242 -0
- data/lib/ory-client/models/container_top_ok_body.rb +244 -0
- data/lib/ory-client/models/container_update_ok_body.rb +227 -0
- data/lib/ory-client/models/container_wait_ok_body.rb +239 -0
- data/lib/ory-client/models/container_wait_ok_body_error.rb +220 -0
- data/lib/ory-client/models/create_identity.rb +239 -0
- data/lib/ory-client/models/create_recovery_link.rb +250 -0
- data/lib/ory-client/models/error_response.rb +224 -0
- data/lib/ory-client/models/generic_error.rb +286 -0
- data/lib/ory-client/models/graph_driver_data.rb +241 -0
- data/lib/ory-client/models/health_not_ready_status.rb +221 -0
- data/lib/ory-client/models/health_status.rb +219 -0
- data/lib/ory-client/models/id_response.rb +225 -0
- data/lib/ory-client/models/identity.rb +309 -0
- data/lib/ory-client/models/identity_credentials.rb +261 -0
- data/lib/ory-client/models/image_delete_response_item.rb +230 -0
- data/lib/ory-client/models/image_summary.rb +366 -0
- data/lib/ory-client/models/inline_response200.rb +224 -0
- data/lib/ory-client/models/inline_response2001.rb +224 -0
- data/lib/ory-client/models/inline_response503.rb +226 -0
- data/lib/ory-client/models/json_error.rb +224 -0
- data/lib/ory-client/models/login_flow.rb +338 -0
- data/lib/ory-client/models/login_via_api_response.rb +239 -0
- data/lib/ory-client/models/meta.rb +219 -0
- data/lib/ory-client/models/plugin.rb +288 -0
- data/lib/ory-client/models/plugin_config.rb +434 -0
- data/lib/ory-client/models/plugin_config_args.rb +274 -0
- data/lib/ory-client/models/plugin_config_interface.rb +242 -0
- data/lib/ory-client/models/plugin_config_linux.rb +259 -0
- data/lib/ory-client/models/plugin_config_network.rb +225 -0
- data/lib/ory-client/models/plugin_config_rootfs.rb +232 -0
- data/lib/ory-client/models/plugin_config_user.rb +230 -0
- data/lib/ory-client/models/plugin_device.rb +272 -0
- data/lib/ory-client/models/plugin_env.rb +272 -0
- data/lib/ory-client/models/plugin_interface_type.rb +255 -0
- data/lib/ory-client/models/plugin_mount.rb +319 -0
- data/lib/ory-client/models/plugin_settings.rb +277 -0
- data/lib/ory-client/models/port.rb +260 -0
- data/lib/ory-client/models/recovery_address.rb +271 -0
- data/lib/ory-client/models/recovery_flow.rb +317 -0
- data/lib/ory-client/models/recovery_link.rb +234 -0
- data/lib/ory-client/models/registration_flow.rb +302 -0
- data/lib/ory-client/models/registration_via_api_response.rb +248 -0
- data/lib/ory-client/models/revoke_session.rb +224 -0
- data/lib/ory-client/models/self_service_error_container.rb +260 -0
- data/lib/ory-client/models/service_update_response.rb +222 -0
- data/lib/ory-client/models/session.rb +288 -0
- data/lib/ory-client/models/settings_flow.rb +331 -0
- data/lib/ory-client/models/settings_profile_form_config.rb +266 -0
- data/lib/ory-client/models/settings_via_api_response.rb +238 -0
- data/lib/ory-client/models/submit_self_service_browser_settings_oidc_flow_payload.rb +239 -0
- data/lib/ory-client/models/submit_self_service_login_flow.rb +104 -0
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method.rb +249 -0
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method.rb +229 -0
- data/lib/ory-client/models/submit_self_service_registration_flow.rb +104 -0
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method.rb +276 -0
- data/lib/ory-client/models/submit_self_service_settings_flow.rb +105 -0
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method.rb +244 -0
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method.rb +245 -0
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method.rb +230 -0
- data/lib/ory-client/models/ui_container.rb +267 -0
- data/lib/ory-client/models/ui_node.rb +282 -0
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +238 -0
- data/lib/ory-client/models/ui_node_attributes.rb +107 -0
- data/lib/ory-client/models/ui_node_image_attributes.rb +224 -0
- data/lib/ory-client/models/ui_node_input_attributes.rb +292 -0
- data/lib/ory-client/models/ui_node_input_attributes_value.rb +106 -0
- data/lib/ory-client/models/ui_node_text_attributes.rb +223 -0
- data/lib/ory-client/models/ui_text.rb +262 -0
- data/lib/ory-client/models/update_identity.rb +234 -0
- data/lib/ory-client/models/verifiable_identity_address.rb +313 -0
- data/lib/ory-client/models/verification_flow.rb +307 -0
- data/lib/ory-client/models/version.rb +219 -0
- data/lib/ory-client/models/volume.rb +335 -0
- data/lib/ory-client/models/volume_usage_data.rb +240 -0
- data/lib/ory-client/version.rb +15 -0
- data/ory-client.gemspec +38 -0
- data/spec/api/default_api_spec.rb +549 -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_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 +58 -0
- data/spec/models/identity_spec.rb +76 -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 +88 -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 +58 -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/self_service_error_container_spec.rb +52 -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,20 @@
|
|
1
|
+
# OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod
|
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 Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification 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'
|
14
|
+
|
15
|
+
instance = OryHydraClient::SubmitSelfServiceVerificationFlowWithLinkMethod.new(
|
16
|
+
csrf_token: null,
|
17
|
+
email: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/UiContainer.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# OryHydraClient::UiContainer
|
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'
|
16
|
+
|
17
|
+
instance = OryHydraClient::UiContainer.new(
|
18
|
+
action: null,
|
19
|
+
messages: null,
|
20
|
+
method: null,
|
21
|
+
nodes: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
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-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-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-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-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-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-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-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-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-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-client'
|
16
|
+
|
17
|
+
instance = OryHydraClient::UiText.new(
|
18
|
+
context: null,
|
19
|
+
id: null,
|
20
|
+
text: null,
|
21
|
+
type: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# OryHydraClient::UpdateIdentity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. | [optional] |
|
8
|
+
| **traits** | **Object** | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ory-client'
|
14
|
+
|
15
|
+
instance = OryHydraClient::UpdateIdentity.new(
|
16
|
+
schema_id: null,
|
17
|
+
traits: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# OryHydraClient::VerifiableIdentityAddress
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **created_at** | **Time** | When this entry was created | [optional] |
|
8
|
+
| **id** | **String** | | |
|
9
|
+
| **status** | **String** | VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema | |
|
10
|
+
| **updated_at** | **Time** | When this entry was last updated | [optional] |
|
11
|
+
| **value** | **String** | The address value example foo@user.com | |
|
12
|
+
| **verified** | **Boolean** | Indicates if the address has already been verified | |
|
13
|
+
| **verified_at** | **Time** | | [optional] |
|
14
|
+
| **via** | **String** | VerifiableAddressType must not exceed 16 characters as that is the limitation in the SQL Schema | |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'ory-client'
|
20
|
+
|
21
|
+
instance = OryHydraClient::VerifiableIdentityAddress.new(
|
22
|
+
created_at: 2014-01-01T23:28:56.782Z,
|
23
|
+
id: null,
|
24
|
+
status: null,
|
25
|
+
updated_at: 2014-01-01T23:28:56.782Z,
|
26
|
+
value: null,
|
27
|
+
verified: true,
|
28
|
+
verified_at: null,
|
29
|
+
via: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# OryHydraClient::VerificationFlow
|
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 request expires. If the user still wishes to verify the address, a new request has to be initiated. | [optional] |
|
9
|
+
| **id** | **String** | | |
|
10
|
+
| **issued_at** | **Time** | IssuedAt is the time (UTC) when the request occurred. | [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] |
|
12
|
+
| **state** | **String** | | |
|
13
|
+
| **type** | **String** | The flow type can either be `api` or `browser`. | |
|
14
|
+
| **ui** | [**UiContainer**](UiContainer.md) | | |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'ory-client'
|
20
|
+
|
21
|
+
instance = OryHydraClient::VerificationFlow.new(
|
22
|
+
active: null,
|
23
|
+
expires_at: null,
|
24
|
+
id: null,
|
25
|
+
issued_at: null,
|
26
|
+
request_url: null,
|
27
|
+
state: null,
|
28
|
+
type: null,
|
29
|
+
ui: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
data/docs/Version.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# OryHydraClient::Version
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **version** | **String** | Version is the service's version. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ory-client'
|
13
|
+
|
14
|
+
instance = OryHydraClient::Version.new(
|
15
|
+
version: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
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-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
|
+
|