aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/User
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-10 14:24:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-10 14:24:24 +0200
commit782a2df39290fed1b2f1aa921727c41815dcbe1e (patch)
treed9bf6e4a6db0d221f10a94946c6d7a5b1be02fc0 /lib/public/User
parent9c1ee2e0ba84e7ad1f707bdf6080ec3df1680040 (diff)
downloadnextcloud-server-782a2df39290fed1b2f1aa921727c41815dcbe1e.tar.gz
nextcloud-server-782a2df39290fed1b2f1aa921727c41815dcbe1e.zip
Add PHP doc for events
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/User')
-rw-r--r--lib/public/User/Events/BeforePasswordUpdatedEvent.php2
-rw-r--r--lib/public/User/Events/BeforeUserCreatedEvent.php2
-rw-r--r--lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php2
-rw-r--r--lib/public/User/Events/BeforeUserLoggedOutEvent.php2
-rw-r--r--lib/public/User/Events/PasswordUpdatedEvent.php2
-rw-r--r--lib/public/User/Events/UserCreatedEvent.php2
-rw-r--r--lib/public/User/Events/UserLoggedInWithCookieEvent.php2
-rw-r--r--lib/public/User/Events/UserLoggedOutEvent.php2
8 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/User/Events/BeforePasswordUpdatedEvent.php b/lib/public/User/Events/BeforePasswordUpdatedEvent.php
index 85d609e672f..e2abddfd084 100644
--- a/lib/public/User/Events/BeforePasswordUpdatedEvent.php
+++ b/lib/public/User/Events/BeforePasswordUpdatedEvent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
+ * Emitted before the user password is updated.
+ *
* @since 18.0.0
*/
class BeforePasswordUpdatedEvent extends Event {
diff --git a/lib/public/User/Events/BeforeUserCreatedEvent.php b/lib/public/User/Events/BeforeUserCreatedEvent.php
index ace929b8ee0..3ef55a185bb 100644
--- a/lib/public/User/Events/BeforeUserCreatedEvent.php
+++ b/lib/public/User/Events/BeforeUserCreatedEvent.php
@@ -29,6 +29,8 @@ namespace OCP\User\Events;
use OCP\EventDispatcher\Event;
/**
+ * Emitted before a new user is created on the back-end.
+ *
* @since 18.0.0
*/
class BeforeUserCreatedEvent extends Event {
diff --git a/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php b/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php
index 7a4ff823f8a..07e7d30aadf 100644
--- a/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php
+++ b/lib/public/User/Events/BeforeUserLoggedInWithCookieEvent.php
@@ -29,6 +29,8 @@ namespace OCP\User\Events;
use OCP\EventDispatcher\Event;
/**
+ * Emitted before a user is logged in via remember-me cookies.
+ *
* @since 18.0.0
*/
class BeforeUserLoggedInWithCookieEvent extends Event {
diff --git a/lib/public/User/Events/BeforeUserLoggedOutEvent.php b/lib/public/User/Events/BeforeUserLoggedOutEvent.php
index d470ec5de7f..db60a053ba0 100644
--- a/lib/public/User/Events/BeforeUserLoggedOutEvent.php
+++ b/lib/public/User/Events/BeforeUserLoggedOutEvent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
+ * Emitted before a user is logged out.
+ *
* @since 18.0.0
*/
class BeforeUserLoggedOutEvent extends Event {
diff --git a/lib/public/User/Events/PasswordUpdatedEvent.php b/lib/public/User/Events/PasswordUpdatedEvent.php
index 8913dc4c53a..25e6efc80cc 100644
--- a/lib/public/User/Events/PasswordUpdatedEvent.php
+++ b/lib/public/User/Events/PasswordUpdatedEvent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
+ * Emitted when the user password has been updated.
+ *
* @since 18.0.0
*/
class PasswordUpdatedEvent extends Event {
diff --git a/lib/public/User/Events/UserCreatedEvent.php b/lib/public/User/Events/UserCreatedEvent.php
index 4d5bb2c5b79..4f2364e5c44 100644
--- a/lib/public/User/Events/UserCreatedEvent.php
+++ b/lib/public/User/Events/UserCreatedEvent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
+ * Emitted when a new user has been created on the back-end.
+ *
* @since 18.0.0
*/
class UserCreatedEvent extends Event {
diff --git a/lib/public/User/Events/UserLoggedInWithCookieEvent.php b/lib/public/User/Events/UserLoggedInWithCookieEvent.php
index 2827af3f90c..9ef84284151 100644
--- a/lib/public/User/Events/UserLoggedInWithCookieEvent.php
+++ b/lib/public/User/Events/UserLoggedInWithCookieEvent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
+ * Emitted when a user has been succesfully logged in via remember-me cookies.
+ *
* @since 18.0.0
*/
class UserLoggedInWithCookieEvent extends Event {
diff --git a/lib/public/User/Events/UserLoggedOutEvent.php b/lib/public/User/Events/UserLoggedOutEvent.php
index 3b1f8745dfe..5791ec77d90 100644
--- a/lib/public/User/Events/UserLoggedOutEvent.php
+++ b/lib/public/User/Events/UserLoggedOutEvent.php
@@ -30,6 +30,8 @@ use OCP\EventDispatcher\Event;
use OCP\IUser;
/**
+ * Emitted when a user has been logged out successfully.
+ *
* @since 18.0.0
*/
class UserLoggedOutEvent extends Event {