summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/IToken.php
diff options
context:
space:
mode:
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 b741cd4ac22..dc2c3a0ae34 100644
--- a/lib/private/Authentication/Token/IToken.php
+++ b/lib/private/Authentication/Token/IToken.php
@@ -44,6 +44,13 @@ interface IToken extends JsonSerializable {
public function getUID();
/**
+ * Get the login name used when generating the token
+ *
+ * @return string
+ */
+ public function getLoginName();
+
+ /**
* Get the (encrypted) login password
*
* @return string