diff options
| author | Tom Christie | 2012-10-17 14:02:30 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-10-17 14:02:30 +0100 | 
| commit | bd8360c826b7a922eeb6226beb17853cfadb466c (patch) | |
| tree | 7952ff442fc6718b359550d04cc49b47d1b2cd91 /docs/api-guide/authentication.md | |
| parent | b5daa40852fb5936e6cddb31ecda5c4b40175cd4 (diff) | |
| download | django-rest-framework-bd8360c826b7a922eeb6226beb17853cfadb466c.tar.bz2 | |
Highlight use of permissions alnog with authentication
Diffstat (limited to 'docs/api-guide/authentication.md')
| -rw-r--r-- | docs/api-guide/authentication.md | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 71f48163..959feaa6 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -16,6 +16,12 @@ The `request.user` property will typically be set to an instance of the `contrib  The `request.auth` property is used for any additional authentication information, for example, it may be used to represent an authentication token that the request was signed with. +--- + +**Note:** Don't forget that authentication by itself wont allow or disallow an incoming request, it simply identifies the credentials that the request was made with.  For information on how to setup the permission polices for your API please see the [permissions documentation][permission]. + +--- +  ## How authentication is determined  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. | 
