Signals collection¶
Register the class which implements your logic in ext_localconf.php:
Password reset link requested.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'sendResetLinkRequest', \MY\ExtKey\Slots\ResetLinkRequested::class, 'handle' );The method is called with the following argument:
Password has been reset.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'passwordHasBeenReset', \MY\ExtKey\Slots\PasswordUpdated::class, 'handle' );The method is called with the following argument:
Magic link requested.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'sendMagicLinkRequest', \MY\ExtKey\Slots\MagicLinkRequested::class, 'handle' );The method is called with the following argument:
Magic link applied.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'magicLinkApplied', \MY\ExtKey\Slots\MagicLinkApplied::class, 'handle' );The method is called with the following argument:
Account has been locked out.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'lockout', \MY\ExtKey\Slots\LockoutHappened::class, 'handle' );The method is called with the following argument:
Account has been unlocked.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'userUnlocked', \MY\ExtKey\Slots\AccountUnlocked::class, 'handle' );The method is called with the following argument:
Login attempt detected.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'loginAttempt', \MY\ExtKey\Slots\NewLoginAttempt::class, 'handle' );The method is called with the following arguments:
Failed login attempt detected.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'loginAttemptFailed', \MY\ExtKey\Slots\NewFailedLoginAttempt::class, 'handle' );The method is called with the following argument:
Successful login attempt detected.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'loginSuccess', \MY\ExtKey\Slots\NewSuccessfulLoginAttempt::class, 'handle' );The method is called with the following arguments:
Logout detected.¶
$dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); $dispatcher->connect( \LMS\Login\Event\SessionEvent::class, 'logoutSuccess', \MY\ExtKey\Slots\UserLoggedOut::class, 'handle' );The method is called with the following argument: