:  $isPasswordValid = $this->encoder->isPasswordValid($user, $token->getCredentials());  if ($isPasswordValid) {         return new UsernamePasswordToken($user, $user->getPassword(), $providerKey, $user->getRoles());  }  