@paroicms/server
Version:
The ParoiCMS server
5 lines (4 loc) • 481 B
TypeScript
import type { PaHttpContext } from "@paroicms/public-server-lib";
import type { PaRouteParams } from "../../express/http-helpers.js";
import type { MigrationSiteContext, SiteContext } from "../../site-context/site-context.types.js";
export declare function loginController(siteContext: SiteContext | MigrationSiteContext, httpContext: PaHttpContext, _routeParams: PaRouteParams): Promise<import("../auth/auth.types.js").LoginSuccess | import("../auth/auth.types.js").LoginFailed>;