diff options
| author | Tom Christie | 2011-04-11 17:13:11 +0100 | 
|---|---|---|
| committer | Tom Christie | 2011-04-11 17:13:11 +0100 | 
| commit | 18bbda84b9c663fec6eede112a21cf1a48103303 (patch) | |
| tree | 841d1a167b823cbca7a5c487f6dbee4346db4b24 /djangorestframework/authenticators.py | |
| parent | 6096b50dbe20349144aa92660c6c8467f67f50e7 (diff) | |
| download | django-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.py | 5 | 
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  | 
