Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 5cf9216

Browse files
committed
Update block doc about JWT_AUTH_HEADER_PREFIX
1 parent 0126a6e commit 5cf9216

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rest_framework_jwt/authentication.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class JSONWebTokenAuthentication(BaseAuthentication):
2424
Token based authentication using the JSON Web Token standard.
2525
2626
Clients should authenticate by passing the token key in the "Authorization"
27-
HTTP header, prepended with the string "JWT ". For example:
27+
HTTP header, prepended with the string specified in the setting
28+
`JWT_AUTH_HEADER_PREFIX`. For example:
2829
2930
Authorization: JWT eyJhbGciOiAiSFMyNTYiLCAidHlwIj
3031
"""

0 commit comments

Comments
 (0)