Files
lcbp3/frontend/.ignored_node_modules/next-auth/lib/env.d.ts
2025-11-27 17:08:49 +07:00

13 lines
614 B
TypeScript

import { NextRequest } from "next/server";
import type { NextAuthConfig } from "./index.js";
/** If `NEXTAUTH_URL` or `AUTH_URL` is defined, override the request's URL. */
export declare function reqWithEnvURL(req: NextRequest): NextRequest;
/**
* For backwards compatibility, `next-auth` checks for `NEXTAUTH_URL`
* and the `basePath` by default is `/api/auth` instead of `/auth`
* (which is the default for all other Auth.js integrations).
*
* For the same reason, `NEXTAUTH_SECRET` is also checked.
*/
export declare function setEnvDefaults(config: NextAuthConfig): void;
//# sourceMappingURL=env.d.ts.map