private function checkCsrfToken() {

		$tokenManager = new CsrfTokenManager();

		$token = new CsrfToken(
			'_' . $this->action . '_',
			$this->requestValues->get(self::CSRF_TOKEN_NAME)
		);

		return $tokenManager->isTokenValid($token);

	}
private function checkCsrfToken() {

		$tokenManager = new CsrfTokenManager();

		$token = new CsrfToken(
			'_' . $this->action . '_',
			$this->requestValues->get(self::CSRF_TOKEN_NAME)
		);

		return $tokenManager->isTokenValid($token);

	}
private function checkCsrfToken ( ) { $ tokenManager = new CsrfTokenManager ( ) ; $ token = new CsrfToken ( '_' . $ this -> action . '_' , $ this -> requestValues -> get ( self :: CSRF_TOKEN_NAME ) ) ; return $ tokenManager -> isTokenValid ( $ token ) ; }
check whether a CSRF token remained untainted
compares the stored token with the request value

@return boolean
check whether a CSRF token remained untainted compares the stored token with the request value