@aot-tech/gmail-mcp-server
Version:
Gmail MCP Server with Bearer Token Authentication - A Model Context Protocol server for Gmail access
8 lines (7 loc) • 502 B
TypeScript
import { GmailCredentials } from '../types/index';
export declare function extractBearerToken(headers?: Record<string, string | string[]>): string | null;
export declare function setBearerToken(token: string | null): void;
export declare function getBearerToken(): string | null;
export declare function parseCredentials(token: string): GmailCredentials;
export declare function validateAuthentication(): void;
export declare function initializeAuth(headers?: Record<string, string | string[]>): void;