diff --git a/rest_framework_oauth/authentication.py b/rest_framework_oauth/authentication.py index c504ffd..6d5f6a4 100644 --- a/rest_framework_oauth/authentication.py +++ b/rest_framework_oauth/authentication.py @@ -158,9 +158,9 @@ def authenticate(self, request): else: return None - return self.authenticate_credentials(request, access_token) + return self.authenticate_credentials(access_token) - def authenticate_credentials(self, request, access_token): + def authenticate_credentials(self, access_token): """ Authenticate the request, given the access token. """