Metadata-Version: 2.4
Name: django-smart-auth-plus
Version: 0.1.0
Summary: Advanced Django Authentication package with MFA, JWT, Social Login, Role-based Permissions
Author: ProgrammerHasan
Classifier: Framework :: Django
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django>=3.2
Requires-Dist: PyJWT
Requires-Dist: requests
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# django-smart-auth-plus

Advanced Django Authentication package.

## Features
- Multi-factor authentication (SMS/Email OTP)
- Social login (Google, GitHub, Facebook)
- Role-based permissions
- JWT + Session support
- Password policies
- Audit logs

## Installation
```bash
pip install django-smart-auth-plus
```

## Usage

### User model
```python
from smart_auth_plus.models import SmartUser
```

### OTP
```python
from smart_auth_plus import generate_otp, send_sms, send_email
```

### Social Login
```python
from smart_auth_plus import GoogleAuth, GitHubAuth
```

### Role check
```python
from smart_auth_plus import has_role
```
