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
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
Alberto Güerere
349b7cd002
Update README.md
...
Reorder the sections so that issue reporting, author and license are grouped together at the bottom of the file.
2016-01-13 00:46:29 -04:30
José F. Romaniello
10266c1392
5.5.4
v5.5.4
2016-01-04 12:43:16 -03:00
José F. Romaniello
46552e7c45
minor
2016-01-04 12:43:10 -03:00
José F. Romaniello
04a76d51f1
5.5.3
v5.5.3
2016-01-04 09:31:53 -03:00
José F. Romaniello
71200f14de
add a console.warn on invalid options for string payloads
2016-01-04 09:30:01 -03:00
José F. Romaniello
65b1f58038
minor
2016-01-04 09:16:57 -03:00
José F. Romaniello
e403a66bee
5.5.2
v5.5.2
2016-01-04 09:06:00 -03:00
José F. Romaniello
be9c09af83
fix signing method with sealed objects, do not modify the params object. closes #147
2016-01-04 09:05:57 -03:00
José F. Romaniello
42145bc6ef
5.5.1
v5.5.1
2016-01-04 08:53:31 -03:00
José F. Romaniello
786d37b299
fix nbf verification. fix #152
2016-01-04 08:53:25 -03:00
José F. Romaniello
f1fb176a15
5.5.0
v5.5.0
2015-12-28 14:11:10 -03:00
José F. Romaniello
adc1673d13
Merge branch 'TATDK-master'
2015-12-28 14:09:30 -03:00
José F. Romaniello
46372e928f
improvements to nbf and jti claims
2015-12-28 14:09:17 -03:00
José F. Romaniello
a3c5c23f5e
Merge branch 'master' of https://github.com/TATDK/node-jsonwebtoken into TATDK-master
...
Conflicts:
README.md
index.js
2015-12-28 13:25:39 -03:00
José F. Romaniello
7bb5aa6407
Merge pull request #128 from lukewestby/master
...
Update README to reflect addition of async sign
2015-11-17 16:05:13 -03:00