@mcp-z/mcp-outlook
    Preparing search index...

    Function createOAuthAdapters

    • Create Outlook OAuth adapters based on transport configuration

      Returns primary adapter, pre-configured middleware, auth email provider, and pre-selected account tools based on auth mode.

      Parameters

      • config: ServerConfig

        Outlook server configuration

      • deps: OAuthRuntimeDeps

        Runtime dependencies (logger, tokenStore, etc.)

      • OptionalbaseUrl: string

      Returns Promise<OAuthAdapters>

      OAuth adapters with pre-configured middleware and account tools