Musharaf Baig
2018-04-19 19:43:57 UTC
I *do not* have register/login mechanism for the users.
I need two types of authentication:
1.
To make it available I would like to let the user use it for free with a
limited number of call s or time
- for example after the API is called 50 times, I would like that the token
expires. An alternative solution is that the token should expire in 2
days.
2) An authentication with a key that does not expire at all.
Is it possible? Need suggestions. Thanks
I need two types of authentication:
1.
To make it available I would like to let the user use it for free with a
limited number of call s or time
- for example after the API is called 50 times, I would like that the token
expires. An alternative solution is that the token should expire in 2
days.
2) An authentication with a key that does not expire at all.
Is it possible? Need suggestions. Thanks
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.