Files
tasq/node_modules/agentic-flow/dist/utils/auth.d.ts
T
2026-04-09 19:01:53 +08:00

13 lines
381 B
TypeScript

/**
* Simple API key authentication for proxy
*/
export declare class AuthManager {
private validKeys;
constructor(apiKeys?: string[]);
authenticate(headers: Record<string, string | string[] | undefined>): boolean;
private extractApiKey;
addKey(key: string): void;
removeKey(key: string): void;
hasKeys(): boolean;
}
//# sourceMappingURL=auth.d.ts.map