示例#1
0
 public SamlController(ISamlXMLSerializer authnRequestXMLSerializer, ISamlService samlService)
 {
     this.authnRequestXMLSerializer = authnRequestXMLSerializer;
     this.samlService              = samlService;
     this.certificateService       = new CertificateService();
     xmlSignatureValidationService = new XmlSignatureValidationService();
 }
 public Saml2Handler(
     IOptionsMonitor <Saml2Options> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     ISamlService samlService,
     IHttpRedirectBinding httpRedirectBinding,
     IHttpArtifactBinding httpArtifactBinding,
     ISaml2ClaimFactory claimFactory)
     : base(options, logger, encoder, clock)
 {
     _logger              = logger.CreateLogger(typeof(Saml2Handler));
     _samlService         = samlService;
     _httpRedirectBinding = httpRedirectBinding;
     _httpArtifactBinding = httpArtifactBinding;
     _claimFactory        = claimFactory;
 }
示例#3
0
 public Saml2Handler(
     IOptionsMonitor <Saml2Options> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     IHttpRedirectBinding httpRedirectBinding,
     IHttpArtifactBinding httpArtifactBinding,
     ISessionStore sessionStore,
     ISamlService samlService,
     IConfigurationProvider configurationProvider)
     : base(options, logger, encoder, clock)
 {
     _logger = logger.CreateLogger(typeof(Saml2Handler));
     _httpRedirectBinding   = httpRedirectBinding;
     _httpArtifactBinding   = httpArtifactBinding;
     _sessionStore          = sessionStore;
     _samlService           = samlService;
     _configurationProvider = configurationProvider;
 }