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

Inheritance: extends Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler
Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$authAdapter
$em
$userService

Public Methods

Method 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 method

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

onAuthenticationSuccess() public method

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
return Symfony\Component\HttpFoundation\Response The response to return

Property Details

$authAdapter protected property

protected $authAdapter

$em protected property

protected $em

$userService protected property

protected $userService