jpadilla / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-jwt/
MIT License
3.19k stars 650 forks source link

user_logged_in signal #410

Open atmishra opened 6 years ago

atmishra commented 6 years ago

I am looking for a signal similar to user_logged_in, which should be emitted when a user is authenticated successfully. What would be the best way to implement it. Currently I am overriding JSONWebTokenSerializer validate() method to emit signal. But it's leading to code redundancy.