diff options
author | Tino de Bruijn <tinodb@gmail.com> | 2013-01-05 14:48:01 +0100 |
---|---|---|
committer | Tino de Bruijn <tinodb@gmail.com> | 2013-01-05 14:48:01 +0100 |
commit | 26e50668348fa19d6d8a7aa9cc57d4fee66d630b (patch) | |
tree | 63c2e77f8f3a07fbbe645b35629662b5cb285e45 | |
parent | 3e62dd062b5ef03d268134bda7c49960e0d8ea25 (diff) | |
download | oauthlib-26e50668348fa19d6d8a7aa9cc57d4fee66d630b.tar.gz |
Add missing ``validate_bearer_token`` to ``RequestValidator`` placeholder class
-rw-r--r-- | oauthlib/oauth2/draft25/grant_types.py | 3 |
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.') |