AuthProvider constructor

AuthProvider()

Implementation

AuthProvider() {
  logger.d("Initialized Firebase Multi Factor Auth.");
  auth = FirebaseAuth.instance;
  EncryptedStorage().is2FactorAuthenticated().then((isAuthenticated) {
    _is2FactorAuthenticated = isAuthenticated;
    notifyListeners();
  });
}