PHP Class OAuthBundle\Services\AuthenticationSuccessHandler

Author: Alfonso M. GarcĂ­a Astorga ([email protected])
Inheritance: implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface
Datei anzeigen Open project: alfonsomga/symfony.demo.on.roids

Protected Properties

Property Type Description
$router Symfony\Bundle\FrameworkBundle\Routing\Router
$security Symfony\Component\Security\Core\Authorization\AuthorizationChecker

Public Methods

Method Description
__construct ( Symfony\Component\Security\Core\Authorization\AuthorizationChecker $security, Router $router ) AuthenticationSuccessHandler constructor.
onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : RedirectResponse

Method Details

__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

onAuthenticationSuccess() public method

public onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
return Symfony\Component\HttpFoundation\RedirectResponse

Property Details

$router protected_oe property

protected Router,Symfony\Bundle\FrameworkBundle\Routing $router
return Symfony\Bundle\FrameworkBundle\Routing\Router

$security protected_oe property

protected AuthorizationChecker,Symfony\Component\Security\Core\Authorization $security
return Symfony\Component\Security\Core\Authorization\AuthorizationChecker