MCPcopy Create free account
hub / github.com/clawshell/clawshell / needs_response_translation

Method needs_response_translation

src/oauth/mod.rs:448–458  ·  view source on GitHub ↗
(
        &self,
        provider_id: &str,
        original_path: &str,
    )

Source from the content-addressed store, hash-verified

446 }
447
448 pub fn needs_response_translation(
449 &self,
450 provider_id: &str,
451 original_path: &str,
452 ) -> Result<bool, OAuthError> {
453 let provider = self
454 .providers
455 .get(provider_id)
456 .ok_or_else(|| OAuthError::ProviderNotFound(provider_id.to_string()))?;
457 Ok(provider.needs_response_translation(original_path))
458 }
459
460 pub fn response_format(
461 &self,

Callers 1

forward_oauth_requestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected