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

Function oidc_token_path

crates/openshell-bootstrap/src/oidc_token.rs:38–40  ·  view source on GitHub ↗

Path to the stored OIDC token bundle for a gateway.

(gateway_name: &str)

Source from the content-addressed store, hash-verified

36
37/// Path to the stored OIDC token bundle for a gateway.
38pub fn oidc_token_path(gateway_name: &str) -> Result<PathBuf> {
39 Ok(user_gateway_dir(gateway_name)?.join("oidc_token.json"))
40}
41
42/// Store an OIDC token bundle for a gateway.
43pub fn store_oidc_token(gateway_name: &str, bundle: &OidcTokenBundle) -> Result<()> {

Callers 3

store_oidc_tokenFunction · 0.85
load_oidc_tokenFunction · 0.85
remove_oidc_tokenFunction · 0.85

Calls 1

user_gateway_dirFunction · 0.85

Tested by

no test coverage detected