diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-12-19 15:51:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-19 18:51:39 -0500 |
| commit | ce4f350ffc052f767c772c0685cc591f7d5f4e9b (patch) | |
| tree | aa4d4a1a9edba4757517b07a888478a9d26df11d /docs | |
| parent | 9acab9cad0ee536f41aca39f5d4cf09680bf1ffb (diff) | |
| download | pyjwt-ce4f350ffc052f767c772c0685cc591f7d5f4e9b.tar.gz | |
Autoupdate pre-commit hooks and apply them (#561)
https://pre-commit.com/#updating-hooks-automatically
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/usage.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/usage.rst b/docs/usage.rst index 5e88041..30f39af 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -49,7 +49,12 @@ Specifying Additional Headers .. code-block:: pycon - >>> jwt.encode({"some": "payload"}, "secret", algorithm="HS256", headers={"kid": "230498151c214b788dd97f22b85410a5"}) + >>> jwt.encode( + ... {"some": "payload"}, + ... "secret", + ... algorithm="HS256", + ... headers={"kid": "230498151c214b788dd97f22b85410a5"}, + ... ) 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjIzMDQ5ODE1MWMyMTRiNzg4ZGQ5N2YyMmI4NTQxMGE1In0.eyJzb21lIjoicGF5bG9hZCJ9.DogbDGmMHgA_bU05TAB-R6geQ2nMU2BRM-LnYEtefwg' |
