| 1 | <?php |
||
| 12 | class WebAuthenticationTask |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Illuminate\Auth\AuthManager |
||
| 17 | */ |
||
| 18 | private $auth; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * WebAuthenticationTask constructor. |
||
| 22 | * |
||
| 23 | * @param \Illuminate\Auth\AuthManager $auth |
||
| 24 | */ |
||
| 25 | public function __construct(Auth $auth) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param $email |
||
| 32 | * @param $password |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function login($email, $password, $remember = false) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return bool |
||
| 54 | */ |
||
| 55 | public function logout() |
||
| 61 | |||
| 62 | |||
| 63 | } |
||
| 64 |