PHP Class Newscoop\NewscoopBundle\Security\Http\Authentication\AuthenticationFailedHandler

Inheritance: extends Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception ) : Response This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Method Details

onAuthenticationFailure() public méthode

This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
public onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception ) : Response
$request Symfony\Component\HttpFoundation\Request
$exception Symfony\Component\Security\Core\Exception\AuthenticationException
Résultat Symfony\Component\HttpFoundation\Response The response to return, never null