Practic Passkey - v1.0.0
    Preparing search index...
    UsePasskeyCreateOptions: PasskeyActionOptions & {
        client?: PasskeyClient;
        labels?: PasskeyLabelsInput<"create" | "errors">;
        onCodeSent?: (sent: PasskeyCodeSent) => void;
        onCreated?: (created: PasskeyResponses["register"]) => void;
    }

    Type Declaration

    • Optionalclient?: PasskeyClient

      The endpoint and app; the default app at /api/passkey unless given.

    • Optionallabels?: PasskeyLabelsInput<"create" | "errors">

      Texts that replace its English ones, from create and errors.

    • OptionalonCodeSent?: (sent: PasskeyCodeSent) => void

      Called after a code is sent, such as to show a dev outbox.

    • OptionalonCreated?: (created: PasskeyResponses["register"]) => void

      Called once the passkey is registered: with signed-up when it created the account, passkey-added otherwise.