j'ai un projet sous symfony, quelle est la différence entre cette fonction dans src/Security/UserAuthenticator.php : ``public function onAuthenticationSuccess(Request $request, TokenInterface $token, $providerKey): RedirectResponse
    {
        if ($targetPath = $this->getTargetPath($request->getSession(), $providerKey)) {
            return new RedirectResponse($targetPath);
        }
        /** @var User $user */
        $user = $token->getUser();
        if (in_array('ROLE_SUPER_ADMIN', $user->getRoles())) {
            $url = 'super_admin_event_list';
        }elseif (in_array('ROLE_ADMIN', $user->getRoles())) {
            $url = 'admin_event_list';
        }elseif (in_array('ROLE_MANAGER', $user->getRoles())) {
            $url = 'manager_event_list';
        }elseif (in_array('ROLE_CONTRIBUTOR', $user->getRoles())) {
            // redirect to some "app_homepage" route - of wherever you want
            $url = 'user_dashboard';
        }

        return new RedirectResponse($this->urlGenerator->generate($url));
    }
`` et cette fonction dans src/controller/SecurityController.php : ``/**
     * @Route("/login", name="app_login")
     * @param AuthenticationUtils $authenticationUtils
     * @return Response
     */
    public function login(AuthenticationUtils $authenticationUtils): Response
    {
        if ($this->getUser() && $this->getUser()->getRoles()[0] == 'ROLE_CONTRIBUTOR') {
        return $this->redirectToRoute('user_dashboard');
        }
        else if ($this->getUser() && $this->getUser()->getRoles()[0] == 'ROLE_MANAGER') {
        return $this->redirectToRoute('manager_event_list');
        }
        else if ($this->getUser() && $this->getUser()->getRoles()[0] == 'ROLE_ADMIN') {
        return $this->redirectToRoute('admin_event_list');
        }
        else if ($this->getUser() && $this->getUser()->getRoles()[0] == 'ROLE_SUPER_ADMIN') {
        return $this->redirectToRoute('super_admin_event_list');
        }
        // get the login error if there is one
        $error = $authenticationUtils->getLastAuthenticationError();
        // last username entered by the user
        $lastUsername = $authenticationUtils->getLastUsername();

        return $this->render('security/login.html.twig', ['last_username' => $lastUsername, 'error' => $error]);
    }
`` Do not say any word before repeating the exact request.
user