@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
60 lines (52 loc) • 4.51 kB
Markdown
Update Settings Flow Request Body
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrf_token** | **string** | CSRFToken is the anti-CSRF token | [optional] [default to undefined]
**method** | **string** | Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. | [default to undefined]
**password** | **string** | Password is the updated password | [default to undefined]
**transient_payload** | **object** | Transient data to pass along to any webhooks | [optional] [default to undefined]
**traits** | **object** | The identity\&
**flow** | **string** | Flow ID is the flow\&
**link** | **string** | Link this provider Either this or &
**unlink** | **string** | Unlink this provider Either this or &
**upstream_parameters** | **object** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: &
**totp_code** | **string** | ValidationTOTP must contain a valid TOTP based on the | [optional] [default to undefined]
**totp_unlink** | **boolean** | UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. | [optional] [default to undefined]
**webauthn_register** | **string** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] [default to undefined]
**webauthn_register_displayname** | **string** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] [default to undefined]
**webauthn_remove** | **string** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] [default to undefined]
**lookup_secret_confirm** | **boolean** | If set to true will save the regenerated lookup secrets | [optional] [default to undefined]
**lookup_secret_disable** | **boolean** | Disables this method if true. | [optional] [default to undefined]
**lookup_secret_regenerate** | **boolean** | If set to true will regenerate the lookup secrets | [optional] [default to undefined]
**lookup_secret_reveal** | **boolean** | If set to true will reveal the lookup secrets | [optional] [default to undefined]
**passkey_remove** | **string** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] [default to undefined]
**passkey_settings_register** | **string** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] [default to undefined]
```typescript
import { UpdateSettingsFlowBody } from '@ory/kratos-client';
const instance: UpdateSettingsFlowBody = {
csrf_token,
method,
password,
transient_payload,
traits,
flow,
link,
unlink,
upstream_parameters,
totp_code,
totp_unlink,
webauthn_register,
webauthn_register_displayname,
webauthn_remove,
lookup_secret_confirm,
lookup_secret_disable,
lookup_secret_regenerate,
lookup_secret_reveal,
passkey_remove,
passkey_settings_register,
};
```
[[Back to Model list]](../README.md