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

Function provider_refresh_strategy_name

crates/openshell-cli/src/run.rs:5439–5448  ·  view source on GitHub ↗
(strategy: ProviderCredentialRefreshStrategy)

Source from the content-addressed store, hash-verified

5437}
5438
5439fn provider_refresh_strategy_name(strategy: ProviderCredentialRefreshStrategy) -> &'static str {
5440 match strategy {
5441 ProviderCredentialRefreshStrategy::Static => "static",
5442 ProviderCredentialRefreshStrategy::External => "external",
5443 ProviderCredentialRefreshStrategy::Oauth2RefreshToken => "oauth2_refresh_token",
5444 ProviderCredentialRefreshStrategy::Oauth2ClientCredentials => "oauth2_client_credentials",
5445 ProviderCredentialRefreshStrategy::GoogleServiceAccountJwt => "google_service_account_jwt",
5446 ProviderCredentialRefreshStrategy::Unspecified => "unspecified",
5447 }
5448}
5449
5450fn load_profile_import_items(
5451 file: Option<&Path>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected