API Reference / modelence / client / loginWithPassword

loginWithPassword(options): Promise<UserInfo>

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

Login a user with an email and password.

Example

await loginWithPassword({ 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<UserInfo>