aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/user
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-07-09 15:32:33 +0200
committerRobin Appelman <icewind@owncloud.com>2014-07-14 15:10:51 +0200
commit20c1ce7f470211e53461be7893cb7320f0a2b452 (patch)
treeaddcdb91aa332c751651837364c3066da07e064b /lib/private/user
parent05ba9b3c64b5c4a109773fe776fd6a2ebd34502a (diff)
downloadnextcloud-server-20c1ce7f470211e53461be7893cb7320f0a2b452.tar.gz
nextcloud-server-20c1ce7f470211e53461be7893cb7320f0a2b452.zip
Add public interfaces for User, UserManager and UserSession
Diffstat (limited to 'lib/private/user')
-rw-r--r--lib/private/user/manager.php3
-rw-r--r--lib/private/user/session.php3
-rw-r--r--lib/private/user/user.php3
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/private/user/manager.php b/lib/private/user/manager.php
index f2964fecca3..d4d91163003 100644
--- a/lib/private/user/manager.php
+++ b/lib/private/user/manager.php
@@ -10,6 +10,7 @@
namespace OC\User;
use OC\Hooks\PublicEmitter;
+use OCP\IUserManager;
/**
* Class Manager
@@ -24,7 +25,7 @@ use OC\Hooks\PublicEmitter;
*
* @package OC\User
*/
-class Manager extends PublicEmitter {
+class Manager extends PublicEmitter implements IUserManager {
/**
* @var \OC_User_Interface[] $backends
*/
diff --git a/lib/private/user/session.php b/lib/private/user/session.php
index 5f0dee607ae..8c9b3e264e3 100644
--- a/lib/private/user/session.php
+++ b/lib/private/user/session.php
@@ -10,6 +10,7 @@
namespace OC\User;
use OC\Hooks\Emitter;
+use OCP\IUserSession;
/**
* Class Session
@@ -29,7 +30,7 @@ use OC\Hooks\Emitter;
*
* @package OC\User
*/
-class Session implements Emitter, \OCP\IUserSession {
+class Session implements IUserSession, Emitter {
/**
* @var \OC\User\Manager $manager
*/
diff --git a/lib/private/user/user.php b/lib/private/user/user.php
index 8aba7188e24..f9c2cb4d130 100644
--- a/lib/private/user/user.php
+++ b/lib/private/user/user.php
@@ -10,8 +10,9 @@
namespace OC\User;
use OC\Hooks\Emitter;
+use OCP\IUser;
-class User {
+class User implements IUser {
/**
* @var string $uid
*/