"""Middlewares for FastAPI applications.

This module provides middleware components for credential extraction,
validation, and other common HTTP concerns.
"""

from hezor_common.transfer.middlewares.credential_middleware import (
    CredentialMiddleware,
    get_credentials,
    get_meta_info,
    require_api_key,
    require_credentials,
    require_meta_info,
)

__all__ = [
    "CredentialMiddleware",
    "require_api_key",
    "require_meta_info",
    "require_credentials",
    "get_meta_info",
    "get_credentials",
]
