Skip to content

Commit

Permalink
Add missing close quote. (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpaulger authored and jpadilla committed Jan 23, 2018
1 parent a120518 commit a22ba4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Encoding & Decoding Tokens with RS256 (RSA)
>>import jwt
>>private_key = b'-----BEGIN PRIVATE KEY-----\nMIGEAgEAMBAGByqGSM49AgEGBS...'
>>public_key = b'-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEAC...'
>>encoded = jwt.encode({'some': 'payload'}, private_key, algorithm='RS256)
>>encoded = jwt.encode({'some': 'payload'}, private_key, algorithm='RS256')
'eyJhbGciOiJIU...'
>>decoded = jwt.decode(encoded, public_key, algorithms='RS256')
{'some': 'payload'}
Expand Down

0 comments on commit a22ba4b

Please sign in to comment.