Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.modelence.com/llms.txt

Use this file to discover all available pages before exploring further.

API Reference / modelence / client / signupWithPassword
signupWithPassword(options): Promise<void>
Defined in: packages/modelence/src/auth/client/index.ts:42 Sign up a new user with an email and password.

Example

await signupWithPassword({ email: 'test@example.com', password: '12345678' });
await signupWithPassword({ email: 'test@example.com', password: '12345678', handle: 'myhandle', firstName: 'John' });

Parameters

ParameterTypeDescription
options{ avatarUrl?: string; email: string; firstName?: string; handle?: string; lastName?: string; password: string; }-
options.avatarUrl?stringOptional avatar URL.
options.emailstringThe email of the user.
options.firstName?stringOptional first name.
options.handle?stringOptional custom handle. If omitted, one is derived from the email.
options.lastName?stringOptional last name.
options.passwordstringThe password of the user.

Returns

Promise<void>