Refactor authorization_code assignment in types.py

This commit is contained in:
tin-berri 2026-06-17 14:17:16 -07:00 • committed by Tin Chi Lo
parent d121a72f30
commit 957bed43ac

View file

@ -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)