| 1 | <?php |
||
| 15 | class SessionGuard extends BaseSessionGuard |
||
| 16 | { |
||
| 17 | /* ----------------------------------------------------------------- |
||
| 18 | | Main Methods |
||
| 19 | | ----------------------------------------------------------------- |
||
| 20 | */ |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Login the user into the app without firing the Login event. |
||
| 24 | * |
||
| 25 | * @param \Illuminate\Contracts\Auth\Authenticatable|mixed $user |
||
| 26 | */ |
||
| 27 | 32 | public function silentLogin(Authenticatable $user): void |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Logout the user without updating `remember_token` and without firing the Logout event. |
||
| 35 | */ |
||
| 36 | 32 | public function silentLogout(): void |
|
| 43 | } |
||
| 44 |