Свойство | Тип | Описание | |
---|---|---|---|
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Doctrine\DBAL\Connection $connection, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $authenticationTrustResolver ) | Constructor. | |
onKernelRequest ( |
Replaces the current session data with the stored session data. | |
onKernelResponse ( |
Writes the current session data to the database. |
Метод | Описание | |
---|---|---|
getSessionBag ( ) : Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface | Returns the session bag. | |
getUserObject ( ) : |
Returns the user object depending on the container scope. |
public __construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Doctrine\DBAL\Connection $connection, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface $authenticationTrustResolver ) | ||
$session | Symfony\Component\HttpFoundation\Session\SessionInterface | |
$connection | Doctrine\DBAL\Connection | |
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$authenticationTrustResolver | Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface |
public onKernelRequest ( |
||
$event |
public onKernelResponse ( |
||
$event |