aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/IToken.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-27 09:38:30 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-11 13:36:46 +0200
commitfdc2cd755477220c027e026aa70594af87427bed (patch)
tree74fccc3156ed16b44e48189616a8019012f07703 /lib/private/Authentication/Token/IToken.php
parent8d4850218740b74faae5af637d1b1c2b3dee3c41 (diff)
downloadnextcloud-server-fdc2cd755477220c027e026aa70594af87427bed.tar.gz
nextcloud-server-fdc2cd755477220c027e026aa70594af87427bed.zip
Add token auth for OCS APIs
Diffstat (limited to 'lib/private/Authentication/Token/IToken.php')
-rw-r--r--lib/private/Authentication/Token/IToken.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/IToken.php b/lib/private/Authentication/Token/IToken.php
index 549a1f98268..90feefb4589 100644
--- a/lib/private/Authentication/Token/IToken.php
+++ b/lib/private/Authentication/Token/IToken.php
@@ -36,4 +36,11 @@ interface IToken {
* @return string
*/
public function getId();
+
+ /**
+ * Get the user UID
+ *
+ * @return string
+ */
+ public function getUid();
}