MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / CallbackServerState

Class CallbackServerState

crates/openshell-cli/src/auth.rs:230–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230struct CallbackServerState {
231 allowed_origin: Option<String>,
232 expected_code: String,
233 tx: Mutex<Option<oneshot::Sender<String>>>,
234}
235
236impl CallbackServerState {
237 fn take_sender(&self) -> Option<oneshot::Sender<String>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected