public virtual bool VerifyAuthenticity(DwollaRedirect receivedRedirect) { this.ValidatorFactory.GetValidator <DwollaServerCheckoutApi>() .ValidateAndThrow(this); return(DwollaSignatureUtil.VerifySignature(this.AppSecret, receivedRedirect.Signature, receivedRedirect.CheckoutId, receivedRedirect.Amount)); }
public virtual bool VerifyAuthenticity( DwollaRedirect receivedRedirect ) { this.ValidatorFactory.GetValidator<DwollaServerCheckoutApi>() .ValidateAndThrow( this ); return DwollaSignatureUtil.VerifySignature( this.AppSecret, receivedRedirect.Signature, receivedRedirect.CheckoutId, receivedRedirect.Amount ); }