17 lines
361 B
Python
17 lines
361 B
Python
from fastapi import APIRouter, HTTPException
|
|
|
|
users = [] # In-memory storage
|
|
|
|
router = APIRouter()
|
|
|
|
@router.post("/logout")
|
|
async def logout_demo():
|
|
"""Demo logout endpoint"""
|
|
return {
|
|
"message": "Logout successful",
|
|
"session": "terminated",
|
|
"features": {
|
|
"rate_limit": 0,
|
|
"expires_in": 0
|
|
}
|
|
} |