Function googauth_lib::get_access_token_from_config[][src]

pub fn get_access_token_from_config(
    config_name: &str
) -> Result<Token, LibError>

Given a config name, that has been previously saved by config_file::ConfigFile, fetch the access token, potentially refreshing it if needed.