@auth0/auth0-acul-react - v1.0.0
    Preparing search index...

    Interface UsePasskeyAutofillResult

    Result object returned by usePasskeyAutofill.

    Provides a ref that can be attached to the username <input> element to automatically enable browser Conditional UI (passkey autofill).

    interface UsePasskeyAutofillResult {
        inputRef: RefObject<HTMLInputElement>;
    }
    Index

    Properties

    Properties

    inputRef: RefObject<HTMLInputElement>

    A React ref that can be bound to the username <input> element.

    When attached, the SDK ensures the input’s autocomplete attribute is correctly set to "username webauthn".

    If the developer already declared this attribute in markup, the ref is optional, the hook will still register Conditional Mediation correctly even without it.