Function googauth_lib::get_access_token_from_config [−][src]
pub async fn get_access_token_from_config(
config_name: &str,
config_base_path: &ConfigBasePath
) -> Result<Token, LibError>
Expand description
Given a config name, that has been previously saved by config_file::ConfigFile, fetch the access token, potentially refreshing it if needed.