Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added tests with leeway value in nbf and iat | Luis Miguel Cabral | 2015-05-15 | 1 | -0/+44 |
| | |||||
* | Reverted some tests from first commit | Luis Miguel Cabral | 2015-05-11 | 1 | -9/+3 |
| | |||||
* | Changed the leeway to be a static variable | Luis Miguel Cabral | 2015-05-11 | 3 | -9/+44 |
| | |||||
* | Provide a leeway time in the verification of timestamps to account for clock ↵ | Luis Miguel Cabral | 2015-04-09 | 2 | -6/+18 |
| | | | | skew | ||||
* | Merge branch 'master' of github.com:firebase/php-jwt | Rob DiMarco | 2015-04-01 | 1 | -1/+0 |
|\ | |||||
| * | Update composer.json | Chris Raynor | 2015-04-01 | 1 | -1/+0 |
| | | |||||
* | | Add Changelog | Rob DiMarco | 2015-04-01 | 1 | -0/+11 |
|/ | |||||
* | Bump version to 2.0.0v2.0.0 | Rob DiMarco | 2015-04-01 | 2 | -4/+5 |
| | |||||
* | Merge pull request #36 from firebase/cr-additional-tests | Rob DiMarco | 2015-04-01 | 1 | -0/+31 |
|\ | | | | | Add a few add'l tests - more forthcoming | ||||
| * | Add a few add'l tests | Rob DiMarco | 2015-04-01 | 1 | -1/+18 |
| | | |||||
| * | Merge branch 'rd-verify-refactor' into cr-additional-tests | Rob DiMarco | 2015-04-01 | 1 | -1/+1 |
| |\ | |||||
| * | | A few additional tests for none algorithm and an incorrect algorithm | drtriumph | 2015-04-01 | 1 | -0/+14 |
| | | | |||||
* | | | Update README to reflect newly-required algorithms arguments | Rob DiMarco | 2015-04-01 | 1 | -8/+7 |
| | | | |||||
* | | | Merge pull request #35 from firebase/rd-verify-refactor | Chris Raynor | 2015-04-01 | 3 | -61/+42 |
|\ \ \ | | |/ | |/| | Refactor decode() code path to address security vulnerabilities | ||||
| * | | Comment tweaks | Rob DiMarco | 2015-04-01 | 1 | -1/+1 |
| |/ | |||||
| * | Update decode() to require allowed algorithms arg when verifying | Rob DiMarco | 2015-04-01 | 2 | -18/+19 |
| | | |||||
| * | Updates to JWT decode() / verify() path | Rob DiMarco | 2015-04-01 | 3 | -50/+30 |
|/ | |||||
* | Add'l updates to the ./run-tests.sh script | Rob DiMarco | 2015-04-01 | 1 | -7/+1 |
| | |||||
* | Update to ./run-tests.sh | Rob DiMarco | 2015-04-01 | 2 | -12/+3 |
| | |||||
* | Merge pull request #34 from sarciszewski/patch-2 | Rob DiMarco | 2015-04-01 | 1 | -0/+54 |
|\ | | | | | Add GnuPG verified phpunit script | ||||
| * | Add GnuPG verified phpunit script | Scott Arciszewski | 2015-04-01 | 1 | -0/+54 |
| | | |||||
* | | Merge pull request #33 from sarciszewski/patch-1 | Rob DiMarco | 2015-04-01 | 3 | -2/+53 |
|\ \ | |/ |/| | Allow users to lock their app into an algorithm. | ||||
| * | Use native functions when they exist. | Scott Arciszewski | 2015-04-01 | 1 | -0/+3 |
| | | |||||
| * | Harden against mbstring.func_overload edge-cases | Scott Arciszewski | 2015-04-01 | 1 | -2/+16 |
| | | |||||
| * | Add note to readme | Scott Arciszewski | 2015-04-01 | 1 | -0/+7 |
| | | |||||
| * | Allow users to lock their app into an algorithm. | Scott Arciszewski | 2015-04-01 | 2 | -0/+27 |
|/ | |||||
* | Merge pull request #29 from maurotdo/travis-hhvm | Chris Raynor | 2015-02-12 | 1 | -0/+1 |
|\ | | | | | Adds hhvm to travis build targets | ||||
| * | Update .travis.yml | Mauro Maggi | 2015-02-12 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #24 from brendo/iat-claim-check | Chris Raynor | 2014-11-18 | 2 | -9/+35 |
|\ | | | | | Add check for iat claim with some minor documentation updates | ||||
| * | Minor documentation update for SignatureInvalidException | Brendan Abbott | 2014-11-17 | 1 | -5/+7 |
| | | |||||
| * | Add check for iat claim with some minor documentation updates | Brendan Abbott | 2014-11-17 | 2 | -8/+32 |
|/ | |||||
* | Merge pull request #23 from firebase/integration | Chris Raynor | 2014-11-14 | 9 | -92/+152 |
|\ | | | | | This closes #22 and #21 | ||||
| * | Porting @brylie's change with a small modification | drtriumph | 2014-11-14 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'brendo-integration' into integration | drtriumph | 2014-11-14 | 9 | -90/+150 |
| |\ |/ / | |||||
| * | Some minor cleanup from @brendo's PR with a quick rename | drtriumph | 2014-11-14 | 6 | -12/+12 |
| | | |||||
| * | Add specific exceptions for checking claims. Fix bad tests for exp and nbf. ↵ | Brendan Abbott | 2014-11-13 | 6 | -9/+28 |
| | | | | | | | | RE: firebase/php-jwt#20 | ||||
| * | Add checking of nbf claim | Brendan Abbott | 2014-11-13 | 2 | -1/+32 |
| | | |||||
| * | Minor CS changes | Brendan Abbott | 2014-11-13 | 4 | -88/+97 |
| | | |||||
| * | Add a .gitignore file for the vendor/ directory | Brendan Abbott | 2014-11-13 | 1 | -0/+1 |
|/ | |||||
* | Fixing install command typo | Chris Raynor | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #17 from firebase/constant-time | Chris Raynor | 2014-09-09 | 2 | -1/+19 |
|\ | | | | | Constant time string comparison function in verify method | ||||
| * | adding test for invalid signature | Chris Raynor | 2014-09-09 | 1 | -0/+9 |
| | | |||||
| * | Switching to a constant-time string comparison in the verify method | Chris Raynor | 2014-09-09 | 1 | -1/+10 |
|/ | |||||
* | removing version | Chris Raynor | 2014-08-28 | 1 | -1/+0 |
| | |||||
* | adding version for a stable releasev1.0.0 | Chris Raynor | 2014-08-28 | 1 | -0/+1 |
| | |||||
* | Merge pull request #14 from firebase/object-docs | Chris Raynor | 2014-08-25 | 1 | -0/+8 |
|\ | | | | | Adding documentation around casting the result to an associative array | ||||
| * | adding documentation around casting the result to an associative array | Chris Raynor | 2014-08-25 | 1 | -0/+8 |
|/ | |||||
* | Merge pull request #11 from firebase/BambooHR-master | Chris Raynor | 2014-06-25 | 2 | -35/+94 |
|\ | | | | | Bamboo hr master | ||||
| * | Merge branch 'master' into BambooHR-master | Chris Raynor | 2014-06-25 | 1 | -2/+2 |
| |\ | |/ |/| | |||||
* | | Merge pull request #10 from firebase/fix-bigint-as-string | Chris Raynor | 2014-06-25 | 1 | -2/+2 |
|\ \ | | | | | | | This fixes #9 - Improve check for offending json-c implementation with m... | ||||
| * | | This fixes #9 - Improve check for offending json-c implementation with ↵ | Chris Raynor | 2014-06-25 | 1 | -2/+2 |
|/ / | | | | | | | missing implementation of JSON_BIGINT_AS_STRING on 64 bit systems | ||||
| * | whitespace cleanup | Chris Raynor | 2014-06-25 | 2 | -34/+22 |
| | | |||||
| * | Merge branch 'master' of git://github.com/BambooHR/php-jwt into BambooHR-master | Chris Raynor | 2014-06-25 | 2 | -13/+84 |
| |\ |/ / | |||||
| * | Updates for some whitespace and other minor issues. | John LeSueur | 2014-06-23 | 2 | -8/+10 |
| | | |||||
| * | 1. Allow encode to take a "kid" parameter | John LeSueur | 2014-06-23 | 2 | -25/+41 |
| | | | | | | | | | | | | 2. Allow decode to take an array of keys, and use the "kid" to look up the key. 3. Add RS256 as an algorithm 4. Add tests for the above | ||||
| * | Update JWT.php | John LeSueur | 2014-06-19 | 1 | -1/+1 |
| | | |||||
| * | Update JWT.php | John LeSueur | 2014-06-19 | 1 | -10/+40 |
| | | | | | | Try to add the RS256 algorithm. | ||||
| * | Update JWT.php | John LeSueur | 2014-06-19 | 1 | -0/+23 |
| | | | | | | Add a method to retrieve the header. OpenIdConnect tends to add a "kid" to the header that is used to determine which key to use for verification. Getting header information allows you to figure out which key to pass to "decode". Other possible ways to handle this, allow $key passed to decode to be an array of keys. For now, let's just let people get to the header. | ||||
* | | style fix | Chris Raynor | 2014-06-20 | 1 | -1/+1 |
| | | |||||
* | | This fixes #8 by checking if JSON_BIGINT_AS_STRING is defined and falling ↵ | Chris Raynor | 2014-06-20 | 1 | -1/+1 |
|/ | | | | back to the pre 5.4 code path otherwise | ||||
* | Merge pull request #6 from 4026/master | Chris Raynor | 2014-06-18 | 1 | -1/+14 |
|\ | | | | | Preventing large ints being converted to floats when decoding. | ||||
| * | Correcting the bigint fix to produce objects rather than associative arrays ↵ | 4026 | 2014-06-18 | 1 | -1/+1 |
| | | | | | | | | in php versions < 5.4.0. | ||||
| * | Adding preprocessing of the JSON string when decoding to prevent large ↵ | 4026 | 2014-06-17 | 1 | -1/+14 |
| | | | | | | | | integers being converted to floats. | ||||
* | | whitespace cleanup | Chris Raynor | 2014-06-18 | 1 | -1/+0 |
| | | |||||
* | | Writing some unittests to make sure the token expiry logic works as it should. | Redian Ibra | 2014-04-11 | 1 | -0/+19 |
| | | |||||
* | | Checking the token expiry time | Redian | 2014-03-13 | 1 | -0/+5 |
|/ | | | Checking if our token has expired. | ||||
* | Fix build status link in README | Anant Narayanan | 2013-09-03 | 1 | -1/+2 |
| | |||||
* | Merge pull request #4 from phansys/master | Anant Narayanan | 2013-09-03 | 1 | -13/+21 |
|\ | | | | | Updated README.md. | ||||
| * | Updated README.md. | Phansys | 2013-09-02 | 1 | -13/+21 |
| | | |||||
* | | Merge pull request #3 from phansys/master | Anant Narayanan | 2013-08-30 | 6 | -3/+56 |
|\ \ | |/ | | | Improved test suite | ||||
| * | Merge branch 'master' of https://github.com/phansys/php-jwt | Phansys | 2013-08-30 | 1 | -1/+1 |
| |\ | |||||
| | * | Update README.md | Javier Spagnoletti | 2013-08-30 | 1 | -1/+1 |
| | | | | | | | | | Added Travis CI build status. | ||||
| * | | Added autoload.php.dist for test suite. | Phansys | 2013-08-30 | 2 | -2/+17 |
| |/ | |||||
| * | Added config for phpunit and Travis CI. | Phansys | 2013-08-30 | 3 | -0/+38 |
| | | |||||
* | | Merge pull request #2 from phansys/master | Anant Narayanan | 2013-08-30 | 1 | -0/+26 |
|\ \ | |/ | | | Added composer.json | ||||
| * | Added composer.json to allow install and dependency management through Composer. | Phansys | 2013-07-19 | 1 | -0/+26 |
|/ | |||||
* | Merge pull request #1 from CompendiumSoftware/master | Anant Narayanan | 2013-07-09 | 1 | -1/+1 |
|\ | | | | | Fix package | ||||
| * | Fix package file | Dan McFadden | 2013-06-28 | 1 | -1/+1 |
|/ | | | | JWT.php was moved into ./Authentication dir w/o updating package file | ||||
* | Add info on tests | Anant Narayanan | 2013-04-03 | 1 | -1/+14 |
| | |||||
* | Fix warnings and errors reported by PHP_CodeSniffer | Anant Narayanan | 2013-04-03 | 1 | -43/+63 |
| | |||||
* | Some re-organization as per PEPr suggestions | Anant Narayanan | 2013-04-03 | 3 | -1/+1 |
| | |||||
* | Syntax highligh example | Anant Narayanan | 2012-12-31 | 1 | -18/+18 |
| | |||||
* | Add README and package file | Anant Narayanan | 2012-12-31 | 3 | -1/+31 |
| | |||||
* | Update package file for PEAR submission | Anant Narayanan | 2012-12-31 | 3 | -28/+24 |
| | |||||
* | Update tests to latest phpunit | Anant Narayanan | 2012-12-31 | 4 | -92/+5 |
| | |||||
* | Minor formatting changes | Anant Narayanan | 2012-12-31 | 1 | -34/+55 |
| | |||||
* | BSD3 | Neuman Vong | 2012-12-31 | 1 | -0/+30 |
| | |||||
* | Merge pull request #1 from progrium/patch-1 | Neuman Vong | 2011-06-29 | 1 | -1/+1 |
|\ | | | | | Spec says to uppercase JWT for typ | ||||
| * | This is more correct according to the spec. | Jeff Lindsay | 2011-06-29 | 1 | -1/+1 |
|/ | |||||
* | Stop padding inputs already divisible by 4 | Neuman Vong | 2011-04-27 | 1 | -2/+5 |
| | |||||
* | Fix misspelled extension depv0.0.0 | Neuman Vong | 2011-03-25 | 2 | -3/+3 |
| | |||||
* | Start tracking project | Neuman Vong | 2011-03-25 | 7 | -0/+367 |