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.

446 B
Raw Blame
"""Framework-neutral contracts shared by authentication use cases."""

from dataclasses import dataclass


@dataclass(frozen=True, slots=True)
class StoredAuthenticationToken:
    email: str | None
    code: str | None
    phase: str | None = None


@dataclass(frozen=True, slots=True)
class WebAppSessionRecord:
    end_user_session_id: str


@dataclass(frozen=True, slots=True)
class WebLoginStatus:
    logged_in: bool
    app_logged_in: bool