mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 20:37:44 +00:00
15 lines
256 B
TypeScript
15 lines
256 B
TypeScript
import { createAuthClient } from "better-auth/vue";
|
|
|
|
export const client = createAuthClient({
|
|
baseURL: "http://localhost:3000",
|
|
});
|
|
|
|
export const {
|
|
signIn,
|
|
signOut,
|
|
signUp,
|
|
useSession,
|
|
forgetPassword,
|
|
resetPassword,
|
|
} = client;
|