https://github.com/pedroalbanese/jwt
HMAC-based JWT written in Go
https://github.com/pedroalbanese/jwt
jwt-authentication jwt-decode jwt-token
Last synced: 3 months ago
JSON representation
HMAC-based JWT written in Go
- Host: GitHub
- URL: https://github.com/pedroalbanese/jwt
- Owner: pedroalbanese
- License: mit
- Created: 2021-11-04T22:20:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-23T17:07:22.000Z (over 4 years ago)
- Last Synced: 2025-01-04T21:18:54.255Z (over 1 year ago)
- Topics: jwt-authentication, jwt-decode, jwt-token
- Language: Go
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# JWT
[](https://github.com/pedroalbanese/jwt/blob/master/LICENSE.md)
[](http://godoc.org/github.com/pedroalbanese/jwt)
[](https://github.com/pedroalbanese/jwt/releases)
[](https://goreportcard.com/report/github.com/pedroalbanese/jwt)
[](https://golang.org)
[](https://github.com/pedroalbanese/jwt/releases)
### JSON Web Tokens
JSON Web Tokens are an open, industry standard [RFC 7519](https://datatracker.ietf.org/doc/html/rfc7519) method for representing claims securely between two parties.
Usage of jwt:
One of the following flags is required: sign, verify
-alg string
signing algorithm identifier
-claim value
add additional claims. may be used more than once (default {})
-compact
output compact JSON
-debug
print out all kinds of debug data
-header value
add additional header params. may be used more than once (default {})
-key string
path to key file or '-' to read from stdin
-show
Show header
-sign string
path to claims object to sign, '-' to read from stdin
-verify string
path to JWT token to verify or '-' to read from stdin
## License
This project is licensed under the MIT License.
##### Copyright (c) 2020-2021 Pedro Albanese - ALBANESE Research Lab