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

Class AcquiredToken

crates/openshell-core/src/grpc_client.rs:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77#[derive(Debug)]
78struct AcquiredToken {
79 token: String,
80 refresh_mode: RefreshMode,
81}
82
83fn install_token_slot(token: &str) -> Result<TokenSlot> {
84 let bearer = AsciiMetadataValue::try_from(format!("Bearer {token}"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected