isRecaptchaEnterpriseEnabledForAction method

  1. @protected
  2. @visibleForTesting
Future<bool> isRecaptchaEnterpriseEnabledForAction(
  1. FirebaseAuth auth,
  2. String action
)

Implementation

@protected
@visibleForTesting
Future<bool> isRecaptchaEnterpriseEnabledForAction(
  FirebaseAuth auth,
  String action,
) async {
  if (auth is FirebaseAuthProtectedMethods) {
    return auth.isRecaptchaEnterpriseEnabledForAction(action);
  }
  throw UnimplementedError();
}