signInWithPopup method
Authenticates a Firebase client using a popup-based OAuth authentication flow.
If succeeds, returns the signed in user along with the provider's credential.
This method is only available on web based platforms.
Implementation
Future<UserCredential> signInWithPopup(AuthProvider provider) async {
try {
return UserCredential._(this, await _delegate.signInWithPopup(provider));
} on FirebaseAuthMultiFactorExceptionPlatform catch (e) {
throw FirebaseAuthMultiFactorException._(this, e);
} catch (e) {
rethrow;
}
}