Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Document keyword variable of TokenAuthentication
  • Loading branch information
hroncok committed May 4, 2016
commit bd3ab214b9bf04eea9857c2e25fa22bbeb904063
2 changes: 2 additions & 0 deletions docs/api-guide/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ For clients to authenticate, the token key should be included in the `Authorizat

Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b

**Note:** If you want to use a different keyword in the header, such as `Bearer`, simply subclass `TokenAuthentication` and set the `keyword` class variable.

If successfully authenticated, `TokenAuthentication` provides the following credentials.

* `request.user` will be a Django `User` instance.
Expand Down