UNPKG

@azure/static-web-apps-cli

Version:
7 lines 692 B
import type http from "node:http"; export declare function handleAuthRequest(req: http.IncomingMessage, res: http.ServerResponse, matchedRoute: SWAConfigFileRoute | undefined, userConfig: SWAConfigFile | undefined): Promise<void>; export declare function getAuthBlockResponse(req: http.IncomingMessage, res: http.ServerResponse, userConfig: SWAConfigFile | undefined, matchingRoute: SWAConfigFileRoute): void; export declare function isAuthRequest(req: http.IncomingMessage): boolean; export declare function isLoginRequest(requestPath: string | undefined): boolean; export declare function isLogoutRequest(requestPath: string | undefined): boolean; //# sourceMappingURL=auth.handler.d.ts.map