mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-24 05:59:48 +05:30
Updated getAuthCodeScopes() in SessionInterface
This commit is contained in:
parent
c66c8092f9
commit
8d06a7b685
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user