summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTino de Bruijn <tinodb@gmail.com>2013-01-05 14:48:01 +0100
committerTino de Bruijn <tinodb@gmail.com>2013-01-05 14:48:01 +0100
commit26e50668348fa19d6d8a7aa9cc57d4fee66d630b (patch)
tree63c2e77f8f3a07fbbe645b35629662b5cb285e45
parent3e62dd062b5ef03d268134bda7c49960e0d8ea25 (diff)
downloadoauthlib-26e50668348fa19d6d8a7aa9cc57d4fee66d630b.tar.gz
Add missing ``validate_bearer_token`` to ``RequestValidator`` placeholder class
-rw-r--r--oauthlib/oauth2/draft25/grant_types.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/oauthlib/oauth2/draft25/grant_types.py b/oauthlib/oauth2/draft25/grant_types.py
index d92a88c..778a0f1 100644
--- a/oauthlib/oauth2/draft25/grant_types.py
+++ b/oauthlib/oauth2/draft25/grant_types.py
@@ -20,6 +20,9 @@ class RequestValidator(object):
def validate_code(self, client_id, code, client, *args, **kwargs):
raise NotImplementedError('Subclasses must implement this method.')
+ def validate_bearer_token(self, token):
+ raise NotImplementedError('Subclasses must implement this method.')
+
def validate_refresh_token(self, refresh_token, client, *args, **kwargs):
raise NotImplementedError('Subclasses must implement this method.')