Rocky_Mountain_Vending/.pnpm-store/v10/files/ad/c70888ccc4286fb9196afc136d2506c4bd40f2d714d743d7b8516688e581fd7058b6d936b633173ef933b07f8756dbd16d9938b12f45dd11b0da4460a875ff
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

15 lines
662 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSSOTokenFromFile = exports.tokenIntercept = void 0;
const promises_1 = require("fs/promises");
const getSSOTokenFilepath_1 = require("./getSSOTokenFilepath");
exports.tokenIntercept = {};
const getSSOTokenFromFile = async (id) => {
if (exports.tokenIntercept[id]) {
return exports.tokenIntercept[id];
}
const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id);
const ssoTokenText = await (0, promises_1.readFile)(ssoTokenFilepath, "utf8");
return JSON.parse(ssoTokenText);
};
exports.getSSOTokenFromFile = getSSOTokenFromFile;