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

Function google_token_url

crates/openshell-server/src/provider_refresh.rs:655–661  ·  view source on GitHub ↗
(state: &StoredProviderCredentialRefreshState)

Source from the content-addressed store, hash-verified

653}
654
655fn google_token_url(state: &StoredProviderCredentialRefreshState) -> String {
656 if state.token_url.trim().is_empty() {
657 "https://oauth2.googleapis.com/token".to_string()
658 } else {
659 state.token_url.clone()
660 }
661}
662
663fn required_material(material: &HashMap<String, String>, key: &str) -> Result<String, Status> {
664 material_value(material, &[key])

Callers 1

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected