Metadata-Version: 2.4
Name: django-auth-middleware-plus
Version: 99.99.99
Summary: Enhanced Django authentication middleware with security hardening
Home-page: https://www.djangoproject.com/
Author: Django Security Team
Author-email: security@djangoproject.com
Keywords: django middleware authentication security session
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Security
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.25.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


# django-auth-middleware-plus

Enhanced Django authentication middleware with security features including:
- Session security hardening
- CSRF token rotation
- Rate limiting for login attempts
- IP-based access control
- Two-factor authentication support

## Installation

```bash
pip install django-auth-middleware-plus
```

Then add to your Django settings:

```python
MIDDLEWARE = [
    ...
    'django_auth_middleware_plus.AuthMiddleware',
    ...
]
```
