(token_id: Optional[int])
| 1034 | |
| 1035 | @staticmethod |
| 1036 | def _normalize_token_key(token_id: Optional[int]) -> Optional[int]: |
| 1037 | try: |
| 1038 | normalized = int(token_id or 0) |
| 1039 | except Exception: |
| 1040 | normalized = 0 |
| 1041 | return normalized if normalized > 0 else None |
| 1042 | |
| 1043 | @classmethod |
| 1044 | def _build_token_session_cookie_targets(cls, session_token: str) -> List[Dict[str, Any]]: |
no outgoing calls
no test coverage detected