Updated getAuthCodeScopes() in SessionInterface

This commit is contained in:
Alex Bilbie 2013-05-10 17:06:05 -07:00
parent c66c8092f9
commit 8d06a7b685

View File

@ -260,7 +260,7 @@ interface SessionInterface
* Example SQL query: * Example SQL query:
* *
* <code> * <code>
* SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE session_id = :sessionId * SELECT scope_id FROM `oauth_session_authcode_scopes` WHERE oauth_session_authcode_id = :authCodeId
* </code> * </code>
* *
* Expected response: * Expected response:
@ -277,10 +277,10 @@ interface SessionInterface
* ) * )
* </code> * </code>
* *
* @param int $sessionId The session ID * @param int $oauthSessionAuthCodeId The session ID
* @return array * @return array
*/ */
public function getAuthCodeScopes($sessionId); public function getAuthCodeScopes($oauthSessionAuthCodeId);
/** /**
* Associate a scope with an access token * Associate a scope with an access token