Changed decode function signature

This commit is contained in:
Arun M 2017-12-05 16:02:54 +05:30
parent 09bc72c9f7
commit a4a4bd5dff
6 changed files with 124 additions and 14 deletions

View file

@ -629,8 +629,11 @@ jwt_object jwt_decode(const string_view encoded_str, const string_view key, bool
/**
*/
template <typename... Args>
jwt_object decode(const string_view enc_str, const string_view key, Args&&... args);
template <typename SequenceT, typename... Args>
jwt_object decode(const string_view enc_str,
const string_view key,
const params::detail::algorithms_param<SequenceT>& algos,
Args&&... args);
} // END namespace jwt