Files
better-auth/examples/nuxt-example/lib/auth-client.ts
Bereket Engida a50239aecd chore: lint
2024-09-29 09:34:28 +03:00

15 lines
235 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;