Commit Graph

19 Commits

Author SHA1 Message Date
Nick Zelei
9ea8d9ca28 added in custom error classes
added in the custom error classes that are used for the verify tokens.
2016-06-27 08:39:58 -05:00
Cluda
b76f5c0e57 SignOptions.expiresIn should be string or number (#8806)
* SignOptions.expiresIn should be any

https://github.com/rauchg/ms.js can take number or string

* expiresIn should be a string or a number
2016-05-21 08:26:05 -07:00
Pascal Birchler
347d4d7614 Update jsonwebtoken typings for 6.2.0 (#9200)
* Update SignCallback for jsonwebtoken 6.0 compat

* Update whole definition for jsonwebtoken 6.2.0

* Update signature for jwt.sign() in tests

* Change type of error callback param
2016-05-06 02:36:17 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Samuel Horwitz
ca9ebadd87 Updating some sign and verify interfaces to jsonwebtoken v5.7.0 2016-02-27 14:24:04 -05:00
Daniel Heim
d93ea49569 jsonwebtoken - Updated SignCallback to match functionality correctly. 2016-02-25 22:04:39 +11:00
Chris Pearce
8d9e2d7993 Added options parameters to decode method of jsonwebtoken
Added options parameters to decode method of jsonwebtoken
2016-02-12 03:56:28 +00:00
David Pfeffer
e9bbd8facc Fixed optional arg issue 2016-01-28 10:46:57 -05:00
David Pfeffer
b29fb02ebe Asynchronous encoding and synchronous decoding 2016-01-28 10:42:53 -05:00
Martin Helmich
26a6aabce6 Update comments in test cases 2015-12-01 16:14:25 +01:00
Martin Helmich
d18b076ae9 Add test cases for new VerifyOptions 2015-12-01 16:09:50 +01:00
Martin Helmich
5e14a5854d Add missing attributes to VerifyOptions 2015-12-01 16:09:47 +01:00
Paldom
c6820e3980 expiresInMinutes is deprecated, use expiresIn instead 2015-11-25 13:35:58 +01:00
Matias Emanuel Surdi
03f5ce9a40 Add noTimestamp option 2015-09-17 13:01:57 +02:00
vvakame
b0c9a6331c refactor jsonwebtoken/jsonwebtoken.d.ts 2015-08-17 22:43:38 +09:00
Theodor Esenwein
3bab076788 Should be implemented for non Callback Calls 2015-08-14 15:50:05 +02:00
SomaticIT
3f84d98bba Improve functions definitions 2014-09-15 19:38:14 +02:00
SomaticIT
d6fe5776f8 Add test suite for jsonwebtoken package 2014-09-15 19:37:55 +02:00
SomaticIT
a7cee68fdf Add jsonwebtoken node module definitions 2014-09-14 23:04:50 +02:00