This repository is a collection of examples in Java to create and verify api tokens.
Inspired by a post titled API Tokens: A Tedious Survey - https://fly.io/blog/api-tokens-a-tedious-survey/, I wanted to understand various tokens, how to create and verify them. This repository is intended for a quick reference to learn about various api tokens in Java.
| Number | Token |
|---|---|
| 1 | JWT - JWS |
| 2 | Paseto |
| 3 | Macaroons |
| 4 | [Biscuit] |
Use at your own risk as these examples are for learning purpose only. The points discussed comes with no warranty and no claims on the accuracy is made. Some of the items may be insecure so users must do their own analysis. The examples in this repository uses third party libraries. While I acknowledge, appreciate and thank all the developers and maintainers of those libraries, the use of third party libraries and third party links are not an endorsement but to illustrate certain topic. Refer to their respective terms of use.