Type the authentication listeners
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
dff399973f
commit
3a3d7ea6cd
|
@ -35,6 +35,9 @@ use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\IUserManager;
|
use OCP\IUserManager;
|
||||||
use OCP\Util;
|
use OCP\Util;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OC\Authentication\Events\LoginFailed>
|
||||||
|
*/
|
||||||
class LoginFailedListener implements IEventListener {
|
class LoginFailedListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IEventDispatcher */
|
/** @var IEventDispatcher */
|
||||||
|
|
|
@ -35,6 +35,9 @@ use OCP\EventDispatcher\Event;
|
||||||
use OCP\EventDispatcher\IEventListener;
|
use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\ILogger;
|
use OCP\ILogger;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
|
||||||
|
*/
|
||||||
class RemoteWipeActivityListener implements IEventListener {
|
class RemoteWipeActivityListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IActvityManager */
|
/** @var IActvityManager */
|
||||||
|
|
|
@ -40,6 +40,9 @@ use OCP\Mail\IMailer;
|
||||||
use OCP\Mail\IMessage;
|
use OCP\Mail\IMessage;
|
||||||
use function substr;
|
use function substr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
|
||||||
|
*/
|
||||||
class RemoteWipeEmailListener implements IEventListener {
|
class RemoteWipeEmailListener implements IEventListener {
|
||||||
|
|
||||||
/** @var IMailer */
|
/** @var IMailer */
|
||||||
|
|
|
@ -35,6 +35,9 @@ use OCP\EventDispatcher\Event;
|
||||||
use OCP\EventDispatcher\IEventListener;
|
use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\Notification\IManager as INotificationManager;
|
use OCP\Notification\IManager as INotificationManager;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
|
||||||
|
*/
|
||||||
class RemoteWipeNotificationsListener implements IEventListener {
|
class RemoteWipeNotificationsListener implements IEventListener {
|
||||||
|
|
||||||
/** @var INotificationManager */
|
/** @var INotificationManager */
|
||||||
|
|
|
@ -31,6 +31,9 @@ use OCP\EventDispatcher\Event;
|
||||||
use OCP\EventDispatcher\IEventListener;
|
use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\User\Events\UserDeletedEvent;
|
use OCP\User\Events\UserDeletedEvent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OCP\User\Events\UserDeletedEvent>
|
||||||
|
*/
|
||||||
class UserDeletedStoreCleanupListener implements IEventListener {
|
class UserDeletedStoreCleanupListener implements IEventListener {
|
||||||
|
|
||||||
/** @var Registry */
|
/** @var Registry */
|
||||||
|
|
|
@ -33,6 +33,9 @@ use OCP\ILogger;
|
||||||
use OCP\User\Events\UserDeletedEvent;
|
use OCP\User\Events\UserDeletedEvent;
|
||||||
use Throwable;
|
use Throwable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OCP\User\Events\UserDeletedEvent>
|
||||||
|
*/
|
||||||
class UserDeletedTokenCleanupListener implements IEventListener {
|
class UserDeletedTokenCleanupListener implements IEventListener {
|
||||||
|
|
||||||
/** @var Manager */
|
/** @var Manager */
|
||||||
|
|
|
@ -31,6 +31,9 @@ use OCP\EventDispatcher\Event;
|
||||||
use OCP\EventDispatcher\IEventListener;
|
use OCP\EventDispatcher\IEventListener;
|
||||||
use OCP\User\Events\PostLoginEvent;
|
use OCP\User\Events\PostLoginEvent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @template-implements IEventListener<\OCP\User\Events\PostLoginEvent>
|
||||||
|
*/
|
||||||
class UserLoggedInListener implements IEventListener {
|
class UserLoggedInListener implements IEventListener {
|
||||||
|
|
||||||
/** @var Manager */
|
/** @var Manager */
|
||||||
|
|
Loading…
Reference in New Issue