Skip to content

Commit 9cd57ac

Browse files
committed
* add MIT LICENSE.txt.
* add CHANGELOG.txt.
1 parent efb76f2 commit 9cd57ac

File tree

2 files changed

+108
-0
lines changed

2 files changed

+108
-0
lines changed

CHANGELOG.txt

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
oauth2-php revision xxx, xxxx-xx-xx (development version)
2+
----------------------
3+
4+
oauth2-php revision 21, 2010-12-18
5+
----------------------
6+
* cleanup tabs and trailing whitespace at the end.
7+
* remove server/examples/mongo/lib/oauth.php and
8+
server/examples/pdo/lib/oauth.php, so only keep single copy as
9+
lib /oauth.php.
10+
* issue #5: Wrong variable name in get_access_token() in pdo_oatuh.php.
11+
* issue #6: mysql_create_tables.sql should allow scope to be NULL.
12+
* issue #7: authorize_client_response_type() is never used.
13+
* issue #9: Change "redirect_uri" filtering from FILTER_VALIDATE_URL to
14+
FILTER_SANITIZE_URL.
15+
* better coding syntax for error() and callback_error().
16+
* better pdo_oauth2.php variable naming with change to
17+
mysql_create_tables.sql.
18+
* change REGEX_CLIENT_ID as 3-32 characters long, so will work with md5()
19+
result directly.
20+
* debug linkage to oauth2.php during previous commit.
21+
* debug redirect_uri check for AUTH_CODE_GRANT_TYPE, clone from
22+
get_authorize_params().
23+
* update mysql_create_tables.sql with phpmyadmin export format.
24+
* rename library files, prepare for adding client-side implementation.
25+
* code cleanup with indent and spacing.
26+
* code cleanup true/false/null with TRUE/FALSE/NULL.
27+
* rename constants with OAUTH2_ prefix, prevent 3rd party integration
28+
conflict.
29+
* remove HTTP 400 response constant, as useless refer to draft v10.
30+
* merge ERROR_INVALID_CLIENT_ID and ERROR_UNAUTHORIZED_CLIENT as
31+
OAUTH2_ERROR_INVALID_CLIENT, as refer to that of draft v9 to v10 changes.
32+
* improve constants comment with doxygen syntax.
33+
* update class function call naming.
34+
* coding style clean up.
35+
* update part of documents.
36+
* change expirseRefreshToken() as unsetRefreshToken().
37+
* update token and auth code generation as md5() result, simpler for manual
38+
debug with web browser.
39+
* update all documents.
40+
* restructure @ingroup.
41+
* rename checkRestrictedClientResponseTypes() as
42+
checkRestrictedAuthResponseType().
43+
* rename checkRestrictedClientGrantTypes() as checkRestrictedGrantType().
44+
* rename error() as errorJsonResponse().
45+
* rename errorCallback() as errorDoRedirectUriCallback().
46+
* rename send401Unauthorized() as errorWWWAuthenticateResponseHeader(),
47+
update support with different HTTP status code.
48+
* update __construct() with array input.
49+
* update finishClientAuthorization() with array input.
50+
* add get/set functions for $access_token_lifetime, $auth_code_lifetime and
51+
$refresh_token_lifetime.
52+
* fix a lots of typos.
53+
* document all sample server implementation.
54+
* more documents.
55+
* add config.doxy for doxygen default setup.
56+
* add MIT LICENSE.txt.
57+
* add CHANGELOG.txt.
58+
59+
oauth2-php revision 9, 2010-09-04
60+
----------------------
61+
- fixes for issues #2 and #4, updates oauth lib in the example folders to
62+
the latest version in the 'lib' folder.
63+
- updates server library to revision 10 of the OAuth 2.0 spec.
64+
- adds an option for more verbose error messages to be returned in the JSON
65+
response.
66+
- adds method to be overridden for expiring used refresh tokens.
67+
- fixes bug checking token expiration.
68+
- makes some more methods protected instead of private so they can be
69+
overridden.
70+
- fixes issue #1 http://code.google.com/p/oauth2-php/issues/detail?id=1
71+
72+
oauth2-php revision 7, 2010-06-29
73+
----------------------
74+
- fixed mongo connection constants.
75+
- updated store_refresh_token to include expires time.
76+
- changed example server directory structure
77+
- corrected "false" return result on get_stored_auth_code.
78+
- implemented PDO example adapter.
79+
- corrected an error in assertion grant type.
80+
- updated for ietf draft v9:
81+
http://tools.ietf.org/html/draft-ietf-oauth-v2-09.
82+
- updated updated to support v9 lib.
83+
- added mysql table creation script.
84+
85+
oauth2-php revision 0, 2010-06-27
86+
----------------------
87+
- initial commit.

LICENSE.txt

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2010 Tim Ridgely <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)