Files
wikijs-sdk-python/wikijs/auth/__init__.py
l3ocho 29001b02a5 Complete Task 1.3 - Authentication System Implementation
 Implemented comprehensive authentication system:
- Abstract AuthHandler base class with pluggable architecture
- APIKeyAuth for API key authentication (string auto-conversion)
- JWTAuth for JWT token authentication with expiration handling
- NoAuth for testing and public instances
- Full integration with WikiJSClient for automatic header management

🔧 Fixed packaging issues:
- Updated pyproject.toml with required project metadata fields
- Fixed utility function exports in utils/__init__.py
- Package now installs correctly in virtual environments

🧪 Validated with comprehensive tests:
- All authentication methods working correctly
- Proper error handling for invalid credentials
- Type validation and security features

📊 Progress: Phase 1 MVP Development now 60% complete
🎯 Next: Task 1.4 - Pages API implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:06:11 -04:00

21 lines
485 B
Python

"""Authentication module for wikijs-python-sdk.
This module contains authentication handlers for different
authentication methods supported by Wiki.js.
Supported authentication methods:
- API key authentication (APIKeyAuth)
- JWT token authentication (JWTAuth)
- No authentication for testing (NoAuth)
"""
from .base import AuthHandler, NoAuth
from .api_key import APIKeyAuth
from .jwt import JWTAuth
__all__ = [
"AuthHandler",
"NoAuth",
"APIKeyAuth",
"JWTAuth",
]