Implementing Event classes for User events.
The pr depend from #41226
Affected events:
onUserAuthorisation
onUserAuthorisationFailure
onUserLogin
onUserLoginFailure
onUserAfterLogin
onUserLogout
onUserAfterLogout
onUserLogoutFailure
onUserLoginButtons
onUserBeforeSave
onUserAfterSave
onUserBeforeDelete
onUserAfterDelete
onUserAfterRemind
Following events uses generic classes from Joomla\Event\Model from #41226:
onUserBeforeSaveGroup
onUserAfterSaveGroup
onUserBeforeDeleteGroup
onUserAfterDeleteGroup
Note:
Event onUserAuthenticate is untoched, because it is not an event, but callback. If we want to make it as event then we have to deprecate this one and introduce new one onUserAuthenticate2.
Testing Instructions
Apply patch.
Try add/edit/delete User, login, logout, use webauthn.
Add/edit/delete User group.
thanks