1 | <?php |
||
14 | class FormAuthenticator extends AbstractFormLoginAuthenticator |
||
15 | { |
||
16 | /** |
||
17 | * @var UserPasswordEncoderInterface |
||
18 | */ |
||
19 | private $passwordDecoder; |
||
20 | |||
21 | /** |
||
22 | * @param UserPasswordEncoderInterface $passwordDecoder |
||
23 | */ |
||
24 | public function __construct(UserPasswordEncoderInterface $passwordDecoder) |
||
28 | |||
29 | /** |
||
30 | * {@inheritDoc} |
||
31 | * |
||
32 | * @return FormCredentials |
||
33 | */ |
||
34 | public function getCredentials(Request $request) |
||
48 | |||
49 | /** |
||
50 | * {@inheritDoc} |
||
51 | */ |
||
52 | public function getUser($credentials, UserProviderInterface $userProvider) |
||
56 | |||
57 | /** |
||
58 | * {@inheritDoc} |
||
59 | */ |
||
60 | public function checkCredentials($credentials, UserInterface $user) |
||
69 | |||
70 | protected function getLoginUrl() |
||
74 | |||
75 | protected function getDefaultSuccessRedirectURL() |
||
79 | } |
||
80 |