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

    Function getToken

    @mcp-z/oauth - Multi-account OAuth orchestration and secure token storage for MCP servers

    Provides account management functions, account tools generation, and secure logging utilities. Designed to work with any storage backend (file, Redis, DuckDB) via Keyv interface.

    • Get OAuth token for an account.

      Key: {accountId}:{service}:token

      Type Parameters

      • T

      Parameters

      • store: Keyv

        Keyv storage instance

      • params: AccountKeyParams

        Account identification (accountId, service)

      Returns Promise<T>

      Token or undefined if not found