diff options
author | Sam Wing <sampwing@gmail.com> | 2015-10-26 10:58:25 -0700 |
---|---|---|
committer | Sam Wing <sampwing@gmail.com> | 2015-10-26 10:58:25 -0700 |
commit | 756a12d736216097ef3e9d298a19a6b5de730c46 (patch) | |
tree | 8eab444265995a2b290dd22db8ab4096c05dc536 | |
parent | 9c551e754d3edf1d500296b172e85904dc593006 (diff) | |
download | pyjwt-756a12d736216097ef3e9d298a19a6b5de730c46.tar.gz |
Fixed example usage
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ $ pip install PyJWT >>> encoded = jwt.encode({'some': 'payload'}, 'secret', algorithm='HS256') 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg' ->>> jwt.decode(encoded, 'secret'. algorithms=['HS256']) +>>> jwt.decode(encoded, 'secret', algorithms=['HS256']) {'some': 'payload'} ``` |