1
0
Commit Graph

167 Commits

Author SHA1 Message Date
0e1f362ebe fix workflow 2022-06-28 22:12:09 +02:00
196ed5f568 2.0.0-pre.0 2022-06-26 17:42:13 +02:00
6ab9446e01 optimizations 2022-06-26 17:03:02 +02:00
6dbd703d03 clean up 2022-06-26 15:54:10 +02:00
7e9b81cadc exclude test file from npm package 2022-06-26 13:22:53 +02:00
71e292810f update workflow 2022-06-26 13:20:15 +02:00
9948b738aa adapt old test file 2022-06-26 13:17:41 +02:00
019a3541ec typescript 2022-06-26 12:57:49 +02:00
29aa3b0198 Options fix 2022-06-22 19:11:53 +02:00
06fd26cd86 Update to v1.4.3 2022-06-22 12:37:08 +02:00
Toby Schneider
40c3825b34 Merge pull request #17 from IMZihad21/main
Destructure payload from decode function properly
2022-06-22 12:11:09 +02:00
ZèD
1e4df43a5d Destructure payload from decode function properly
The decode function returns an object containing a header and payload properties. Assigning the whole object to payload fails nbf and exp checks on verify JWT as those properties not found in decode return object directly. Instead, destructure payload property from decode return data that contains those values and check them correctly.

Signed-off-by: ZèD <imzihad@gmail.com>
2022-06-22 12:06:50 +06:00
e521f4684d Docs fix 2022-06-04 22:29:46 +02:00
28b97a2434 Docs fix 2022-06-04 22:29:30 +02:00
f9905f320e Docs fix 2022-06-04 17:43:48 +02:00
8797e546e2 Update docs 2022-06-04 17:43:11 +02:00
9c519d1ede Update docs 2022-06-04 17:42:33 +02:00
80e3bc803e Update docs 2022-06-04 17:40:47 +02:00
14b8ec78b1 Update docs 2022-06-04 17:29:50 +02:00
d660b1740f .decode() syntax change to support headers 2022-06-04 17:23:53 +02:00
03cb9e1b92 .verify() bugfix 2022-06-04 14:53:59 +02:00
015b213f89 Just to make sure 2022-06-04 14:40:06 +02:00
97c12f7bc5 Fix .verify() and add testing 2022-06-04 14:18:06 +02:00
Toby Schneider
031f0b757a Merge pull request #9 from alaister/main
Add support for JWT header
2022-06-01 20:10:51 +02:00
51474806f6 Update readme 2022-06-01 15:11:57 +02:00
9e66d3bac0 Implement throwError option for .verify(). 2022-06-01 15:09:25 +02:00
5d97030527 Update to v1.1.7 2022-04-11 02:20:54 +02:00
afb9f58c25 Fix timestamp check 2022-04-11 02:20:14 +02:00
Alaister Young
02d24b6709 Add support for JWT header 2022-03-01 10:21:32 +11:00
a2ab208d31 Update to v1.1.6 2022-02-27 16:15:58 +01:00
Toby Schneider
153f5943e5 Merge pull request #7 from plesiv/add-rsa-algorithm
Add support for RSA algorithm
2022-02-27 15:56:13 +01:00
Toby Schneider
2a8967d830 Merge pull request #8 from workeffortwaste/fix-constructor-error
Fix constructor error
2022-02-27 15:55:38 +01:00
Chris Johnson
a7e2cf0cce Fix constructor error 2022-02-24 09:17:40 +00:00
Zoran Plesivcak
1539d677c9 Add support for RSA algorithm 2022-02-13 23:58:16 +00:00
b2b4492c45 Update to 1.1.5 2021-11-02 13:58:16 +01:00
8fcf682c9c Change error message 2021-11-02 13:56:12 +01:00
9ab38705b6 Added more algorithms, keyid and did some cleanup 2021-10-27 01:22:01 +02:00
Toby Schneider
472946f995 Create FUNDING.yml 2021-10-26 23:54:37 +02:00
86604a0150 Updated example code 2021-09-23 22:51:14 +02:00
54498e625c Rearranged readme 2021-05-26 19:16:25 +02:00
eb796b1aad Bump version 2021-05-26 02:19:23 +02:00
45dc91bf2d Added JSDoc 2021-05-26 02:19:04 +02:00
3a0ea171a8 Renamed workflow 2021-05-25 22:44:42 +02:00
e4435803db Updated tslint 2021-05-25 22:44:10 +02:00
4438eb30a5 Added nbf and exp support 2021-05-23 22:41:35 +02:00
0e5aa25c09 Cleaned up 2021-05-23 18:33:04 +02:00
d2d743d1ee Bumped version to 1.0.8 2021-05-23 18:18:04 +02:00
b823c1a866 Rearranged readme 2021-05-23 18:17:12 +02:00
9841dfdc48 Updated readme 2021-05-23 18:16:04 +02:00
2867c05c27 Updated readme 2021-05-23 18:03:28 +02:00