Skip to content

Commit

Permalink
Merge pull request #188 from sampwing/master
Browse files Browse the repository at this point in the history
Fixed example usage
  • Loading branch information
jpadilla committed Oct 26, 2015
2 parents 9c551e7 + 756a12d commit fcfa6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
```

Expand Down

0 comments on commit fcfa6c7

Please sign in to comment.