msexchange-mcp
Version:
MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API
16 lines • 549 B
TypeScript
import { Client } from '@microsoft/microsoft-graph-client';
interface AuthConfig {
clientId: string;
tenantId: string;
}
export declare class SimpleAuthService {
private msalClient;
constructor(config: AuthConfig);
getTokenForUser(userEmail: string): Promise<string>;
forceTokenRefresh(userEmail: string): Promise<string>;
clearTokenCache(userEmail: string): Promise<void>;
clearAllTokens(): Promise<void>;
getGraphClient(accessToken: string): Client;
}
export {};
//# sourceMappingURL=authService-simple.d.ts.map