| 1 | <?php |
||
| 8 | class Authentication |
||
| 9 | { |
||
| 10 | private $config; |
||
| 11 | |||
| 12 | private $authentication = []; |
||
| 13 | |||
| 14 | private $app; |
||
| 15 | |||
| 16 | public function __construct(Config $config, Application $app) |
||
| 22 | |||
| 23 | public function check() |
||
| 27 | |||
| 28 | private function executeAuthMethod($method) |
||
| 53 | |||
| 54 | private function getAuthentication() |
||
| 62 | |||
| 63 | public function user() |
||
| 67 | |||
| 68 | public function getCurrentUserId() |
||
| 74 | } |
||
| 75 |