Skip to content

Commit

Permalink
Document keyword variable of TokenAuthentication
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok committed May 4, 2016
1 parent b8da2bf commit bd3ab21
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit bd3ab21

Please sign in to comment.