Closed Derrity closed 1 year ago
inline decoded_jwt decode(std::basic_string<char, std::char_traits, std::allocator> token)
change
inline decoded_jwt<traits::kazuho_picojson> decode(algorithm::hs256 token)
to
inline decoded_jwt<traits::kazuho_picojson> decode(std::basic_string<char, std::char_traits<char>, std::allocator<char>> token)
then we can use this directly
auto decoded = jwt::decode(token)
What would you like to see added?
inline decoded_jwt decode(std::basic_string<char, std::char_traits, std::allocator> token)
Additional Context
change
to
then we can use this directly