[ 'guard' => env('AUTH_GUARD', 'web'), 'passwords' => env('AUTH_PASSWORD_BROKER', 'users'), ], /* |-------------------------------------------------------------------------- | Authentication Guards |-------------------------------------------------------------------------- | | Here you may define every authentication guard for your application. | A default configuration has been defined for you here which uses | session storage and the Eloquent user provider. | | Supported: "session" | */ 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'client' => [ 'driver' => 'session', 'provider' => 'clients', ], ], /* |-------------------------------------------------------------------------- | User Providers |-------------------------------------------------------------------------- | | All authentication guards have a user provider. This defines how the | users are retrieved from your database or other storage systems. | | If you have multiple user tables or models, you can configure multiple | providers for each model/table. Then assign them to appropriate guards. | | Supported: "database", "eloquent" | */ 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => env('AUTH_MODEL', App\Models\User::class), ], 'clients' => [ 'driver' => 'eloquent', 'model' => App\Models\Client::class, ], ], /* |-------------------------------------------------------------------------- | Resetting Passwords |-------------------------------------------------------------------------- | | Here you may set the password reset settings for each user type. | You can specify different tables and expiry settings per group. | */ 'passwords' => [ 'users' => [ 'provider' => 'users', 'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'), 'expire' => 60, 'throttle' => 60, ], 'clients' => [ 'provider' => 'clients', 'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'), 'expire' => 60, 'throttle' => 60, ], ], /* |-------------------------------------------------------------------------- | Password Confirmation Timeout |-------------------------------------------------------------------------- | | Number of seconds before password confirmation times out. | Default is 10800 seconds = 3 hours. | */ 'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800), ];