Skip to main content

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

It is required to have your Django project 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_restframework_2fa-0.0.16.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_restframework_2fa-0.0.16-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file django_restframework_2fa-0.0.16.tar.gz.

File metadata

  • Download URL: django_restframework_2fa-0.0.16.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.0

File hashes

Hashes for django_restframework_2fa-0.0.16.tar.gz
Algorithm Hash digest
SHA256 cef57c79b7d762150ac259f9d53f1507e98c6acfca1ec8b7759647208212d759
MD5 f46b40c539be38dc928bc384ed3ab695
BLAKE2b-256 16977c4ae8b291fb41bbe390204579f9f4be7fad979d2df477bc79dced1f1db2

See more details on using hashes here.

File details

Details for the file django_restframework_2fa-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: django_restframework_2fa-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.0

File hashes

Hashes for django_restframework_2fa-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a2733214f30b105ed90f676b3c0c5b4beca6992d3afb95fb5509da706aaef5f9
MD5 1f5c6cd69374891888f11b18aae67b83
BLAKE2b-256 e70491595a19f9d508a3f12b613df08b379b902075b3f4c0e23834d3c29b6195

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page