Skip to main content

save_credentials

Function save_credentials 

Source
pub fn save_credentials(
    data_dir: &Path,
    creds: &Credentials,
) -> Result<(), String>
Expand description

Write credentials readable only by this user. A token in a world-readable file is a token you have given away.