"""a2a-passport -- portable, pluggable identity for Agent2Agent (A2A) traffic.

Public API surface. Everything an app team needs day-to-day is re-exported
here; internals (jwt_verifier module layout, etc.) can move without breaking
imports written against this package.
"""
from __future__ import annotations

from a2a_passport.auth.middleware import PassportAuthMiddleware
from a2a_passport.auth.oauth2 import OAuth2ClientCredentialsProvider
from a2a_passport.auth.verifiers import JWKSVerifier, SharedSecretVerifier, TokenVerifier
from a2a_passport.client import RemoteAgentClient
from a2a_passport.exceptions import (
    A2APassportError,
    TokenAcquisitionError,
    TokenVerificationError,
)
from a2a_passport.server import build_agent_app

__version__ = "0.1.0"

__all__ = [
    "__version__",
    "A2APassportError",
    "TokenAcquisitionError",
    "TokenVerificationError",
    "OAuth2ClientCredentialsProvider",
    "TokenVerifier",
    "SharedSecretVerifier",
    "JWKSVerifier",
    "PassportAuthMiddleware",
    "RemoteAgentClient",
    "build_agent_app",
]
