Files
aura-courier-mcp/dist/http.d.ts
T

11 lines
527 B
TypeScript

import { type Express, type Request } from "express";
import { EnvSource } from "./config.js";
/**
* P0-03 & P1-01 Fix: Pull authenticated tenant BYOK keys strictly from request headers.
* Arbitrary caller base-URL headers are validated against the official HTTPS carrier allowlist
* (rejecting any http:, IP literal, private/internal host, or unlisted domain).
*/
export declare function keysFromRequest(req: Request): EnvSource;
export declare const app: Express;
export declare function clearWebhookReplayCache(): void;