diff options
| author | José Padilla <jpadilla@webapplicate.com> | 2015-10-26 15:11:53 -0400 |
|---|---|---|
| committer | José Padilla <jpadilla@webapplicate.com> | 2015-10-26 15:11:53 -0400 |
| commit | fcfa6c7ea67392f8cb81f8fdc6ace655a681ae2c (patch) | |
| tree | 8eab444265995a2b290dd22db8ab4096c05dc536 | |
| parent | 9c551e754d3edf1d500296b172e85904dc593006 (diff) | |
| parent | 756a12d736216097ef3e9d298a19a6b5de730c46 (diff) | |
| download | pyjwt-fcfa6c7ea67392f8cb81f8fdc6ace655a681ae2c.tar.gz | |
Merge pull request #188 from sampwing/master
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'} ``` |
