public function isTokenValid($value)
    {
        $csrfToken = new CsrfToken($this->tokenId, $value);

        return $this->csrfTokenManager->isTokenValid($csrfToken);
    }
public function isTokenValid($value)
    {
        $csrfToken = new CsrfToken($this->tokenId, $value);

        return $this->csrfTokenManager->isTokenValid($csrfToken);
    }
public function isTokenValid ( $ value ) { $ csrfToken = new CsrfToken ( $ this -> tokenId , $ value ) ; return $ this -> csrfTokenManager -> isTokenValid ( $ csrfToken ) ; }
Tests if the given token value is valid.

@param $value The CSRF token value to test

@return bool

@see CsrfTokenManagerInterface::isTokenValid()
Tests if the given token value is valid .