1 | <?php namespace Anomaly\UsersModule\User\Security; |
||
15 | class SecurityCheckExtension extends Extension implements SecurityCheckInterface |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * Check a login attempt. |
||
20 | * |
||
21 | * @return bool|Response |
||
22 | */ |
||
23 | public function attempt() |
||
27 | |||
28 | /** |
||
29 | * Check an HTTP request. |
||
30 | * |
||
31 | * @param UserInterface $user |
||
32 | * @return bool|Response |
||
33 | */ |
||
34 | public function check(UserInterface $user = null) |
||
38 | |||
39 | } |
||
40 |