pub fn store_account_token( state: &Path, name: &str, token: &str, ) -> Result<PathBuf>
Writes token for name under state, readable by this user alone, and returns the file’s path.
token
name
state