Skip to content
/ deux Public

Multifactor Authentication for Django Rest Framework

License

Notifications You must be signed in to change notification settings

robinhood/deux

Repository files navigation

https://deux.readthedocs.io/en/latest/_images/deux_banner.png

Build status Code Coverage BSD License Deux can be installed via wheel Supported Python versions. Support Python implementations.

Version:1.2.0
Web:https://deux.readthedocs.org/
Download:https://pypi.python.org/pypi/deux
Source:https://github.com/robinhood/deux
Keywords:authentication, two-factor, multifactor

About

Multifactor Authentication provides multifactor authentication integration for the Django Rest Framework. It integrates with Token Authentication built into DRF and OAuth2 provided by django-oauth-toolkit.

What is Multifactor Authentication?

Multifactor Authentication (MFA) is a security system that requires more than one method of authentication from independent categories of credentials to verify the user's identity for a login or other transaction. (Source: SearchSecurity)

Installation

You can install deux either via the Python Package Index (PyPI) or from source.

Requirements

deux version 1.2.0 runs on Python (2.7, 3.4, 3.5).

Installing with pip

To install using pip:

$ pip install -U deux

Downloading and installing from source

Download the latest version of deux from http://pypi.python.org/pypi/deux

You can install it by doing the following:

$ tar xvfz deux-0.0.0.tar.gz
$ cd deux-0.0.0
$ python setup.py build
# python setup.py install

The last command must be executed as a privileged user if you are not currently using a virtualenv.

Using the development version

With pip

You can install it by doing the following:

$ pip install https://github.com/robinhood/deux/zipball/master#egg=deux