litellm/tests/unit/llms/base_llm/auth
mrinal-berri 5c69f58d51
feat(auth): support OAuth client credentials for inference providers (#54101)
* feat(auth): support OAuth client credentials for inference providers

Co-authored-by: Ali Khan <alirazakhan.offi@gmail.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(auth): type the provider OAuth integration boundaries

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(auth): honor transport settings during provider OAuth

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(auth): use the shared clock for OAuth expiry

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(auth): cache OAuth tokens without an expiry

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(auth): apply provider OAuth guard to named credentials

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(auth): skip caching provider OAuth tokens without expiry

---------

Co-authored-by: Ali Khan <alirazakhan.offi@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-24 14:21:47 -05:00
..
__init__.py
test_client_credentials.py
test_identity_source.py
test_internal_issuer.py
test_jwt_signing.py ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
test_provider_oauth.py feat(auth): support OAuth client credentials for inference providers (#54101) 2026-11-24 14:21:47 -05:00
test_shared_token_store.py
test_token_exchange.py