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

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

Protected Properties

Свойство Type Description
$authAdapter
$em
$userService

Méthodes publiques

Méthode Description
__construct ( HttpUtils $httpUtils, array $options, $authAdapter, $em, $userService ) Constructor
onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : Response This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Method Details

__construct() public méthode

Constructor
public __construct ( HttpUtils $httpUtils, array $options, $authAdapter, $em, $userService )
$httpUtils Symfony\Component\Security\Http\HttpUtils
$options array

onAuthenticationSuccess() public méthode

This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
public onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : Response
$request Symfony\Component\HttpFoundation\Request
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
Résultat Symfony\Component\HttpFoundation\Response The response to return

Property Details

$authAdapter protected_oe property

protected $authAdapter

$em protected_oe property

protected $em

$userService protected_oe property

protected $userService