Header Ads Widget

[MAN] pyjwt3

Content-type: text/html; charset=UTF-8 Man page of JWT

JWT

Section: User Commands (1)
Updated: August 2014
Index Return to Main Contents
 

NAME

jwt - Python implementation of JSON Web Token  

SYNOPSIS

jwt [,options/] ,input/  

DESCRIPTION

Encodes or decodes JSON Web Tokens based on input  

OPTIONS

--version
show program's version number and exit
-h, --help
show this help message and exit
-n, --no-verify
ignore signature verification on decode
--key=,KEY/
set the secret key to sign with
--alg=,ALG/
set crypto algorithm to sign with. default=HS256
 

EXAMPLES

Decoding:

jwt --key=,secret/ json.web.token

jwt --no-verify json.web.token

Encoding requires the key option and takes space separated key/value pairs separated by equals (=) as input.

Examples:

jwt --key=,secret/ iss=me exp=1302049071

jwt --key=,secret/ foo=bar exp=+10

The exp key is special and can take an offset to current Unix time.  

AUTHOR

Jeff Lindsay <progrium@gmail.com>

This manual page was written by Daniele Tricoli <eriol@mornie.org>, for the Debian project (but may be used by others).


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:45:25 GMT, September 16, 2022

댓글 쓰기

0 댓글