summaryrefslogtreecommitdiffstats
path: root/Authentication/JWT.php
Commit message (Collapse)AuthorAgeFilesLines
* Add firespace\jwt namespaceAaron Hedges2015-07-011-338/+0
|
* Reversing array merge to avoid overwrites of default headersMartin Cocaro2015-06-181-1/+1
|
* Assigning to header var merged arrayMartin Cocaro2015-06-171-1/+1
|
* Merging both arrays togetherMartin Cocaro2015-06-171-1/+1
|
* Adding array_values onlyMartin Cocaro2015-06-171-1/+1
|
* Adding header options to addMartin Cocaro2015-06-171-1/+5
|
* Allow using \ArrayAccess as $key in decodeThibaud Fabre2015-05-191-1/+1
|
* Changed the leeway to be a static variableLuis Miguel Cabral2015-05-111-5/+7
|
* Provide a leeway time in the verification of timestamps to account for clock ↵Luis Miguel Cabral2015-04-091-3/+9
| | | | skew
* Comment tweaksRob DiMarco2015-04-011-1/+1
|
* Update decode() to require allowed algorithms arg when verifyingRob DiMarco2015-04-011-5/+8
|
* Updates to JWT decode() / verify() pathRob DiMarco2015-04-011-48/+27
|
* Use native functions when they exist.Scott Arciszewski2015-04-011-0/+3
|
* Harden against mbstring.func_overload edge-casesScott Arciszewski2015-04-011-2/+16
|
* Allow users to lock their app into an algorithm.Scott Arciszewski2015-04-011-0/+25
|
* Minor documentation update for SignatureInvalidExceptionBrendan Abbott2014-11-171-5/+7
|
* Add check for iat claim with some minor documentation updatesBrendan Abbott2014-11-171-7/+20
|
* Porting @brylie's change with a small modificationdrtriumph2014-11-141-2/+2
|
* Some minor cleanup from @brendo's PR with a quick renamedrtriumph2014-11-141-1/+1
|
* Add specific exceptions for checking claims. Fix bad tests for exp and nbf. ↵Brendan Abbott2014-11-131-3/+4
| | | | RE: firebase/php-jwt#20
* Add checking of nbf claimBrendan Abbott2014-11-131-1/+11
|
* Minor CS changesBrendan Abbott2014-11-131-19/+20
|
* Switching to a constant-time string comparison in the verify methodChris Raynor2014-09-091-1/+10
|
* Merge branch 'master' into BambooHR-masterChris Raynor2014-06-251-2/+2
|\
| * 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-251-24/+13
| |
* | Merge branch 'master' of git://github.com/BambooHR/php-jwt into BambooHR-masterChris Raynor2014-06-251-13/+65
|\ \ | |/ |/|
| * Updates for some whitespace and other minor issues.John LeSueur2014-06-231-5/+7
| |
| * 1. Allow encode to take a "kid" parameterJohn LeSueur2014-06-231-25/+22
| | | | | | | | | | | | 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
| |
* | Checking the token expiry timeRedian2014-03-131-0/+5
|/ | | Checking if our token has expired.
* Fix warnings and errors reported by PHP_CodeSnifferAnant Narayanan2013-04-031-43/+63
|
* Some re-organization as per PEPr suggestionsAnant Narayanan2013-04-031-0/+188