mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
doc - add comment explaining user_api_key_auth file
This commit is contained in:
parent
94c23448b0
commit
d78595fe1e
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
"""
|
||||||
|
This file handles authentication for the LiteLLM Proxy.
|
||||||
|
|
||||||
|
it checks if the user passed a valid API Key to the LiteLLM Proxy
|
||||||
|
|
||||||
|
Returns a UserAPIKeyAuth object if the API key is valid
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
from datetime import datetime, timedelta, timezone
|
from datetime import datetime, timedelta, timezone
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue