public void VerifyUnBindPin(UserAccount user, string pin) { SecurityVerify.Verify(new PinVerifier(), SystemPlatform.FiiiPay, user.Id.ToString(), user.Pin, pin); var model = new UnBindGoogleAuth { PinVerified = true }; SecurityVerify.SetModel(new CustomVerifier("UnBindGoogleAuth"), SystemPlatform.FiiiPay, user.Id.ToString(), model); }
public void VerifyUnBindPin(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 UnBindGoogleAuth { PinVerified = true }; SecurityVerify.SetModel(new CustomVerifier("UnBindGoogleAuth"), SystemPlatform.FiiiPOS, merchant.Id.ToString(), model); }