eZ\Publish\Core\REST\Server\Controller\SessionController::__construct PHP Method

__construct() public method

public __construct ( eZ\Publish\Core\MVC\Symfony\Security\Authentication\AuthenticatorInterface $authenticator, $tokenIntention, Symfony\Component\Security\Csrf\CsrfTokenManager $csrfTokenManager = null, Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface $csrfTokenStorage = null )
$authenticator eZ\Publish\Core\MVC\Symfony\Security\Authentication\AuthenticatorInterface
$csrfTokenManager Symfony\Component\Security\Csrf\CsrfTokenManager
$csrfTokenStorage Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface
    public function __construct(AuthenticatorInterface $authenticator, $tokenIntention, CsrfTokenManager $csrfTokenManager = null, TokenStorageInterface $csrfTokenStorage = null)
    {
        $this->authenticator = $authenticator;
        $this->csrfTokenIntention = $tokenIntention;
        $this->csrfTokenManager = $csrfTokenManager;
        $this->csrfTokenStorage = $csrfTokenStorage;
    }