Clean up token mapping when client disconnects. Args: token: The client token. sid: The Socket.IO session ID.
(self, token: str, sid: str)
| 91 | |
| 92 | @abstractmethod |
| 93 | async def disconnect_token(self, token: str, sid: str) -> None: |
| 94 | """Clean up token mapping when client disconnects. |
| 95 | |
| 96 | Args: |
| 97 | token: The client token. |
| 98 | sid: The Socket.IO session ID. |
| 99 | """ |
| 100 | |
| 101 | @classmethod |
| 102 | def create(cls) -> TokenManager: |
no outgoing calls