diff options
Diffstat (limited to 'lib/public/activity')
-rw-r--r-- | lib/public/activity/imanager.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/activity/imanager.php b/lib/public/activity/imanager.php index f7885860c4a..2e55c8b45b2 100644 --- a/lib/public/activity/imanager.php +++ b/lib/public/activity/imanager.php @@ -136,4 +136,14 @@ interface IManager { * @return array */ function getQueryForFilter($filter); + + /** + * Get the user we need to use + * + * Either the user is logged in, or we try to get it from the token + * + * @return string + * @throws \UnexpectedValueException If the token is invalid, does not exist or is not unique + */ + public function getCurrentUserId(); } |