PHP Class Neos\Flow\Tests\Functional\Security\CsrfProtectionTest

Note that some other parts of this mechanism are tested in a unit testcase.
Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$restrictedController Neos\Flow\Tests\Functional\Security\Fixtures\Controller\RestrictedController
$testableSecurityEnabled boolean

Public Methods

Method Description
postRequestOnRestrictedActionWithoutCsrfTokenCausesAccessDeniedException ( )
setUp ( ) : void

Method Details

postRequestOnRestrictedActionWithoutCsrfTokenCausesAccessDeniedException() public method

setUp() public method

public setUp ( ) : void
return void

Property Details

$restrictedController protected property

protected RestrictedController,Neos\Flow\Tests\Functional\Security\Fixtures\Controller $restrictedController
return Neos\Flow\Tests\Functional\Security\Fixtures\Controller\RestrictedController

$testableSecurityEnabled protected property

protected bool $testableSecurityEnabled
return boolean