UNPKG

596 BPlain TextView Raw
1 /*
2 |--------------------------------------------------------------------------
3 | User Provider
4 |--------------------------------------------------------------------------
5 |
6 | The following provider uses Lucid models as a driver for fetching user
7 | details from the database for authentication.
8 |
9 | You can create multiple providers using the same underlying driver with
10 | different Lucid models.
11 |
12 */
13 user: {
14 implementation: LucidProviderContract<typeof {{ modelName }}>,
15 config: LucidProviderConfig<typeof {{ modelName }}>,
16 },