@mcp-z/oauth-google
    Preparing search index...

    Interface AuthContext

    Auth context injected into extra by middleware

    interface AuthContext {
        accountId: string;
        auth: GoogleAuthProvider;
        metadata?: { serviceEmail?: string; [key: string]: unknown };
    }
    Index
    accountId: string

    Account being used (for logging, debugging)

    Mints access tokens for this account. Pass it to a Google API client with attachTokenProvider; this package does not build the client itself. GUARANTEED to exist when handler runs

    metadata?: { serviceEmail?: string; [key: string]: unknown }

    Additional metadata (e.g., service account email)