feat(types): add token_response_metadata to MCPOAuthUserCredentialRequest

This commit is contained in:
Ishaan Jaffer 2026-04-09 17:41:42 -07:00
parent 5147ef10ec
commit a97c62a943
No known key found for this signature in database

View file

@ -1332,6 +1332,9 @@ class MCPOAuthUserCredentialRequest(LiteLLMPydanticObjectBase):
refresh_token: Optional[str] = None
expires_in: Optional[int] = None # seconds until expiry
scopes: Optional[List[str]] = None
# Extra fields from the token response (e.g. Slack's enterprise_id, team_id).
# These are checked against the server's token_validation rules.
token_response_metadata: Optional[Dict[str, Any]] = None
class MCPOAuthUserCredentialStatus(LiteLLMPydanticObjectBase):