From 4ae17427c5c7693da87d57c90c0c249994d4b69a Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 18 Jul 2019 11:36:50 +0200 Subject: Error with exception on SSL error Signed-off-by: Morris Jobke --- lib/private/Authentication/Token/Manager.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/private/Authentication/Token/Manager.php') diff --git a/lib/private/Authentication/Token/Manager.php b/lib/private/Authentication/Token/Manager.php index c49bd1b1e19..76c0dfb8695 100644 --- a/lib/private/Authentication/Token/Manager.php +++ b/lib/private/Authentication/Token/Manager.php @@ -109,6 +109,7 @@ class Manager implements IProvider { * * @param string $tokenId * @throws InvalidTokenException + * @throws \RuntimeException when OpenSSL reports a problem * @return IToken */ public function getToken(string $tokenId): IToken { @@ -206,6 +207,7 @@ class Manager implements IProvider { * @param string $newTokenId * @return IToken * @throws InvalidTokenException + * @throws \RuntimeException when OpenSSL reports a problem */ public function rotate(IToken $token, string $oldTokenId, string $newTokenId): IToken { if ($token instanceof DefaultToken) { -- cgit v1.2.3