providers/credentials
CredentialInput
Besides providing type safety inside CredentialsConfig.authorize it also determines how the credentials input fields will be rendered on the default sign in page.
Extends
Partial
<JSX.IntrinsicElements
["input"
]>
Properties
about?
optional about: string | SignalLike<undefined | string>;
Inherited from
Partial.about
accept?
optional accept: string | SignalLike<undefined | string>;
Inherited from
Partial.accept
accept-charset?
optional accept-charset: string | SignalLike<undefined | string>;
Inherited from
Partial.accept-charset
acceptCharset?
optional acceptCharset: string | SignalLike<undefined | string>;
Inherited from
Partial.acceptCharset
accessKey?
optional accessKey: string | SignalLike<undefined | string>;
Inherited from
Partial.accessKey
accesskey?
optional accesskey: string | SignalLike<undefined | string>;
Inherited from
Partial.accesskey
action?
optional action: string | SignalLike<undefined | string>;
Inherited from
Partial.action
allow?
optional allow: string | SignalLike<undefined | string>;
Inherited from
Partial.allow
allowFullScreen?
optional allowFullScreen: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.allowFullScreen
allowTransparency?
optional allowTransparency: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.allowTransparency
alt?
optional alt: string | SignalLike<undefined | string>;
Inherited from
Partial.alt
aria-activedescendant?
optional aria-activedescendant: Signalish<undefined | string>;
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
Inherited from
Partial.aria-activedescendant
aria-atomic?
optional aria-atomic: Signalish<undefined | Booleanish>;
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Inherited from
Partial.aria-atomic
aria-autocomplete?
optional aria-autocomplete: Signalish<
| undefined
| "none"
| "list"
| "inline"
| "both">;
Indicates whether inputting text could trigger display of one or more predictions of the user’s intended value for an input and specifies how predictions would be presented if they are made.
Inherited from
Partial.aria-autocomplete
aria-braillelabel?
optional aria-braillelabel: Signalish<undefined | string>;
Defines a string value that labels the current element, which is intended to be converted into Braille.
See
aria-label.
Inherited from
Partial.aria-braillelabel
aria-brailleroledescription?
optional aria-brailleroledescription: Signalish<undefined | string>;
Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
See
aria-roledescription.
Inherited from
Partial.aria-brailleroledescription
aria-busy?
optional aria-busy: Signalish<undefined | Booleanish>;
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
Inherited from
Partial.aria-busy
aria-checked?
optional aria-checked: Signalish<undefined | Booleanish | "mixed">;
Indicates the current “checked” state of checkboxes, radio buttons, and other widgets.
See
- aria-pressed
- aria-selected.
Inherited from
Partial.aria-checked
aria-colcount?
optional aria-colcount: Signalish<undefined | number>;
Defines the total number of columns in a table, grid, or treegrid.
See
aria-colindex.
Inherited from
Partial.aria-colcount
aria-colindex?
optional aria-colindex: Signalish<undefined | number>;
Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid.
See
- aria-colcount
- aria-colspan.
Inherited from
Partial.aria-colindex
aria-colindextext?
optional aria-colindextext: Signalish<undefined | string>;
Defines a human readable text alternative of aria-colindex.
See
aria-rowindextext.
Inherited from
Partial.aria-colindextext
aria-colspan?
optional aria-colspan: Signalish<undefined | number>;
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
See
- aria-colindex
- aria-rowspan.
Inherited from
Partial.aria-colspan
aria-controls?
optional aria-controls: Signalish<undefined | string>;
Identifies the element (or elements) whose contents or presence are controlled by the current element.
See
aria-owns.
Inherited from
Partial.aria-controls
aria-current?
optional aria-current: Signalish<
| undefined
| "step"
| "time"
| "page"
| Booleanish
| "location"
| "date">;
Indicates the element that represents the current item within a container or set of related elements.
Inherited from
Partial.aria-current
aria-describedby?
optional aria-describedby: Signalish<undefined | string>;
Identifies the element (or elements) that describes the object.
See
aria-labelledby
Inherited from
Partial.aria-describedby
aria-description?
optional aria-description: Signalish<undefined | string>;
Defines a string value that describes or annotates the current element.
See
related aria-describedby.
Inherited from
Partial.aria-description
aria-details?
optional aria-details: Signalish<undefined | string>;
Identifies the element that provides a detailed, extended description for the object.
See
aria-describedby.
Inherited from
Partial.aria-details
aria-disabled?
optional aria-disabled: Signalish<undefined | Booleanish>;
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
See
- aria-hidden
- aria-readonly.
Inherited from
Partial.aria-disabled
aria-dropeffect?
optional aria-dropeffect: Signalish<
| undefined
| "none"
| "link"
| "copy"
| "execute"
| "move"
| "popup">;
Indicates what functions can be performed when a dragged object is released on the drop target.
Deprecated
in ARIA 1.1
Inherited from
Partial.aria-dropeffect
aria-errormessage?
optional aria-errormessage: Signalish<undefined | string>;
Identifies the element that provides an error message for the object.
See
- aria-invalid
- aria-describedby.
Inherited from
Partial.aria-errormessage
aria-expanded?
optional aria-expanded: Signalish<undefined | Booleanish>;
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Inherited from
Partial.aria-expanded
aria-flowto?
optional aria-flowto: Signalish<undefined | string>;
Identifies the next element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order.
Inherited from
Partial.aria-flowto
aria-grabbed?
optional aria-grabbed: Signalish<undefined | Booleanish>;
Indicates an element’s “grabbed” state in a drag-and-drop operation.
Deprecated
in ARIA 1.1
Inherited from
Partial.aria-grabbed
aria-haspopup?
optional aria-haspopup: Signalish<
| undefined
| "dialog"
| "menu"
| "grid"
| Booleanish
| "listbox"
| "tree">;
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Inherited from
Partial.aria-haspopup
aria-hidden?
optional aria-hidden: Signalish<undefined | Booleanish>;
Indicates whether the element is exposed to an accessibility API.
See
aria-disabled.
Inherited from
Partial.aria-hidden
aria-invalid?
optional aria-invalid: Signalish<undefined | Booleanish | "grammar" | "spelling">;
Indicates the entered value does not conform to the format expected by the application.
See
aria-errormessage.
Inherited from
Partial.aria-invalid
aria-keyshortcuts?
optional aria-keyshortcuts: Signalish<undefined | string>;
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Inherited from
Partial.aria-keyshortcuts
aria-label?
optional aria-label: Signalish<undefined | string>;
Defines a string value that labels the current element.
See
aria-labelledby.
Inherited from
Partial.aria-label
aria-labelledby?
optional aria-labelledby: Signalish<undefined | string>;
Identifies the element (or elements) that labels the current element.
See
aria-describedby.
Inherited from
Partial.aria-labelledby
aria-level?
optional aria-level: Signalish<undefined | number>;
Defines the hierarchical level of an element within a structure.
Inherited from
Partial.aria-level
aria-live?
optional aria-live: Signalish<undefined | "off" | "assertive" | "polite">;
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Inherited from
Partial.aria-live
aria-modal?
optional aria-modal: Signalish<undefined | Booleanish>;
Indicates whether an element is modal when displayed.
Inherited from
Partial.aria-modal
aria-multiline?
optional aria-multiline: Signalish<undefined | Booleanish>;
Indicates whether a text box accepts multiple lines of input or only a single line.
Inherited from
Partial.aria-multiline
aria-multiselectable?
optional aria-multiselectable: Signalish<undefined | Booleanish>;
Indicates that the user may select more than one item from the current selectable descendants.
Inherited from
Partial.aria-multiselectable
aria-orientation?
optional aria-orientation: Signalish<undefined | "horizontal" | "vertical">;
Indicates whether the element’s orientation is horizontal, vertical, or unknown/ambiguous.
Inherited from
Partial.aria-orientation
aria-owns?
optional aria-owns: Signalish<undefined | string>;
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
See
aria-controls.
Inherited from
Partial.aria-owns
aria-placeholder?
optional aria-placeholder: Signalish<undefined | string>;
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
Inherited from
Partial.aria-placeholder
aria-posinset?
optional aria-posinset: Signalish<undefined | number>;
Defines an element’s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
See
aria-setsize.
Inherited from
Partial.aria-posinset
aria-pressed?
optional aria-pressed: Signalish<undefined | Booleanish | "mixed">;
Indicates the current “pressed” state of toggle buttons.
See
- aria-checked
- aria-selected.
Inherited from
Partial.aria-pressed
aria-readonly?
optional aria-readonly: Signalish<undefined | Booleanish>;
Indicates that the element is not editable, but is otherwise operable.
See
aria-disabled.
Inherited from
Partial.aria-readonly
aria-relevant?
optional aria-relevant: Signalish<
| undefined
| "text"
| "all"
| "additions"
| "additions removals"
| "additions text"
| "removals"
| "removals additions"
| "removals text"
| "text additions"
| "text removals">;
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
See
aria-atomic.
Inherited from
Partial.aria-relevant
aria-required?
optional aria-required: Signalish<undefined | Booleanish>;
Indicates that user input is required on the element before a form may be submitted.
Inherited from
Partial.aria-required
aria-roledescription?
optional aria-roledescription: Signalish<undefined | string>;
Defines a human-readable, author-localized description for the role of an element.
Inherited from
Partial.aria-roledescription
aria-rowcount?
optional aria-rowcount: Signalish<undefined | number>;
Defines the total number of rows in a table, grid, or treegrid.
See
aria-rowindex.
Inherited from
Partial.aria-rowcount
aria-rowindex?
optional aria-rowindex: Signalish<undefined | number>;
Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid.
See
- aria-rowcount
- aria-rowspan.
Inherited from
Partial.aria-rowindex
aria-rowindextext?
optional aria-rowindextext: Signalish<undefined | string>;
Defines a human readable text alternative of aria-rowindex.
See
aria-colindextext.
Inherited from
Partial.aria-rowindextext
aria-rowspan?
optional aria-rowspan: Signalish<undefined | number>;
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
See
- aria-rowindex
- aria-colspan.
Inherited from
Partial.aria-rowspan
aria-selected?
optional aria-selected: Signalish<undefined | Booleanish>;
Indicates the current “selected” state of various widgets.
See
- aria-checked
- aria-pressed.
Inherited from
Partial.aria-selected
aria-setsize?
optional aria-setsize: Signalish<undefined | number>;
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
See
aria-posinset.
Inherited from
Partial.aria-setsize
aria-sort?
optional aria-sort: Signalish<
| undefined
| "none"
| "ascending"
| "descending"
| "other">;
Indicates if items in a table or grid are sorted in ascending or descending order.
Inherited from
Partial.aria-sort
aria-valuemax?
optional aria-valuemax: Signalish<undefined | number>;
Defines the maximum allowed value for a range widget.
Inherited from
Partial.aria-valuemax
aria-valuemin?
optional aria-valuemin: Signalish<undefined | number>;
Defines the minimum allowed value for a range widget.
Inherited from
Partial.aria-valuemin
aria-valuenow?
optional aria-valuenow: Signalish<undefined | number>;
Defines the current value for a range widget.
See
aria-valuetext.
Inherited from
Partial.aria-valuenow
aria-valuetext?
optional aria-valuetext: Signalish<undefined | string>;
Defines the human readable text alternative of aria-valuenow for a range widget.
Inherited from
Partial.aria-valuetext
as?
optional as: string | SignalLike<undefined | string>;
Inherited from
Partial.as
async?
optional async: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.async
autoCapitalize?
optional autoCapitalize:
| "none"
| "off"
| "on"
| "sentences"
| "words"
| "characters"
| SignalLike<
| undefined
| "none"
| "off"
| "on"
| "sentences"
| "words"
| "characters">;
Inherited from
Partial.autoCapitalize
autoComplete?
optional autoComplete: string | SignalLike<undefined | string>;
Inherited from
Partial.autoComplete
autoCorrect?
optional autoCorrect: string | SignalLike<undefined | string>;
Inherited from
Partial.autoCorrect
autoFocus?
optional autoFocus: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.autoFocus
autoPlay?
optional autoPlay: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.autoPlay
autocapitalize?
optional autocapitalize:
| "none"
| "off"
| "on"
| "sentences"
| "words"
| "characters"
| SignalLike<
| undefined
| "none"
| "off"
| "on"
| "sentences"
| "words"
| "characters">;
Inherited from
Partial.autocapitalize
autocomplete?
optional autocomplete: string | SignalLike<undefined | string>;
Inherited from
Partial.autocomplete
autocorrect?
optional autocorrect: string | SignalLike<undefined | string>;
Inherited from
Partial.autocorrect
autofocus?
optional autofocus: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.autofocus
autoplay?
optional autoplay: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.autoplay
capture?
optional capture: string | boolean | SignalLike<undefined | string>;
Inherited from
Partial.capture
cellPadding?
optional cellPadding: string | number | SignalLike<undefined | string>;
Inherited from
Partial.cellPadding
cellSpacing?
optional cellSpacing: string | number | SignalLike<undefined | string>;
Inherited from
Partial.cellSpacing
challenge?
optional challenge: string | SignalLike<undefined | string>;
Inherited from
Partial.challenge
charSet?
optional charSet: string | SignalLike<undefined | string>;
Inherited from
Partial.charSet
charset?
optional charset: string | SignalLike<undefined | string>;
Inherited from
Partial.charset
checked?
optional checked: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.checked
children?
optional children: ComponentChildren;
Inherited from
Partial.children
cite?
optional cite: string | SignalLike<undefined | string>;
Inherited from
Partial.cite
class?
optional class: string | SignalLike<undefined | string>;
Inherited from
Partial.class
className?
optional className: string | SignalLike<undefined | string>;
Inherited from
Partial.className
colSpan?
optional colSpan: number | SignalLike<undefined | number>;
Inherited from
Partial.colSpan
cols?
optional cols: number | SignalLike<undefined | number>;
Inherited from
Partial.cols
colspan?
optional colspan: number | SignalLike<undefined | number>;
Inherited from
Partial.colspan
content?
optional content: string | SignalLike<undefined | string>;
Inherited from
Partial.content
contentEditable?
optional contentEditable:
| ""
| Booleanish
| "plaintext-only"
| "inherit"
| SignalLike<"" | Booleanish | "plaintext-only" | "inherit" | undefined>;
Inherited from
Partial.contentEditable
contenteditable?
optional contenteditable:
| ""
| Booleanish
| "plaintext-only"
| "inherit"
| SignalLike<"" | Booleanish | "plaintext-only" | "inherit" | undefined>;
Inherited from
Partial.contenteditable
contextMenu?
optional contextMenu: string | SignalLike<undefined | string>;
Deprecated
See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu
Inherited from
Partial.contextMenu
contextmenu?
optional contextmenu: string | SignalLike<undefined | string>;
Deprecated
See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu
Inherited from
Partial.contextmenu
controls?
optional controls: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.controls
controlsList?
optional controlsList: string | SignalLike<undefined | string>;
Inherited from
Partial.controlsList
coords?
optional coords: string | SignalLike<undefined | string>;
Inherited from
Partial.coords
crossOrigin?
optional crossOrigin: string | SignalLike<undefined | string>;
Inherited from
Partial.crossOrigin
crossorigin?
optional crossorigin: string | SignalLike<undefined | string>;
Inherited from
Partial.crossorigin
dangerouslySetInnerHTML?
optional dangerouslySetInnerHTML: {
__html: string;
};
__html
__html: string;
Inherited from
Partial.dangerouslySetInnerHTML
data?
optional data: string | SignalLike<undefined | string>;
Inherited from
Partial.data
datatype?
optional datatype: string | SignalLike<undefined | string>;
Inherited from
Partial.datatype
dateTime?
optional dateTime: string | SignalLike<undefined | string>;
Inherited from
Partial.dateTime
datetime?
optional datetime: string | SignalLike<undefined | string>;
Inherited from
Partial.datetime
decoding?
optional decoding: "async" | "auto" | "sync" | SignalLike<undefined | "async" | "auto" | "sync">;
Inherited from
Partial.decoding
default?
optional default: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.default
defaultChecked?
optional defaultChecked: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.defaultChecked
defaultValue?
optional defaultValue: string | SignalLike<undefined | string>;
Inherited from
Partial.defaultValue
defer?
optional defer: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.defer
dir?
optional dir: "auto" | "rtl" | "ltr" | SignalLike<undefined | "auto" | "rtl" | "ltr">;
Inherited from
Partial.dir
disablePictureInPicture?
optional disablePictureInPicture: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.disablePictureInPicture
disableRemotePlayback?
optional disableRemotePlayback: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.disableRemotePlayback
disabled?
optional disabled: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.disabled
download?
optional download: any;
Inherited from
Partial.download
draggable?
optional draggable: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.draggable
elementTiming?
optional elementTiming: string | SignalLike<undefined | string>;
Inherited from
Partial.elementTiming
elementtiming?
optional elementtiming: string | SignalLike<undefined | string>;
Inherited from
Partial.elementtiming
encType?
optional encType: string | SignalLike<undefined | string>;
Inherited from
Partial.encType
enctype?
optional enctype: string | SignalLike<undefined | string>;
Inherited from
Partial.enctype
enterkeyhint?
optional enterkeyhint:
| "search"
| "enter"
| "done"
| "go"
| "next"
| "previous"
| "send"
| SignalLike<
| undefined
| "search"
| "enter"
| "done"
| "go"
| "next"
| "previous"
| "send">;
Inherited from
Partial.enterkeyhint
exportparts?
optional exportparts: string | SignalLike<undefined | string>;
Inherited from
Partial.exportparts
for?
optional for: string | SignalLike<undefined | string>;
Inherited from
Partial.for
form?
optional form: string | SignalLike<undefined | string>;
Inherited from
Partial.form
formAction?
optional formAction: string | SignalLike<undefined | string>;
Inherited from
Partial.formAction
formEncType?
optional formEncType: string | SignalLike<undefined | string>;
Inherited from
Partial.formEncType
formMethod?
optional formMethod: string | SignalLike<undefined | string>;
Inherited from
Partial.formMethod
formNoValidate?
optional formNoValidate: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.formNoValidate
formTarget?
optional formTarget: string | SignalLike<undefined | string>;
Inherited from
Partial.formTarget
formaction?
optional formaction: string | SignalLike<undefined | string>;
Inherited from
Partial.formaction
formenctype?
optional formenctype: string | SignalLike<undefined | string>;
Inherited from
Partial.formenctype
formmethod?
optional formmethod: string | SignalLike<undefined | string>;
Inherited from
Partial.formmethod
formnovalidate?
optional formnovalidate: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.formnovalidate
formtarget?
optional formtarget: string | SignalLike<undefined | string>;
Inherited from
Partial.formtarget
frameBorder?
optional frameBorder: string | number | SignalLike<undefined | string | number>;
Inherited from
Partial.frameBorder
frameborder?
optional frameborder: string | number | SignalLike<undefined | string | number>;
Inherited from
Partial.frameborder
headers?
optional headers: string | SignalLike<undefined | string>;
Inherited from
Partial.headers
height?
optional height: string | number | SignalLike<undefined | string | number>;
Inherited from
Partial.height
hidden?
optional hidden: boolean | "hidden" | "until-found" | SignalLike<undefined | boolean | "hidden" | "until-found">;
Inherited from
Partial.hidden
high?
optional high: number | SignalLike<undefined | number>;
Inherited from
Partial.high
href?
optional href: string | SignalLike<undefined | string>;
Inherited from
Partial.href
hrefLang?
optional hrefLang: string | SignalLike<undefined | string>;
Inherited from
Partial.hrefLang
hreflang?
optional hreflang: string | SignalLike<undefined | string>;
Inherited from
Partial.hreflang
htmlFor?
optional htmlFor: string | SignalLike<undefined | string>;
Inherited from
Partial.htmlFor
http-equiv?
optional http-equiv: string | SignalLike<undefined | string>;
Inherited from
Partial.http-equiv
httpEquiv?
optional httpEquiv: string | SignalLike<undefined | string>;
Inherited from
Partial.httpEquiv
icon?
optional icon: string | SignalLike<undefined | string>;
Inherited from
Partial.icon
id?
optional id: string | SignalLike<undefined | string>;
Inherited from
Partial.id
indeterminate?
optional indeterminate: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.indeterminate
inert?
optional inert: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.inert
inlist?
optional inlist: any;
Inherited from
Partial.inlist
inputMode?
optional inputMode: string | SignalLike<undefined | string>;
Inherited from
Partial.inputMode
inputmode?
optional inputmode: string | SignalLike<undefined | string>;
Inherited from
Partial.inputmode
integrity?
optional integrity: string | SignalLike<undefined | string>;
Inherited from
Partial.integrity
is?
optional is: string | SignalLike<undefined | string>;
Inherited from
Partial.is
itemID?
optional itemID: string | SignalLike<undefined | string>;
Inherited from
Partial.itemID
itemProp?
optional itemProp: string | SignalLike<undefined | string>;
Inherited from
Partial.itemProp
itemRef?
optional itemRef: string | SignalLike<undefined | string>;
Inherited from
Partial.itemRef
itemScope?
optional itemScope: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.itemScope
itemType?
optional itemType: string | SignalLike<undefined | string>;
Inherited from
Partial.itemType
itemid?
optional itemid: string | SignalLike<undefined | string>;
Inherited from
Partial.itemid
itemprop?
optional itemprop: string | SignalLike<undefined | string>;
Inherited from
Partial.itemprop
itemref?
optional itemref: string | SignalLike<undefined | string>;
Inherited from
Partial.itemref
itemscope?
optional itemscope: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.itemscope
itemtype?
optional itemtype: string | SignalLike<undefined | string>;
Inherited from
Partial.itemtype
jsx?
optional jsx: boolean;
Inherited from
Partial.jsx
key?
optional key: any;
Inherited from
Partial.key
keyParams?
optional keyParams: string | SignalLike<undefined | string>;
Inherited from
Partial.keyParams
keyType?
optional keyType: string | SignalLike<undefined | string>;
Inherited from
Partial.keyType
kind?
optional kind: string | SignalLike<undefined | string>;
Inherited from
Partial.kind
label?
optional label: string;
Overrides
Partial.label
lang?
optional lang: string | SignalLike<undefined | string>;
Inherited from
Partial.lang
list?
optional list: string | SignalLike<undefined | string>;
Inherited from
Partial.list
loading?
optional loading: "lazy" | "eager" | SignalLike<undefined | "lazy" | "eager">;
Inherited from
Partial.loading
loop?
optional loop: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.loop
low?
optional low: number | SignalLike<undefined | number>;
Inherited from
Partial.low
manifest?
optional manifest: string | SignalLike<undefined | string>;
Inherited from
Partial.manifest
marginHeight?
optional marginHeight: number | SignalLike<undefined | number>;
Inherited from
Partial.marginHeight
marginWidth?
optional marginWidth: number | SignalLike<undefined | number>;
Inherited from
Partial.marginWidth
max?
optional max: string | number | SignalLike<undefined | string>;
Inherited from
Partial.max
maxLength?
optional maxLength: number | SignalLike<undefined | number>;
Inherited from
Partial.maxLength
maxlength?
optional maxlength: number | SignalLike<undefined | number>;
Inherited from
Partial.maxlength
media?
optional media: string | SignalLike<undefined | string>;
Inherited from
Partial.media
mediaGroup?
optional mediaGroup: string | SignalLike<undefined | string>;
Inherited from
Partial.mediaGroup
method?
optional method: string | SignalLike<undefined | string>;
Inherited from
Partial.method
min?
optional min: string | number | SignalLike<undefined | string>;
Inherited from
Partial.min
minLength?
optional minLength: number | SignalLike<undefined | number>;
Inherited from
Partial.minLength
minlength?
optional minlength: number | SignalLike<undefined | number>;
Inherited from
Partial.minlength
multiple?
optional multiple: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.multiple
muted?
optional muted: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.muted
name?
optional name: string | SignalLike<undefined | string>;
Inherited from
Partial.name
noValidate?
optional noValidate: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.noValidate
nomodule?
optional nomodule: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.nomodule
nonce?
optional nonce: string | SignalLike<undefined | string>;
Inherited from
Partial.nonce
novalidate?
optional novalidate: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.novalidate
onAbort?
optional onAbort: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onAbort
onAbortCapture?
optional onAbortCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onAbortCapture
onAnimationEnd?
optional onAnimationEnd: AnimationEventHandler<HTMLInputElement>;
Inherited from
Partial.onAnimationEnd
onAnimationEndCapture?
optional onAnimationEndCapture: AnimationEventHandler<HTMLInputElement>;
Inherited from
Partial.onAnimationEndCapture
onAnimationIteration?
optional onAnimationIteration: AnimationEventHandler<HTMLInputElement>;
Inherited from
Partial.onAnimationIteration
onAnimationIterationCapture?
optional onAnimationIterationCapture: AnimationEventHandler<HTMLInputElement>;
Inherited from
Partial.onAnimationIterationCapture
onAnimationStart?
optional onAnimationStart: AnimationEventHandler<HTMLInputElement>;
Inherited from
Partial.onAnimationStart
onAnimationStartCapture?
optional onAnimationStartCapture: AnimationEventHandler<HTMLInputElement>;
Inherited from
Partial.onAnimationStartCapture
onBeforeInput?
optional onBeforeInput: InputEventHandler<HTMLInputElement>;
Inherited from
Partial.onBeforeInput
onBeforeInputCapture?
optional onBeforeInputCapture: InputEventHandler<HTMLInputElement>;
Inherited from
Partial.onBeforeInputCapture
onBlur?
optional onBlur: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onBlur
onBlurCapture?
optional onBlurCapture: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onBlurCapture
onCanPlay?
optional onCanPlay: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onCanPlay
onCanPlayCapture?
optional onCanPlayCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onCanPlayCapture
onCanPlayThrough?
optional onCanPlayThrough: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onCanPlayThrough
onCanPlayThroughCapture?
optional onCanPlayThroughCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onCanPlayThroughCapture
onCancel?
optional onCancel: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onCancel
onChange?
optional onChange: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onChange
onChangeCapture?
optional onChangeCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onChangeCapture
onClick?
optional onClick: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onClick
onClickCapture?
optional onClickCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onClickCapture
onClose?
optional onClose: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onClose
onCompositionEnd?
optional onCompositionEnd: CompositionEventHandler<HTMLInputElement>;
Inherited from
Partial.onCompositionEnd
onCompositionEndCapture?
optional onCompositionEndCapture: CompositionEventHandler<HTMLInputElement>;
Inherited from
Partial.onCompositionEndCapture
onCompositionStart?
optional onCompositionStart: CompositionEventHandler<HTMLInputElement>;
Inherited from
Partial.onCompositionStart
onCompositionStartCapture?
optional onCompositionStartCapture: CompositionEventHandler<HTMLInputElement>;
Inherited from
Partial.onCompositionStartCapture
onCompositionUpdate?
optional onCompositionUpdate: CompositionEventHandler<HTMLInputElement>;
Inherited from
Partial.onCompositionUpdate
onCompositionUpdateCapture?
optional onCompositionUpdateCapture: CompositionEventHandler<HTMLInputElement>;
Inherited from
Partial.onCompositionUpdateCapture
onContextMenu?
optional onContextMenu: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onContextMenu
onContextMenuCapture?
optional onContextMenuCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onContextMenuCapture
onCopy?
optional onCopy: ClipboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onCopy
onCopyCapture?
optional onCopyCapture: ClipboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onCopyCapture
onCut?
optional onCut: ClipboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onCut
onCutCapture?
optional onCutCapture: ClipboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onCutCapture
onDblClick?
optional onDblClick: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onDblClick
onDblClickCapture?
optional onDblClickCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onDblClickCapture
onDrag?
optional onDrag: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDrag
onDragCapture?
optional onDragCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragCapture
onDragEnd?
optional onDragEnd: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragEnd
onDragEndCapture?
optional onDragEndCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragEndCapture
onDragEnter?
optional onDragEnter: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragEnter
onDragEnterCapture?
optional onDragEnterCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragEnterCapture
onDragExit?
optional onDragExit: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragExit
onDragExitCapture?
optional onDragExitCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragExitCapture
onDragLeave?
optional onDragLeave: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragLeave
onDragLeaveCapture?
optional onDragLeaveCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragLeaveCapture
onDragOver?
optional onDragOver: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragOver
onDragOverCapture?
optional onDragOverCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragOverCapture
onDragStart?
optional onDragStart: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragStart
onDragStartCapture?
optional onDragStartCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDragStartCapture
onDrop?
optional onDrop: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDrop
onDropCapture?
optional onDropCapture: DragEventHandler<HTMLInputElement>;
Inherited from
Partial.onDropCapture
onDurationChange?
optional onDurationChange: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onDurationChange
onDurationChangeCapture?
optional onDurationChangeCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onDurationChangeCapture
onEmptied?
optional onEmptied: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onEmptied
onEmptiedCapture?
optional onEmptiedCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onEmptiedCapture
onEncrypted?
optional onEncrypted: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onEncrypted
onEncryptedCapture?
optional onEncryptedCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onEncryptedCapture
onEnded?
optional onEnded: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onEnded
onEndedCapture?
optional onEndedCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onEndedCapture
onEnterPictureInPicture?
optional onEnterPictureInPicture: PictureInPictureEventHandler<HTMLInputElement>;
Inherited from
Partial.onEnterPictureInPicture
onEnterPictureInPictureCapture?
optional onEnterPictureInPictureCapture: PictureInPictureEventHandler<HTMLInputElement>;
Inherited from
Partial.onEnterPictureInPictureCapture
onError?
optional onError: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onError
onErrorCapture?
optional onErrorCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onErrorCapture
onFocus?
optional onFocus: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onFocus
onFocusCapture?
optional onFocusCapture: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onFocusCapture
onFocusIn?
optional onFocusIn: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onFocusIn
onFocusInCapture?
optional onFocusInCapture: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onFocusInCapture
onFocusOut?
optional onFocusOut: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onFocusOut
onFocusOutCapture?
optional onFocusOutCapture: FocusEventHandler<HTMLInputElement>;
Inherited from
Partial.onFocusOutCapture
onFormData?
optional onFormData: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onFormData
onFormDataCapture?
optional onFormDataCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onFormDataCapture
onGotPointerCapture?
optional onGotPointerCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onGotPointerCapture
onGotPointerCaptureCapture?
optional onGotPointerCaptureCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onGotPointerCaptureCapture
onInput?
optional onInput: InputEventHandler<HTMLInputElement>;
Inherited from
Partial.onInput
onInputCapture?
optional onInputCapture: InputEventHandler<HTMLInputElement>;
Inherited from
Partial.onInputCapture
onInvalid?
optional onInvalid: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onInvalid
onInvalidCapture?
optional onInvalidCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onInvalidCapture
onKeyDown?
optional onKeyDown: KeyboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onKeyDown
onKeyDownCapture?
optional onKeyDownCapture: KeyboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onKeyDownCapture
onKeyPress?
optional onKeyPress: KeyboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onKeyPress
onKeyPressCapture?
optional onKeyPressCapture: KeyboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onKeyPressCapture
onKeyUp?
optional onKeyUp: KeyboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onKeyUp
onKeyUpCapture?
optional onKeyUpCapture: KeyboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onKeyUpCapture
onLeavePictureInPicture?
optional onLeavePictureInPicture: PictureInPictureEventHandler<HTMLInputElement>;
Inherited from
Partial.onLeavePictureInPicture
onLeavePictureInPictureCapture?
optional onLeavePictureInPictureCapture: PictureInPictureEventHandler<HTMLInputElement>;
Inherited from
Partial.onLeavePictureInPictureCapture
onLoad?
optional onLoad: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoad
onLoadCapture?
optional onLoadCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadCapture
onLoadStart?
optional onLoadStart: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadStart
onLoadStartCapture?
optional onLoadStartCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadStartCapture
onLoadedData?
optional onLoadedData: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadedData
onLoadedDataCapture?
optional onLoadedDataCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadedDataCapture
onLoadedMetadata?
optional onLoadedMetadata: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadedMetadata
onLoadedMetadataCapture?
optional onLoadedMetadataCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onLoadedMetadataCapture
onLostPointerCapture?
optional onLostPointerCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onLostPointerCapture
onLostPointerCaptureCapture?
optional onLostPointerCaptureCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onLostPointerCaptureCapture
onMouseDown?
optional onMouseDown: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseDown
onMouseDownCapture?
optional onMouseDownCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseDownCapture
onMouseEnter?
optional onMouseEnter: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseEnter
onMouseEnterCapture?
optional onMouseEnterCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseEnterCapture
onMouseLeave?
optional onMouseLeave: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseLeave
onMouseLeaveCapture?
optional onMouseLeaveCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseLeaveCapture
onMouseMove?
optional onMouseMove: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseMove
onMouseMoveCapture?
optional onMouseMoveCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseMoveCapture
onMouseOut?
optional onMouseOut: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseOut
onMouseOutCapture?
optional onMouseOutCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseOutCapture
onMouseOver?
optional onMouseOver: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseOver
onMouseOverCapture?
optional onMouseOverCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseOverCapture
onMouseUp?
optional onMouseUp: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseUp
onMouseUpCapture?
optional onMouseUpCapture: MouseEventHandler<HTMLInputElement>;
Inherited from
Partial.onMouseUpCapture
onPaste?
optional onPaste: ClipboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onPaste
onPasteCapture?
optional onPasteCapture: ClipboardEventHandler<HTMLInputElement>;
Inherited from
Partial.onPasteCapture
onPause?
optional onPause: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onPause
onPauseCapture?
optional onPauseCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onPauseCapture
onPlay?
optional onPlay: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onPlay
onPlayCapture?
optional onPlayCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onPlayCapture
onPlaying?
optional onPlaying: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onPlaying
onPlayingCapture?
optional onPlayingCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onPlayingCapture
onPointerCancel?
optional onPointerCancel: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerCancel
onPointerCancelCapture?
optional onPointerCancelCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerCancelCapture
onPointerDown?
optional onPointerDown: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerDown
onPointerDownCapture?
optional onPointerDownCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerDownCapture
onPointerEnter?
optional onPointerEnter: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerEnter
onPointerEnterCapture?
optional onPointerEnterCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerEnterCapture
onPointerLeave?
optional onPointerLeave: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerLeave
onPointerLeaveCapture?
optional onPointerLeaveCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerLeaveCapture
onPointerMove?
optional onPointerMove: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerMove
onPointerMoveCapture?
optional onPointerMoveCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerMoveCapture
onPointerOut?
optional onPointerOut: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerOut
onPointerOutCapture?
optional onPointerOutCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerOutCapture
onPointerOver?
optional onPointerOver: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerOver
onPointerOverCapture?
optional onPointerOverCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerOverCapture
onPointerUp?
optional onPointerUp: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerUp
onPointerUpCapture?
optional onPointerUpCapture: PointerEventHandler<HTMLInputElement>;
Inherited from
Partial.onPointerUpCapture
onProgress?
optional onProgress: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onProgress
onProgressCapture?
optional onProgressCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onProgressCapture
onRateChange?
optional onRateChange: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onRateChange
onRateChangeCapture?
optional onRateChangeCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onRateChangeCapture
onReset?
optional onReset: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onReset
onResetCapture?
optional onResetCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onResetCapture
onResize?
optional onResize: PictureInPictureEventHandler<HTMLInputElement>;
Inherited from
Partial.onResize
onResizeCapture?
optional onResizeCapture: PictureInPictureEventHandler<HTMLInputElement>;
Inherited from
Partial.onResizeCapture
onScroll?
optional onScroll: UIEventHandler<HTMLInputElement>;
Inherited from
Partial.onScroll
onScrollCapture?
optional onScrollCapture: UIEventHandler<HTMLInputElement>;
Inherited from
Partial.onScrollCapture
onScrollEnd?
optional onScrollEnd: UIEventHandler<HTMLInputElement>;
Inherited from
Partial.onScrollEnd
onSearch?
optional onSearch: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSearch
onSearchCapture?
optional onSearchCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSearchCapture
onSeeked?
optional onSeeked: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSeeked
onSeekedCapture?
optional onSeekedCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSeekedCapture
onSeeking?
optional onSeeking: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSeeking
onSeekingCapture?
optional onSeekingCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSeekingCapture
onSelect?
optional onSelect: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSelect
onSelectCapture?
optional onSelectCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSelectCapture
onStalled?
optional onStalled: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onStalled
onStalledCapture?
optional onStalledCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onStalledCapture
onSubmit?
optional onSubmit: SubmitEventHandler<HTMLInputElement>;
Inherited from
Partial.onSubmit
onSubmitCapture?
optional onSubmitCapture: SubmitEventHandler<HTMLInputElement>;
Inherited from
Partial.onSubmitCapture
onSuspend?
optional onSuspend: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSuspend
onSuspendCapture?
optional onSuspendCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onSuspendCapture
onTimeUpdate?
optional onTimeUpdate: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onTimeUpdate
onTimeUpdateCapture?
optional onTimeUpdateCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onTimeUpdateCapture
onToggle?
optional onToggle: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onToggle
onTouchCancel?
optional onTouchCancel: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchCancel
onTouchCancelCapture?
optional onTouchCancelCapture: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchCancelCapture
onTouchEnd?
optional onTouchEnd: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchEnd
onTouchEndCapture?
optional onTouchEndCapture: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchEndCapture
onTouchMove?
optional onTouchMove: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchMove
onTouchMoveCapture?
optional onTouchMoveCapture: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchMoveCapture
onTouchStart?
optional onTouchStart: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchStart
onTouchStartCapture?
optional onTouchStartCapture: TouchEventHandler<HTMLInputElement>;
Inherited from
Partial.onTouchStartCapture
onTransitionCancel?
optional onTransitionCancel: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionCancel
onTransitionCancelCapture?
optional onTransitionCancelCapture: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionCancelCapture
onTransitionEnd?
optional onTransitionEnd: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionEnd
onTransitionEndCapture?
optional onTransitionEndCapture: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionEndCapture
onTransitionRun?
optional onTransitionRun: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionRun
onTransitionRunCapture?
optional onTransitionRunCapture: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionRunCapture
onTransitionStart?
optional onTransitionStart: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionStart
onTransitionStartCapture?
optional onTransitionStartCapture: TransitionEventHandler<HTMLInputElement>;
Inherited from
Partial.onTransitionStartCapture
onVolumeChange?
optional onVolumeChange: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onVolumeChange
onVolumeChangeCapture?
optional onVolumeChangeCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onVolumeChangeCapture
onWaiting?
optional onWaiting: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onWaiting
onWaitingCapture?
optional onWaitingCapture: GenericEventHandler<HTMLInputElement>;
Inherited from
Partial.onWaitingCapture
onWheel?
optional onWheel: WheelEventHandler<HTMLInputElement>;
Inherited from
Partial.onWheel
onWheelCapture?
optional onWheelCapture: WheelEventHandler<HTMLInputElement>;
Inherited from
Partial.onWheelCapture
open?
optional open: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.open
optimum?
optional optimum: number | SignalLike<undefined | number>;
Inherited from
Partial.optimum
part?
optional part: string | SignalLike<undefined | string>;
Inherited from
Partial.part
pattern?
optional pattern: string | SignalLike<undefined | string>;
Inherited from
Partial.pattern
ping?
optional ping: string | SignalLike<undefined | string>;
Inherited from
Partial.ping
placeholder?
optional placeholder: string | SignalLike<undefined | string>;
Inherited from
Partial.placeholder
playsInline?
optional playsInline: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.playsInline
playsinline?
optional playsinline: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.playsinline
popover?
optional popover:
| boolean
| "auto"
| "hint"
| "manual"
| SignalLike<
| undefined
| boolean
| "auto"
| "hint"
| "manual">;
Inherited from
Partial.popover
popoverTarget?
optional popoverTarget: string | SignalLike<undefined | string>;
Inherited from
Partial.popoverTarget
popoverTargetAction?
optional popoverTargetAction: "toggle" | "hide" | "show" | SignalLike<undefined | "toggle" | "hide" | "show">;
Inherited from
Partial.popoverTargetAction
popovertarget?
optional popovertarget: string | SignalLike<undefined | string>;
Inherited from
Partial.popovertarget
popovertargetaction?
optional popovertargetaction: "toggle" | "hide" | "show" | SignalLike<undefined | "toggle" | "hide" | "show">;
Inherited from
Partial.popovertargetaction
poster?
optional poster: string | SignalLike<undefined | string>;
Inherited from
Partial.poster
prefix?
optional prefix: string | SignalLike<undefined | string>;
Inherited from
Partial.prefix
preload?
optional preload: string | SignalLike<undefined | string>;
Inherited from
Partial.preload
property?
optional property: string | SignalLike<undefined | string>;
Inherited from
Partial.property
radioGroup?
optional radioGroup: string | SignalLike<undefined | string>;
Inherited from
Partial.radioGroup
readOnly?
optional readOnly: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.readOnly
readonly?
optional readonly: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.readonly
ref?
optional ref: Ref<HTMLInputElement>;
Inherited from
Partial.ref
referrerpolicy?
optional referrerpolicy:
| "origin"
| "no-referrer"
| "no-referrer-when-downgrade"
| "origin-when-cross-origin"
| "same-origin"
| "strict-origin"
| "strict-origin-when-cross-origin"
| "unsafe-url"
| SignalLike<
| undefined
| "origin"
| "no-referrer"
| "no-referrer-when-downgrade"
| "origin-when-cross-origin"
| "same-origin"
| "strict-origin"
| "strict-origin-when-cross-origin"
| "unsafe-url">;
Inherited from
Partial.referrerpolicy
rel?
optional rel: string | SignalLike<undefined | string>;
Inherited from
Partial.rel
required?
optional required: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.required
resource?
optional resource: string | SignalLike<undefined | string>;
Inherited from
Partial.resource
results?
optional results: number | SignalLike<undefined | number>;
Inherited from
Partial.results
reversed?
optional reversed: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.reversed
role?
optional role: AriaRole | SignalLike<AriaRole | undefined>;
Inherited from
Partial.role
rowSpan?
optional rowSpan: number | SignalLike<undefined | number>;
Inherited from
Partial.rowSpan
rows?
optional rows: number | SignalLike<undefined | number>;
Inherited from
Partial.rows
rowspan?
optional rowspan: number | SignalLike<undefined | number>;
Inherited from
Partial.rowspan
sandbox?
optional sandbox: string | SignalLike<undefined | string>;
Inherited from
Partial.sandbox
scope?
optional scope: string | SignalLike<undefined | string>;
Inherited from
Partial.scope
scoped?
optional scoped: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.scoped
scrolling?
optional scrolling: string | SignalLike<undefined | string>;
Inherited from
Partial.scrolling
seamless?
optional seamless: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.seamless
selected?
optional selected: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.selected
shape?
optional shape: string | SignalLike<undefined | string>;
Inherited from
Partial.shape
size?
optional size: number | SignalLike<undefined | number>;
Inherited from
Partial.size
sizes?
optional sizes: string | SignalLike<undefined | string>;
Inherited from
Partial.sizes
slot?
optional slot: string | SignalLike<undefined | string>;
Inherited from
Partial.slot
span?
optional span: number | SignalLike<undefined | number>;
Inherited from
Partial.span
spellcheck?
optional spellcheck: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.spellcheck
src?
optional src: string | SignalLike<undefined | string>;
Inherited from
Partial.src
srcDoc?
optional srcDoc: string | SignalLike<undefined | string>;
Inherited from
Partial.srcDoc
srcLang?
optional srcLang: string | SignalLike<undefined | string>;
Inherited from
Partial.srcLang
srcSet?
optional srcSet: string | SignalLike<undefined | string>;
Inherited from
Partial.srcSet
srcdoc?
optional srcdoc: string | SignalLike<undefined | string>;
Inherited from
Partial.srcdoc
srclang?
optional srclang: string | SignalLike<undefined | string>;
Inherited from
Partial.srclang
srcset?
optional srcset: string | SignalLike<undefined | string>;
Inherited from
Partial.srcset
start?
optional start: number | SignalLike<undefined | number>;
Inherited from
Partial.start
step?
optional step: string | number | SignalLike<undefined | string | number>;
Inherited from
Partial.step
style?
optional style: string | CSSProperties | SignalLike<undefined | string | CSSProperties>;
Inherited from
Partial.style
summary?
optional summary: string | SignalLike<undefined | string>;
Inherited from
Partial.summary
tabIndex?
optional tabIndex: number | SignalLike<undefined | number>;
Inherited from
Partial.tabIndex
tabindex?
optional tabindex: number | SignalLike<undefined | number>;
Inherited from
Partial.tabindex
target?
optional target: string | SignalLike<undefined | string>;
Inherited from
Partial.target
title?
optional title: string | SignalLike<undefined | string>;
Inherited from
Partial.title
translate?
optional translate: boolean | SignalLike<undefined | boolean>;
Inherited from
Partial.translate
type?
optional type: string | SignalLike<undefined | string>;
Inherited from
Partial.type
typeof?
optional typeof: string | SignalLike<undefined | string>;
Inherited from
Partial.typeof
useMap?
optional useMap: string | SignalLike<undefined | string>;
Inherited from
Partial.useMap
usemap?
optional usemap: string | SignalLike<undefined | string>;
Inherited from
Partial.usemap
value?
optional value: string | number | string[] | SignalLike<undefined | string | number | string[]>;
Inherited from
Partial.value
vocab?
optional vocab: string | SignalLike<undefined | string>;
Inherited from
Partial.vocab
volume?
optional volume: string | number | SignalLike<undefined | string | number>;
Inherited from
Partial.volume
width?
optional width: string | number | SignalLike<undefined | string | number>;
Inherited from
Partial.width
wmode?
optional wmode: string | SignalLike<undefined | string>;
Inherited from
Partial.wmode
wrap?
optional wrap: string | SignalLike<undefined | string>;
Inherited from
Partial.wrap
CredentialsConfig<CredentialsInputs>
The Credentials Provider needs to be configured.
Extends
Type parameters
Type parameter | Value |
---|---|
CredentialsInputs extends Record <string , CredentialInput > | Record <string , CredentialInput > |
Properties
authorize()
authorize: (credentials, request) => Awaitable<null | User>;
Gives full control over how you handle the credentials received from the user.
There is no validation on the user inputs by default, so make sure you do so by a popular library like Zod
This method expects a User
object to be returned for a successful login.
If an CredentialsSignin
is thrown or null
is returned, two things can happen:
- The user is redirected to the login page, with
error=CredentialsSignin&code=credentials
in the URL.code
is configurable, see below. - If you throw this error in a framework that handles form actions server-side, this error is thrown by the login form action, so you’ll need to handle it there.
In case of 1., generally, we recommend not hinting if the user for example gave a wrong username or password specifically, try rather something like “invalid-credentials”. Try to be as generic with client-side errors as possible.
To customize the error code, you can create a custom error that extends CredentialsSignin and throw it in authorize
.
Example
class CustomError extends CredentialsSignin {
code = "custom_error"
}
// URL will contain `error=CredentialsSignin&code=custom_error`
Example
async authorize(credentials, request) { // you have access to the original request as well
if(!isValidCredentials(credentials)) {
throw new CustomError()
}
return await getUser(credentials) // assuming it returns a User or null
}
Parameters
Parameter | Type | Description |
---|---|---|
credentials | Partial <Record <keyof CredentialsInputs , unknown >> | The available keys are determined by CredentialInput. Note The existence/correctness of a field cannot be guaranteed at compile time, so you should always validate the input before using it. You can add basic validation depending on your use case, or you can use a popular library like Zod for example. |
request | Request | The original request. |
Returns
credentials
credentials: CredentialsInputs;
id
id: string;
Uniquely identifies the provider in AuthConfig.providers It’s also part of the URL
Inherited from
name
name: string;
The provider name used on the default sign-in page’s sign-in button. For example if it’s “Google”, the corresponding button will say: “Sign in with Google”
Inherited from
type
type: "credentials";
See ProviderType
Overrides
CredentialsProviderId
type CredentialsProviderId: "credentials";
default()
default<CredentialsInputs>(config): CredentialsConfig
The Credentials provider allows you to handle signing in with arbitrary credentials, such as a username and password, domain, or two factor authentication or hardware device (e.g. YubiKey U2F / FIDO).
It is intended to support use cases where you have an existing system you need to authenticate users against.
It comes with the constraint that users authenticated in this manner are not persisted in the database, and consequently that the Credentials provider can only be used if JSON Web Tokens are enabled for sessions.
The functionality provided for credentials-based authentication is intentionally limited to discourage the use of passwords due to the inherent security risks of the username-password model.
OAuth providers spend significant amounts of money, time, and engineering effort to build:
- abuse detection (bot-protection, rate-limiting)
- password management (password reset, credential stuffing, rotation)
- data security (encryption/salting, strength validation)
and much more for authentication solutions. It is likely that your application would benefit from leveraging these battle-tested solutions rather than try to rebuild them from scratch.
If you’d still like to build password-based authentication for your application despite these risks, Auth.js gives you full control to do so.
See the callbacks documentation for more information on how to interact with the token. For example, you can add additional information to the token by returning an object from the jwt()
callback:
callbacks: {
async jwt({ token, user, account, profile, isNewUser }) {
if (user) {
token.id = user.id
}
return token
}
}
Type parameters
Type parameter | Value |
---|---|
CredentialsInputs extends Record <string , CredentialInput > | Record <string , CredentialInput > |
Parameters
Parameter | Type |
---|---|
config | Partial <CredentialsConfig <CredentialsInputs >> |
Returns
Example
import { Auth } from "@auth/core"
import Credentials from "@auth/core/providers/credentials"
const request = new Request("https://example.com")
const response = await AuthHandler(request, {
providers: [
Credentials({
credentials: {
username: { label: "Username" },
password: { label: "Password", type: "password" }
},
async authorize({ request }) {
const response = await fetch(request)
if(!response.ok) return null
return await response.json() ?? null
}
})
],
secret: "...",
trustHost: true,
})