5b40968c9d
App Router setup with next-intl (en/fr), Better Auth wiring, shadcn/ui components, Tailwind, AES-256-GCM encrypt util, Redis rate limiter, tier limit checker, site_settings helper for runtime .env overrides.
14 lines
207 B
TypeScript
14 lines
207 B
TypeScript
"use client";
|
|
|
|
import { createAuthClient } from "better-auth/react";
|
|
|
|
export const authClient = createAuthClient();
|
|
|
|
export const {
|
|
signIn,
|
|
signUp,
|
|
signOut,
|
|
useSession,
|
|
getSession,
|
|
} = authClient;
|