Files
lijiaoqiao/llm-gateway-competitors/litellm-wheel-src/litellm/proxy_auth/__init__.py
2026-03-26 16:04:46 +08:00

31 lines
663 B
Python

"""
Proxy Authentication module for LiteLLM SDK.
This module provides OAuth2/JWT token management for authenticating
with LiteLLM Proxy or any OAuth2-protected endpoint.
Usage:
from litellm.proxy_auth import AzureADCredential, ProxyAuthHandler
litellm.proxy_auth = ProxyAuthHandler(
credential=AzureADCredential(),
scope="api://my-proxy/.default"
)
"""
from .credentials import (
AccessToken,
TokenCredential,
AzureADCredential,
GenericOAuth2Credential,
ProxyAuthHandler,
)
__all__ = [
"AccessToken",
"TokenCredential",
"AzureADCredential",
"GenericOAuth2Credential",
"ProxyAuthHandler",
]