‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest:

Public Member Functions

 handleRequestReturnsBadRequestForInvalidActionTest ()
 
 handleRequestFallsBackToOverviewActionIfNoActionGivenTest ()
 
 handleRequestShowsAllRegisteredProvidersTest ()
 
 handleRequestAddsInformationAboutMfaBeingRequiredAndRecommendedTest ()
 
 handleRequestIndicatesDefaultProviderTest ()
 
 handleRequestRespectsReturnUrlTest ()
 
 handleRequestRedirectsToOverviewOnActionProviderMismatchTest (string $action, string $provider, bool $providerActive, string $flashMessage)
 
 handleRequestForwardsToCorrectActionTest (string $action, string $provider, bool $providerActive, bool $redirect, string $searchString)
 
 handleRequestAddsFormOnInteractionViewsTest (string $action, bool $providerActive, string $providerContent)
 

Static Public Member Functions

static handleRequestRedirectsToOverviewOnActionProviderMismatchTestDataProvider ()
 
static handleRequestForwardsToCorrectActionTestDataProvider ()
 
static handleRequestAddsFormOnInteractionViewsTestTestDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

MfaConfigurationController $subject
 
ServerRequest $request
 
HashService $hashService
 
NormalizedParams $normalizedParams
 
array $configurationToUseInTestInstance
 

Detailed Description

Definition at line 40 of file MfaConfigurationControllerTest.php.

Member Function Documentation

◆ handleRequestAddsFormOnInteractionViewsTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestAddsFormOnInteractionViewsTest ( string  $action,
bool  $providerActive,
string  $providerContent 
)

◆ handleRequestAddsFormOnInteractionViewsTestTestDataProvider()

static TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestAddsFormOnInteractionViewsTestTestDataProvider ( )
static

Definition at line 388 of file MfaConfigurationControllerTest.php.

◆ handleRequestAddsInformationAboutMfaBeingRequiredAndRecommendedTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestAddsInformationAboutMfaBeingRequiredAndRecommendedTest ( )

◆ handleRequestFallsBackToOverviewActionIfNoActionGivenTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestFallsBackToOverviewActionIfNoActionGivenTest ( )

◆ handleRequestForwardsToCorrectActionTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestForwardsToCorrectActionTest ( string  $action,
string  $provider,
bool  $providerActive,
bool  $redirect,
string  $searchString 
)

◆ handleRequestForwardsToCorrectActionTestDataProvider()

static TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestForwardsToCorrectActionTestDataProvider ( )
static

Definition at line 308 of file MfaConfigurationControllerTest.php.

◆ handleRequestIndicatesDefaultProviderTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestIndicatesDefaultProviderTest ( )

◆ handleRequestRedirectsToOverviewOnActionProviderMismatchTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestRedirectsToOverviewOnActionProviderMismatchTest ( string  $action,
string  $provider,
bool  $providerActive,
string  $flashMessage 
)

◆ handleRequestRedirectsToOverviewOnActionProviderMismatchTestDataProvider()

static TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestRedirectsToOverviewOnActionProviderMismatchTestDataProvider ( )
static

Definition at line 203 of file MfaConfigurationControllerTest.php.

◆ handleRequestRespectsReturnUrlTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestRespectsReturnUrlTest ( )

◆ handleRequestReturnsBadRequestForInvalidActionTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestReturnsBadRequestForInvalidActionTest ( )

◆ handleRequestShowsAllRegisteredProvidersTest()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::handleRequestShowsAllRegisteredProvidersTest ( )

◆ setUp()

TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::setUp ( )
protected

Member Data Documentation

◆ $configurationToUseInTestInstance

array TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::$configurationToUseInTestInstance
protected
Initial value:
= [
'BE' => [
'recommendedMfaProvider' => 'totp',
'requireMfa' => 1,
],
]

Definition at line 47 of file MfaConfigurationControllerTest.php.

◆ $hashService

HashService TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::$hashService
protected

Definition at line 44 of file MfaConfigurationControllerTest.php.

◆ $normalizedParams

NormalizedParams TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::$normalizedParams
protected

Definition at line 45 of file MfaConfigurationControllerTest.php.

◆ $request

◆ $subject

MfaConfigurationController TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest::$subject
protected

Definition at line 42 of file MfaConfigurationControllerTest.php.