__all__ = [
    "AccountHttpMixin",
    "AccountService",
    "SecretVault",
    "hash_password",
    "token_hash",
    "verify_password",
]


def __getattr__(name: str):
    if name == "AccountHttpMixin":
        from .http import AccountHttpMixin

        return AccountHttpMixin
    if name == "AccountService":
        from .service import AccountService

        return AccountService
    if name in {"SecretVault", "hash_password", "token_hash", "verify_password"}:
        from . import security

        return getattr(security, name)
    raise AttributeError(name)
