Skip to content

Commit 8eaca3a

Browse files
authored
fix: psk -> key (#220)
1 parent aec131e commit 8eaca3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/reference/security.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The following will return http headers that contain a valid <abbr title="JSON we
118118

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

versioned_docs/version-4.X/reference/security.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The following will return http headers that contain a valid <abbr title="JSON we
118118

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

0 commit comments

Comments
 (0)