UNPKG

@adonisjs/auth

Version:

Offical authentication provider for Adonis framework

17 lines (16 loc) 586 B
/* |-------------------------------------------------------------------------- | User Provider |-------------------------------------------------------------------------- | | The following provider directlly uses Database query builder for fetching | user details from the database for authentication. | | You can create multiple providers using the same underlying driver with | different database tables. | */ user: { implementation: DatabaseProviderContract<DatabaseProviderRow>, config: DatabaseProviderConfig, },