Files
convex-example/convex/auth.ts

7 lines
226 B
TypeScript

import { Password } from '@convex-dev/auth/providers/Password';
import { convexAuth } from '@convex-dev/auth/server';
export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
providers: [Password],
});