Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }