ory-kratos-client 0.5.4.alpha1 → 0.5.5.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/docs/AdminApi.md +382 -143
  4. data/docs/CompleteSelfServiceLoginFlowWithPasswordMethod.md +12 -11
  5. data/docs/CompleteSelfServiceRecoveryFlowWithLinkMethod.md +10 -9
  6. data/docs/CompleteSelfServiceSettingsFlowWithPasswordMethod.md +10 -9
  7. data/docs/CompleteSelfServiceVerificationFlowWithLinkMethod.md +10 -9
  8. data/docs/CreateIdentity.md +10 -9
  9. data/docs/CreateRecoveryLink.md +10 -9
  10. data/docs/ErrorContainer.md +10 -9
  11. data/docs/FormField.md +20 -19
  12. data/docs/GenericError.md +8 -7
  13. data/docs/GenericErrorPayload.md +20 -19
  14. data/docs/HealthApi.md +50 -15
  15. data/docs/HealthNotReadyStatus.md +8 -7
  16. data/docs/HealthStatus.md +8 -7
  17. data/docs/Identity.md +18 -17
  18. data/docs/LoginFlow.md +24 -23
  19. data/docs/LoginFlowMethod.md +10 -9
  20. data/docs/LoginFlowMethodConfig.md +16 -15
  21. data/docs/LoginViaApiResponse.md +10 -9
  22. data/docs/Message.md +14 -13
  23. data/docs/PublicApi.md +707 -237
  24. data/docs/RecoveryAddress.md +12 -11
  25. data/docs/RecoveryFlow.md +24 -23
  26. data/docs/RecoveryFlowMethod.md +10 -9
  27. data/docs/RecoveryFlowMethodConfig.md +14 -13
  28. data/docs/RecoveryLink.md +10 -9
  29. data/docs/RegistrationFlow.md +22 -21
  30. data/docs/RegistrationFlowMethod.md +10 -9
  31. data/docs/RegistrationFlowMethodConfig.md +16 -15
  32. data/docs/RegistrationViaApiResponse.md +12 -11
  33. data/docs/RevokeSession.md +8 -7
  34. data/docs/Session.md +18 -17
  35. data/docs/SettingsFlow.md +26 -25
  36. data/docs/SettingsFlowMethod.md +10 -9
  37. data/docs/SettingsFlowMethodConfig.md +14 -13
  38. data/docs/SettingsViaApiResponse.md +10 -9
  39. data/docs/UpdateIdentity.md +10 -9
  40. data/docs/VerifiableAddress.md +18 -17
  41. data/docs/VerificationFlow.md +24 -23
  42. data/docs/VerificationFlowMethod.md +10 -9
  43. data/docs/VerificationFlowMethodConfig.md +14 -13
  44. data/docs/Version.md +8 -7
  45. data/docs/VersionApi.md +26 -9
  46. data/lib/ory-kratos-client.rb +2 -2
  47. data/lib/ory-kratos-client/api/admin_api.rb +58 -44
  48. data/lib/ory-kratos-client/api/health_api.rb +10 -8
  49. data/lib/ory-kratos-client/api/public_api.rb +113 -86
  50. data/lib/ory-kratos-client/api/version_api.rb +6 -5
  51. data/lib/ory-kratos-client/api_client.rb +50 -48
  52. data/lib/ory-kratos-client/api_error.rb +2 -2
  53. data/lib/ory-kratos-client/configuration.rb +34 -7
  54. data/lib/ory-kratos-client/models/complete_self_service_login_flow_with_password_method.rb +20 -8
  55. data/lib/ory-kratos-client/models/complete_self_service_recovery_flow_with_link_method.rb +20 -8
  56. data/lib/ory-kratos-client/models/complete_self_service_settings_flow_with_password_method.rb +20 -8
  57. data/lib/ory-kratos-client/models/complete_self_service_verification_flow_with_link_method.rb +20 -8
  58. data/lib/ory-kratos-client/models/create_identity.rb +20 -8
  59. data/lib/ory-kratos-client/models/create_recovery_link.rb +20 -8
  60. data/lib/ory-kratos-client/models/error_container.rb +20 -8
  61. data/lib/ory-kratos-client/models/form_field.rb +20 -8
  62. data/lib/ory-kratos-client/models/generic_error.rb +20 -8
  63. data/lib/ory-kratos-client/models/generic_error_payload.rb +20 -8
  64. data/lib/ory-kratos-client/models/health_not_ready_status.rb +20 -8
  65. data/lib/ory-kratos-client/models/health_status.rb +20 -8
  66. data/lib/ory-kratos-client/models/identity.rb +20 -8
  67. data/lib/ory-kratos-client/models/login_flow.rb +22 -10
  68. data/lib/ory-kratos-client/models/login_flow_method.rb +20 -8
  69. data/lib/ory-kratos-client/models/login_flow_method_config.rb +20 -8
  70. data/lib/ory-kratos-client/models/login_via_api_response.rb +20 -8
  71. data/lib/ory-kratos-client/models/message.rb +20 -8
  72. data/lib/ory-kratos-client/models/recovery_address.rb +20 -8
  73. data/lib/ory-kratos-client/models/recovery_flow.rb +22 -10
  74. data/lib/ory-kratos-client/models/recovery_flow_method.rb +20 -8
  75. data/lib/ory-kratos-client/models/recovery_flow_method_config.rb +20 -8
  76. data/lib/ory-kratos-client/models/recovery_link.rb +21 -9
  77. data/lib/ory-kratos-client/models/registration_flow.rb +22 -10
  78. data/lib/ory-kratos-client/models/registration_flow_method.rb +20 -8
  79. data/lib/ory-kratos-client/models/registration_flow_method_config.rb +20 -8
  80. data/lib/ory-kratos-client/models/registration_via_api_response.rb +20 -8
  81. data/lib/ory-kratos-client/models/revoke_session.rb +20 -8
  82. data/lib/ory-kratos-client/models/session.rb +23 -11
  83. data/lib/ory-kratos-client/models/settings_flow.rb +22 -10
  84. data/lib/ory-kratos-client/models/settings_flow_method.rb +20 -8
  85. data/lib/ory-kratos-client/models/settings_flow_method_config.rb +20 -8
  86. data/lib/ory-kratos-client/models/settings_via_api_response.rb +20 -8
  87. data/lib/ory-kratos-client/models/update_identity.rb +20 -8
  88. data/lib/ory-kratos-client/models/verifiable_address.rb +21 -9
  89. data/lib/ory-kratos-client/models/verification_flow.rb +22 -10
  90. data/lib/ory-kratos-client/models/verification_flow_method.rb +20 -8
  91. data/lib/ory-kratos-client/models/verification_flow_method_config.rb +20 -8
  92. data/lib/ory-kratos-client/models/version.rb +20 -8
  93. data/lib/ory-kratos-client/version.rb +3 -3
  94. data/ory-kratos-client.gemspec +4 -5
  95. data/spec/api_client_spec.rb +3 -3
  96. data/spec/configuration_spec.rb +2 -2
  97. data/spec/spec_helper.rb +2 -2
  98. metadata +48 -68
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | |
8
- **value** | **String** | |
9
- **via** | **String** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **value** | **String** | | |
9
+ | **via** | **String** | | |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'OryHydraClient'
14
+ require 'ory-kratos-client'
15
15
 
16
- instance = OryHydraClient::RecoveryAddress.new(id: null,
17
- value: null,
18
- via: null)
16
+ instance = OryHydraClient::RecoveryAddress.new(
17
+ id: null,
18
+ value: null,
19
+ via: null
20
+ )
19
21
  ```
20
22
 
21
-
data/docs/RecoveryFlow.md CHANGED
@@ -2,32 +2,33 @@
2
2
 
3
3
  ## Properties
4
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** | **DateTime** | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. |
9
- **id** | **String** | |
10
- **issued_at** | **DateTime** | IssuedAt is the time (UTC) when the request occurred. |
11
- **messages** | [**Array<Message>**](Message.md) | | [optional]
12
- **methods** | [**Hash<String, RecoveryFlowMethod>**](RecoveryFlowMethod.md) | Methods contains context for all account recovery methods. If a registration request has been processed, but for example the password is incorrect, this will contain error messages. |
13
- **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL's path or query for example. |
14
- **state** | **String** | |
15
- **type** | **String** | The flow type can either be `api` or `browser`. | [optional]
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 update the setting, a new request has to be initiated. | |
9
+ | **id** | **String** | | |
10
+ | **issued_at** | **Time** | IssuedAt is the time (UTC) when the request occurred. | |
11
+ | **messages** | [**Array<Message>**](Message.md) | | [optional] |
12
+ | **methods** | [**Hash<String, RecoveryFlowMethod>**](RecoveryFlowMethod.md) | Methods contains context for all account recovery methods. If a registration request has been processed, but for example the password is incorrect, this will contain error messages. | |
13
+ | **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL's path or query for example. | |
14
+ | **state** | **String** | | |
15
+ | **type** | **String** | The flow type can either be `api` or `browser`. | [optional] |
16
16
 
17
- ## Code Sample
17
+ ## Example
18
18
 
19
19
  ```ruby
20
- require 'OryHydraClient'
20
+ require 'ory-kratos-client'
21
21
 
22
- instance = OryHydraClient::RecoveryFlow.new(active: null,
23
- expires_at: null,
24
- id: null,
25
- issued_at: null,
26
- messages: null,
27
- methods: null,
28
- request_url: null,
29
- state: null,
30
- type: null)
22
+ instance = OryHydraClient::RecoveryFlow.new(
23
+ active: null,
24
+ expires_at: null,
25
+ id: null,
26
+ issued_at: null,
27
+ messages: null,
28
+ methods: null,
29
+ request_url: null,
30
+ state: null,
31
+ type: null
32
+ )
31
33
  ```
32
34
 
33
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **config** | [**RecoveryFlowMethodConfig**](RecoveryFlowMethodConfig.md) | |
8
- **method** | **String** | Method contains the request credentials type. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **config** | [**RecoveryFlowMethodConfig**](RecoveryFlowMethodConfig.md) | | |
8
+ | **method** | **String** | Method contains the request credentials type. | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::RecoveryFlowMethod.new(config: null,
16
- method: null)
15
+ instance = OryHydraClient::RecoveryFlowMethod.new(
16
+ config: null,
17
+ method: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
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) |
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
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OryHydraClient'
15
+ require 'ory-kratos-client'
16
16
 
17
- instance = OryHydraClient::RecoveryFlowMethodConfig.new(action: null,
18
- fields: null,
19
- messages: null,
20
- method: null)
17
+ instance = OryHydraClient::RecoveryFlowMethodConfig.new(
18
+ action: null,
19
+ fields: null,
20
+ messages: null,
21
+ method: null
22
+ )
21
23
  ```
22
24
 
23
-
data/docs/RecoveryLink.md CHANGED
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **expires_at** | **DateTime** | Recovery Link Expires At The timestamp when the recovery link expires. | [optional]
8
- **recovery_link** | **String** | Recovery Link This link can be used to recover the account. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **expires_at** | **Time** | Recovery Link Expires At The timestamp when the recovery link expires. | [optional] |
8
+ | **recovery_link** | **String** | Recovery Link This link can be used to recover the account. | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::RecoveryLink.new(expires_at: null,
16
- recovery_link: null)
15
+ instance = OryHydraClient::RecoveryLink.new(
16
+ expires_at: null,
17
+ recovery_link: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,30 +2,31 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **String** | and so on. | [optional]
8
- **expires_at** | **DateTime** | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. |
9
- **id** | **String** | |
10
- **issued_at** | **DateTime** | IssuedAt is the time (UTC) when the flow occurred. |
11
- **messages** | [**Array<Message>**](Message.md) | | [optional]
12
- **methods** | [**Hash<String, RegistrationFlowMethod>**](RegistrationFlowMethod.md) | Methods contains context for all enabled registration methods. If a registration flow has been processed, but for example the password is incorrect, this will contain error messages. |
13
- **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL's path or query for example. |
14
- **type** | **String** | The flow type can either be `api` or `browser`. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active** | **String** | and so on. | [optional] |
8
+ | **expires_at** | **Time** | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. | |
9
+ | **id** | **String** | | |
10
+ | **issued_at** | **Time** | IssuedAt is the time (UTC) when the flow occurred. | |
11
+ | **messages** | [**Array<Message>**](Message.md) | | [optional] |
12
+ | **methods** | [**Hash<String, RegistrationFlowMethod>**](RegistrationFlowMethod.md) | Methods contains context for all enabled registration methods. If a registration flow has been processed, but for example the password is incorrect, this will contain error messages. | |
13
+ | **request_url** | **String** | RequestURL is the initial URL that was requested from ORY Kratos. It can be used to forward information contained in the URL's path or query for example. | |
14
+ | **type** | **String** | The flow type can either be `api` or `browser`. | [optional] |
15
15
 
16
- ## Code Sample
16
+ ## Example
17
17
 
18
18
  ```ruby
19
- require 'OryHydraClient'
19
+ require 'ory-kratos-client'
20
20
 
21
- instance = OryHydraClient::RegistrationFlow.new(active: null,
22
- expires_at: null,
23
- id: null,
24
- issued_at: null,
25
- messages: null,
26
- methods: null,
27
- request_url: null,
28
- type: null)
21
+ instance = OryHydraClient::RegistrationFlow.new(
22
+ active: null,
23
+ expires_at: null,
24
+ id: null,
25
+ issued_at: null,
26
+ messages: null,
27
+ methods: null,
28
+ request_url: null,
29
+ type: null
30
+ )
29
31
  ```
30
32
 
31
-
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **config** | [**RegistrationFlowMethodConfig**](RegistrationFlowMethodConfig.md) | |
8
- **method** | **String** | and so on. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **config** | [**RegistrationFlowMethodConfig**](RegistrationFlowMethodConfig.md) | | |
8
+ | **method** | **String** | and so on. | |
9
9
 
10
- ## Code Sample
10
+ ## Example
11
11
 
12
12
  ```ruby
13
- require 'OryHydraClient'
13
+ require 'ory-kratos-client'
14
14
 
15
- instance = OryHydraClient::RegistrationFlowMethod.new(config: null,
16
- method: null)
15
+ instance = OryHydraClient::RegistrationFlowMethod.new(
16
+ config: null,
17
+ method: null
18
+ )
17
19
  ```
18
20
 
19
-
@@ -2,24 +2,25 @@
2
2
 
3
3
  ## Properties
4
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
- **providers** | [**Array<FormField>**](FormField.md) | Providers is set for the \"oidc\" registration method. | [optional]
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
+ | **providers** | [**Array<FormField>**](FormField.md) | Providers is set for the \"oidc\" registration method. | [optional] |
12
12
 
13
- ## Code Sample
13
+ ## Example
14
14
 
15
15
  ```ruby
16
- require 'OryHydraClient'
16
+ require 'ory-kratos-client'
17
17
 
18
- instance = OryHydraClient::RegistrationFlowMethodConfig.new(action: null,
19
- fields: null,
20
- messages: null,
21
- method: null,
22
- providers: null)
18
+ instance = OryHydraClient::RegistrationFlowMethodConfig.new(
19
+ action: null,
20
+ fields: null,
21
+ messages: null,
22
+ method: null,
23
+ providers: null
24
+ )
23
25
  ```
24
26
 
25
-
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
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! |
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
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'OryHydraClient'
14
+ require 'ory-kratos-client'
15
15
 
16
- instance = OryHydraClient::RegistrationViaApiResponse.new(identity: null,
17
- session: null,
18
- session_token: null)
16
+ instance = OryHydraClient::RegistrationViaApiResponse.new(
17
+ identity: null,
18
+ session: null,
19
+ session_token: null
20
+ )
19
21
  ```
20
22
 
21
-
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **session_token** | **String** | The Session Token Invalidate this session token. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **session_token** | **String** | The Session Token Invalidate this session token. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'OryHydraClient'
12
+ require 'ory-kratos-client'
13
13
 
14
- instance = OryHydraClient::RevokeSession.new(session_token: null)
14
+ instance = OryHydraClient::RevokeSession.new(
15
+ session_token: null
16
+ )
15
17
  ```
16
18
 
17
-
data/docs/Session.md CHANGED
@@ -2,26 +2,27 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **Boolean** | | [optional]
8
- **authenticated_at** | **DateTime** | |
9
- **expires_at** | **DateTime** | |
10
- **id** | **String** | |
11
- **identity** | [**Identity**](Identity.md) | |
12
- **issued_at** | **DateTime** | |
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
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-kratos-client'
18
18
 
19
- instance = OryHydraClient::Session.new(active: null,
20
- authenticated_at: null,
21
- expires_at: null,
22
- id: null,
23
- identity: null,
24
- issued_at: null)
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
+ )
25
27
  ```
26
28
 
27
-
data/docs/SettingsFlow.md CHANGED
@@ -2,34 +2,35 @@
2
2
 
3
3
  ## Properties
4
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** | **DateTime** | 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** | **DateTime** | IssuedAt is the time (UTC) when the flow occurred. |
12
- **messages** | [**Array<Message>**](Message.md) | | [optional]
13
- **methods** | [**Hash<String, SettingsFlowMethod>**](SettingsFlowMethod.md) | Methods contains context for all enabled registration methods. If a settings flow has been processed, but for example the first name is empty, this will contain error messages. |
14
- **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. |
15
- **state** | **String** | |
16
- **type** | **String** | The flow type can either be `api` or `browser`. | [optional]
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
+ | **messages** | [**Array<Message>**](Message.md) | | [optional] |
13
+ | **methods** | [**Hash<String, SettingsFlowMethod>**](SettingsFlowMethod.md) | Methods contains context for all enabled registration methods. If a settings flow has been processed, but for example the first name is empty, this will contain error messages. | |
14
+ | **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. | |
15
+ | **state** | **String** | | |
16
+ | **type** | **String** | The flow type can either be `api` or `browser`. | [optional] |
17
17
 
18
- ## Code Sample
18
+ ## Example
19
19
 
20
20
  ```ruby
21
- require 'OryHydraClient'
21
+ require 'ory-kratos-client'
22
22
 
23
- instance = OryHydraClient::SettingsFlow.new(active: null,
24
- expires_at: null,
25
- id: null,
26
- identity: null,
27
- issued_at: null,
28
- messages: null,
29
- methods: null,
30
- request_url: null,
31
- state: null,
32
- type: null)
23
+ instance = OryHydraClient::SettingsFlow.new(
24
+ active: null,
25
+ expires_at: null,
26
+ id: null,
27
+ identity: null,
28
+ issued_at: null,
29
+ messages: null,
30
+ methods: null,
31
+ request_url: null,
32
+ state: null,
33
+ type: null
34
+ )
33
35
  ```
34
36
 
35
-