pub fn get_valid_token() -> Result<String>
Get a valid access token, refreshing automatically if expired. Returns the access token string ready to use.