Metadata-Version: 2.4
Name: drfauthshield
Version: 0.0.1
Summary: A Django REST Framework package offering robust JWT authentication with secure, flexible endpoints.
Project-URL: Homepage, https://github.com/shaileshpandit141/drfauthshield
Project-URL: Documentation, https://shaileshpandit141.github.io/drfauthshield
Project-URL: Source, https://github.com/shaileshpandit141/drfauthshield
Project-URL: Issues, https://github.com/shaileshpandit141/drfauthshield/issues
Project-URL: License, https://github.com/shaileshpandit141/drfauthshield/blob/main/LICENSE
Author-email: Shailesh Pandit <shaileshpandit141@gmail.com>
License: # MIT License
        
        Copyright (c) 2025 Shailesh Pandit
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License-File: LICENSE
Keywords: api-auth,auth,authentication,authorization,django,django-rest-framework,drf,drfauthshield,json-web-token,jwt,rest-api,security,token,token-authentication
Classifier: Development Status :: 1 - Planning
Classifier: Framework :: Django
Classifier: Framework :: Django :: 5.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.13
Provides-Extra: dev
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# 🛡️ drfauthshield

[![PyPI version](https://img.shields.io/pypi/v/drfauthshield.svg)](https://pypi.org/project/drfauthshield/)
[![Python versions](https://img.shields.io/pypi/pyversions/drfauthshield.svg)](https://pypi.org/project/drfauthshield/)
[![License](https://img.shields.io/pypi/l/drfauthshield.svg)](https://github.com/shaileshpandit141/drfauthshield/blob/main/LICENSE)


🔒 **Secure & customizable JWT authentication for Django REST Framework.**  
Production-ready endpoints for signin, registration, token refresh, and more.  

> ⚠️ **Project Status**: This package is currently **under planning and active development**.

## 🚀 Features (Planned)

- JWT-based authentication built on top of **Django REST Framework**
- Endpoints for:
  - User registration
  - Signin (obtain token)
  - Token refresh / rotation
  - Signout / token blacklist
- Extensible serializers & views for auto switch as for USERNAME_FIELD
- Security-first design with best practices
- Django-friendly settings for easy configuration

## 📦 Installation (Coming Soon)

The package is not yet published on **PyPI**.  
Once available, you’ll be able to install it via:

```bash
uv add drfauthshield
```

or

```bash
pip install drfauthshield
```

## 🤝 Contributing

Contributions are welcome! Please open an issue or PR for improvements.

## 📜 License

MIT License — See [LICENSE](LICENSE).

## 👤 Author

Created by **Shailesh Pandit**
📧 [shaileshpandit141@gmail.com](mailto:shaileshpandit141@gmail.com)
