Skip to main content

save_oauth_token

Function save_oauth_token 

Source
pub fn save_oauth_token(token: &OpenRouterToken) -> Result<()>
Expand description

Save an OAuth token to encrypted storage using the default mode.

Defaults to Keyring on macOS, falls back to file-based storage on other platforms or when keyring is unavailable.