UNPKG

@dollhousemcp/mcp-server

Version:

DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.

55 lines 1.9 kB
/** * FIX: DMCP-SEC-006 - Security audit suppression * This handler delegates authentication operations to GitHubAuthManager. * Audit logging happens in GitHubAuthManager for auth operations. * @security-audit-suppress DMCP-SEC-006 */ import { GitHubAuthManager } from '../auth/GitHubAuthManager.js'; import { ConfigManager } from '../config/ConfigManager.js'; import { InitializationService } from '../services/InitializationService.js'; import { PersonaIndicatorService } from '../services/PersonaIndicatorService.js'; import { FileOperationsService } from '../services/FileOperationsService.js'; export declare class GitHubAuthHandler { private readonly githubAuthManager; private readonly configManager; private readonly initService; private readonly indicatorService; private readonly fileOperations; constructor(githubAuthManager: GitHubAuthManager, configManager: ConfigManager, initService: InitializationService, indicatorService: PersonaIndicatorService, fileOperations: FileOperationsService); private ensureInitialized; private prefix; setupGitHubAuth(): Promise<{ content: { type: string; text: string; }[]; }>; checkGitHubAuth(): Promise<{ content: { type: string; text: string; }[]; }>; getOAuthHelperStatus(verbose?: boolean): Promise<{ content: { type: string; text: string; }[]; }>; private checkOAuthHelperHealth; clearGitHubAuth(): Promise<{ content: { type: string; text: string; }[]; }>; configureOAuth(client_id?: string): Promise<{ content: { type: string; text: string; }[]; }>; private spawnHelperProcess; private getDollhouseHomeDir; } //# sourceMappingURL=GitHubAuthHandler.d.ts.map