16 lines
351 B
Python
16 lines
351 B
Python
from fastapi import APIRouter, HTTPException
|
|
|
|
router = APIRouter()
|
|
|
|
@router.post("/LOGOUT")
|
|
async def logout_demo():
|
|
"""Demo logout endpoint"""
|
|
return {
|
|
"message": "Logout successful",
|
|
"method": "POST",
|
|
"_verb": "post",
|
|
"features": {
|
|
"rate_limit": 100,
|
|
"expires_in": 3600
|
|
}
|
|
} |