authenticate method
Implementation
Future<AutoRefreshingAuthClient> authenticate(
CredentialsConfig config, http.Client httpClient) async {
final storedCredentials = await _readCredentials(config);
if (storedCredentials != null) {
return autoRefreshingClient(
ClientId(config.clientId, config.clientSecret),
storedCredentials,
httpClient);
}
return await _requestUserConsentedClient(config, httpClient);
}