authenticate static method
Prompts the user for biometric authentication with localizedReason.
Implementation
static Future<bool> authenticate({
required String localizedReason,
bool useErrorDialogs = true,
}) async {
if (customAuthenticator != null) {
return customAuthenticator!(
localizedReason: localizedReason,
useErrorDialogs: useErrorDialogs,
);
}
// Default fallback: mock success
return true;
}