Vibe.Auth.Codex.CallbackServer (vibe v0.2.2)

Copy Markdown View Source

Local HTTP server for OAuth redirect callbacks.

Summary

Functions

start_link(state)

@spec start_link(String.t()) :: {:ok, pid()} | {:error, term()}

stop(pid)

@spec stop(pid()) :: true

wait_for_code(server, timeout)

@spec wait_for_code(pid(), timeout()) :: String.t() | nil