API Reference / modelence / client / signupWithPassword

signupWithPassword(options): Promise<void>

Defined in: src/auth/client/index.ts:19

Sign up a new user with an email and password.

Example

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

Parameters

ParameterTypeDescription
options{ email: string; password: string; }-
options.emailstringThe email of the user.
options.passwordstringThe password of the user.

Returns

Promise<void>