OAuthBundle\Services\AuthenticationSuccessHandler::__construct PHP Method

__construct() public method

AuthenticationSuccessHandler constructor.
public __construct ( Symfony\Component\Security\Core\Authorization\AuthorizationChecker $security, Router $router )
$security Symfony\Component\Security\Core\Authorization\AuthorizationChecker
$router Symfony\Bundle\FrameworkBundle\Routing\Router
    public function __construct(AuthorizationChecker $security, \Symfony\Bundle\FrameworkBundle\Routing\Router $router)
    {
        $this->router = $router;
        $this->security = $security;
    }
AuthenticationSuccessHandler