Skip to main content
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

Release files for tob-deux 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tob-deux 1.2.1
File Size Uploaded
tob-deux-1.2.1.tar.gz 114.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tob-deux 1.2.1
File Interpreter ABI Platform
tob_deux-1.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 148.9 kB

Release files / tob-deux-1.2.1.tar.gz

Download URL tob-deux-1.2.1.tar.gz
Size 114.0 kB
Tags Source
SHA-256 checksum
How to use checksums
52e3ff086250e04aa8578e67ea383c4a7f72087bba41bd14904459da8d9b4866
BLAKE2b-256 checksum
How to use checksums
7aa2bd1dbbe35aa7e6db4b413b0c23b97606cd31913049ff761ce8e8d2a3a404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release files / tob_deux-1.2.1-py2.py3-none-any.whl

Download URL tob_deux-1.2.1-py2.py3-none-any.whl
Size 34.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2b6659a7d1a0041cdb1318778752ad0e9ce51766975792675536a441a198d560
BLAKE2b-256 checksum
How to use checksums
43285c4677e407ef21555de7d0f8e8069544ff197b1cef4fbb83748ec2d099b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page