litellm/tests/unit/proxy/auth/host
Yujong Lee 8c1396edc5
Some checks are pending
Cost map pins recheck / rerun-cost-map-guard (push) Waiting to run
refactor(auth): end every JWT not mapped to a key as its identity
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-27 15:53:17 +00: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
test_answer.py
test_facts.py
test_identity.py refactor(auth): end every JWT not mapped to a key as its identity 2026-11-27 15:53:17 +00:00
test_python.py refactor(auth): end every JWT not mapped to a key as its identity 2026-11-27 15:53:17 +00:00