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

Method token_path

src/oauth/storage.rs:28–30  ·  view source on GitHub ↗
(&self, provider_id: &str)

Source from the content-addressed store, hash-verified

26 }
27
28 fn token_path(&self, provider_id: &str) -> PathBuf {
29 self.dir.join(format!("{provider_id}.json"))
30 }
31
32 /// Save tokens for a provider, creating the directory if needed.
33 pub fn save(&self, provider_id: &str, tokens: &OAuthTokens) -> Result<(), std::io::Error> {

Callers 3

saveMethod · 0.80
loadMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected