sessionStore/sessionStore.ts

tableau-mcp · src/sessionStore/sessionStore.ts · typescript · Apache-2.0
database

* Public, dependency-free provider contract for session storage. This module is exposed as a package subpath (`@tableau/mcp-server/sessionStore/sessionStore`) so external deployments can implement a custom session store against a stable type, without importing the server's intern

// Source: https://github.com/tableau/tableau-mcp | License: Apache-2.0 | Copyright 2025 Salesforce, Inc
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Public, dependency-free provider contract for session storage.
 *
 * This module is exposed as a package subpath (`@tableau/mcp-server/sessionStore/sessionStore`)
 * so external deployments can implement a custom session store against a stable type,
 * without importing the server's internal config schemas. Keep it free of runtime dependencies.
 */

/**
 * Session store provider interface.
 *
 * A single logical namespace of short-lived, TTL-bounded values (e.g. pending OAuth
 * authorizations, authorization codes, refresh tokens). The in-memory default keeps
 * everything in process; a custom provider can back thes

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key