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
José F. Romaniello
1fa326fcd1
Merge pull request #127 from lukewestby/master
...
added async signing
2015-10-02 07:56:00 -03:00
Luke William Westby
9414fbcb15
added async signing
2015-09-27 12:48:44 -05:00
Sven Slootweg
40b2aaaa84
Update README.md
...
It's too easy to skim the documentation and accidentally use `jwt.decode` instead of `jwt.verify`. This adds a warning to prevent that.
2015-09-07 17:17:17 +02:00
José F. Romaniello
6a715a1399
5.0.5
v5.0.5
2015-08-19 10:27:30 -03:00
José F. Romaniello
53676b3000
Merge branch 'simov-fix-headers-option'
2015-08-19 10:27:21 -03:00
José F. Romaniello
7787dd74e7
add tests for options.headers
2015-08-19 10:26:49 -03:00
José F. Romaniello
06435979b6
Merge branch 'fix-headers-option' of https://github.com/simov/node-jsonwebtoken into simov-fix-headers-option
2015-08-19 10:21:44 -03:00
José F. Romaniello
dd8969e0e6
add note to explain, related to #96 #101 #6
2015-08-19 10:03:27 -03:00
José F. Romaniello
f5fa50f797
update JWT spec link. closes #112
2015-08-19 09:54:55 -03:00
simov
5feaa5b962
Fix typo options.header is not a documented option +
...
Fix - do not modify the options.headers object
2015-08-08 15:48:40 +03:00
jden
8078b11b22
fix spelling error in error message
2015-07-16 08:21:14 -07:00
jden
f13b3fb7f2
add ms dep to package.json
2015-07-15 22:00:11 -07:00
jden
49d54e54f7
add verify option maxAge (with tests)
2015-07-15 21:48:52 -07:00
jden
d7c5793d98
add tests for verify expires
2015-07-15 21:03:00 -07:00
José F. Romaniello
7b9f509641
5.0.4
v5.0.4
2015-07-15 09:01:01 -03:00
José F. Romaniello
e0038a383b
Merge branch 'JackuB-empty_secretOrPublicKey'
2015-07-15 09:00:49 -03:00
José F. Romaniello
cfe05e961c
Merge branch 'empty_secretOrPublicKey' of https://github.com/JackuB/node-jsonwebtoken into JackuB-empty_secretOrPublicKey
2015-07-15 09:00:25 -03:00
José F. Romaniello
815a1a1663
5.0.3
v5.0.3
2015-07-15 08:57:57 -03:00
José F. Romaniello
61ff117227
minor
2015-07-15 08:57:50 -03:00
José F. Romaniello
9039cf0ba0
Merge branch 'chncdcksn-fix-this-undefined'
2015-07-15 08:55:27 -03:00
Chance Dickson
93f554312e
Fix this referring to the global object instead of module.exports in verify()
2015-07-09 08:03:15 -04:00
Damian Schenkelman
33b326fb1d
Merge pull request #98 from adam-back/patch-1
...
Fix typo, line 139 README, complete option for .decode.
2015-06-17 19:31:18 -05:00
Adam Back
59c110aeb8
Fix typo, line 139 README, complete option for .decode.
2015-06-17 16:05:37 -07:00
José F. Romaniello
118ff1a7ba
5.0.2
v5.0.2
2015-06-15 07:26:33 -05:00
José F. Romaniello
170dc0787d
Merge pull request #88 from dbrugne/master
...
Avoid uncaught "SyntaxError: Unexpected token ͧ" error.
2015-06-15 07:26:01 -05:00
José F. Romaniello
3d3413221f
fix typo in docs . closes #86
2015-05-19 10:45:44 -03:00
Jared Hanson
214b9c435f
Bump version to 5.0.1.
v5.0.1
2015-05-15 15:00:30 -07:00
Damian Schenkelman
53dd3c36e7
Merge pull request #89 from jaredhanson/decode-complete
...
Add option to return header and payload when decoding.
2015-05-15 17:42:16 -03:00
Jared Hanson
ba3174d100
Fix example in README, silence verbose logging.
2015-05-15 13:36:10 -07:00
Jared Hanson
851bda2b10
Immediate return if not decoded.
2015-05-15 11:48:10 -07:00
Jared Hanson
ec32b20241
Document complete option in README.
2015-05-15 11:31:17 -07:00
Jared Hanson
7254e011b5
Add option to return header and payload when decoding.
2015-05-15 09:37:58 -07:00
dbrugne
0dc59cd6ee
Avoid uncaught "SyntaxError: Unexpected token ͧ" error.
...
When .verify() a corrupted JWS (e.g.: malicious user add extra characters in the middle of token) an error is thrown:
``
[ERROR] console - SyntaxError: Unexpected token ͧ
at Object.parse (native)
at Object.jwsDecode [as decode] (/www/socketio-jwt/node_modules/jsonwebtoken/node_modules/jws/lib/verify-stream.js:71:20)
at Object.module.exports.verify (/www/socketio-jwt/node_modules/jsonwebtoken/index.js:120:26)`
``
2015-05-07 11:32:59 +02:00
Jakub Mikulas
f1cffd033b
Simplified checking for missing key
2015-04-22 16:20:44 +02:00
Jakub Mikulas
ffe68dbe02
Typo
2015-04-21 13:06:24 +02:00
Alberto Pose
881d07f672
Merge pull request #81 from jas/master
...
Fix link to auth0.com in README
2015-04-19 16:45:52 -03:00
Jason Sandmeyer
1b3c5ff72c
Fix link to auth0.com in README
2015-04-19 13:43:21 -04:00
Alberto Pose
927cce0dad
Update CHANGELOG.md
2015-04-11 15:05:08 -03:00
Alberto Pose
6879e0fdde
Update CHANGELOG.md
2015-04-11 15:04:05 -03:00