From b4e27d35f59e359eb7591a15c7f037968081eb1b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 3 Aug 2016 12:03:18 +0200 Subject: app password scope wip Signed-off-by: Robin Appelman --- lib/private/Authentication/Token/IToken.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'lib/private/Authentication/Token/IToken.php') 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); } -- cgit v1.2.3