UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

20 lines (19 loc) 746 B
import type { SafeUser } from "../.."; import type { AppAuth } from "../../auth/AppAuth"; import type { Hono } from "hono"; import { Controller, type ServerEnv } from "../../modules/Controller"; export type AuthActionResponse = { success: boolean; action: string; data?: SafeUser; errors?: any; }; export declare class AuthController extends Controller { private auth; constructor(auth: AppAuth); get guard(): import("../authorize/Guard").Guard; get em(): import("../..").EntityManager<import("../..").DB>; get userRepo(): import("../../data/entities").Repository<import("../..").DB, "users">; private registerStrategyActions; getController(): Hono<ServerEnv, import("hono/types").BlankSchema, "/">; }