@commercetools-frontend/mc-dev-authentication
Version:
Authentication views when running webpack-dev-server in development mode
6 lines (5 loc) • 415 B
TypeScript
import type { ServerResponse } from 'node:http';
import type { IncomingMessage, NextFunction } from 'connect';
import type { TCustomApplicationRuntimeConfig } from './types';
declare function createMcDevAuthenticationMiddleware(applicationConfig: TCustomApplicationRuntimeConfig): (request: IncomingMessage, response: ServerResponse, next: NextFunction) => void;
export default createMcDevAuthenticationMiddleware;