Metadata-Version: 2.1
Name: django-auth-backend-pam
Version: 0.1.0
Summary: Django pam auth
Home-page: https://github.com/dcopm999/django-auth-backend-pam
Author: Pavel Tanchev
Author-email: dcopm999@gmail.com
License: MIT
Keywords: django-auth-backend-pam
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 2.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
License-File: LICENSE
License-File: AUTHORS.rst

=====================================
Django authorization backend with pam
=====================================

.. image:: https://badge.fury.io/py/django-auth-backend-pam.svg
    :target: https://badge.fury.io/py/django-auth-backend-pam

.. image:: https://travis-ci.org/dcopm999/django-auth-backend-pam.svg?branch=master
    :target: https://travis-ci.org/dcopm999/django-auth-backend-pam

.. image:: https://codecov.io/gh/dcopm999/django-auth-backend-pam/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/dcopm999/django-auth-backend-pam

Django pam auth

Documentation
-------------

The full documentation is at https://django-auth-backend-pam.readthedocs.io.

Quickstart
----------

Install Django authorization backend with pam::

    pip install django-auth-backend-pam

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        "auth_backend_pam",
        ...
    )

Add PAM_USERS settings

.. code-block:: python

    PAM_USERS = {
        "is_active": True,
        "is_staff" : True,
        "is_superuser": True,
    }


And add AUTHENTICATION_BACKENDS settings

.. code-block:: python

    AUTHENTICATION_BACKENDS = [
        ...
        "auth_backend_pam.backends.PamBackend",
    ]


Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox


Development commands
---------------------

::

    pip install -r requirements_dev.txt
    invoke -l


Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2022-03-04)
++++++++++++++++++

* First release on PyPI.


