"""Conduit Auth — Shared Entra ID authentication for the Conduit suite.

Usage (FastAPI):
    from conduit_auth import AuthSettings
    from conduit_auth.fastapi import AuthMiddleware, get_current_user

    settings = AuthSettings()
    app.add_middleware(AuthMiddleware, settings=settings)

Usage (Flask):
    from conduit_auth import AuthSettings
    from conduit_auth.flask import init_auth, get_current_user

    settings = AuthSettings()
    init_auth(app, settings)
"""

from .config import AuthSettings
from .exceptions import AuthenticationError, TokenExpiredError
from .models import AuthenticatedUser

__all__ = [
    "AuthSettings",
    "AuthenticatedUser",
    "AuthenticationError",
    "TokenExpiredError",
]
