Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

494 B
Raw Blame
from pydantic import BaseModel, Field

from core.entities.provider_entities import ProviderConfig


class OAuthSchema(BaseModel):
    """
    OAuth schema
    """

    client_schema: list[ProviderConfig] = Field(
        default_factory=list,
        description="client schema like client_id, client_secret, etc.",
    )

    credentials_schema: list[ProviderConfig] = Field(
        default_factory=list,
        description="credentials schema like access_token, refresh_token, etc.",
    )