from __future__ import annotations from typing import Protocol, runtime_checkable @runtime_checkable class ChannelAuthProtocol(Protocol): async def login(self) -> bool: ... async def verify_session(self) -> bool: ... async def refresh_credentials(self) -> bool: ... @property def credential_status(self) -> str: ...