UNPKG

@civic/hub-bridge

Version:

Stdio <-> HTTP/SSE MCP bridge with Civic auth handling

35 lines 1 kB
/** * CLIAuthProviderSingleton.ts * * Singleton implementation for CLIAuthProvider to ensure a single shared instance * across the entire application for consistent authentication state. */ import { CLIAuthProvider } from "@civic/auth-mcp/client"; /** * Singleton class for CLIAuthProvider */ export declare class CLIAuthProviderSingleton { private static instance; /** * Get the singleton instance of CLIAuthProvider * Creates it if it doesn't exist */ static getInstance(): CLIAuthProvider; /** * Get the custom success HTML from the legacy bridge */ private static getSuccessHtml; /** * Get the custom error HTML from the legacy bridge */ private static getErrorHtml; /** * Reset the singleton instance (useful for testing) */ static reset(): void; /** * Private constructor to prevent direct instantiation */ private constructor(); } //# sourceMappingURL=cli-auth-provider-singleton.d.ts.map