1 | <?php |
||
10 | class ZfcUserAuthentication extends AbstractPlugin |
||
11 | { |
||
12 | /** |
||
13 | * @var AuthAdapter |
||
14 | */ |
||
15 | protected $authAdapter; |
||
16 | |||
17 | /** |
||
18 | * @var AuthenticationService |
||
19 | */ |
||
20 | protected $authService; |
||
21 | |||
22 | /** |
||
23 | * @var ServiceLocatorInterface |
||
24 | */ |
||
25 | protected $serviceLocator; |
||
26 | |||
27 | /** |
||
28 | * Proxy convenience method |
||
29 | * |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function hasIdentity() |
||
36 | |||
37 | /** |
||
38 | * Proxy convenience method |
||
39 | * |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function getIdentity() |
||
46 | |||
47 | /** |
||
48 | * Get authAdapter. |
||
49 | * |
||
50 | * @return ZfcUserAuthentication |
||
51 | */ |
||
52 | public function getAuthAdapter() |
||
56 | |||
57 | /** |
||
58 | * Set authAdapter. |
||
59 | * |
||
60 | * @param authAdapter $authAdapter |
||
61 | */ |
||
62 | public function setAuthAdapter(AuthAdapter $authAdapter) |
||
67 | |||
68 | /** |
||
69 | * Get authService. |
||
70 | * |
||
71 | * @return AuthenticationService |
||
72 | */ |
||
73 | public function getAuthService() |
||
77 | |||
78 | /** |
||
79 | * Set authService. |
||
80 | * |
||
81 | * @param AuthenticationService $authService |
||
82 | */ |
||
83 | public function setAuthService(AuthenticationService $authService) |
||
88 | } |
||
89 |