//#region src/services/auth/cookie-constants.d.ts declare const POLYESTER_SESSION_COOKIE_NAME = "polyester_session_4"; declare const POLYESTER_AUTH_TOKEN_COOKIE_NAME = "polyester_auth_token"; /** The request or browser location that determines a local auth-cookie name. */ interface AuthCookieLocation { hostname: string; port: string; protocol: string; } /** * Keeps local development servers on different ports from sharing auth cookies. * Public hosts retain the stable production cookie names. A missing location is * intentionally treated as production; server callers handling a local request * must pass that request's URL or location. */ declare function resolveAuthCookieName(name: string, location?: AuthCookieLocation): string; //#endregion export { AuthCookieLocation, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_SESSION_COOKIE_NAME, resolveAuthCookieName }; //# sourceMappingURL=cookie-constants.d.ts.map