mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 01:08:31 +00:00
Changed decode function signature
This commit is contained in:
parent
09bc72c9f7
commit
a4a4bd5dff
6 changed files with 124 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue