public SamlService( IHttpContextAccessor contextAccessor, ISamlMessageFactory samlMessageFactory, IHttpArtifactBinding httpArtifactBinding, IHttpRedirectBinding httpRedirectBinding, ISamlXmlProvider xmlProvider, ISamlValidator validator, ISamlClaimFactory claimFactory, ILogger <SamlService> logger, IConfigurationProvider configurationProvider) { _contextAccessor = contextAccessor; _samlMessageFactory = samlMessageFactory; _httpArtifactBinding = httpArtifactBinding; _httpRedirectBinding = httpRedirectBinding; _xmlProvider = xmlProvider; _validator = validator; _claimFactory = claimFactory; _logger = logger; _configurationProvider = configurationProvider; }
protected OutgoingSamlMessageHandler(ISamlMessageFactory <TMessageContext> messageFactory, IEnumerable <ISamlBindingStrategy> bindings) { MessageFactory = messageFactory ?? throw new ArgumentNullException(nameof(messageFactory)); Bindings = bindings ?? throw new ArgumentNullException(nameof(bindings)); }