mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 21:10:13 +03:00
Merge d4578f9711
into e3c5a13451
This commit is contained in:
commit
2a3c546911
|
@ -275,7 +275,7 @@ class OAuthAuthentication(BaseAuthentication):
|
||||||
Check the token and raise an `oauth.Error` exception if invalid.
|
Check the token and raise an `oauth.Error` exception if invalid.
|
||||||
"""
|
"""
|
||||||
oauth_server, oauth_request = oauth_provider.utils.initialize_server_request(request)
|
oauth_server, oauth_request = oauth_provider.utils.initialize_server_request(request)
|
||||||
oauth_server.verify_request(oauth_request, consumer, token)
|
oauth_provider.utils.verify_oauth_request(request, oauth_request, consumer, token)
|
||||||
|
|
||||||
def check_nonce(self, request, oauth_request):
|
def check_nonce(self, request, oauth_request):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user