| 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) |
||
| 52 | |||
| 53 | private function getAuthentication() |
||
| 61 | |||
| 62 | public function user() |
||
| 66 | |||
| 67 | public function getCurrentUserId() |
||
| 73 | } |
||
| 74 |