onAuthenticationSucceeded method

dynamic onAuthenticationSucceeded(
  1. int type
)

Implementation

onAuthenticationSucceeded(int type) {
  onVibration();

  BootpayPrint("onAuthenticationSucceeded : $type, ${widget.c.requestType.value}");

  if(type == BioConstants.REQUEST_ADD_BIOMETRIC) {
    requestAddBioData(BioConstants.REQUEST_ADD_BIOMETRIC);
  } else if(type == BioConstants.REQUEST_BIOAUTH_FOR_BIO_FOR_PAY) {
    requestAddBioData(BioConstants.REQUEST_ADD_BIOMETRIC_FOR_PAY);
  } else if(type == BioConstants.REQUEST_BIO_FOR_PAY) {
    requestBioForPay();
  }
}