José F. Romaniello
31625b5c01
6.2.0
v6.2.0
2016-04-29 11:31:38 -03:00
José F. Romaniello
64f0e0a382
Merge branch 'jacopofar-origin/clock_skew_tolerance'
2016-04-29 11:30:49 -03:00
José F. Romaniello
65ddea934f
Merge branch 'origin/clock_skew_tolerance' of https://github.com/jacopofar/node-jsonwebtoken into jacopofar-origin/clock_skew_tolerance
2016-04-29 11:30:21 -03:00
José F. Romaniello
d78659fe58
6.1.2
v6.1.2
2016-04-29 08:57:09 -03:00
José F. Romaniello
9c38374142
fix sign method for node.js 0.12. closes #193
2016-04-29 08:57:06 -03:00
José F. Romaniello
7b0981380d
improve async test
2016-04-29 08:54:48 -03:00
José F. Romaniello
252110e410
6.1.1
v6.1.1
2016-04-28 19:55:10 -03:00
José F. Romaniello
b51e31f477
include standard claims from payload. closes #196
2016-04-28 19:55:05 -03:00
José F. Romaniello
d805573d5c
update travis.yml
2016-04-27 13:39:33 -03:00
José F. Romaniello
05336fda5e
Merge pull request #177 from risseraka/patch-1
...
fix duplicate subject in README's options list
2016-04-27 13:26:12 -03:00
José F. Romaniello
805580a4db
update changelog
2016-04-27 13:25:44 -03:00
José F. Romaniello
75c50a2414
6.1.0
v6.1.0
2016-04-27 13:23:24 -03:00
José F. Romaniello
ec880791c1
Merge branch 'jonekdahl-verify-unsigned-tokens'
2016-04-27 13:22:14 -03:00
José F. Romaniello
7b0ba50bb9
Merge branch 'verify-unsigned-tokens' of https://github.com/jonekdahl/node-jsonwebtoken into jonekdahl-verify-unsigned-tokens
2016-04-27 13:22:07 -03:00
José F. Romaniello
afb3285c8b
update changelog
2016-04-27 12:51:36 -03:00
José F. Romaniello
2736ac2654
6.0.1
v6.0.1
2016-04-27 12:50:10 -03:00
José F. Romaniello
304f1b3307
throw error on invalid options when the payload is not an object
2016-04-27 12:49:54 -03:00
José F. Romaniello
5835f552e2
update changelog
2016-04-27 12:44:43 -03:00
José F. Romaniello
fc5cf65493
6.0.0
v6.0.0
2016-04-27 12:40:55 -03:00
José F. Romaniello
53c3987b3c
Improved the sign method
...
Notable changes:
1. `expiresInMinutes` and `expiresInSeconds` are deprecated and no longer supported.
2. `notBeforeInMinutes` and `notBeforeInSeconds` are deprecated and no longer supported.
3. options are properly validated.
4. `options.expiresIn`, `options.notBefore`, `options.audience`, `options.issuer`, `options.subject` and `options.jwtid` are mutually exclusive with `payload.exp`, `payload.nbf`, `payload.aud`, `payload.iss`, `payload.sub` and `payload.jti` respectively.
5. `options.algorithm` is properly validated.
6. `options.headers` is renamed to `options.header`.
2016-04-27 12:40:28 -03:00
José F. Romaniello
e32043b8e9
make payload.exp and options.expiresIn exclusive
2016-04-27 11:43:22 -03:00
José F. Romaniello
53a88ecf44
update readme
2016-04-27 11:36:40 -03:00
José F. Romaniello
3898d3f398
Merge branch 'popomore-standard-callback'
2016-04-27 11:34:59 -03:00
popomore
50873c7d45
feat: change .sign to standard async callback
...
- subscribe error event
- change the first argument of the callback as error
2016-04-27 17:24:51 +08:00
Jon Ekdahl
0f193887d3
Fix verification of unsigned tokens ( fix #185 )
2016-04-12 21:38:43 +02:00
Jacopo
ac7e6a6a4a
use the same timestamp in sync and async
2016-03-25 22:35:53 +01:00
jacopo_farina
08a5ff5836
add test for clockTolerance
2016-03-25 00:39:03 +01:00
Jacopo
58c865d832
maxAge is in milliseconds, not seconds
2016-03-25 00:38:17 +01:00
Jacopo
26e91cb17f
clockTolerance for maxAge too
2016-03-25 00:35:58 +01:00
Jacopo
80a499fb3d
specify that clockTolerance is both for nbf and exp
2016-03-25 00:21:59 +01:00
Jacopo
51d844d287
use clockTolerance when verifying
2016-03-25 00:20:39 +01:00
Jacopo
294e94b685
describe clockTolerance meaning
2016-03-25 00:17:27 +01:00
jacopo_farina
649f4d9017
add tests about iat payload validation
2016-03-25 00:12:05 +01:00
Jacopo
e719a2c0a0
check that iat is undefined or a number
2016-03-25 00:02:56 +01:00
Jacopo
f5b60a1bdf
clearer description of iat
2016-03-24 23:59:32 +01:00
Jacopo
c7f9a7d3ab
specify the use of iat in the payload
2016-03-24 23:55:48 +01:00
jacopo_farina
a4787e129c
preliminary version bump
2016-03-24 23:49:35 +01:00
José F. Romaniello
c548032fb6
Merge pull request #179 from risseraka/master
...
fix typo
2016-02-29 08:44:41 -03:00
Adrien Risser
9bbdfab39b
fix typo
2016-02-29 11:26:45 +01:00
Adrien Risser
df76918342
fix duplicate subject in README's options list
2016-02-22 15:58:12 +01:00
José F. Romaniello
b87a1a8d2e
update CHANGELOG to reflect most of the changes. closes #136
2016-02-16 10:48:56 -03:00
José F. Romaniello
cb33aabc43
5.7.0
v5.7.0
2016-02-16 09:23:44 -03:00
José F. Romaniello
39d9309ae0
add support for validating multiples issuers. closes #163
2016-02-16 09:23:39 -03:00
José F. Romaniello
195940409e
5.6.2
v5.6.2
2016-02-16 08:59:30 -03:00
José F. Romaniello
06d8209d49
5.6.1
v5.6.1
2016-02-16 08:59:19 -03:00
José F. Romaniello
7f7d76edfd
fix wrong error when setting expiration on non-object payload. closes #153
2016-02-16 08:59:06 -03:00
José F. Romaniello
ae13271837
5.6.0
v5.6.0
2016-02-16 08:49:00 -03:00
José F. Romaniello
a1affe960d
added missing validations of sub and jti
2016-02-16 08:48:43 -03:00
Adam Barrett and José F. Romaniello
8aedf2b1f5
Fix tests in jwt.rs.tests.js which causes 4 to fail
2016-02-16 08:48:43 -03:00
José F. Romaniello
bd82ab3159
Merge pull request #161 from aguerere/patch-1
...
Update README.md
2016-01-14 09:08:39 -03:00