You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Changelog
2
2
3
+
## 2.1 (released 2013-05-10)
4
+
5
+
* Moved zetacomponents/database to "suggest" in composer.json. If you rely on this feature you now need to include " zetacomponents/database" into "require" key in your own composer.json. (Issue #51)
6
+
* New method in Refresh grant called `rotateRefreshTokens()`. Pass in `true` to issue a new refresh token each time an access token is refreshed. This parameter needs to be set to true in order to request reduced scopes with the new access token. (Issue #47)
7
+
* Rename `key` column in oauth_scopes table to `scope` as `key` is a reserved SQL word. (Issue #45)
8
+
* The `scope` parameter is no longer required by default as per the RFC. (Issue #43)
9
+
* You can now set multiple default scopes by passing an array into `setDefaultScope()`. (Issue #42)
10
+
* The password and client credentials grants now allow for multiple sessions per user. (Issue #32)
11
+
* Scopes associated to authorization codes are not held in their own table (Issue #44)
Copy file name to clipboardExpand all lines: composer.json
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,11 @@
1
1
{
2
2
"name": "league/oauth2-server",
3
3
"description": "A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.",
CONSTRAINT`f_oasetosc_scid`FOREIGN KEY (`scope_id`) REFERENCES`oauth_scopes` (`id`) ON DELETE CASCADEONUPDATE NO ACTION,
84
85
CONSTRAINT`f_oasetosc_setoid`FOREIGN KEY (`session_access_token_id`) REFERENCES`oauth_session_access_tokens` (`id`) ON DELETE CASCADEONUPDATE NO ACTION
86
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
87
+
88
+
CREATETABLE `oauth_session_authcode_scopes` (
89
+
`oauth_session_authcode_id`int(10) unsigned NOT NULL,
0 commit comments