Commit graph

85 commits

Author SHA1 Message Date
Arun M
1cbc5eb5a5 compile error with master #37 2018-11-20 19:08:08 +05:30
Arun Muralidharan
fe2e06141f
Merge pull request #35 from mhfrantz/issue-33/move-semantics.v1
issue-33: Add test showing how to invoke move ctor
2018-11-02 22:34:22 +05:30
Matt Frantz
1b105f4772 SFINAE guard on jwt_object's universal reference constructor
This allows the move constructor to be preferred in some cases.
2018-11-01 13:28:49 -07:00
Arun M
6e27aa4c86 Merge 2018-10-27 12:08:08 +05:30
Arun M
1e588256f4 Narrowing errors compiling for ARM #36 2018-10-27 12:07:06 +05:30
Matt Eastman
8cb5ea3d5e Fix out of bounds read in base64_decode 2018-10-03 17:24:11 -05:00
Arun M
64de7b6f1d Ptential Fix for VS2015 compile fail #27 2018-10-03 22:07:08 +05:30
Arun M
e5ecca4f38 'str_to_type' has a non-throwing exception specification but can still throw #31 2018-09-29 00:24:08 +05:30
Arun M
129731da56 Add option to remove type fromt he jwt_header #26 2018-08-05 15:10:53 +05:30
Arun M
87dcef903f Why does the existence of a signature algorithm entail a required verification? #24 2018-05-31 20:36:07 +05:30
Arun Muralidharan
b1140707cc
Merge pull request #23 from TheQuantumPhysicist/master
Fixed many warnings that appear due to assert not being executed in release mode.
2018-05-31 09:42:51 +05:30
Samer Afach
bef9e9d553 Fix a major error in error_code category checking implementations.
Errors some times don't throw exceptions due to implementation
differences.
2018-05-31 01:49:47 +02:00
Samer Afach
00343347b2 Fixed many warnings that appear due to assert not being executed in
release mode.
2018-05-30 22:44:38 +02:00
Samer Afach
34fdb34b44 Minor to make the code compile with -pedantic-errors flag in g++ 2018-05-21 14:06:48 +02:00
Samer Afach
a9562500a0 More inline definitions to for header files to avoid double definition
problems.
2018-05-20 02:57:13 +02:00
Samer Afach
22856e9da2 Functions made inline because they're in the header. Otherwise multiple
definition errors will appear when this file is included.
2018-05-20 00:47:37 +02:00
Samer Afach
8ef6d055ae Make it possible to only include base64.hpp without having to include
jwt.hpp by adding missing includes to resolve incomplete types.
2018-05-19 21:38:25 +02:00
Samer Afach
1fcfbaac75 Fix more signed/unsigned warnings. 2018-05-19 19:03:46 +02:00
Samer Afach
e5fc25bbe8 Fixed a few warnings about signed and unsigned comparison. 2018-05-19 16:29:12 +02:00
Arun M
99d041deb9 Some tests don't pass #14 2018-05-18 20:26:06 +05:30
Arun M
21c08b636c Compilation issue in VS2017 #12 2018-05-02 23:05:22 +05:30
Arun M
aefef6dce2 Compilation issue in VS2017 #12 2018-05-02 21:51:33 +05:30
Arun M
2cb65f231a Expects the two arrays in file base64.cpp to be in double curly braces on Linux 2018-05-02 21:26:23 +05:30
Arun M
9ddaa092cb Compilation error on VS2017 #11 2018-05-02 12:33:25 +05:30
Arun M
d60dd2c926 Fix tests to compile #9 2018-04-25 12:06:10 +05:30
Arun M
f8f0d37263 Openssl make does not work #5 2018-04-04 14:00:40 +05:30
Arun M
56b5299612 missed derivation from false_type 2018-01-03 15:06:39 +05:30
Arun M
9487758b8c Compilation works with g++ 6.4 2018-01-03 10:59:35 +05:30
Arun M
a5728dd397 use find instead of count on std::set. libc++ has a bug in that count is not cont member function. 2018-01-02 12:04:45 +05:30
Arun M
34f1c18c52 Finished README 2018-01-02 11:45:12 +05:30
Arun M
bcd131bf8e README: updated parameters section 2017-12-30 21:37:08 +05:30
Arun M
6302055db1 Readme changes for example code and fixed header decoding 2017-12-29 16:26:37 +05:30
Arun M
161e5d8753 Add support for additional headers 2017-12-29 14:44:17 +05:30
Arun M
7ddf7ec3e9 Added checks and tests for iat/jti/sub 2017-12-29 01:10:41 +05:30
Arun M
e813a75e27 Remove case insensitive compare for has_claim API 2017-12-28 16:39:49 +05:30
Arun M
98979a55d1 string_view to jwt::string_view 2017-12-27 21:10:43 +05:30
Arun M
27e73646ae Fixed the copyright permission on all source 2017-12-27 15:56:23 +05:30
Arun M
e5eb28716a Added copyright header 2017-12-27 15:39:38 +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
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
9a7925cca5 Added tests and gtest support 2017-12-21 19:07:50 +05:30