diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-07-18 11:36:50 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-07-18 18:50:44 +0200 |
commit | 4ae17427c5c7693da87d57c90c0c249994d4b69a (patch) | |
tree | 733793689457ffd49b94e9c9936e5bb33775c2ae /lib/private/Authentication/Token/IProvider.php | |
parent | 3d0e0f23530160419f182ac9e896dea6f7bc9f59 (diff) | |
download | nextcloud-server-4ae17427c5c7693da87d57c90c0c249994d4b69a.tar.gz nextcloud-server-4ae17427c5c7693da87d57c90c0c249994d4b69a.zip |
Error with exception on SSL error
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Authentication/Token/IProvider.php')
-rw-r--r-- | lib/private/Authentication/Token/IProvider.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/IProvider.php b/lib/private/Authentication/Token/IProvider.php index e4403196583..860b93e16c2 100644 --- a/lib/private/Authentication/Token/IProvider.php +++ b/lib/private/Authentication/Token/IProvider.php @@ -45,6 +45,7 @@ interface IProvider { * @param int $type token type * @param int $remember whether the session token should be used for remember-me * @return IToken + * @throws \RuntimeException when OpenSSL reports a problem */ public function generateToken(string $token, string $uid, @@ -82,6 +83,7 @@ interface IProvider { * @param string $oldSessionId * @param string $sessionId * @throws InvalidTokenException + * @throws \RuntimeException when OpenSSL reports a problem */ public function renewSessionToken(string $oldSessionId, string $sessionId); @@ -158,6 +160,7 @@ interface IProvider { * @param string $oldTokenId * @param string $newTokenId * @return IToken + * @throws \RuntimeException when OpenSSL reports a problem */ public function rotate(IToken $token, string $oldTokenId, string $newTokenId): IToken; |