@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
48 lines (40 loc) • 4.39 kB
Markdown
InputAttributes represents the attributes of an input node
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**autocomplete** | **string** | The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode username webauthn InputAttributeAutocompleteUsernameWebauthn | [optional] [default to undefined]
**disabled** | **boolean** | Sets the input\&
**label** | [**UiText**](UiText.md) | | [optional] [default to undefined]
**maxlength** | **number** | MaxLength may contain the input\&
**name** | **string** | The input\&
**node_type** | **string** | NodeType represents this node\&
**onclick** | **string** | OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. | [optional] [default to undefined]
**onclickTrigger** | **string** | OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration | [optional] [default to undefined]
**onload** | **string** | OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. | [optional] [default to undefined]
**onloadTrigger** | **string** | OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration | [optional] [default to undefined]
**pattern** | **string** | The input\'s pattern. | [optional] [default to undefined]
**required** | **boolean** | Mark this input field as required. | [optional] [default to undefined]
**type** | **string** | The input\&
**value** | **any** | The input\&
```typescript
import { UiNodeInputAttributes } from '@ory/kratos-client';
const instance: UiNodeInputAttributes = {
autocomplete,
disabled,
label,
maxlength,
name,
node_type,
onclick,
onclickTrigger,
onload,
onloadTrigger,
pattern,
required,
type,
value,
};
```
[[Back to Model list]](../README.md