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

Public Member Functions

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

Protected Attributes

bool $resetSingletonInstances = true
 

Detailed Description

Test case

Definition at line 29 of file AuthenticationServiceTest.php.

Member Function Documentation

◆ authUserReturns0IfPasswordDoesNotMatch()

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

Definition at line 165 of file AuthenticationServiceTest.php.

◆ authUserReturns100IfSubmittedPasswordIsEmpty()

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

Definition at line 104 of file AuthenticationServiceTest.php.

◆ authUserReturns100IfUserSubmittedUsernameIsEmpty()

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

Definition at line 114 of file AuthenticationServiceTest.php.

◆ authUserReturns200IfPasswordMatch()

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

Definition at line 195 of file AuthenticationServiceTest.php.

◆ authUserThrowsExceptionIfPasswordInDbDoesNotResolveToAValidHash()

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

Definition at line 136 of file AuthenticationServiceTest.php.

◆ authUserThrowsExceptionIfUserTableIsNotSet()

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

Definition at line 124 of file AuthenticationServiceTest.php.

◆ processLoginDataProvider()

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

Date provider for processLoginReturnsCorrectData

Returns
‪array

Definition at line 41 of file AuthenticationServiceTest.php.

◆ processLoginReturnsCorrectData()

TYPO3\CMS\Core\Tests\Unit\Authentication\AuthenticationServiceTest::processLoginReturnsCorrectData (   $passwordSubmissionStrategy,
  $loginData,
  $expectedProcessedData 
)
Test:
‪@dataProvider processLoginDataProvider

Definition at line 93 of file AuthenticationServiceTest.php.

Member Data Documentation

◆ $resetSingletonInstances

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

Reset singletons created by subject

Definition at line 34 of file AuthenticationServiceTest.php.