feat(oauth): enhance OAuth client handling and add custom client support

This commit is contained in:
Harry
2025-07-02 20:19:04 +08:00
parent 6ef1e017df
commit 988a76066d
3 changed files with 152 additions and 60 deletions

View File

@ -85,4 +85,7 @@ class ToolProviderCredentialApiEntity(BaseModel):
class ToolProviderCredentialInfoApiEntity(BaseModel):
supported_credential_types: list[str] = Field(description="The supported credential types of the provider")
credentials: list[ToolProviderCredentialApiEntity] = Field(description="The credentials of the provider")
is_oauth_custom_client_enabled: bool = Field(
default=False, description="Whether the OAuth custom client is enabled for the provider"
)
credentials: list[ToolProviderCredentialApiEntity] = Field(description="The credentials of the provider")