mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
pass oauth_timestamp to oauth_provider
This commit is contained in:
parent
134ffd96a1
commit
5239362951
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user