9 lines
245 B
TypeScript
9 lines
245 B
TypeScript
import { createAuthClient } from 'better-auth/react'
|
|
import { magicLinkClient } from 'better-auth/client/plugins'
|
|
|
|
export const authClient = createAuthClient({
|
|
plugins: [magicLinkClient()],
|
|
})
|
|
|
|
export type { Session } from 'better-auth/types'
|