mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
e04e6d2fae | ||
|
e555f67c8d | ||
|
822669fc0c | ||
|
828bc299b2 | ||
|
d22e489626 | ||
|
ab8bc44849 | ||
|
4f832e1eb1 | ||
|
9add9edcc1 | ||
|
59e23fb32a | ||
|
22dcef33da | ||
|
866c598809 | ||
|
6b2f5944ef |
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.0.5 (released 2013-02-21)
|
||||||
|
|
||||||
|
* Fixed the SQL example for SessionInterface::getScopes()
|
||||||
|
|
||||||
## 1.0.3 (released 2013-02-20)
|
## 1.0.3 (released 2013-02-20)
|
||||||
|
|
||||||
* Changed all instances of the "authentication server" to "authorization server"
|
* Changed all instances of the "authentication server" to "authorization server"
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "lncd/oauth2",
|
"name": "lncd/oauth2",
|
||||||
"description": "OAuth 2.0 Framework",
|
"description": "OAuth 2.0 Framework",
|
||||||
"version": "1.0.3",
|
"version": "1.0.5",
|
||||||
"homepage": "https://github.com/lncd/OAuth2",
|
"homepage": "https://github.com/lncd/OAuth2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
|
@@ -225,10 +225,9 @@ 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 = oauth_scopes.scope
|
* session_id = $sessionId
|
||||||
* WHERE access_token = $accessToken
|
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
* Response:
|
* Response:
|
||||||
@@ -236,17 +235,16 @@ 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>
|
||||||
*
|
*
|
||||||
* @param string $accessToken The access token
|
* @param int $sessionId The session ID
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function getScopes($accessToken);
|
public function getScopes($sessionId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user