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

    Function adapterFetch

    • Serve the passkey endpoint from any runtime that speaks the Fetch API: Bun.serve, Deno.serve or Cloudflare Workers; runtimes that pass events instead, such as a Lambda, call server.process directly. Requests to other paths are left to the host, as undefined. Pages on other origins call it when an app lists their origin: the CORS preflight is answered here, and each action is held to its own app's origins.

      Parameters

      • server: PasskeyServer

        The passkey server.

      • options: AdapterFetchOptions = {}

        Path the endpoint answers on, and whether a proxy in front gives the client's IP address.

      Returns AdapterFetchHandler