diff options
| author | Philip Forget | 2013-11-14 18:02:07 -0500 | 
|---|---|---|
| committer | Philip Forget | 2013-11-14 18:02:07 -0500 | 
| commit | 5239362951956f130a1ef91d12d6b7d680220104 (patch) | |
| tree | 4e1636b0e76815f94bb0cbc5b3630c2d78317f3d /rest_framework/authentication.py | |
| parent | 134ffd96a14559f3a1ff4e5210c8718fb4bff9b1 (diff) | |
| download | django-rest-framework-5239362951956f130a1ef91d12d6b7d680220104.tar.bz2 | |
pass oauth_timestamp to oauth_provider
Diffstat (limited to 'rest_framework/authentication.py')
| -rw-r--r-- | rest_framework/authentication.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/rest_framework/authentication.py b/rest_framework/authentication.py index cf001a24..bca542eb 100644 --- a/rest_framework/authentication.py +++ b/rest_framework/authentication.py @@ -281,7 +281,8 @@ class OAuthAuthentication(BaseAuthentication):          """          Checks nonce of request, and return True if valid.          """ -        return oauth_provider_store.check_nonce(request, oauth_request, oauth_request['oauth_nonce']) +        return oauth_provider_store.check_nonce(request, oauth_request, +            oauth_request['oauth_nonce'], oauth_request['oauth_timestamp'])  class OAuth2Authentication(BaseAuthentication): | 
