UNPKG

bc-webclient-mcp

Version:

Model Context Protocol (MCP) server for Microsoft Dynamics 365 Business Central via WebUI protocol. Enables AI assistants to interact with BC through the web client protocol, supporting Card, List, and Document pages with full line item support and server

37 lines 1.19 kB
/** * NavUserPassword Authentication * * Implements HTTP Basic Authentication for Business Central WebSocket connections * Based on decompiled code analysis from ClientServiceAuthenticationHandler.cs */ export interface NavUserPasswordCredentials { username: string; password: string; tenantId?: string; } /** * Create HTTP Basic Authentication header for NavUserPassword * * Format: Authorization: Basic <base64-encoded-credentials> * Credentials: username:password (or tenantId\username:password for multi-tenant) */ export declare function createNavUserPasswordAuthHeader(credentials: NavUserPasswordCredentials): string; /** * Parse NavUserPassword username to extract tenant ID if present */ export declare function parseNavUsername(username: string): { tenantId?: string; username: string; }; /** * Validate NavUserPassword credentials format */ export declare function validateNavCredentials(credentials: NavUserPasswordCredentials): { valid: boolean; error?: string; }; /** * Check if credentials appear to include tenant ID */ export declare function hasTenantInUsername(username: string): boolean; //# sourceMappingURL=navauth.d.ts.map