"""Endpoints for authentication.""" from fastapi import APIRouter from app.core.common import Message router = APIRouter(prefix="/auth", tags=["auth"]) @router.post(path="/login") async def login_user() -> Message: """Start user session/token.""" return {"status": "healthy"} @router.post(path="/refresh") async def refresh_login_session() -> Message: """Refresh user login.""" return {"status": "healthy"} @router.post(path="/logout") async def logout_user() -> Message: """End user session/token.""" return {"status": "healthy"} @router.post(path="/invite/accept") async def accept_invite() -> Message: """Accept user invite.""" return {"status": "healthy"} @router.post(path="/password-reset/request") async def request_password_reset() -> Message: """Initiate password request.""" return {"status": "healthy"} @router.post(path="/password-reset/confirm") async def confirm_password_reset() -> Message: """Confirm password request.""" return {"status": "healthy"} @router.get(path="/{user_id}") async def retrieve_authenticated_user(user_id: str) -> Message: """Retrieve current authenticated user by id.""" return {"status": user_id}