c72be74727
- 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
28 lines
729 B
Python
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",
|
|
]
|