Files
xiaoxia-saas/packages/domain/auth/__init__.py
T
Xiaoxia AI c72be74727
Deploy / Deploy Staging (push) Failing after 6s
Deploy / Deploy Production (push) Has been skipped
Tests / test (push) Failing after 7s
Tests / lint (push) Failing after 6s
feat(auth): add email service with SMTP support
- Implement EmailService class with configurable SMTP
- Support verification/password-reset/invitation email templates
- Support HTML and plain text fallback
- Support CC/BCC recipients
- Add 8 comprehensive unit tests with Mock SMTP (all passed)

Phase 4 Task 4/68 completed
2026-06-17 01:17:19 +08:00

28 lines
729 B
Python

"""认证模块"""
from packages.domain.auth.jwt_service import JWTService, JWTConfig, TokenType, jwt_service
from packages.domain.auth.password_hasher import (
PasswordHasher,
PasswordValidator,
password_hasher,
password_validator,
)
from packages.domain.auth.session_store import SessionStore, RedisConfig, session_store
from packages.domain.auth.email_service import EmailService, EmailConfig, email_service
__all__ = [
"JWTService",
"JWTConfig",
"TokenType",
"jwt_service",
"PasswordHasher",
"PasswordValidator",
"password_hasher",
"password_validator",
"SessionStore",
"RedisConfig",
"session_store",
"EmailService",
"EmailConfig",
"email_service",
]