Commit 1865c299 authored by Taylor Otwell's avatar Taylor Otwell

use provider for consistent language

parent ba857ca5
...@@ -25,9 +25,9 @@ return [ ...@@ -25,9 +25,9 @@ return [
| |
| Next, you may define every authentication guard for your application. | Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you | Of course, a great default configuration has been defined for you
| here which uses "session" storage and the Eloquent user source. | here which uses session storage and the Eloquent user provider.
| |
| All authentication drivers have a user "source". This defines how the | All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage | users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data. | mechanisms used by this application to persist your user's data.
| |
...@@ -38,21 +38,21 @@ return [ ...@@ -38,21 +38,21 @@ return [
'guards' => [ 'guards' => [
'web' => [ 'web' => [
'driver' => 'session', 'driver' => 'session',
'source' => 'users', 'provider' => 'users',
], ],
'api' => [ 'api' => [
'driver' => 'token', 'driver' => 'token',
'source' => 'users', 'provider' => 'users',
], ],
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| User Sources | User Providers
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| All authentication drivers have a user "source". This defines how the | All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage | users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data. | mechanisms used by this application to persist your user's data.
| |
...@@ -64,7 +64,7 @@ return [ ...@@ -64,7 +64,7 @@ return [
| |
*/ */
'sources' => [ 'providers' => [
'users' => [ 'users' => [
'driver' => 'eloquent', 'driver' => 'eloquent',
'model' => App\User::class, 'model' => App\User::class,
...@@ -97,7 +97,7 @@ return [ ...@@ -97,7 +97,7 @@ return [
'passwords' => [ 'passwords' => [
'users' => [ 'users' => [
'source' => 'users', 'provider' => 'users',
'email' => 'emails.password', 'email' => 'emails.password',
'table' => 'password_resets', 'table' => 'password_resets',
'expire' => 60, 'expire' => 60,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment