public virtual UrlProviderResult ValidateToken(String token, String fromUrl, DateTime dateTimeToVerify)
 {
     if (!VerifyRemoteUrl)
     {
         return(ValidateToken(token, dateTimeToVerify));
     }
     else if (fromUrl.ToLower().StartsWith(SenderUrl.ToLower()))
     {
         return(ValidateToken(token, dateTimeToVerify));
     }
     else
     {
         return(UrlProviderResult.InvalidToken);
     }
 }
 public virtual dtoMacUrlToken ValidateToken(List <dtoMacUrlUserAttribute> attributes, String fromUrl, String ipAddress, String proxyIpAddress)
 {
     if (!VerifyRemoteUrl || fromUrl.ToLower().StartsWith(SenderUrl.ToLower()))
     {
         return(ValidateToken(attributes, ipAddress, proxyIpAddress));
     }
     else
     {
         return new dtoMacUrlToken()
                {
                    Evaluation = new dtoMacUrlTokenEvaluation()
                    {
                        Result = UrlProviderResult.InvalidToken
                    }
                }
     };
 }