Crate googauth_lib[][src]


A configuration file that saves the information necessary to fetch tokens and to be able to refresh said tokens when needed.



Given an optional config_file::Token and a config_file::ConfigFile, check if it’s valid and potentially refresh it if it is not.

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