Metadata-Version: 2.1
Name: django-multi-token
Version: 0.1.4
Summary: Multi token for django rest framework
Home-page: https://github.com/Raja27/multi-token.git
Author: MRP DevShort
Author-email: mrppythondev@gmail.com
License: MIT
Keywords: django multi token,token,dajngo rest framework multi token
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/x-rst
Provides-Extra: dev
Provides-Extra: test

*************************************
Multi token for django rest framework
*************************************

"Using this app user can maintain a separate auth token for each device.
Logout form one device will not logout other device. So multiple login is
possible using this app."

Installation
############
.. code-block::python
    :linenos:
    pip install django-multi-token

Settings File
#############

.. code-block::python
    :linenos:
    INSTALLED_APPS = [
        ...
        'tokens'
        ...
    ]

.. code-block::python
    :linenos:
    REST_FRAMEWORK = {
        'DEFAULT_AUTHENTICATION_CLASSES': (
            # 'rest_framework.authentication.TokenAuthentication',
            'tokens.models.MultiTokenAuthentication',
        )
    }


