UNPKG

@daveyplate/better-auth-persistent

Version:

Persistent session management for Better Auth

9 lines (6 loc) 246 B
import { multiSessionClient } from "better-auth/client/plugins" import { createAuthClient } from "better-auth/react" export const authClient = createAuthClient({ plugins: [multiSessionClient()] }) export type AuthClient = typeof authClient