pass oauth_timestamp to oauth_provider

This commit is contained in:
Philip Forget 2013-11-14 18:02:07 -05:00
parent 134ffd96a1
commit 5239362951

View File

@ -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):