django-rest-multitoken icon indicating copy to clipboard operation
django-rest-multitoken copied to clipboard

Implementation of Django Rest Framework token authentication that maintains multiple tokens for each user.

Results 5 django-rest-multitoken issues
Sort by recently updated
recently updated
newest added

Split Token model into BaseToken and a swappable, reference Token model. Implemented swapping concept inside the project. Created minimal, working example along with test case which makes sure swapping works....

Late child of interview session. This version is just a scratch; should be developed with some management of expired tokens (more than just raising an exception).

The idea is to use [django-swappable-models](https://github.com/wq/django-swappable-models) app for making Token model swappable - [similar to `auth.User`](https://docs.djangoproject.com/en/1.8/topics/auth/customizing/#substituting-a-custom-user-model).

enhancement

Browse a list of tokens, removing them etc.

enhancement

It refers to the discussion in one of [djoser pull requests](https://github.com/sunscrapers/djoser/pull/33#issuecomment-102428698): > According to what we discussed the `client` field is not required because it's difficult to define what should...

enhancement