UNPKG

better-auth-credentials-plugin

Version:

Generic credentials authentication plugin for Better Auth (To auth with ldap, external API, etc...)

16 lines (15 loc) 470 B
import { default as z } from "zod/v3"; export declare const defaultCredentialsSchema: z.ZodObject<{ email: z.ZodString; password: z.ZodString; rememberMe: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { email: string; password: string; rememberMe?: boolean | undefined; }, { email: string; password: string; rememberMe?: boolean | undefined; }>; export type DefaultCredentialsType = z.infer<typeof defaultCredentialsSchema>;