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