Skip to content

Commit

Permalink
fix: psk -> key (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias authored Nov 7, 2024
1 parent aec131e commit 8eaca3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The following will return http headers that contain a valid <abbr title="JSON we

```python
>>> from fixlib.jwt import encode_jwt_to_headers
>>> encode_jwt_to_headers(http_headers={}, payload={}, psk="changeme", expire_in=3600)
>>> encode_jwt_to_headers(http_headers={}, payload={}, key="changeme", expire_in=3600)
# highlight-next-line
​{'Authorization': 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInNhbHQiOiJuSVEzU3M5TGVNS1JHYUNQUEJxMnlBPT0ifQ.eyJleHAiOjE2NDkzNzI1MTR9.KXAmijfSsV-taO3890qJNzXKXng1u38eU6PTrDYTgVs'}
```
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-4.X/reference/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ The following will return http headers that contain a valid <abbr title="JSON we

```python
>>> from fixlib.jwt import encode_jwt_to_headers
>>> encode_jwt_to_headers(http_headers={}, payload={}, psk="changeme", expire_in=3600)
>>> encode_jwt_to_headers(http_headers={}, payload={}, key="changeme", expire_in=3600)
# highlight-next-line
​{'Authorization': 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsInNhbHQiOiJuSVEzU3M5TGVNS1JHYUNQUEJxMnlBPT0ifQ.eyJleHAiOjE2NDkzNzI1MTR9.KXAmijfSsV-taO3890qJNzXKXng1u38eU6PTrDYTgVs'}
```
Expand Down

0 comments on commit 8eaca3a

Please sign in to comment.