jwt-go: github.com/dgrijalva/jwt-go/cmd/jwt Files

Command jwt

A useful example app. You can use this to debug your tokens on the command line. This is also a great place to look at how you might use this library.

Example usage: The following will create and sign a token, then verify it and output the original claims.

echo {\"foo\":\"bar\"} | bin/jwt -key test/sample_key -alg RS256 -sign - | bin/jwt -key test/sample_key.pub -verify -

Package Files

app.go args.go

Package main imports 9 packages (graph). Updated 2019-05-30. Refresh now. Tools for package owners.