🔐 Authentication routes as a service.
Project description
🔐 AR as a Service
An authentication library strongly built in Python (Django and Django Rest Framework). It serves the purpose of quick bootstrapping a project's authentication infrastructure.
Abstract
A reliable and trustworthy authentication library made for anyone who's a tinkerer and wants to get their personal or professional project authentication infrastructure built in no time.
Routes
Here are it's key features:
- register
- login (jwt)
- login (refresh jwt)
- confirm otp
- resend otp code
- logout
- change password
- reset password (token)
- reset password confirm (token)
- reset password otp (otp)
- reset password otp confirm (otp)
- reset password otp complete (otp)
- suspend user (not completed)
Requirements
- Python (3.6, 3.7, 3.8, 3.9, 3.10)
- Django (2.2, 3.0, 3.1, 3.2, 4.0)
Quick Start
- Install using
pip
:
pip install djangorest-routes
- Add "djangorest_routes" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'rest_routes',
]
- Include the polls URLconf in your project urls.py like this:
path('rest_routes/', include('rest_routes.urls')),
-
Run
python manage.py migrate
to create the djangorest-auth-as-service models. -
Start the development server and visit http://127.0.0.1:8000/admin/
-
Visit http://127.0.0.1:8000/rest_routes/ to test the authentication logics.
Documentation & Support
Full documentation for the project is available at docs.
You may also want to follow the author on twitter.
License
Disclaimer: Everything you see here is open and free to use as long as you comply with the license. There are no hidden charges. We promise to do our best to fix bugs and improve the code.
Gratitude
Special thanks goes to the beautiful brains of the below listed packages. From your works, I tinkered and came up with something that works best for me! I'll forever be grateful!
Project details
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 djangorest_routes-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8913ea09b7f0ea05b08df93d21269acd624787ece03522c54c8bbea795a60c5 |
|
MD5 | 47d4bb33f8c67b678c14b20dea0da6f7 |
|
BLAKE2b-256 | 53fc1fa7537b9f53cb5e7b315c0bf13c646f59a7a0ec5e26a9797cae28a3e0d4 |