‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest:

Public Member Functions

 processLoginReturnsCorrectData (string $passwordSubmissionStrategy, array $loginData, array $expectedProcessedData)
 
 authUserReturns100IfSubmittedPasswordIsEmpty ()
 
 authUserReturns100IfUserSubmittedUsernameIsEmpty ()
 
 authUserThrowsExceptionIfUserTableIsNotSet ()
 
 authUserThrowsExceptionIfPasswordInDbDoesNotResolveToAValidHash ()
 
 authUserReturns0IfPasswordDoesNotMatch ()
 
 authUserReturns200IfPasswordMatch ()
 

Static Public Member Functions

static processLoginDataProvider ()
 

Protected Member Functions

 tearDown ()
 

Protected Attributes

bool $resetSingletonInstances = true
 

Detailed Description

Definition at line 28 of file AuthenticationServiceTest.php.

Member Function Documentation

◆ authUserReturns0IfPasswordDoesNotMatch()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::authUserReturns0IfPasswordDoesNotMatch ( )

◆ authUserReturns100IfSubmittedPasswordIsEmpty()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::authUserReturns100IfSubmittedPasswordIsEmpty ( )

◆ authUserReturns100IfUserSubmittedUsernameIsEmpty()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::authUserReturns100IfUserSubmittedUsernameIsEmpty ( )

◆ authUserReturns200IfPasswordMatch()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::authUserReturns200IfPasswordMatch ( )

◆ authUserThrowsExceptionIfPasswordInDbDoesNotResolveToAValidHash()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::authUserThrowsExceptionIfPasswordInDbDoesNotResolveToAValidHash ( )

◆ authUserThrowsExceptionIfUserTableIsNotSet()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::authUserThrowsExceptionIfUserTableIsNotSet ( )

◆ processLoginDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::processLoginDataProvider ( )
static

Definition at line 38 of file AuthenticationServiceTest.php.

◆ processLoginReturnsCorrectData()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::processLoginReturnsCorrectData ( string  $passwordSubmissionStrategy,
array  $loginData,
array  $expectedProcessedData 
)

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::tearDown ( )
protected

Definition at line 32 of file AuthenticationServiceTest.php.

References $GLOBALS.

Member Data Documentation

◆ $resetSingletonInstances

bool TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::$resetSingletonInstances = true
protected

Definition at line 30 of file AuthenticationServiceTest.php.