]> source.dussan.org Git - nextcloud-server.git/commitdiff
Type the authentication listeners 23491/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 15 Oct 2020 14:43:21 +0000 (16:43 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 15 Oct 2020 22:34:18 +0000 (22:34 +0000)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/Authentication/Listeners/LoginFailedListener.php
lib/private/Authentication/Listeners/RemoteWipeActivityListener.php
lib/private/Authentication/Listeners/RemoteWipeEmailListener.php
lib/private/Authentication/Listeners/RemoteWipeNotificationsListener.php
lib/private/Authentication/Listeners/UserDeletedStoreCleanupListener.php
lib/private/Authentication/Listeners/UserDeletedTokenCleanupListener.php
lib/private/Authentication/Listeners/UserLoggedInListener.php

index 72800ad509cfd74c93ef456885e97cbef1557ed0..19f0b92c3a64705edccf42defaf903c52e369a1c 100644 (file)
@@ -35,6 +35,9 @@ use OCP\EventDispatcher\IEventListener;
 use OCP\IUserManager;
 use OCP\Util;
 
+/**
+ * @template-implements IEventListener<\OC\Authentication\Events\LoginFailed>
+ */
 class LoginFailedListener implements IEventListener {
 
        /** @var IEventDispatcher */
index 0ab2dcf4837b9dc220ba7614143fbc35928f96f4..76daebd717ed663f6653b633f6fe92a6a8f97db9 100644 (file)
@@ -35,6 +35,9 @@ use OCP\EventDispatcher\Event;
 use OCP\EventDispatcher\IEventListener;
 use OCP\ILogger;
 
+/**
+ * @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
+ */
 class RemoteWipeActivityListener implements IEventListener {
 
        /** @var IActvityManager */
index 799c4ea4cf5fca165715af50e88a8ed5338cdcf8..adde844d42a5ee0a6535aebdbd0411b768ebe398 100644 (file)
@@ -40,6 +40,9 @@ use OCP\Mail\IMailer;
 use OCP\Mail\IMessage;
 use function substr;
 
+/**
+ * @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
+ */
 class RemoteWipeEmailListener implements IEventListener {
 
        /** @var IMailer */
index 831107a05cd397d1e9141601e9bd9385e777cd05..965fb291fbf568a782c181dd9e994bc6facc7295 100644 (file)
@@ -35,6 +35,9 @@ use OCP\EventDispatcher\Event;
 use OCP\EventDispatcher\IEventListener;
 use OCP\Notification\IManager as INotificationManager;
 
+/**
+ * @template-implements IEventListener<\OC\Authentication\Events\ARemoteWipeEvent>
+ */
 class RemoteWipeNotificationsListener implements IEventListener {
 
        /** @var INotificationManager */
index c8f2da82db65f820bd068e129148e8e5265a4fa8..057568f514e2e1b4c9f782de485fd1640ab5ec8c 100644 (file)
@@ -31,6 +31,9 @@ use OCP\EventDispatcher\Event;
 use OCP\EventDispatcher\IEventListener;
 use OCP\User\Events\UserDeletedEvent;
 
+/**
+ * @template-implements IEventListener<\OCP\User\Events\UserDeletedEvent>
+ */
 class UserDeletedStoreCleanupListener implements IEventListener {
 
        /** @var Registry */
index 3b362336675e7ffc7467fc10e6ef7b3d5d7519ec..440629414eab1a382dc932ad1a9d47538d7b84b6 100644 (file)
@@ -33,6 +33,9 @@ use OCP\ILogger;
 use OCP\User\Events\UserDeletedEvent;
 use Throwable;
 
+/**
+ * @template-implements IEventListener<\OCP\User\Events\UserDeletedEvent>
+ */
 class UserDeletedTokenCleanupListener implements IEventListener {
 
        /** @var Manager */
index f3ab833734d96377cd87eaf8e1d80ebd18a537cc..9d90f09b2962673cad850b60af4caf7f10f2c257 100644 (file)
@@ -31,6 +31,9 @@ use OCP\EventDispatcher\Event;
 use OCP\EventDispatcher\IEventListener;
 use OCP\User\Events\PostLoginEvent;
 
+/**
+ * @template-implements IEventListener<\OCP\User\Events\PostLoginEvent>
+ */
 class UserLoggedInListener implements IEventListener {
 
        /** @var Manager */