/** * ext-cache-redis — Redis-backed `TokenCacheStore` implementation for the Veryfront * proxy's OAuth token cache. * * Reads configuration from `ctx.config` at setup time. Expected shape: * * { * proxy?: { * cache?: { * type?: "memory" | "redis"; * redis?: { * url: string; // or read from REDIS_URL * prefix?: string; * tls?: boolean; * username?: string; * password?: string; * connectTimeout?: number; * }; * }; * }; * } * * An explicitly activated extension may read `REDIS_URL` / `REDIS_PREFIX` * when its config path is not populated. Missing connection configuration is * a startup error rather than a silent no-op. * * @module extensions/ext-cache-redis */ import "../../../_dnt.polyfills.js"; import type { ExtensionFactory } from "veryfront/extensions"; declare const extRedis: ExtensionFactory; export default extRedis; export { RedisTokenCacheStore } from "./redis-cache.js"; export type { RedisTokenCacheStoreOptions } from "./redis-cache.js"; //# sourceMappingURL=index.d.ts.map