summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added tests with leeway value in nbf and iatLuis Miguel Cabral2015-05-151-0/+44
|
* Reverted some tests from first commitLuis Miguel Cabral2015-05-111-9/+3
|
* Changed the leeway to be a static variableLuis Miguel Cabral2015-05-113-9/+44
|
* Provide a leeway time in the verification of timestamps to account for clock ↵Luis Miguel Cabral2015-04-092-6/+18
| | | | skew
* Merge branch 'master' of github.com:firebase/php-jwtRob DiMarco2015-04-011-1/+0
|\
| * Update composer.jsonChris Raynor2015-04-011-1/+0
| |
* | Add ChangelogRob DiMarco2015-04-011-0/+11
|/
* Bump version to 2.0.0v2.0.0Rob DiMarco2015-04-012-4/+5
|
* Merge pull request #36 from firebase/cr-additional-testsRob DiMarco2015-04-011-0/+31
|\ | | | | Add a few add'l tests - more forthcoming
| * Add a few add'l testsRob DiMarco2015-04-011-1/+18
| |
| * Merge branch 'rd-verify-refactor' into cr-additional-testsRob DiMarco2015-04-011-1/+1
| |\
| * | A few additional tests for none algorithm and an incorrect algorithmdrtriumph2015-04-011-0/+14
| | |
* | | Update README to reflect newly-required algorithms argumentsRob DiMarco2015-04-011-8/+7
| | |
* | | Merge pull request #35 from firebase/rd-verify-refactorChris Raynor2015-04-013-61/+42
|\ \ \ | | |/ | |/| Refactor decode() code path to address security vulnerabilities
| * | Comment tweaksRob DiMarco2015-04-011-1/+1
| |/
| * Update decode() to require allowed algorithms arg when verifyingRob DiMarco2015-04-012-18/+19
| |
| * Updates to JWT decode() / verify() pathRob DiMarco2015-04-013-50/+30
|/
* Add'l updates to the ./run-tests.sh scriptRob DiMarco2015-04-011-7/+1
|
* Update to ./run-tests.shRob DiMarco2015-04-012-12/+3
|
* Merge pull request #34 from sarciszewski/patch-2Rob DiMarco2015-04-011-0/+54
|\ | | | | Add GnuPG verified phpunit script
| * Add GnuPG verified phpunit scriptScott Arciszewski2015-04-011-0/+54
| |
* | Merge pull request #33 from sarciszewski/patch-1Rob DiMarco2015-04-013-2/+53
|\ \ | |/ |/| Allow users to lock their app into an algorithm.
| * Use native functions when they exist.Scott Arciszewski2015-04-011-0/+3
| |
| * Harden against mbstring.func_overload edge-casesScott Arciszewski2015-04-011-2/+16
| |
| * Add note to readmeScott Arciszewski2015-04-011-0/+7
| |
| * Allow users to lock their app into an algorithm.Scott Arciszewski2015-04-012-0/+27
|/
* Merge pull request #29 from maurotdo/travis-hhvmChris Raynor2015-02-121-0/+1
|\ | | | | Adds hhvm to travis build targets
| * Update .travis.ymlMauro Maggi2015-02-121-0/+1
|/
* Merge pull request #24 from brendo/iat-claim-checkChris Raynor2014-11-182-9/+35
|\ | | | | Add check for iat claim with some minor documentation updates
| * Minor documentation update for SignatureInvalidExceptionBrendan Abbott2014-11-171-5/+7
| |
| * Add check for iat claim with some minor documentation updatesBrendan Abbott2014-11-172-8/+32
|/
* Merge pull request #23 from firebase/integrationChris Raynor2014-11-149-92/+152
|\ | | | | This closes #22 and #21
| * Porting @brylie's change with a small modificationdrtriumph2014-11-141-2/+2
| |
| * Merge branch 'brendo-integration' into integrationdrtriumph2014-11-149-90/+150
| |\ |/ /
| * Some minor cleanup from @brendo's PR with a quick renamedrtriumph2014-11-146-12/+12
| |
| * Add specific exceptions for checking claims. Fix bad tests for exp and nbf. ↵Brendan Abbott2014-11-136-9/+28
| | | | | | | | RE: firebase/php-jwt#20
| * Add checking of nbf claimBrendan Abbott2014-11-132-1/+32
| |
| * Minor CS changesBrendan Abbott2014-11-134-88/+97
| |
| * Add a .gitignore file for the vendor/ directoryBrendan Abbott2014-11-131-0/+1
|/
* Fixing install command typoChris Raynor2014-10-231-1/+1
|
* Merge pull request #17 from firebase/constant-timeChris Raynor2014-09-092-1/+19
|\ | | | | Constant time string comparison function in verify method
| * adding test for invalid signatureChris Raynor2014-09-091-0/+9
| |
| * Switching to a constant-time string comparison in the verify methodChris Raynor2014-09-091-1/+10
|/
* removing versionChris Raynor2014-08-281-1/+0
|
* adding version for a stable releasev1.0.0Chris Raynor2014-08-281-0/+1
|
* Merge pull request #14 from firebase/object-docsChris Raynor2014-08-251-0/+8
|\ | | | | Adding documentation around casting the result to an associative array
| * adding documentation around casting the result to an associative arrayChris Raynor2014-08-251-0/+8
|/
* Merge pull request #11 from firebase/BambooHR-masterChris Raynor2014-06-252-35/+94
|\ | | | | Bamboo hr master
| * Merge branch 'master' into BambooHR-masterChris Raynor2014-06-251-2/+2
| |\ | |/ |/|
* | Merge pull request #10 from firebase/fix-bigint-as-stringChris Raynor2014-06-251-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 Raynor2014-06-251-2/+2
|/ / | | | | | | missing implementation of JSON_BIGINT_AS_STRING on 64 bit systems
| * whitespace cleanupChris Raynor2014-06-252-34/+22
| |
| * Merge branch 'master' of git://github.com/BambooHR/php-jwt into BambooHR-masterChris Raynor2014-06-252-13/+84
| |\ |/ /
| * Updates for some whitespace and other minor issues.John LeSueur2014-06-232-8/+10
| |
| * 1. Allow encode to take a "kid" parameterJohn LeSueur2014-06-232-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.phpJohn LeSueur2014-06-191-1/+1
| |
| * Update JWT.phpJohn LeSueur2014-06-191-10/+40
| | | | | | Try to add the RS256 algorithm.
| * Update JWT.phpJohn LeSueur2014-06-191-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 fixChris Raynor2014-06-201-1/+1
| |
* | This fixes #8 by checking if JSON_BIGINT_AS_STRING is defined and falling ↵Chris Raynor2014-06-201-1/+1
|/ | | | back to the pre 5.4 code path otherwise
* Merge pull request #6 from 4026/masterChris Raynor2014-06-181-1/+14
|\ | | | | Preventing large ints being converted to floats when decoding.
| * Correcting the bigint fix to produce objects rather than associative arrays ↵40262014-06-181-1/+1
| | | | | | | | in php versions < 5.4.0.
| * Adding preprocessing of the JSON string when decoding to prevent large ↵40262014-06-171-1/+14
| | | | | | | | integers being converted to floats.
* | whitespace cleanupChris Raynor2014-06-181-1/+0
| |
* | Writing some unittests to make sure the token expiry logic works as it should.Redian Ibra2014-04-111-0/+19
| |
* | Checking the token expiry timeRedian2014-03-131-0/+5
|/ | | Checking if our token has expired.
* Fix build status link in READMEAnant Narayanan2013-09-031-1/+2
|
* Merge pull request #4 from phansys/masterAnant Narayanan2013-09-031-13/+21
|\ | | | | Updated README.md.
| * Updated README.md.Phansys2013-09-021-13/+21
| |
* | Merge pull request #3 from phansys/masterAnant Narayanan2013-08-306-3/+56
|\ \ | |/ | | Improved test suite
| * Merge branch 'master' of https://github.com/phansys/php-jwtPhansys2013-08-301-1/+1
| |\
| | * Update README.mdJavier Spagnoletti2013-08-301-1/+1
| | | | | | | | | Added Travis CI build status.
| * | Added autoload.php.dist for test suite.Phansys2013-08-302-2/+17
| |/
| * Added config for phpunit and Travis CI.Phansys2013-08-303-0/+38
| |
* | Merge pull request #2 from phansys/masterAnant Narayanan2013-08-301-0/+26
|\ \ | |/ | | Added composer.json
| * Added composer.json to allow install and dependency management through Composer.Phansys2013-07-191-0/+26
|/
* Merge pull request #1 from CompendiumSoftware/masterAnant Narayanan2013-07-091-1/+1
|\ | | | | Fix package
| * Fix package fileDan McFadden2013-06-281-1/+1
|/ | | | JWT.php was moved into ./Authentication dir w/o updating package file
* Add info on testsAnant Narayanan2013-04-031-1/+14
|
* Fix warnings and errors reported by PHP_CodeSnifferAnant Narayanan2013-04-031-43/+63
|
* Some re-organization as per PEPr suggestionsAnant Narayanan2013-04-033-1/+1
|
* Syntax highligh exampleAnant Narayanan2012-12-311-18/+18
|
* Add README and package fileAnant Narayanan2012-12-313-1/+31
|
* Update package file for PEAR submissionAnant Narayanan2012-12-313-28/+24
|
* Update tests to latest phpunitAnant Narayanan2012-12-314-92/+5
|
* Minor formatting changesAnant Narayanan2012-12-311-34/+55
|
* BSD3Neuman Vong2012-12-311-0/+30
|
* Merge pull request #1 from progrium/patch-1Neuman Vong2011-06-291-1/+1
|\ | | | | Spec says to uppercase JWT for typ
| * This is more correct according to the spec.Jeff Lindsay2011-06-291-1/+1
|/
* Stop padding inputs already divisible by 4Neuman Vong2011-04-271-2/+5
|
* Fix misspelled extension depv0.0.0Neuman Vong2011-03-252-3/+3
|
* Start tracking projectNeuman Vong2011-03-257-0/+367