Crate googauth_lib[][src]

Structs

ConfigFile

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

Token

Enums

LibError

Functions

check_token

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

get_access_token_from_config

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

google_login
refresh_google_login