We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de76e49 commit 88ba93eCopy full SHA for 88ba93e
rest_framework_simplejwt/views.py
@@ -120,3 +120,15 @@ class TokenBlacklistView(TokenViewBase):
120
121
122
token_blacklist = TokenBlacklistView.as_view()
123
+
124
125
+class TokenFamilyBlacklistView(TokenViewBase):
126
+ """
127
+ Takes a token's family and blacklists it. Must be used with the
128
+ `rest_framework_simplejwt.token_family` app installed.
129
130
131
+ _serializer_class = api_settings.TOKEN_FAMILY_BLACKLIST_SERIALIZER
132
133
134
+token_family_blacklist = TokenFamilyBlacklistView.as_view()
0 commit comments