Function googauth_lib::check_token [−][src]
pub async fn check_token(
token: Option<Token>,
config: &mut ConfigFile,
config_base_path: &ConfigBasePath
) -> Result<(), LibError>
Expand description
Given an optional config_file::Token and a config_file::ConfigFile, check if it’s valid and potentially refresh it if it is not.