diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-05-31 10:48:14 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-05-31 17:07:49 +0200 |
commit | c58d8159d7bdee93a67a917e16b750fe99df9f99 (patch) | |
tree | 568acfd8c2f26bd675a151bb42130a626468633b /lib/private/Authentication/Token/IProvider.php | |
parent | 9a9c1b9439055fc6ad9f8372b354e4fc7ce3bc02 (diff) | |
download | nextcloud-server-c58d8159d7bdee93a67a917e16b750fe99df9f99.tar.gz nextcloud-server-c58d8159d7bdee93a67a917e16b750fe99df9f99.zip |
Create session tokens for apache auth users
Diffstat (limited to 'lib/private/Authentication/Token/IProvider.php')
-rw-r--r-- | lib/private/Authentication/Token/IProvider.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/IProvider.php b/lib/private/Authentication/Token/IProvider.php index bdfde62d320..fece7dcb567 100644 --- a/lib/private/Authentication/Token/IProvider.php +++ b/lib/private/Authentication/Token/IProvider.php @@ -22,6 +22,7 @@ namespace OC\Authentication\Token; use OC\Authentication\Exceptions\InvalidTokenException; +use OC\Authentication\Exceptions\PasswordlessTokenException; use OCP\IUser; interface IProvider { @@ -32,7 +33,7 @@ interface IProvider { * @param string $token * @param string $uid * @param string $loginName - * @param string $password + * @param string|null $password * @param string $name * @param int $type token type * @return IToken @@ -94,6 +95,7 @@ interface IProvider { * @param IToken $token * @param string $tokenId * @throws InvalidTokenException + * @throws PasswordlessTokenException * @return string */ public function getPassword(IToken $token, $tokenId); |