ory-kratos-client 0.5.0.alpha1 → 0.5.5.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/docs/AdminApi.md +382 -143
- data/docs/CompleteSelfServiceLoginFlowWithPasswordMethod.md +12 -11
- data/docs/CompleteSelfServiceRecoveryFlowWithLinkMethod.md +10 -9
- data/docs/CompleteSelfServiceSettingsFlowWithPasswordMethod.md +10 -9
- data/docs/CompleteSelfServiceVerificationFlowWithLinkMethod.md +10 -9
- data/docs/CreateIdentity.md +10 -9
- data/docs/CreateRecoveryLink.md +10 -9
- data/docs/ErrorContainer.md +10 -9
- data/docs/FormField.md +20 -19
- data/docs/GenericError.md +8 -7
- data/docs/GenericErrorPayload.md +20 -19
- data/docs/HealthApi.md +50 -15
- data/docs/HealthNotReadyStatus.md +8 -7
- data/docs/HealthStatus.md +8 -7
- data/docs/Identity.md +18 -17
- data/docs/LoginFlow.md +24 -23
- data/docs/LoginFlowMethod.md +10 -9
- data/docs/LoginFlowMethodConfig.md +16 -15
- data/docs/LoginViaApiResponse.md +10 -9
- data/docs/Message.md +14 -13
- data/docs/PublicApi.md +707 -237
- data/docs/RecoveryAddress.md +12 -11
- data/docs/RecoveryFlow.md +24 -23
- data/docs/RecoveryFlowMethod.md +10 -9
- data/docs/RecoveryFlowMethodConfig.md +14 -13
- data/docs/RecoveryLink.md +10 -9
- data/docs/RegistrationFlow.md +22 -21
- data/docs/RegistrationFlowMethod.md +10 -9
- data/docs/RegistrationFlowMethodConfig.md +16 -15
- data/docs/RegistrationViaApiResponse.md +12 -11
- data/docs/RevokeSession.md +8 -7
- data/docs/Session.md +18 -17
- data/docs/SettingsFlow.md +26 -25
- data/docs/SettingsFlowMethod.md +10 -9
- data/docs/SettingsFlowMethodConfig.md +14 -13
- data/docs/SettingsViaApiResponse.md +10 -9
- data/docs/UpdateIdentity.md +10 -9
- data/docs/VerifiableAddress.md +18 -17
- data/docs/VerificationFlow.md +24 -23
- data/docs/VerificationFlowMethod.md +10 -9
- data/docs/VerificationFlowMethodConfig.md +14 -13
- data/docs/Version.md +8 -7
- data/docs/VersionApi.md +26 -9
- data/lib/ory-kratos-client.rb +2 -2
- data/lib/ory-kratos-client/api/admin_api.rb +58 -44
- data/lib/ory-kratos-client/api/health_api.rb +10 -8
- data/lib/ory-kratos-client/api/public_api.rb +113 -86
- data/lib/ory-kratos-client/api/version_api.rb +6 -5
- data/lib/ory-kratos-client/api_client.rb +50 -48
- data/lib/ory-kratos-client/api_error.rb +2 -2
- data/lib/ory-kratos-client/configuration.rb +34 -7
- data/lib/ory-kratos-client/models/complete_self_service_login_flow_with_password_method.rb +20 -8
- data/lib/ory-kratos-client/models/complete_self_service_recovery_flow_with_link_method.rb +20 -8
- data/lib/ory-kratos-client/models/complete_self_service_settings_flow_with_password_method.rb +20 -8
- data/lib/ory-kratos-client/models/complete_self_service_verification_flow_with_link_method.rb +20 -8
- data/lib/ory-kratos-client/models/create_identity.rb +20 -8
- data/lib/ory-kratos-client/models/create_recovery_link.rb +20 -8
- data/lib/ory-kratos-client/models/error_container.rb +20 -8
- data/lib/ory-kratos-client/models/form_field.rb +20 -8
- data/lib/ory-kratos-client/models/generic_error.rb +20 -8
- data/lib/ory-kratos-client/models/generic_error_payload.rb +20 -8
- data/lib/ory-kratos-client/models/health_not_ready_status.rb +20 -8
- data/lib/ory-kratos-client/models/health_status.rb +20 -8
- data/lib/ory-kratos-client/models/identity.rb +20 -8
- data/lib/ory-kratos-client/models/login_flow.rb +22 -10
- data/lib/ory-kratos-client/models/login_flow_method.rb +20 -8
- data/lib/ory-kratos-client/models/login_flow_method_config.rb +20 -8
- data/lib/ory-kratos-client/models/login_via_api_response.rb +20 -8
- data/lib/ory-kratos-client/models/message.rb +20 -8
- data/lib/ory-kratos-client/models/recovery_address.rb +20 -8
- data/lib/ory-kratos-client/models/recovery_flow.rb +22 -10
- data/lib/ory-kratos-client/models/recovery_flow_method.rb +20 -8
- data/lib/ory-kratos-client/models/recovery_flow_method_config.rb +20 -8
- data/lib/ory-kratos-client/models/recovery_link.rb +21 -9
- data/lib/ory-kratos-client/models/registration_flow.rb +22 -10
- data/lib/ory-kratos-client/models/registration_flow_method.rb +20 -8
- data/lib/ory-kratos-client/models/registration_flow_method_config.rb +20 -8
- data/lib/ory-kratos-client/models/registration_via_api_response.rb +20 -8
- data/lib/ory-kratos-client/models/revoke_session.rb +20 -8
- data/lib/ory-kratos-client/models/session.rb +23 -11
- data/lib/ory-kratos-client/models/settings_flow.rb +22 -10
- data/lib/ory-kratos-client/models/settings_flow_method.rb +20 -8
- data/lib/ory-kratos-client/models/settings_flow_method_config.rb +20 -8
- data/lib/ory-kratos-client/models/settings_via_api_response.rb +20 -8
- data/lib/ory-kratos-client/models/update_identity.rb +20 -8
- data/lib/ory-kratos-client/models/verifiable_address.rb +21 -9
- data/lib/ory-kratos-client/models/verification_flow.rb +22 -10
- data/lib/ory-kratos-client/models/verification_flow_method.rb +20 -8
- data/lib/ory-kratos-client/models/verification_flow_method_config.rb +20 -8
- data/lib/ory-kratos-client/models/version.rb +20 -8
- data/lib/ory-kratos-client/version.rb +3 -3
- data/ory-kratos-client.gemspec +4 -5
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +49 -69
data/docs/RecoveryAddress.md
CHANGED
@@ -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
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'ory-kratos-client'
|
15
15
|
|
16
|
-
instance = OryHydraClient::RecoveryAddress.new(
|
17
|
-
|
18
|
-
|
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** | **
|
9
|
-
**id** | **String** | |
|
10
|
-
**issued_at** | **
|
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
|
-
##
|
17
|
+
## Example
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
require '
|
20
|
+
require 'ory-kratos-client'
|
21
21
|
|
22
|
-
instance = OryHydraClient::RecoveryFlow.new(
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
data/docs/RecoveryFlowMethod.md
CHANGED
@@ -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
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'ory-kratos-client'
|
14
14
|
|
15
|
-
instance = OryHydraClient::RecoveryFlowMethod.new(
|
16
|
-
|
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
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'ory-kratos-client'
|
16
16
|
|
17
|
-
instance = OryHydraClient::RecoveryFlowMethodConfig.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
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** | **
|
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
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'ory-kratos-client'
|
14
14
|
|
15
|
-
instance = OryHydraClient::RecoveryLink.new(
|
16
|
-
|
15
|
+
instance = OryHydraClient::RecoveryLink.new(
|
16
|
+
expires_at: null,
|
17
|
+
recovery_link: null
|
18
|
+
)
|
17
19
|
```
|
18
20
|
|
19
|
-
|
data/docs/RegistrationFlow.md
CHANGED
@@ -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** | **
|
9
|
-
**id** | **String** | |
|
10
|
-
**issued_at** | **
|
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
|
-
##
|
16
|
+
## Example
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
require '
|
19
|
+
require 'ory-kratos-client'
|
20
20
|
|
21
|
-
instance = OryHydraClient::RegistrationFlow.new(
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
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
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'ory-kratos-client'
|
14
14
|
|
15
|
-
instance = OryHydraClient::RegistrationFlowMethod.new(
|
16
|
-
|
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
|
-
##
|
13
|
+
## Example
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
require '
|
16
|
+
require 'ory-kratos-client'
|
17
17
|
|
18
|
-
instance = OryHydraClient::RegistrationFlowMethodConfig.new(
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'ory-kratos-client'
|
15
15
|
|
16
|
-
instance = OryHydraClient::RegistrationViaApiResponse.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = OryHydraClient::RegistrationViaApiResponse.new(
|
17
|
+
identity: null,
|
18
|
+
session: null,
|
19
|
+
session_token: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
data/docs/RevokeSession.md
CHANGED
@@ -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
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'ory-kratos-client'
|
13
13
|
|
14
|
-
instance = OryHydraClient::RevokeSession.new(
|
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** | **
|
9
|
-
**expires_at** | **
|
10
|
-
**id** | **String** | |
|
11
|
-
**identity** | [**Identity**](Identity.md) | |
|
12
|
-
**issued_at** | **
|
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
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'ory-kratos-client'
|
18
18
|
|
19
|
-
instance = OryHydraClient::Session.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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** | **
|
9
|
-
**id** | **String** | |
|
10
|
-
**identity** | [**Identity**](Identity.md) | |
|
11
|
-
**issued_at** | **
|
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
|
-
##
|
18
|
+
## Example
|
19
19
|
|
20
20
|
```ruby
|
21
|
-
require '
|
21
|
+
require 'ory-kratos-client'
|
22
22
|
|
23
|
-
instance = OryHydraClient::SettingsFlow.new(
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
|
-
|