Files
better-auth/examples/nuxt-example/lib/auth-client.ts
2024-10-17 22:14:56 +03:00

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;