Skip to content

Commit e82ee91

Browse files
authored
Merge pull request encode#4497 from knaperek/fix-readme-token-model-name
Rename an invalid reference to BasicToken in the docs
2 parents fe96cec + 76cc2f0 commit e82ee91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ For clients to authenticate, the token key should be included in the `Authorizat
148148
If successfully authenticated, `TokenAuthentication` provides the following credentials.
149149

150150
* `request.user` will be a Django `User` instance.
151-
* `request.auth` will be a `rest_framework.authtoken.models.BasicToken` instance.
151+
* `request.auth` will be a `rest_framework.authtoken.models.Token` instance.
152152

153153
Unauthenticated responses that are denied permission will result in an `HTTP 401 Unauthorized` response with an appropriate WWW-Authenticate header. For example:
154154

0 commit comments

Comments
 (0)