1 | <?php |
||
13 | class ValidateAuthenticationFilter extends ActionFilter |
||
14 | { |
||
15 | /** |
||
16 | * @var Closure |
||
17 | */ |
||
18 | public $denyCallback; |
||
19 | |||
20 | /** |
||
21 | * @var bool |
||
22 | */ |
||
23 | public $invert = false; |
||
24 | |||
25 | public function beforeAction($action) |
||
40 | |||
41 | public function validateAuthentication(IdentityInterface $identity) |
||
49 | |||
50 | /** |
||
51 | * @param AuthenticationException $exception |
||
52 | * @return mixed |
||
53 | */ |
||
54 | protected function denyAccess($exception) |
||
62 | |||
63 | } |
||
64 |