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
- Host: GitHub
- URL: https://github.com/rodrigorvsn/alphonse-elric
- Owner: RodrigoRVSN
- Created: 2023-10-29T16:24:02.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-29T16:24:47.000Z (over 2 years ago)
- Last Synced: 2025-05-09T01:51:34.171Z (about 1 year ago)
- Topics: jwt, typescript
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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