* Consistency for token decoding
* Mark as staticmethod
* Helper function to convert key
* Refactor key handling
* Add tests for validate=False
* Change test name
* Fix failing test
* Remove special case for str
* Some docstring
* docs: missing docstrings
---------
Co-authored-by: Richard Nemeth <ryshoooo@gmail.com>