public void VerifyClosePin(UserAccount user, string pin) { SecurityVerify.Verify(new PinVerifier(), SystemPlatform.FiiiPay, user.Id.ToString(), user.Pin, pin); var model = new CloseGoogleAuth { PinVerified = true }; SecurityVerify.SetModel(new CustomVerifier("CloseGoogleAuth"), SystemPlatform.FiiiPay, user.Id.ToString(), model); }
public void VerifyClosePin(Guid merchantId, string pin) { var merchant = new MerchantAccountDAC().GetById(merchantId); SecurityVerify.Verify(new PinVerifier(), SystemPlatform.FiiiPOS, merchant.Id.ToString(), merchant.PIN, pin); var model = new CloseGoogleAuth { PinVerified = true }; SecurityVerify.SetModel(new CustomVerifier("CloseGoogleAuth"), SystemPlatform.FiiiPOS, merchant.Id.ToString(), model); }