From 6751c4d2fe323895f30150e9a91e373140849867 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 29 Apr 2013 10:35:47 +0100 Subject: [PATCH] Fixed mistake from previous commit --- src/OAuth2/Storage/SessionInterface.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/OAuth2/Storage/SessionInterface.php b/src/OAuth2/Storage/SessionInterface.php index 4b865045..f3201a53 100644 --- a/src/OAuth2/Storage/SessionInterface.php +++ b/src/OAuth2/Storage/SessionInterface.php @@ -126,10 +126,9 @@ interface SessionInterface public function associateScope(int $accessTokenId, int $scopeId); /** - * Get a session's associated scopes - * @param int $accessTokenId The ID of the access token - * @param int $scopeId The ID of the scope] + * Get all associated access tokens for an access token + * @param string $accessToken The access token * @return array */ - public function getScopes(int $accessTokenId, int $scopeId); + public function getScopes(string $accessToken); }