Simple + flexible signup and login for Django APIs
Project description
__ __ __ __ ____ _ __
________ _____/ /_ ____ ___ __/ /_/ /_ / /_____ ____ / / /__(_) /_
/ ___/ _ \/ ___/ __/ ___/ __ `/ / / / __/ __ \ ___/ __/ __ \/ __ \/ / //_/ / __/
/ / / __(__ ) /_ /__/ /_/ / /_/ / /_/ / / / /__/ /_/ /_/ / /_/ / / ,< / / /_
/_/ \___/____/\__/ \__,_/\__,_/\__/_/ /_/ \__/\____/\____/_/_/|_/_/\__/
This libary provides mixins and views to handle signup, login and logout in an API built with django-rest-framework. After login, client applications get a token for the API requests.
Email-based signups are supported out of the box.
Other methods require you to specify an extra in your requirements;
for example, to use Facebook login you need to depend on
rest-framework-auth-toolkit[facebook]
.
Contrary to other similar modules, rest-auth-toolkit doess not provide a set of Django apps to include and configure in your settings, but a collection of mixins, base classes, base views and simple templates that you can integrate and customize in your own apps.
See the demo app for example usage.
⚠️ This library is not stable yet, make sure to pin your dependencies.
Recommended form: rest-framework-auth-toolkit == 0.9.*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Rest_Framework_Auth_Toolkit-0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c60e1d5348d4fe9b0fd7ab2b199ce578e538c98c3b62b8498b781222e249d02 |
|
MD5 | c201da4f7be5995fe7c12ae52d8999e6 |
|
BLAKE2b-256 | e9e35bd36a1cc3b7a2af33b06c26c45eb2daaae66f883619aae6ecaf76ee75c3 |
Hashes for Rest_Framework_Auth_Toolkit-0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d955ff5bb94b1e3699b23210bd0e697c1e714dbce21d822c3b3a3cb4fcdf91ad |
|
MD5 | 725fa1cf6832aff2d504bddda8c370c0 |
|
BLAKE2b-256 | 41cf630952582d7e0df3891577006e1345954b8b46356046aec05a07106f0376 |