# Generated by smithplates HTTP codegen. Do not edit.
from typing import Annotated, Protocol  # noqa: F401

from generated.example.auth_api.app_services import AuthContext
from generated.example.auth_output import AuthOutput
from pydantic import Field  # noqa: F401


class AuthApiServiceProtocol(Protocol):
    async def optional(
        self,
        auth: AuthContext | None,
    ) -> AuthOutput: ...
    async def public(
        self,
    ) -> AuthOutput: ...
    async def required(
        self,
        auth: AuthContext,
    ) -> AuthOutput: ...
