1 | <?php namespace Arcanesoft\Auth\Http\Controllers\Front; |
||
12 | class ApiController extends Controller |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Properties |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** |
||
19 | * @var \Illuminate\Contracts\Auth\Guard |
||
20 | */ |
||
21 | private $auth; |
||
22 | |||
23 | /* ------------------------------------------------------------------------------------------------ |
||
24 | | Constructor |
||
25 | | ------------------------------------------------------------------------------------------------ |
||
26 | */ |
||
27 | /** |
||
28 | * ApiController constructor. |
||
29 | * |
||
30 | * @param \Illuminate\Contracts\Auth\Guard $auth |
||
31 | */ |
||
32 | public function __construct(Guard $auth) |
||
38 | |||
39 | /* ------------------------------------------------------------------------------------------------ |
||
40 | | Main Functions |
||
41 | | ------------------------------------------------------------------------------------------------ |
||
42 | */ |
||
43 | public function check() |
||
56 | } |
||
57 |