mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-10 22:02:05 +05:30
Update getScopes
This commit is contained in:
parent
828bc299b2
commit
822669fc0c
@ -225,8 +225,7 @@ interface SessionInterface
|
|||||||
* Example SQL query:
|
* Example SQL query:
|
||||||
*
|
*
|
||||||
* <code>
|
* <code>
|
||||||
* SELECT oauth_scopes.scope, oauth_scopes.name, oauth_scopes.description
|
* SELECT oauth_scopes.scope FROM oauth_session_scopes JOIN oauth_scopes ON
|
||||||
* FROM oauth_session_scopes JOIN oauth_scopes ON
|
|
||||||
* oauth_session_scopes.scope_id = oauth_scopes.id WHERE
|
* oauth_session_scopes.scope_id = oauth_scopes.id WHERE
|
||||||
* session_id = $sessionId
|
* session_id = $sessionId
|
||||||
* </code>
|
* </code>
|
||||||
@ -236,12 +235,11 @@ interface SessionInterface
|
|||||||
* <code>
|
* <code>
|
||||||
* Array
|
* Array
|
||||||
* (
|
* (
|
||||||
* [0] => Array
|
* [0] => (string) The scope
|
||||||
* (
|
* [1] => (string) The scope
|
||||||
* [scope] => (string) The scope
|
* [2] => (string) The scope
|
||||||
* [name] => (string) The scope's name
|
* ...
|
||||||
* [description] => (string) The scope's description
|
* ...
|
||||||
* )
|
|
||||||
* )
|
* )
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user