A simple two factor authentication plugin for DRF compatible to work with Twilio's SMS service..
Project description
DRF Two Factor Authentication.
A simple two factor authentication plugin for Django Rest Framework built on top of Simple JWT and compatible with Twilio's SMS service.
The motive of DRF Two Factor Authentication is to provide the pre defined basic authentication related APIs. It aims to cover the most common use case of Two Factor Authentication by providing the set of most generic APIs. This plugin will only work with Twilio's SMS service.
Acknowledgments
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
Content
- Requirements
- Installation
- Usage
Requirements
- Python (3.7, 3.8, 3.9)
- Django (3.2.4)
- Django Rest Framework (3.12.4)
- Django Rest Framework Simple JWT (4.6.0)
- Twilio (6.55.0)
Installation
DRF Two Factor Authentication can be installed with pip:
pip install django-restframework-2fa
Then, your django project must be configured to use the plugin Simple JWT. It is highly recommended to appropriately configure this plugin as this package is highly dependent on it.
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 django_restframework_2fa-0.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb684e7c06d888ab538fe0fea7fab61de06d8c55c490a2b2ddbef0ef5768048 |
|
MD5 | a501b6566b7c9c1e2137b56c6fd6b093 |
|
BLAKE2b-256 | 1d61530efb25a57dd4695df69455ef4d09e4590eb3d0123b60263c0f253136b0 |
Hashes for django_restframework_2fa-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c649751c2fc176d2650eb87928eb7af637150ebfa76bfa715d7c80501504e2a0 |
|
MD5 | 7c748b8a9c62c71242e27f7b2cf60bd6 |
|
BLAKE2b-256 | 421fb3e801e9f8cc0a95ba7e789f099911138466a27418a265c2a5ade7a4c11b |