Updated validateAuthCode() in SessionInterface

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

View File

@ -133,7 +133,7 @@ interface SessionInterface
* Example SQL query: * Example SQL query:
* *
* <code> * <code>
* SELECT oauth_sessions.id, oauth_session_authcodes.scope_ids FROM oauth_sessions * SELECT oauth_sessions.id AS session_id, oauth_session_authcodes.id AS authcode_id FROM oauth_sessions
* JOIN oauth_session_authcodes ON oauth_session_authcodes.`session_id` = oauth_sessions.id * JOIN oauth_session_authcodes ON oauth_session_authcodes.`session_id` = oauth_sessions.id
* JOIN oauth_session_redirects ON oauth_session_redirects.`session_id` = oauth_sessions.id WHERE * JOIN oauth_session_redirects ON oauth_session_redirects.`session_id` = oauth_sessions.id WHERE
* oauth_sessions.client_id = :clientId AND oauth_session_authcodes.`auth_code` = :authCode * oauth_sessions.client_id = :clientId AND oauth_session_authcodes.`auth_code` = :authCode
@ -145,8 +145,8 @@ interface SessionInterface
* *
* <code> * <code>
* array( * array(
* 'id' => (int), // the session ID * 'session_id' => (int)
* 'scope_ids' => (string) * 'authcode_id' => (int)
* ) * )
* </code> * </code>
* *