@suluk/better-auth - v0.2.0
    Preparing search index...

    Interface AuthHandlerLike

    mountAuth — the thin Hono adapter for Better Auth (the documented integration: app.on(["POST","GET"], "/api/auth/*", c => auth.handler(c.req.raw))). Duck-typed so it needs neither a hard better-auth nor hono import — it only relies on app.on(...) and auth.handler(Request).

    interface AuthHandlerLike {
        handler(request: Request): Response | Promise<Response>;
    }
    Index

    Methods

    Methods

    • Parameters

      • request: Request

      Returns Response | Promise<Response>