From 18e1bb33de933e3651088fcdb243a2812f2e4d80 Mon Sep 17 00:00:00 2001 From: lapause Date: Wed, 20 Mar 2013 16:05:48 +0100 Subject: [PATCH] Added missing details (return values on failure) to methods of SessionInterface --- src/OAuth2/Storage/SessionInterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OAuth2/Storage/SessionInterface.php b/src/OAuth2/Storage/SessionInterface.php index 84651909..60c126ac 100644 --- a/src/OAuth2/Storage/SessionInterface.php +++ b/src/OAuth2/Storage/SessionInterface.php @@ -137,8 +137,8 @@ interface SessionInterface * ) * * - * @param [type] $accessToken [description] - * @return [type] [description] + * @param string $accessToken The access token + * @return bool|array Returns false if the validation fails, array on success */ public function validateAccessToken($accessToken); @@ -161,7 +161,7 @@ interface SessionInterface * Validate a refresh token * @param string $refreshToken The refresh token * @param string $clientId The client ID - * @return int The session ID + * @return bool|int The session ID, or false on failure */ public function validateRefreshToken($refreshToken, $clientId);