summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oauthlib/oauth2/rfc6749/request_validator.py2
-rw-r--r--tests/oauth2/rfc6749/test_request_validator.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/oauth2/rfc6749/request_validator.py b/oauthlib/oauth2/rfc6749/request_validator.py
index 5f1aa25..6b00c52 100644
--- a/oauthlib/oauth2/rfc6749/request_validator.py
+++ b/oauthlib/oauth2/rfc6749/request_validator.py
@@ -38,7 +38,7 @@ class RequestValidator(object):
.. _`Section 4.1.3`: http://tools.ietf.org/html/rfc6749#section-4.1.3
.. _`Section 6`: http://tools.ietf.org/html/rfc6749#section-6
"""
- raise NotImplementedError('Subclasses must implement this method.')
+ return True
def authenticate_client(self, request, *args, **kwargs):
"""Authenticate client through means outside the OAuth 2 spec.
diff --git a/tests/oauth2/rfc6749/test_request_validator.py b/tests/oauth2/rfc6749/test_request_validator.py
index 6acce27..2fd2739 100644
--- a/tests/oauth2/rfc6749/test_request_validator.py
+++ b/tests/oauth2/rfc6749/test_request_validator.py
@@ -43,4 +43,4 @@ class RequestValidatorTest(TestCase):
'client_id', 'scopes', 'client', 'request')
self.assertRaises(NotImplementedError, v.validate_user,
'username', 'password', 'client', 'request')
- self.assertRaises(NotImplementedError, v.client_authentication_required, 'r')
+ self.assertTrue(v.client_authentication_required('r'))