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

Public Member Functions

 generateRecoveryCodesTest ()
 
 generatePlainRecoveryCodesThrowsExceptionOnInvalidLengthTest ()
 
 generatePlainRecoveryCodesTest (int $length, int $quantity)
 
 generatePlainRecoveryCodesTestDataProvider ()
 
 generatedHashedRecoveryCodesAreHashedWithDefaultHashInstanceTest ()
 
 verifyRecoveryCodeTest ()
 
 verifyRecoveryCodeUsesTheCorrectHashInstanceTest ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

RecoveryCodes $subject
 

Detailed Description

Definition at line 26 of file RecoveryCodesTest.php.

Member Function Documentation

◆ generatedHashedRecoveryCodesAreHashedWithDefaultHashInstanceTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::generatedHashedRecoveryCodesAreHashedWithDefaultHashInstanceTest ( )
Test:

Definition at line 108 of file RecoveryCodesTest.php.

References $GLOBALS.

◆ generatePlainRecoveryCodesTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::generatePlainRecoveryCodesTest ( int  $length,
int  $quantity 
)
Test:
‪@dataProvider generatePlainRecoveryCodesTestDataProvider
Parameters
int$length
int$quantity

Definition at line 86 of file RecoveryCodesTest.php.

◆ generatePlainRecoveryCodesTestDataProvider()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::generatePlainRecoveryCodesTestDataProvider ( )

Definition at line 96 of file RecoveryCodesTest.php.

◆ generatePlainRecoveryCodesThrowsExceptionOnInvalidLengthTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::generatePlainRecoveryCodesThrowsExceptionOnInvalidLengthTest ( )
Test:

Definition at line 72 of file RecoveryCodesTest.php.

◆ generateRecoveryCodesTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::generateRecoveryCodesTest ( )
Test:

Definition at line 48 of file RecoveryCodesTest.php.

References $GLOBALS.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::setUp ( )
protected

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::tearDown ( )
protected

◆ verifyRecoveryCodeTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::verifyRecoveryCodeTest ( )
Test:

Definition at line 127 of file RecoveryCodesTest.php.

References $GLOBALS.

◆ verifyRecoveryCodeUsesTheCorrectHashInstanceTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::verifyRecoveryCodeUsesTheCorrectHashInstanceTest ( )
Test:

Definition at line 155 of file RecoveryCodesTest.php.

References $GLOBALS.

Member Data Documentation

◆ $subject

RecoveryCodes TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::$subject
protected

Definition at line 28 of file RecoveryCodesTest.php.