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

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

Awesome Lists containing this project

README

          

# JWT
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/pedroalbanese/jwt/blob/master/LICENSE.md)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/jwt?status.png)](http://godoc.org/github.com/pedroalbanese/jwt)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/jwt/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/jwt/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/jwt)](https://goreportcard.com/report/github.com/pedroalbanese/jwt)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/jwt)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/jwt)](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