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
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
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
José F. Romaniello
25cf740ad1
Merge pull request #132 from yavorski/master
...
Remove duplicate require('ms') line
2015-11-17 16:04:41 -03:00
yavorski
7c00bcbcbf
Remove duplicate require('ms') line
2015-10-31 02:16:58 +02:00
Rodrigo López Dato
eb272d6da0
5.4.1
2015-10-26 15:09:27 -03:00
Rodrigo López Dato
ec447dce75
Merge pull request #129 from LeviBotelho/master
...
Remove duplicate payload line (fix bug in IE strict mode)
2015-10-20 13:49:08 -03:00
Levi Botelho
8163d698e0
Remove duplicate payload line (fix bug in IE strict mode)
2015-10-07 09:07:55 -05:00
Luke Westby
d661d4b6f6
Update README to reflect addition of async sign
...
To document changes from #127
2015-10-02 08:55:34 -05:00
José F. Romaniello
c7e34bb4fd
5.4.0
v5.4.0
2015-10-02 08:14:33 -03:00
José F. Romaniello
c5375ff015
Merge branch 'improve_expiration'
2015-10-02 08:13:33 -03:00
José F. Romaniello
39ecc6f8f3
deprecate expireInMinutes and expireInSeconds - in favor of expiresIn
2015-10-02 08:13:13 -03:00
José F. Romaniello
4b70ae3012
5.3.1
v5.3.1
2015-10-02 08:10:43 -03:00
José F. Romaniello
5d559ced3f
5.3.0
v5.3.0
2015-10-02 08:10:34 -03:00
José F. Romaniello
eb3a6bf174
5.2.0
2015-10-02 08:09:21 -03:00
José F. Romaniello
6e81ff87a3
minor
2015-10-02 08:09:10 -03:00
José F. Romaniello
253ceafb34
Merge branch 'jden-max-age'
2015-10-02 08:08:07 -03:00
José F. Romaniello
8e89ee4f57
Merge branch 'max-age' of https://github.com/jden/node-jsonwebtoken into jden-max-age
2015-10-02 08:07:55 -03:00
José F. Romaniello
8053c17b03
Merge pull request #124 from joepie91/patch-2
...
Update README.md
2015-10-02 07:59:53 -03:00
José F. Romaniello
83d7aff9fb
5.1.0
v5.1.0
2015-10-02 07:56:19 -03:00