pub async fn start_callback_server(
expected_state: String,
port: u16,
) -> Result<(Receiver<CallbackResult>, CallbackServerHandle), String>Expand description
Start a temporary HTTP server on localhost that captures the OAuth callback. Returns a oneshot receiver that resolves with the auth code + state.