SwitchUserListener

SwitchUserListener

class SwitchUserListener implements ListenerInterface

SwitchUserListener allows a user to impersonate another one temporarily (like the Unix su command).

Methods

__construct(TokenStorageInterface $tokenStorage, UserProviderInterface $provider, 登录查看完整内容