summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-01-21addresses #32 - grant types are now HTTP POST onlyBrent Shaffer8-12/+19
2013-01-21adds documentation for the controller layerBrent Shaffer6-5/+47
2013-01-21Merge branch 'develop' of github.com:bshaffer/oauth2-server-php into developBrent Shaffer4-31/+98
2013-01-21fixes #39Brent Shaffer1-1/+1
2013-01-21Fix for expireAuthorizationCode() in Pdo.phpDavid Squier1-1/+1
Fix for 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: parameter was not defined' introduced in commit 42e626cce684e6aa9a64bfc94f6e4b9dc4a837cf
2013-01-21Fix for getRefreshToken() in Pdo.phpDavid Squier1-1/+1
Fix for 'PDOStatement::execute() expects parameter 1 to be array, string given' introduced by line 148 in commit 97bdd2ca13ae03415982cdab8965dc605b4882be
2013-01-20Updated documentation for JWTBearerInterface.Francis Chuang1-3/+2
2013-01-20JWTBearer storage interface does not need to extend the ClientInterface.Francis Chuang1-1/+1
2013-01-18Fixed casing of PHP keywords.Francis Chuang1-1/+1
2013-01-18Fixed casing of null in a few files.Francis Chuang3-7/+7
2013-01-18Formatted php docblocks.Francis Chuang1-5/+6
2013-01-18Fxied formatting.Francis Chuang2-17/+18
2013-01-18Updated documentation for JWTBearer grant type and also updated JWTBearer ↵Francis Chuang4-19/+85
grant type to require and check for the "sub" property in the JWT.
2013-01-18fixes #21 - adds 'expireAccessToken' to access token storage interfaceBrent Shaffer4-2/+32
2013-01-18creates Scope Util, addressess #34Brent Shaffer5-107/+108
2013-01-18merges PR, resolves conflicts, and resolves some formatting issuesBrent Shaffer7-15/+402
2013-01-18Fixed formatting to psr-2 standards.Francis Chuang1-1/+1
2013-01-18resolves php fatal error - interface was extending the wrong classBrent Shaffer1-1/+1
2013-01-18addresses #26 - adding newlines to the end of every fileBrent Shaffer29-29/+25
2013-01-18addresses #26 - PSR2 standards fixesBrent Shaffer6-9/+11
2013-01-18Fixed formatting.Francis Chuang1-2/+1
2013-01-18Converted OAuth2_Util_JWT to non static and updated JWTBearer grant type and ↵Francis Chuang2-9/+17
its tests.
2013-01-18addresses #26 - fixes name of ResponseType_AuthorizationCodeInterfaceBrent Shaffer2-2/+2
2013-01-18Updated formatting to compile with psr-2.Francis Chuang1-2/+2
2013-01-17Replaced SQL sprintf's with data bindings to allow use with Postgresql PDO ↵KodoArkivo1-12/+12
backend.
2013-01-16Created JWT library for decoding, encoding and verifying JWTs.Francis Chuang1-0/+114
2013-01-16Updated storage drivers to support JWT bearer authorization grant.Francis Chuang2-4/+22
2013-01-16Implemented ClientAssertionTypeInterface as per bshaffer's suggestion and ↵Francis Chuang2-14/+39
updated GrantController to suit.
2013-01-16Implemented JWT bearer authorization grant.Francis Chuang2-0/+223
2013-01-01addresses #19 - uses headers instead of server when looking for ↵Brent Shaffer1-1/+1
AUTHORIZATION header
2012-12-20fixes #11 - only returns refresh tokens at the expected timesBrent Shaffer9-29/+75
2012-12-17fixes #16 - removes redundant WWW-Authenticate headerBrent Shaffer1-1/+1
2012-12-11Merge pull request #13 from javigs/masterBrent Shaffer2-3/+3
Patch to fix missing $config params
2012-12-11Merge branch 'develop' of github.com:bshaffer/oauth2-server-php into developBrent Shaffer1-17/+49
2012-12-11adds 'content' property - fixes #15Brent Shaffer1-0/+1
2012-12-02Pass refresh_token_lifetime to override defaultjavigs1-2/+2
2012-12-02Missing $config paramsjavigs1-1/+1
Missing $config param merging defaults config values at OAuth2_ResponseType_AccessToken constructor method
2012-12-02add PDO storage support for refresh tokensDavid Squier1-17/+49
- Included OAuth2_Storage_RefreshTokenInterface and functions for PDO support of refresh_tokens - Renamed table vars in config array
2012-11-16fixes issue #5 - adds interface for getUserDetails so that tokenData can ↵Brent Shaffer8-9/+35
contain user_id and scope if desirable. Removes requirement for tokenData to be an array
2012-11-12allows for dependency injection of request object (to allow for ↵Brent Shaffer18-70/+75
HttpFoundation requests)
2012-10-31AuthCode validation - ensures provided url is decoded before comparisionBrent Shaffer1-1/+1
2012-10-27fixes AuthorizationCode errors to match v31 spec, adds 'errorUri' argument ↵Brent Shaffer4-15/+28
to error response
2012-10-26fixes grant_type for authorization codes, adds storage detection for user ↵Brent Shaffer2-5/+6
credentials
2012-10-26reorders constructor args for server classBrent Shaffer1-1/+1
2012-10-26changes get*Server to get*ControllerBrent Shaffer1-11/+11
2012-10-26experimenting with separate 'Controllers' for the different types of oauth ↵Brent Shaffer21-716/+1089
request
2012-10-24changes all occurences of ResponseParameter to Parameter in OAuth2 ResponseBrent Shaffer2-15/+30
2012-10-24adds ability to declare storages later (or not at all) depending on your ↵v0.1Brent Shaffer1-8/+30
requirements. Fixes bug in handleAuthorizeRequest
2012-10-17removes unnecessary second parameter to json-encodeBrent Shaffer1-1/+1
2012-10-16converts expires to timestamp and back for mysqlBrent Shaffer1-3/+19