n8n-mcp
Version:
Integration between n8n workflow automation and Model Context Protocol (MCP)
12 lines • 461 B
TypeScript
export declare class AuthManager {
private validTokens;
private tokenExpiry;
constructor();
validateToken(token: string | undefined, expectedToken?: string): boolean;
generateToken(expiryHours?: number): string;
revokeToken(token: string): void;
private cleanupExpiredTokens;
static hashToken(token: string): string;
static compareTokens(plainToken: string, hashedToken: string): boolean;
}
//# sourceMappingURL=auth.d.ts.map