/** * {@inheritdoc} */ public function validateCredentials(UserInterface $user, array $credentials) { return $this->encoder->verify($user->getPassword(), $credentials['password']); }