public AcceptSsoEndpointMiddleware(
     Saml2pSerializer serializer,
     Saml2pCache cache,
     Saml2pPartnerProvider partners,
     Saml2pEncodingService encoder,
     IOptionsMonitor <Saml2pOptions> monitor,
     ILoggerFactory loggerFactory,
     RequestDelegate _) : base(serializer, cache, partners, encoder, monitor, loggerFactory)
 {
 }
 protected Saml2pEndpointMiddleware(Saml2pSerializer serializer, Saml2pCache cache, Saml2pPartnerProvider partners, Saml2pEncodingService encoder, IOptionsMonitor <Saml2pOptions> monitor, ILoggerFactory factory)
 {
     Serializer          = serializer;
     Cache               = cache;
     Partners            = partners;
     Encoder             = encoder;
     Options             = monitor.CurrentValue;
     _optionsChangeToken = monitor.OnChange((options, _) => Options = options);
     Logger              = factory.CreateLogger(GetType());
 }
Пример #3
0
 public StartSsoEndpointMiddleware(
     RazorPageRenderingService razor,
     AuthnRequestFactory authnRequestFactory,
     Saml2pSerializer serializer,
     Saml2pCache cache,
     Saml2pPartnerProvider partners,
     Saml2pEncodingService encoder,
     IOptionsMonitor <Saml2pOptions> monitor,
     ILoggerFactory factory,
     RequestDelegate _)
     : this(razor, authnRequestFactory, serializer, cache, partners, encoder, monitor, factory)
 {
 }
Пример #4
0
 public StartSsoEndpointMiddleware(
     RazorPageRenderingService razor,
     AuthnRequestFactory authnRequestFactory,
     Saml2pSerializer serializer,
     Saml2pCache cache,
     Saml2pPartnerProvider partners,
     Saml2pEncodingService encoder,
     IOptionsMonitor <Saml2pOptions> monitor,
     ILoggerFactory factory)
     : base(serializer, cache, partners, encoder, monitor, factory)
 {
     _razor = razor;
     _authnRequestFactory = authnRequestFactory;
 }
 public FinishSsoEndpointMiddleware(
     Saml2SecurityTokenHandler handler,
     TokenValidationParametersFactory parametersFactory,
     ISystemClock clock,
     Saml2pSerializer serializer,
     Saml2pCache cache,
     Saml2pPartnerProvider partners,
     Saml2pEncodingService encoder,
     IOptionsMonitor <Saml2pOptions> monitor,
     ILoggerFactory factory,
     RequestDelegate _)
     : this(handler, parametersFactory, clock, serializer, cache, partners, encoder, monitor, factory)
 {
 }
 public FinishSsoEndpointMiddleware(
     Saml2SecurityTokenHandler handler,
     TokenValidationParametersFactory parametersFactory,
     ISystemClock clock,
     Saml2pSerializer serializer,
     Saml2pCache cache,
     Saml2pPartnerProvider partners,
     Saml2pEncodingService encoder,
     IOptionsMonitor <Saml2pOptions> monitor,
     ILoggerFactory factory)
     : base(serializer, cache, partners, encoder, monitor, factory)
 {
     _handler = handler;
     _factory = parametersFactory;
     _clock   = clock;
 }
 public CompleteSsoEndpointMiddleware(
     RazorPageRenderingService razor,
     Saml2SecurityTokenHandler handler,
     ISecurityTokenDescriptorFactory descriptorFactory,
     SamlResponseFactory responseFactory,
     Saml2pSerializer serializer,
     Saml2pCache cache,
     Saml2pPartnerProvider partners,
     Saml2pEncodingService encoder,
     IOptionsMonitor <Saml2pOptions> monitor,
     ILoggerFactory loggerFactory,
     RequestDelegate _)
     : base(serializer, cache, partners, encoder, monitor, loggerFactory)
 {
     _razor             = razor;
     _handler           = handler;
     _descriptorFactory = descriptorFactory;
     _responseFactory   = responseFactory;
 }