https://github.com/lucasfidelis/jwt-advpl
An implementation of Json Web Tokens - JWT for Protheus using ADVPL.
https://github.com/lucasfidelis/jwt-advpl
advpl jsonwebtokens jwt protheus totvs totvs-protheus
Last synced: about 2 months ago
JSON representation
An implementation of Json Web Tokens - JWT for Protheus using ADVPL.
- Host: GitHub
- URL: https://github.com/lucasfidelis/jwt-advpl
- Owner: LucasFidelis
- License: mit
- Created: 2021-11-02T22:38:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-04T01:21:42.000Z (over 3 years ago)
- Last Synced: 2025-01-15T19:54:28.252Z (3 months ago)
- Topics: advpl, jsonwebtokens, jwt, protheus, totvs, totvs-protheus
- Language: xBase
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JWT ADVPL
An implementation of Json Web Tokens for Protheus using ADVPL.
## Algorithms supported
| Algorithm | MAC Algorithm |
| :---: | :---: |
| HS256 | HMAC using SHA-256 hash algorithm |
| HS512 | HMAC using SHA-512 hash algorithm |## Todo
* Implement others algorithms.
## Disclaimer
This project is not associated, authorized, endorsed by, or in any way with TOTVS S/A.
TOTVS S/A, Protheus, ADVPL as well as related names, marks, emblems and images are registered trademarks of their respective owners.
## License
MIT License
Copyright (c) 2021 Lucas Fidélis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.