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.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/IToken.php b/lib/private/Authentication/Token/IToken.php
index 3fa8ccbb078..a6ba392907d 100644
--- a/lib/private/Authentication/Token/IToken.php
+++ b/lib/private/Authentication/Token/IToken.php
@@ -67,13 +67,25 @@ interface IToken extends JsonSerializable {
public function getLastCheck();
/**
- * Get the timestamp of the last password check
+ * Set the timestamp of the last password check
*
* @param int $time
*/
public function setLastCheck($time);
+ /**
+ * Get the authentication scope for this token
+ *
+ * If the scope is null no limitations exist for the token
+ *
+ * @return array|null
+ */
public function getScope();
+ /**
+ * Set the authentication scope for this token
+ *
+ * @param array|null $scope
+ */
public function setScope($scope);
}