© 2026 Hedgehog Software, LLC
const { user: createdUser } = await auth.api.signUpEmail({ body: { email: userData.email, password: userData.password, name: userData.firstName, lastName: userData.lastName, }, });
lastName
(property) signUpEmail: <false, false>(inputCtx_0: { body: ({ name: string; email: string; password: string; image?: string | undefined; callbackURL?: string | undefined; rememberMe?: boolean | undefined; } | ({ name: string; email: string; password: string; image?: string | undefined; callbackURL?: string | undefined; rememberMe?: boolean | undefined; } & {} & {})) & { lastName: never; } & { lastName?: null | undefined; }; } & { method?: "POST" | undefined; } & { query?: Record<string, any> | undefined; } & { params?: Record<string, any>; } & { request?: Request; } & { headers?: HeadersInit; } & { asResponse?: boolean; returnHeaders?: boolean; use?: Middleware[]; path?: string; } & { ...; }) => Promise<...>
typeof auth.$Infer.Session;