7 lines
228 B
TypeScript
7 lines
228 B
TypeScript
import { apiKeyClient, magicLinkClient } from "better-auth/client/plugins";
|
|
import { createAuthClient } from "better-auth/react";
|
|
|
|
export const authClient = createAuthClient({
|
|
plugins: [magicLinkClient(), apiKeyClient()],
|
|
});
|