litellm/tests/unit/_auth
Yujong Lee 05ac93f165 refactor(auth): extract credential selection into litellm._auth
Move scheme stripping, key-source precedence, websocket key selection,
hash_token and is_master_key into litellm/_auth as the interface the Rust
auth port will mirror. Authorization schemes now match case-insensitively
like FastAPI's HTTPBearer. Pass-through endpoint keys join the precedence
table instead of a separate fallback, and the dead custom-header helper
plus the duplicated hash_token and is_master_key bodies are gone
2026-10-26 15:33:56 -07:00
..
__init__.py refactor(auth): extract credential selection into litellm._auth 2026-10-26 15:33:56 -07:00
test_credential.py refactor(auth): extract credential selection into litellm._auth 2026-10-26 15:33:56 -07:00
test_key.py refactor(auth): extract credential selection into litellm._auth 2026-10-26 15:33:56 -07:00