public override HttpWebRequest CreateLoginRequest(LoginParameters loginParameters)
        {
            var loginToUrl = string.Format("{0}/Account/SamlLogin/{1}/{2}/{3}",
                BaseUrl,
                loginParameters.AgencyId,
                loginParameters.BusinessIdentityCode,
                loginParameters.Service);

            return CreateRequest("GET", loginToUrl, null);
        }
 public abstract HttpWebRequest CreateLoginRequest(LoginParameters loginParameters);
 public override HttpWebRequest CreateLoginRequest(LoginParameters loginParameters)
 {
     var loginToUrl = $"{BaseUrl}/Account/Login/{loginParameters.BusinessIdentityCode}";
     return CreateRequest("GET", loginToUrl, new { loginParameters.Service });
 }
 public override HttpWebRequest CreateLoginRequest(LoginParameters loginParameters)
 {
     var loginToUrl = $"{BaseUrl}/Account/Login";
     return CreateRequest("POST", loginToUrl, new { loginParameters.UserName, loginParameters.Password });
 }