loginWithGoogle static method
Google OAuth - returns user data without saving
Implementation
static Future<Map<String, dynamic>> loginWithGoogle({
String? idToken,
String? code,
String? callbackPath,
}) async {
return GoogleProvider.authenticate(
idToken: idToken,
code: code,
callbackPath: callbackPath,
clientId: config.googleClientId,
clientSecret: config.googleClientSecret,
redirectBase: config.redirectBase,
);
}