aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorTom Christie2012-09-13 09:39:16 +0100
committerTom Christie2012-09-13 09:39:16 +0100
commitb16c45aa6dfb5937d01f0c89273cd24f5e729f60 (patch)
tree5182360400b8d0fa1740020d8164d40b9bbfaf8a /docs/api-guide/authentication.md
parent003a65f0e094e59b5462fcd0607bf290d80cc5aa (diff)
downloaddjango-rest-framework-b16c45aa6dfb5937d01f0c89273cd24f5e729f60.tar.bz2
Tweak throttling/permissions/auth docs
Diffstat (limited to 'docs/api-guide/authentication.md')
-rw-r--r--docs/api-guide/authentication.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md
index 777106e8..79950946 100644
--- a/docs/api-guide/authentication.md
+++ b/docs/api-guide/authentication.md
@@ -18,7 +18,7 @@ The `request.auth` property is used for any additional authentication informatio
## How authentication is determined
-Authentication is always set as a list of classes. REST framework will attempt to authenticate with each class in the list, and will set `request.user` and `request.auth` using the return value of the first class that successfully authenticates.
+The authentication policy is always defined as a list of classes. REST framework will attempt to authenticate with each class in the list, and will set `request.user` and `request.auth` using the return value of the first class that successfully authenticates.
If no class authenticates, `request.user` will be set to an instance of `django.contrib.auth.models.AnonymousUser`, and `request.auth` will be set to `None`.