Fastapi Auth Gating Composable Dependencies

Implement FastAPI route protection with composable dependency injection. Layer JWT auth into get_current_user → require_active_user → require_verified_email, where each wrapper adds one constraint and passes the User object through. Use when building or reviewing a FastAPI app that needs tiered route access (authenticated / active / verified), or when code review asks to \"add auth gating\" to existing routes. Use when this capability is needed.

tomevault-io fb0cc88 2 files · 9.2 KB Updated

File contents

tomevault-io/skills-registry/tree/main/ruskibeats--t1d--fastapi-auth-gating-composable-dependencies commit fb0cc8804e

Frequently asked questions

npx skillmds@latest add tomevault-io/fastapi-auth-gating-composable-dependencies