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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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