Commit graph

51 commits

Author SHA1 Message Date
Arun Muralidharan
9e0187969a
Create LICENSE 2017-12-27 15:31:51 +05:30
Arun M
5771f97c1c Added more verification tests and fixes 2017-12-27 15:25:53 +05:30
Arun M
e662b445dd Added tests for expiration 2017-12-27 14:34:23 +05:30
Arun M
e42720a446 Added more documentation and some bug fixes in verification process 2017-12-27 12:18:44 +05:30
Arun M
3d9e15b5c8 Added documentation comments to jwt.hpp 2017-12-27 11:25:33 +05:30
Arun M
a5e18cc4f4 Added exception handling and test for key/secret not present 2017-12-26 20:35:51 +05:30
Arun M
99f3c1db86 Make secret an optional argument for decode 2017-12-26 20:20:53 +05:30
Arun M
6c2bbe9ad0 Added more decode tests 2017-12-26 19:51:17 +05:30
Arun M
d7e4add937 Change signature for has_claim_with_value API 2017-12-26 14:16:35 +05:30
Arun M
c62a9498d9 Handle exception for header and payload decode into error code 2017-12-26 13:11:48 +05:30
Arun M
204092e588 Added signature validation test 2017-12-26 09:21:24 +05:30
Arun M
cb1847142e Fail with no key if algorithm is not NONE 2017-12-25 21:35:28 +05:30
Arun M
f8eebbede0 Fix string view overload for claim value 2017-12-25 12:42:38 +05:30
Arun M
98ea0d6e58 Added more encoding tests 2017-12-24 17:04:44 +05:30
Arun M
9a7925cca5 Added tests and gtest support 2017-12-21 19:07:50 +05:30
Arun M
e666406d53 Handle none algorithm 2017-12-20 18:48:59 +05:30
Arun M
b5088a6d9c Added nbf check and more exception and error code handling 2017-12-20 18:07:08 +05:30
Arun M
77c11e8eb9 Ad more exceptions 2017-12-19 23:01:57 +05:30
Arun M
c484ced63d Exception and non exception based decoding 2017-12-16 18:50:44 +05:30
Arun M
7a511c46fe Put verify under different function. Added new error codes for verification failures. 2017-12-16 16:39:52 +05:30
Arun M
912e4b5ff9 Populate claims set back when decoding 2017-12-14 21:20:04 +05:30
Arun M
6f495c2c16 JWT veririfcation APIs 2017-12-13 23:57:25 +05:30
Arun M
7a7353a9ef is_sequence_concept impl 2017-12-05 17:15:37 +05:30
Arun M
a4a4bd5dff Changed decode function signature 2017-12-05 16:02:54 +05:30
Arun M
09bc72c9f7 Added new parameters for decode API 2017-12-04 19:01:45 +05:30
Arun M
de38b3a82a Added short string type 2017-12-04 13:23:08 +05:30
Arun M
9e69389caf Added decode error codes and exceptions 2017-12-04 13:17:48 +05:30
Arun M
234411a550 Remove the debug code 2017-11-26 18:56:55 +05:30
Arun M
aaf5c9bb46 PEM signing now works...silly double pointergit add -A Test code still needs to be removed 2017-11-25 22:44:16 +05:30
Arun M
5a150780cf PEM verification code added 2017-11-24 19:59:13 +05:30
Arun M
f8947b53ac Fix bug in splitter 2017-11-23 22:04:16 +05:30
Arun M
9abac3c5d7 More APIs added to jwt_object 2017-11-23 18:14:32 +05:30
Arun M
973e7e0249 Fix type concept check. Remove refernce to get key_type et al 2017-11-23 17:56:38 +05:30
Arun M
fc294cbc8a jwt_object API fixes 2017-11-23 17:24:56 +05:30
Arun M
0751d033dc Remove the use of static deletors 2017-11-23 15:10:35 +05:30
Arun M
53a281640f Add error codes for signing error checks 2017-11-23 12:27:26 +05:30
Arun M
2290c8733a Im provements in base64.hpp 2017-11-22 15:00:47 +05:30
Arun M
da6d4932c3 Add algorithm parameter 2017-11-21 16:43:46 +05:30
Arun M
ffd6280026 Code cleanup around jwt_object creation in decode step 2017-11-21 16:16:03 +05:30
Arun M
cb925fee3a jwt_object design 2017-11-21 13:47:26 +05:30
Arun M
81e6b2392e Verification 2017-11-20 00:38:55 +05:30
Arun M
796abd6e65 Implement verify. Part 1 2017-11-09 23:42:04 +05:30
Arun M
8277e2cbd3 JWT encoding 2017-11-05 12:31:32 +05:30
Arun M
e7d52450d6 Payload data type addded 2017-11-04 19:21:46 +05:30
Arun M
733696bf49 Added RSA algorithms (Not tested) 2017-11-03 19:55:17 +05:30
Arun M
87e27ec31d HMAC algo added 2017-11-03 09:57:12 +05:30
Arun M
3e867d77f1 JWT header impl 2017-11-01 17:04:09 +05:30
Arun M
063a0af131 Implement string view (with bot limited functionality) 2017-10-31 19:34:21 +05:30
Arun M
6a7d2d69c0 Add nlohmann JSON lib header 2017-10-27 23:30:55 +05:30
Arun M
b55cbe49c4 Base64 encoder decoder + Stack allocator 2017-10-27 23:21:52 +05:30