From 74d9946db37591c83b0a59b8359ebc35259908fb Mon Sep 17 00:00:00 2001 From: ziege Date: Fri, 22 Mar 2013 17:24:36 +0100 Subject: [PATCH] Storage corrected Wrong client storage replaced with session storage --- src/OAuth2/Grant/RefreshToken.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OAuth2/Grant/RefreshToken.php b/src/OAuth2/Grant/RefreshToken.php index 46d9103a..ee941554 100644 --- a/src/OAuth2/Grant/RefreshToken.php +++ b/src/OAuth2/Grant/RefreshToken.php @@ -102,7 +102,7 @@ class RefreshToken implements GrantTypeInterface { } // Validate refresh token - $sessionId = $this->authServer->getStorage('client')->validateRefreshToken( + $sessionId = $this->authServer->getStorage('session')->validateRefreshToken( $authParams['refresh_token'], $authParams['client_id'] ); @@ -129,4 +129,4 @@ class RefreshToken implements GrantTypeInterface { ); } -} \ No newline at end of file +}