‪TYPO3CMS  ‪main
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)
 
 generatedHashedRecoveryCodesAreHashedWithDefaultHashInstanceTest ()
 
 verifyRecoveryCodeTest ()
 
 verifyRecoveryCodeUsesTheCorrectHashInstanceTest ()
 

Static Public Member Functions

static generatePlainRecoveryCodesTestDataProvider ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

RecoveryCodes $subject
 

Detailed Description

Definition at line 28 of file RecoveryCodesTest.php.

Member Function Documentation

◆ generatedHashedRecoveryCodesAreHashedWithDefaultHashInstanceTest()

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

Definition at line 99 of file RecoveryCodesTest.php.

References $GLOBALS.

◆ generatePlainRecoveryCodesTest()

TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\RecoveryCodesTest::generatePlainRecoveryCodesTest ( int  $length,
int  $quantity 
)

Definition at line 79 of file RecoveryCodesTest.php.

◆ generatePlainRecoveryCodesTestDataProvider()

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

Definition at line 89 of file RecoveryCodesTest.php.

◆ generatePlainRecoveryCodesThrowsExceptionOnInvalidLengthTest()

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

Definition at line 70 of file RecoveryCodesTest.php.

◆ generateRecoveryCodesTest()

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

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 ( )

Definition at line 116 of file RecoveryCodesTest.php.

References $GLOBALS.

◆ verifyRecoveryCodeUsesTheCorrectHashInstanceTest()

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

Definition at line 142 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 30 of file RecoveryCodesTest.php.