You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 26, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: docs/index.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -249,6 +249,20 @@ class JSONWebTokenAuthenticationQS(BaseJSONWebTokenAuthentication):
249
249
```
250
250
It is recommended to use `BaseJSONWebTokenAuthentication`, a new base class with no logic around parsing the HTTP headers.
251
251
252
+
## Creating a new token manually ##
253
+
254
+
Sometimes you may want to manually generate a token, for example to return a token to the user immediately after account creation. You can do this as follows:
0 commit comments