public SamlService(
     IHttpRedirectBinding httpRedirectBinding,
     IHttpArtifactBinding httpArtifactBinding,
     ISaml2MessageFactory saml2MessageFactory,
     ICertificateProvider certificateProvider,
     ISamlProvider samlProvider,
     ISaml2Validator saml2Validator,
     Saml2Configuration saml2Configuration)
 {
     _httpRedirectBinding           = httpRedirectBinding;
     _httpArtifactBinding           = httpArtifactBinding;
     _saml2MessageFactory           = saml2MessageFactory;
     _certificateProvider           = certificateProvider;
     _samlProvider                  = samlProvider;
     _saml2Validator                = saml2Validator;
     _saml2Configuration            = saml2Configuration;
     _identityProviderConfiguration = saml2Configuration.IdentityProviderConfiguration;
     _serviceProviderConfiguration  = saml2Configuration.ServiceProviderConfiguration;
 }