""" Authentication configuration for notification service """ from shared.auth.jwt_handler import JWTHandler from shared.auth.decorators import require_auth, require_role from app.core.config import settings # Initialize JWT handler jwt_handler = JWTHandler( secret_key=settings.JWT_SECRET_KEY, algorithm=settings.JWT_ALGORITHM, access_token_expire_minutes=settings.JWT_ACCESS_TOKEN_EXPIRE_MINUTES ) # Export commonly used functions verify_token = jwt_handler.verify_token create_access_token = jwt_handler.create_access_token get_current_user = jwt_handler.get_current_user # Export decorators __all__ = ['verify_token', 'create_access_token', 'get_current_user', 'require_auth', 'require_role']