Signals collection

Register the class which implements your logic in ext_localconf.php:

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:

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: