MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / logout

Function logout

backend/app/api/auth.py:179–182  ·  view source on GitHub ↗

Logout the current user.

(current_user: User = Depends(get_current_active_user))

Source from the content-addressed store, hash-verified

177
178@router.post("/logout")
179async def logout(current_user: User = Depends(get_current_active_user)):
180 """Logout the current user."""
181 # In a real app, you might want to blacklist the token
182 return {"message": "Successfully logged out"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected