summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArie Bovenberg <a.c.bovenberg@gmail.com>2022-02-12 21:11:23 +0100
committerAsif Saif Uddin <auvipy@gmail.com>2022-02-13 09:30:52 +0600
commit6b1f5db98d464c31db807b7ab0e0fe43ebca46d0 (patch)
tree871bbea5deeec537c8ca6a57c13bc5401d443e23
parentccf9189bd5a60ad490351c005db042c9788ac441 (diff)
downloadoauthlib-6b1f5db98d464c31db807b7ab0e0fe43ebca46d0.tar.gz
add missing slots to TokenBase
-rw-r--r--oauthlib/oauth2/rfc6749/tokens.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/oauthlib/oauth2/rfc6749/tokens.py b/oauthlib/oauth2/rfc6749/tokens.py
index 6284248..0757d07 100644
--- a/oauthlib/oauth2/rfc6749/tokens.py
+++ b/oauthlib/oauth2/rfc6749/tokens.py
@@ -257,6 +257,7 @@ def get_token_from_header(request):
class TokenBase:
+ __slots__ = ()
def __call__(self, request, refresh_token=False):
raise NotImplementedError('Subclasses must implement this method.')