Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add firespace\jwt namespace | Aaron Hedges | 2015-07-01 | 1 | -338/+0 |
| | |||||
* | Reversing array merge to avoid overwrites of default headers | Martin Cocaro | 2015-06-18 | 1 | -1/+1 |
| | |||||
* | Assigning to header var merged array | Martin Cocaro | 2015-06-17 | 1 | -1/+1 |
| | |||||
* | Merging both arrays together | Martin Cocaro | 2015-06-17 | 1 | -1/+1 |
| | |||||
* | Adding array_values only | Martin Cocaro | 2015-06-17 | 1 | -1/+1 |
| | |||||
* | Adding header options to add | Martin Cocaro | 2015-06-17 | 1 | -1/+5 |
| | |||||
* | Allow using \ArrayAccess as $key in decode | Thibaud Fabre | 2015-05-19 | 1 | -1/+1 |
| | |||||
* | Changed the leeway to be a static variable | Luis Miguel Cabral | 2015-05-11 | 1 | -5/+7 |
| | |||||
* | Provide a leeway time in the verification of timestamps to account for clock ↵ | Luis Miguel Cabral | 2015-04-09 | 1 | -3/+9 |
| | | | | skew | ||||
* | Comment tweaks | Rob DiMarco | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Update decode() to require allowed algorithms arg when verifying | Rob DiMarco | 2015-04-01 | 1 | -5/+8 |
| | |||||
* | Updates to JWT decode() / verify() path | Rob DiMarco | 2015-04-01 | 1 | -48/+27 |
| | |||||
* | 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 |
| | |||||
* | Allow users to lock their app into an algorithm. | Scott Arciszewski | 2015-04-01 | 1 | -0/+25 |
| | |||||
* | 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 | 1 | -7/+20 |
| | |||||
* | Porting @brylie's change with a small modification | drtriumph | 2014-11-14 | 1 | -2/+2 |
| | |||||
* | Some minor cleanup from @brendo's PR with a quick rename | drtriumph | 2014-11-14 | 1 | -1/+1 |
| | |||||
* | Add specific exceptions for checking claims. Fix bad tests for exp and nbf. ↵ | Brendan Abbott | 2014-11-13 | 1 | -3/+4 |
| | | | | RE: firebase/php-jwt#20 | ||||
* | Add checking of nbf claim | Brendan Abbott | 2014-11-13 | 1 | -1/+11 |
| | |||||
* | Minor CS changes | Brendan Abbott | 2014-11-13 | 1 | -19/+20 |
| | |||||
* | Switching to a constant-time string comparison in the verify method | Chris Raynor | 2014-09-09 | 1 | -1/+10 |
| | |||||
* | Merge branch 'master' into BambooHR-master | Chris Raynor | 2014-06-25 | 1 | -2/+2 |
|\ | |||||
| * | 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 | 1 | -24/+13 |
| | | |||||
* | | Merge branch 'master' of git://github.com/BambooHR/php-jwt into BambooHR-master | Chris Raynor | 2014-06-25 | 1 | -13/+65 |
|\ \ | |/ |/| | |||||
| * | Updates for some whitespace and other minor issues. | John LeSueur | 2014-06-23 | 1 | -5/+7 |
| | | |||||
| * | 1. Allow encode to take a "kid" parameter | John LeSueur | 2014-06-23 | 1 | -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.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 |
| | | |||||
* | | Checking the token expiry time | Redian | 2014-03-13 | 1 | -0/+5 |
|/ | | | Checking if our token has expired. | ||||
* | 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 | 1 | -0/+188 |