core-bundle/src/Resources/contao/library/Contao/RequestToken.php
public static function get()
	{
		$container = System::getContainer();

		return $container->get('contao.csrf.token_manager')->getToken($container->getParameter('contao.csrf_token_name'))->getValue();
	}
public static function get()
	{
		$container = System::getContainer();

		return $container->get('contao.csrf.token_manager')->getToken($container->getParameter('contao.csrf_token_name'))->getValue();
	}
Return the token

@return string The request token