[Fixed]-Throttling based on authentication class

1👍

Reading the code I saw that DRF stores the authenticator instance on the request. So i guess you can do something like:

if type(request._authenticator).__name__ == "TokenAuthentication":

or something like that

Hope this helps

Leave a comment