aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/auth/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/lib/auth/client.ts')
-rw-r--r--apps/web/lib/auth/client.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/web/lib/auth/client.ts b/apps/web/lib/auth/client.ts
new file mode 100644
index 00000000..7e13f798
--- /dev/null
+++ b/apps/web/lib/auth/client.ts
@@ -0,0 +1,11 @@
+"use client";
+
+/**
+ * Centralized client-side auth utilities.
+ * This module re-exports next-auth/react functions to allow for easier
+ * future migration to a different auth provider.
+ */
+
+export { SessionProvider, signIn, signOut, useSession } from "next-auth/react";
+
+export type { Session } from "next-auth";