mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-20 14:42:28 +02:00
## Summary - Updated all auth docstring examples in `libs/sdk-py` to follow a **default-closed** pattern - Every example now first registers a global `@auth.on` handler that **denies** all requests, then adds resource/action-specific handlers to selectively **allow** access - Fixed inconsistencies (e.g., `@auth.on` vs `@my_auth.on`, sync vs async handlers) and made examples more realistic ## Test plan - [x] `make format` passes - [x] `make lint` passes - [x] Changes are docstring-only — no runtime behavior affected 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>