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

Method start_oauth

tests/test_registration_engine.py:98–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 self.callback_calls = []
97
98 def start_oauth(self):
99 self.start_calls += 1
100 return OAuthStart(
101 auth_url=f"https://auth.example.test/flow/{self.start_calls}",
102 state=f"state-{self.start_calls}",
103 code_verifier=f"verifier-{self.start_calls}",
104 redirect_uri="http://localhost:1455/auth/callback",
105 )
106
107 def handle_callback(self, callback_url, expected_state, code_verifier):
108 self.callback_calls.append({

Callers

nothing calls this directly

Calls 1

OAuthStartClass · 0.90

Tested by

no test coverage detected