Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Work-Fisher/code-claw
/ credentials_path
Function
credentials_path
claw-code/rust/crates/runtime/src/oauth.rs:258–260 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
256
}
257
258
pub fn credentials_path() -> io::Result<PathBuf> {
259
Ok(credentials_home_dir()?.join(
"credentials.json"
))
260
}
261
262
pub fn load_oauth_credentials() -> io::Result<Option<OAuthTokenSet>> {
263
let path = credentials_path()?;
Callers
4
load_oauth_credentials
Function · 0.85
save_oauth_credentials
Function · 0.85
clear_oauth_credentials
Function · 0.85
oauth_credentials_round_trip_and_clear_preserves_other_fields
Function · 0.85
Calls
1
credentials_home_dir
Function · 0.85
Tested by
1
oauth_credentials_round_trip_and_clear_preserves_other_fields
Function · 0.68