- auth/users.py: User store with Argon2id password hashing - auth/sessions.py: Token-based session management with expiry - server/app.py: aiohttp server with auth middleware and WebSocket - console/client.py: SSH-style login console client Server endpoints: /auth/login, /auth/logout, /auth/me, /health, /ws Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
428 B
Python
19 lines
428 B
Python
"""
|
|
Authentication and authorization for xml-pipeline.
|
|
|
|
Provides:
|
|
- UserStore: User management with Argon2id password hashing
|
|
- SessionManager: Token-based session management
|
|
"""
|
|
|
|
from .users import User, UserStore, get_user_store
|
|
from .sessions import Session, SessionManager, get_session_manager
|
|
|
|
__all__ = [
|
|
"User",
|
|
"UserStore",
|
|
"get_user_store",
|
|
"Session",
|
|
"SessionManager",
|
|
"get_session_manager",
|
|
]
|