aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/authenticators.py
diff options
context:
space:
mode:
authorTom Christie2011-04-11 17:13:11 +0100
committerTom Christie2011-04-11 17:13:11 +0100
commit18bbda84b9c663fec6eede112a21cf1a48103303 (patch)
tree841d1a167b823cbca7a5c487f6dbee4346db4b24 /djangorestframework/authenticators.py
parent6096b50dbe20349144aa92660c6c8467f67f50e7 (diff)
downloaddjango-rest-framework-18bbda84b9c663fec6eede112a21cf1a48103303.tar.bz2
depercate auth and content arguments to the request handler methods - yea :)
Diffstat (limited to 'djangorestframework/authenticators.py')
-rw-r--r--djangorestframework/authenticators.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/djangorestframework/authenticators.py b/djangorestframework/authenticators.py
index e382de10..e8331cc7 100644
--- a/djangorestframework/authenticators.py
+++ b/djangorestframework/authenticators.py
@@ -28,8 +28,9 @@ class BaseAuthenticator(object):
The default permission checking on Resource will use the allowed_methods attribute
for permissions if the authentication context is not None, and use anon_allowed_methods otherwise.
- The authentication context is passed to the method calls eg Resource.get(request, auth) in order to
- allow them to apply any more fine grained permission checking at the point the response is being generated.
+ The authentication context is available to the method calls eg Resource.get(request)
+ by accessing self.auth in order to allow them to apply any more fine grained permission
+ checking at the point the response is being generated.
This function must be overridden to be implemented."""
return None