BankScaApproveCallback typedef

BankScaApproveCallback = Future<bool> Function(BankScaMethod method, String? pin)

Called when the customer completes an authentication attempt.

pin is non-null only for BankScaMethod.pin. Return true to approve, false to signal a failed verification (the sheet shakes and offers an alternate method).

Implementation

typedef BankScaApproveCallback = Future<bool> Function(
  BankScaMethod method,
  String? pin,
);