mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Added associateAuthCodeScope() method
This commit is contained in:
parent
e591fbb25c
commit
accb80289f
@ -241,6 +241,19 @@ interface SessionInterface
|
|||||||
public function getAccessToken($accessTokenId);
|
public function getAccessToken($accessTokenId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Associate scopes with an auth code (bound to the session)
|
||||||
|
*
|
||||||
|
* Example SQL query:
|
||||||
|
*
|
||||||
|
* <code>
|
||||||
|
* INSERT INTO `oauth_session_authcode_scopes` (`session_id`, `scope_id`) VALUES (:sessionId, :scopeId)
|
||||||
|
* </code>
|
||||||
|
*
|
||||||
|
* @param int $sessionId The session ID
|
||||||
|
* @param int $scopeId The scope ID
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function associateAuthCodeScope($sessionId, $scopeId);
|
||||||
* Associate a scope with an access token
|
* Associate a scope with an access token
|
||||||
*
|
*
|
||||||
* Example SQL query:
|
* Example SQL query:
|
||||||
|
Loading…
Reference in New Issue
Block a user