Alex Bilbie
d6932cbb5e
Renamed get/setExpiresIn to get/setAccessTokenTTL
2013-05-08 10:35:13 -07:00
Alex Bilbie
8fd9e3f312
Renamed setExpiresIn method to accessTokenTTL
2013-05-07 15:16:30 -07:00
Alex Bilbie
a561a9d98a
Throw an exception if a grant can't be loaded when called in getGrantType
2013-05-06 13:57:46 -07:00
Alex Bilbie
645d412c02
Removed die(var_dump())
2013-03-31 13:57:35 +01:00
Alex Bilbie
5f1609577e
Added stateParamRequired method
2013-03-31 13:57:24 +01:00
Alex Bilbie
351580d9d8
Added getResponseTypes() method
2013-03-31 13:37:12 +01:00
Alex Bilbie
9c9db978c6
Move authorisation code grant stuff into own grant
2013-03-31 13:37:02 +01:00
Alex Bilbie
3481ec8aa2
Variable name fixes + little changes to support unit tests
2013-03-27 14:26:46 +00:00
ziege
e563230f10
Method to get all headers for the error response
...
Method added to get all required headers for the error response, according to the RFC - the correct HTTP status code and the "WWW-Authenticate" header in special cases.
2013-03-27 13:33:09 +00:00
Alex Bilbie
f463eb9db1
Style fixes
2013-03-22 11:44:53 +00:00
Alex Bilbie
105a5b2a31
Fixed client_id and client_secret retrieval from request in conformity with the RFC
2013-03-22 10:40:47 +00:00
Alex Bilbie
fce24aa74d
Added getDefaultScope method
2013-03-21 16:22:44 +00:00
Alex Bilbie
0c30b9ca66
Added scopeParamRequired method
2013-03-21 16:22:29 +00:00
Alex Bilbie
03aa81450e
Renamed method to setDefaultScope
2013-03-21 16:22:16 +00:00
Michael Gooden
5bd62fe942
Add optional default scope parameter.
...
Signed-off-by: Michael Gooden <me@michaelgooden.net>
2013-03-21 14:47:29 +00:00
lapause
97484eea6a
Typo correction in inline doc
2013-03-21 14:42:38 +00:00
Alex Bilbie
6b172d4c27
Made getGrantType public for use with implicit grant
2013-03-06 18:01:34 +00:00
Alex Bilbie
4962762c28
Change from static calls
2013-03-06 18:01:12 +00:00
Alex Bilbie
542ca52d49
Set a default parameter for getParam
2013-03-06 17:18:13 +00:00
Alex Bilbie
7d0c075b36
It ain't static anymore Jim
2013-03-06 17:18:04 +00:00
Alex Bilbie
07c07ccb5e
Removed static functions, inject authserver instance into grants
2013-03-06 16:59:18 +00:00
Michael Gooden
f70c039275
Fix state parameter check typo
2013-03-04 17:31:59 +02:00
Alex Bilbie
34a7d14557
Added requireStateParam() method. Fixes #9
2013-03-04 13:15:12 +00:00
Alex Bilbie
f5b6b43bef
Added requireScopes() method
2013-03-04 13:10:00 +00:00
Alex Bilbie
ffac434bcc
Added missing state parameter
2013-02-22 15:38:47 +00:00
Alex Bilbie
43d064733f
Changed all mentions of authentication to authorization server
2013-02-20 12:40:42 +00:00
Alex Bilbie
e3f13bf545
Use self::getParam
2013-02-19 00:40:30 +00:00
Alex Bilbie
92d9435bba
Added method to get the exception type
2013-02-15 16:29:00 +00:00
Alex Bilbie
d99002ef2f
Renamed variable as $authParams is no longer used
2013-02-13 19:36:10 +00:00
Alex Bilbie
1e2d2b3d25
Added AuthServer::getParam() function to reduce repetitive code
2013-02-13 18:25:10 +00:00
Alex Bilbie
1cfe10105a
Updated docblocks for the two main classes
2013-02-12 20:33:23 +00:00
Alex Bilbie
e903cbee68
Update request class namespace
2013-02-05 15:55:38 +00:00
Alex Bilbie
6edd486b4c
Added code coverage ignore blocks to getRequest method
2013-02-04 19:45:34 +00:00
Alex Bilbie
04b8394009
Updated method calls to reflect naming changes
2013-02-04 18:44:19 +00:00
Alex Bilbie
6ae4db460e
$request parameter is static
2013-02-04 18:31:13 +00:00
Alex Bilbie
768dfb369c
Renamed getCurrentGrantType to getGrantType
2013-02-04 18:30:56 +00:00
Alex Bilbie
1a1bfd9348
Fix $expiresIn call as static
2013-02-04 15:32:21 +00:00
Alex Bilbie
3c7fe00130
Renamed some session methods to avoid conflicts with ORM methods
2013-02-04 14:41:40 +00:00
Alex Bilbie
a3a617171a
$grantTypes static access
2013-02-01 15:28:40 +00:00
Alex Bilbie
47731ce901
$expiresIn now static
2013-02-01 15:28:25 +00:00
Alex Bilbie
3aa8465640
Made $grantTypes static to fix ref bug
2013-02-01 15:23:04 +00:00
Alex Bilbie
aec9aa908c
Made getRequest static
2013-02-01 15:07:47 +00:00
Alex Bilbie
6eb5db0239
Lots of bug fixes. Some methods and variables made static so they can be accessed by grant classes.
2013-02-01 14:41:10 +00:00
Alex Bilbie
9b6a92c506
Updated namespace use for Util\SecureKey
2013-01-29 16:53:39 +00:00
Alex Bilbie
781bf985c3
Renamed checkClientAuthoriseParams method to checkAuthoriseParams
2013-01-29 16:25:14 +00:00
Alex Bilbie
87a142cc30
Updated getCurrentGrantType method
2013-01-29 16:24:48 +00:00
Alex Bilbie
4fa37bb356
Updated issueAccessToken method
2013-01-29 16:24:28 +00:00
Alex Bilbie
514aabb838
Updated newAuthoriseRequest method
2013-01-29 16:23:41 +00:00
Alex Bilbie
3cb53448c5
Anal style fix
2013-01-29 16:21:53 +00:00
Alex Bilbie
31c3b495bf
Re-added checkClientAuthoriseParams() function
2013-01-29 14:56:17 +00:00