mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Refactor authorization_code assignment in types.py
This commit is contained in:
parent
d121a72f30
commit
957bed43ac
1 changed files with 1 additions and 3 deletions
|
|
@ -45,9 +45,7 @@ class AuthSpecKind(str, Enum):
|
|||
scheme is a parameter the arm carries, not its own mode.
|
||||
"""
|
||||
|
||||
authorization_code = (
|
||||
"authorization_code" # per-user 3LO; gateway is the OAuth client
|
||||
)
|
||||
authorization_code = "authorization_code" # per-user 3LO; gateway is the OAuth client
|
||||
client_credentials = "client_credentials" # gateway service account (M2M)
|
||||
token_exchange = "token_exchange" # RFC 8693 on-behalf-of
|
||||
api_key = "api_key" # static header, any scheme (BYOK = per-user-seeded source)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue