An open API service indexing awesome lists of open source software.

https://github.com/rodrigorvsn/alphonse-elric

📚 Doing a JWT encode/decode
https://github.com/rodrigorvsn/alphonse-elric

jwt typescript

Last synced: about 1 year ago
JSON representation

📚 Doing a JWT encode/decode

Awesome Lists containing this project

README

          

## What are they

Self-sufficient tokens to change data securely using a JSON format

- **Self-contained**: carry inside of them the data necessary to be validated
- **Stateless**: We don't need to save anything on the database.
- **Multi-language**: Any language can interpret JSON

## Anatomy

- **Header**: Storage type of token and the algorithm used to generate the signature
- **Payload**: Save the data of token (don't save sensible data and with more data, more weight to the payload)
- **Signature**: Guarantee that token was created from our application and was not changed