Help us shape the future of Go! Take the 2026 Go Developer Survey

jwt

command
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2015 License: MIT, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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 -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL