|
1 | 1 | ``` |
2 | | - __ __ __ __ ____ _ __ |
3 | | - ________ _____/ /_ ____ ___ __/ /_/ /_ / /_____ ____ / / /__(_) /_ |
4 | | - / ___/ _ \/ ___/ __/ ___/ __ `/ / / / __/ __ \ ___/ __/ __ \/ __ \/ / //_/ / __/ |
5 | | - / / / __(__ ) /_ /__/ /_/ / /_/ / /_/ / / / /__/ /_/ /_/ / /_/ / / ,< / / /_ |
6 | | - /_/ \___/____/\__/ \__,_/\__,_/\__/_/ /_/ \__/\____/\____/_/_/|_/_/\__/ |
| 2 | + __ __ __ __ ____ _ __ |
| 3 | + ________ _____/ /_ ____ ___ __/ /_/ /_ / /_____ ____ / / /__(_) /_ |
| 4 | + / ___/ _ \/ ___/ __/ ___/ __ `/ / / / __/ __ \ ___/ __/ __ \/ __ \/ / //_/ / __/ |
| 5 | + / / / __(__ ) /_ /__/ /_/ / /_/ / /_/ / / / /__/ /_/ /_/ / /_/ / / ,< / / /_ |
| 6 | + /_/ \___/____/\__/ \__,_/\__,_/\__/_/ /_/ \__/\____/\____/_/_/|_/_/\__/ |
7 | 7 |
|
8 | 8 | ``` |
9 | 9 |
|
10 | | -Mixins and views to handle signup and login in an API built with |
11 | | -django-rest-framework. |
| 10 | +This libary provides mixins and views to handle signup, login and |
| 11 | +logout in an API built with django-rest-framework. After login, |
| 12 | +client applications get a token for the API requests. |
| 13 | + |
| 14 | +Email-based signups are supported out of the box. |
| 15 | +Other methods require you to specify an extra in your requirements; |
| 16 | +for example, to use Facebook login you need to depend on |
| 17 | +`rest-framework-auth-toolkit[facebook]`. |
| 18 | + |
| 19 | +Contrary to other similar modules, rest-auth-toolkit doess not provide |
| 20 | +a set of Django apps to include and configure in your settings, but a |
| 21 | +collection of mixins, base classes, base views and simple templates |
| 22 | +that you can integrate and customize in your own apps. |
| 23 | + |
| 24 | +See the [demo](demo/) app for example usage. |
| 25 | + |
| 26 | +⚠️ This library is not stable yet, make sure to pin your dependencies. |
| 27 | +Recommended form: `rest-framework-auth-toolkit == 0.9.*` |
0 commit comments