Practic Passkey - v1.0.0
    Preparing search index...

    Function passkeyServer

    • Serve passkey sign-up and sign-in for any runtime: process takes a request body and returns a status and a body, so an adapter connects it to Bun, Node, Express, Deno or a Lambda in a few lines. An address proves itself with a one-time code before a passkey is created for it; a new address signs up when the app's settings and access entries let it, and an account may hold a passkey on each of its devices. Everything is kept in a storage engine, so the server holds no state of its own.

      Parameters

      • options: PasskeyServerOptions = {}

        The store, the channels that deliver codes, and the limits that keep codes and challenges safe.

      Returns PasskeyServer