We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d6598 commit 98c22b3Copy full SHA for 98c22b3
security/impersonating_user.rst
@@ -93,8 +93,6 @@ In some cases you may need to get the object that represents the impersonator
93
user rather than the impersonated user. Use the following snippet to iterate
94
over the user's roles until you find one that is a ``SwitchUserRole`` object::
95
96
- use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
97
- use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
98
use Symfony\Component\Security\Core\Role\SwitchUserRole;
99
use Symfony\Component\Security\Core\Security;
100
// ...
0 commit comments