Metadata-Version: 1.1
Name: django-privacyidea-auth
Version: 0.3
Summary: Authenticate against a privacyIDEA server. (https://www.privacyidea.org/)
Home-page: https://www.tek2b.de/
Author: Jens Weber
Author-email: jweber@tek2b.de
License: BSD License
Description: Django privacyIDEA authentication backend
        =========================================
        
        Authenticate against a privacyIDEA server.
        (https://www.privacyidea.org/)
        
        Install
        -------
        
        ::
        
            virtualenv --python=python3.5 Django_python3.5
            source Django_python3.5/bin/activate
            pip install django-privacyidea-auth
        
        Or from github
        
        ::
        
            virtualenv --python=python3.5 Django_python3.5
            source Django_python3.5/bin/activate
            git clone https://github.com/jeweber/django-privacyidea-auth.git
            pip install django-privacyidea-auth/
        
        Quick start
        -----------
        
        Add the following to your project/settings.py:
        
        ::
        
            AUTHENTICATION_BACKENDS =  ('django.contrib.auth.backends.ModelBackend',
                                        'django_privacyidea_auth.privacyidea_auth.PrivacyIDEA', )
            PRIVACYIDEA = {
                'url' : 'https://privacyidea/validate/samlcheck',
                'timeout' : 5,
                'ssl_verify' : False,
                'create_user' : False,
                'update_attributes': True,
                'realm': None,
                'enforce_realm': False,
                }
        
        'url': url of privacyIDEA server to validate the user
        
        'timeout': validation timeout in seconds
        
        'ssl\_verify': certificate verification, set to True is strongly advised
        
        'create\_user': if set to True, the user in the django DB will be
        created, if PrivacyIDEA returns a successful authentication
        
        'update\_attributes': if set to True, the user attributes in the django
        DB will be updated, if privacyidea samlcheck returns user attributes
        
        'realm': if set, the realm of the user, who tries to authenticate. If
        the realm is None, the user is looked up in the default realm
        
        'enforce_realm': if set, login name must contains '@' too separates realm
        from the username
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.0
Classifier: Topic :: Internet
Classifier: Topic :: Security
Classifier: Topic :: System :: Systems Administration :: Authentication/Directory
Classifier: Topic :: Software Development :: Libraries
