Thalhammer / jwt-cpp

A header only library for creating and validating json web tokens in c++
https://thalhammer.github.io/jwt-cpp/
MIT License
864 stars 235 forks source link

Make jwt::decoded_jwt moveable #224

Closed Ka0o0 closed 2 years ago

Ka0o0 commented 2 years ago

What would you like to see added?

jwt::decoded_jwt to be moveable

Additional Context

By having the token member of jwt::decoded_jwt as a const, a object of jwt::decoded_jwt cannot be moved. I think it would be nice if the token could be moved.