Skip to main content
API Reference / modelence / client / loginWithPassword
loginWithPassword(options): Promise<null | User>
Defined in: packages/modelence/src/auth/client/index.ts:72 Login a user with an email and password.

Example

Parameters

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

Returns

Promise<null | User>