litellm/tests/unit/proxy/auth/host
yujonglee 00bbf2a9fc
refactor(auth): end every JWT not mapped to a key as its identity (#54098)
A JWT that acts as itself now leaves the auth core as `JwtIdentity`, and Python
builds its UserAPIKeyAuth once after the core returns, as it already did for a
proxy admin. The project read and the per-model user budget check that
`finish_jwt` hid become core-driven steps in the same order: the existing
`project` read on the auto-registered key, then a new `jwt_user_model_budget`
step. A key auto-registered for a JWT that skips the key checks ends as its own
`AutoRegisteredJwt` identity with the key row and its project.

`AuthHost::finish_jwt`, `FinishedJwt`, `Identity::FinishedJwt`, the bridge's
finish steps and the Python finish methods are gone.
2026-11-29 16:44:49 +09:00
..
steps refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
__init__.py feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
test_answer.py feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
test_facts.py feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
test_identity.py refactor(auth): end every JWT not mapped to a key as its identity (#54098) 2026-11-29 16:44:49 +09:00
test_python.py refactor(auth): end every JWT not mapped to a key as its identity (#54098) 2026-11-29 16:44:49 +09:00