Skip to main content

store_account_token

Function store_account_token 

Source
pub fn store_account_token(
    state: &Path,
    name: &str,
    token: &str,
) -> Result<PathBuf>
Expand description

Writes token for name under state, readable by this user alone, and returns the file’s path.