PHP Class Sylius\Bundle\AdminBundle\Controller\ImpersonateUserController

Author: Jan Góralski ([email protected])
Afficher le fichier Open project: sylius/sylius

Protected Properties

Свойство Type Description
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$authorizationRole string
$impersonator Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface
$router Symfony\Component\Routing\RouterInterface
$userProvider Sylius\Bundle\UserBundle\Provider\UserProviderInterface

Méthodes publiques

Méthode Description
__construct ( Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface $impersonator, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Sylius\Bundle\UserBundle\Provider\UserProviderInterface $userProvider, Symfony\Component\Routing\RouterInterface $router, string $authorizationRole )
impersonateAction ( Request $request, string $username ) : Response

Private Methods

Méthode Description
addFlash ( Request $request, string $username )

Method Details

__construct() public méthode

public __construct ( Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface $impersonator, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Sylius\Bundle\UserBundle\Provider\UserProviderInterface $userProvider, Symfony\Component\Routing\RouterInterface $router, string $authorizationRole )
$impersonator Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$userProvider Sylius\Bundle\UserBundle\Provider\UserProviderInterface
$router Symfony\Component\Routing\RouterInterface
$authorizationRole string

impersonateAction() public méthode

public impersonateAction ( Request $request, string $username ) : Response
$request Symfony\Component\HttpFoundation\Request
$username string
Résultat Symfony\Component\HttpFoundation\Response

Property Details

$authorizationChecker protected_oe property

protected AuthorizationCheckerInterface,Symfony\Component\Security\Core\Authorization $authorizationChecker
Résultat Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface

$authorizationRole protected_oe property

protected string $authorizationRole
Résultat string

$impersonator protected_oe property

protected UserImpersonatorInterface,Sylius\Bundle\CoreBundle\Security $impersonator
Résultat Sylius\Bundle\CoreBundle\Security\UserImpersonatorInterface

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
Résultat Symfony\Component\Routing\RouterInterface

$userProvider protected_oe property

protected UserProviderInterface,Sylius\Bundle\UserBundle\Provider $userProvider
Résultat Sylius\Bundle\UserBundle\Provider\UserProviderInterface