aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/IProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Authentication/Token/IProvider.php')
-rw-r--r--lib/private/Authentication/Token/IProvider.php3
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;