12 lines
346 B
TypeScript
12 lines
346 B
TypeScript
// This file can be used for server-side authentication utilities
|
|
// Example usage:
|
|
// import { auth } from "@/lib/auth-session/auth";
|
|
// import { headers } from "next/headers";
|
|
//
|
|
// const someAuthenticatedAction = async () => {
|
|
// "use server";
|
|
// const session = await auth.api.getSession({
|
|
// headers: await headers(),
|
|
// });
|
|
// };
|