Metadata-Version: 1.1
Name: django_express_gateway
Version: 0.0.1
Summary: Integrating Django with Express Gateway
Home-page: https://github.com/NorakGithub/django_express_gateway
Author: Khemanorak Khath
Author-email: khath.khemanorak@gmail.com
License: MIT license
Description: ===========================
        Express Gateway With Django
        ===========================
        Integrating Django with Express Gateway
        
        ------------
        Requirements
        ------------
        - Python 3 or later
        - Django 2 or later
        - Django Rest Framework 3.7 or later
        - Requests 2.19 or later
        
        ------------
        Installation
        ------------
        
        Install with pip
        
        .. code-block:: bash
        
            $ pip install django_express_gateway
        
        ---------------
        Getting Started
        ---------------
        Add `express_gateway` to your `INSTALLED_APPS`
        
        .. code-block:: python
            
            INSTALLED_APPS = [
                ...
                'express_gateway',
            ]
            
        Add authentication to DRF default authentication settings
        
        .. code-block:: python
        
            REST_FRAMEWORK = {
                'DEFAULT_AUTHENTICATION_CLASSES': (
                    'express_gateway.authentications.AuthUserAuthentication',
                    'rest_framework.authentication.SessionAuthentication',
                    'rest_framework.authentication.BasicAuthentication',
                ),
                ...
            }
        
        Finally add the configuration for Centralize Authentication System.
        
        .. code-block:: python
        
            # Config data should get from environment variable
            EXPRESS_GATEWAY = {
                'URL': 'https://mycas-server.com',
                'API_KEY': 'testingApiKey',
                'ENDPOINTS': {
                    'register': '/auth/user/
                    'token': '/auth/token/',
                }
            }
        
        
        =======
        History
        =======
        
        0.0.0 (2018-07-31)
        ------------------
        
        * First release on PyPI.
        
Keywords: django,express,gateway,express_gateway
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
