MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / __init__

Method __init__

src/core/anyauto/register_flow.py:24–29  ·  view source on GitHub ↗
(self, email_service, email: str, email_id: Optional[str], log_fn: Callable[[str], None])

Source from the content-addressed store, hash-verified

22 """将 codex-console 邮箱服务适配成 any-auto-register 预期接口。"""
23
24 def __init__(self, email_service, email: str, email_id: Optional[str], log_fn: Callable[[str], None]):
25 self.es = email_service
26 self.email = email
27 self.email_id = email_id
28 self.log_fn = log_fn or (lambda _msg: None)
29 self._used_codes: set[str] = set()
30
31 def wait_for_verification_code(self, email, timeout=60, otp_sent_at=None, exclude_codes=None):
32 exclude = set(exclude_codes or [])

Callers

nothing calls this directly

Calls 1

setFunction · 0.85

Tested by

no test coverage detected