diff options
author | Ib Lundgren <ib.lundgren@gmail.com> | 2013-01-15 12:53:55 -0800 |
---|---|---|
committer | Ib Lundgren <ib.lundgren@gmail.com> | 2013-01-15 12:53:55 -0800 |
commit | b96a71203fa768fbff5074b4f03dbc444df05afd (patch) | |
tree | 1fc9f1ad9de185ba9c1c0a91fdcf321f49db4f80 | |
parent | a12625ad9aa6d6a177d3d788f7014385f7a6d83d (diff) | |
parent | 26e50668348fa19d6d8a7aa9cc57d4fee66d630b (diff) | |
download | oauthlib-b96a71203fa768fbff5074b4f03dbc444df05afd.tar.gz |
Merge pull request #90 from tino/missing-validate_bearer_token
Add missing ``validate_bearer_token`` to ``RequestValidator`` placeholde...
-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.') |