briga-core-api / app /utils /__init__.py
yabeskn's picture
feat: sync briga-backend — 2026 fallback chain (Gemini->OpenRouter :free->Groq), per-agent tier override, supabase JWT auth, agents router, retry columns
3a006a3 verified
Raw History Blame Contribute Delete
629 Bytes
"""Utility modules — security, error handling, helpers."""
from app.utils.security import (
create_access_token,
decode_access_token,
verify_supabase_token,
hash_legacy_gas_password,
hash_password,
rate_limiter,
verify_password,
)
from app.utils.errors import (
AppError,
ErrorCode,
error_response,
raise_error,
)
__all__ = [
"hash_password",
"verify_password",
"hash_legacy_gas_password",
"create_access_token",
"decode_access_token",
"verify_supabase_token",
"rate_limiter",
"AppError",
"ErrorCode",
"error_response",
"raise_error",
]