Metadata-Version: 1.0
Name: django-ip-authn
Version: 0.2
Summary: IP number based authentication for Django
Home-page: https://github.com/Felspar/django-ip-authn
Author: Kirit Saelensminde
Author-email: kirit@felspar.com
License: Boost Software License - Version 1.0 - August 17th, 2003
Description: IP based authentication for Django
        ==================================
        
        To install add the middleware to ``MIDDLEWARE_CLASSES``:
        
        ::
        
            'django_ip_authn.authentication.Middleware',
        
        You also need to add the authentication backend to
        ``AUTHENTICATION_BACKENDS``. This will probably not already exist, in
        which case you will want the entirety of this:
        
        ::
        
            AUTHENTICATION_BACKENDS = (
                'django.contrib.auth.backends.ModelBackend',
                'django_ip_authn.authentication.Authenticate',
            )
        
        By default it will not authenticate until you also add in the IP numbers
        that it should allow:
        
        ::
        
            VALID_IP_NUMBERS = [
                '127.0.0.1', '127.0.1.1', # Allow only localhost IP numbers
            ]
        
        Currently it will automatically allow the user with ID 1, this is the
        user that you create during the initial database creation in Django.
        
Keywords: django authn authentication ip
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved
