I am creating a django api system that works with django rest framework. I need an expiring token system that works on the below manner
We have three user roles
- admin (token expire in 1 hour)
- supervisor (token expire in 1 hour)
- end user (token expire in 6 months)
i saw many third party add ons but that doesn't completely match my requirements
does any one find a package that can be tweaked or directly used to match my requirements?
Thanks Akhil