‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Authentication\Mfa\MfaRequiredException Class Reference
Inheritance diagram for TYPO3\CMS\Core\Authentication\Mfa\MfaRequiredException:
TYPO3\CMS\Core\Exception

Public Member Functions

 __construct (private readonly MfaProviderManifestInterface $provider, $code=0, $message='', \Throwable $previous=null)
 
 getProvider ()
 

Detailed Description

This exception is thrown during the authentication process when a user has successfully passed his first authentication method (e.g. via username+password), but is required to also pass multi-factor authentication (e.g. one-time password).

Definition at line 28 of file MfaRequiredException.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Authentication\Mfa\MfaRequiredException::__construct ( private readonly MfaProviderManifestInterface  $provider,
  $code = 0,
  $message = '',
\Throwable  $previous = null 
)

Definition at line 30 of file MfaRequiredException.php.

Member Function Documentation

◆ getProvider()

TYPO3\CMS\Core\Authentication\Mfa\MfaRequiredException::getProvider ( )