loginWithPassword(Defined in: packages/modelence/src/auth/client/index.ts:106 Login a user with an email and password.options):Promise<null|User>
Example
Parameters
Returns
Promise<null | User>Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
loginWithPassword(Defined in: packages/modelence/src/auth/client/index.ts:106 Login a user with an email and password.options):Promise<null|User>
await loginWithPassword({ email: 'test@example.com', password: '12345678' });
| Parameter | Type | Description |
|---|---|---|
options | { email: string; password: string; } | - |
options.email | string | The email of the user. |
options.password | string | The password of the user. |
Promise<null | User>