Exemplo n.º 1
0
 public WsFederationEndpoint(
     MetadataResponseGenerator metadata,
     SignInValidator signinValidator,
     SignInResponseGenerator generator,
     IUserSession sessionService,
     ILogger <WsFederationEndpoint> logger)
 {
     this.metadata        = metadata ?? throw new ArgumentNullException(nameof(metadata));
     this.signinValidator = signinValidator ?? throw new ArgumentNullException(nameof(signinValidator));
     this.generator       = generator ?? throw new ArgumentNullException(nameof(generator));
     this.sessionService  = sessionService ?? throw new ArgumentNullException(nameof(sessionService));
     this.logger          = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public WsFederationController(
     MetadataResponseGenerator metadata,
     SignInValidator signinValidator,
     IdentityServerOptions options,
     SignInResponseGenerator generator,
     IUserSession userSession,
     ILogger <WsFederationController> logger)
 {
     _metadata        = metadata;
     _signinValidator = signinValidator;
     _options         = options;
     _generator       = generator;
     _userSession     = userSession;
     _logger          = logger;
 }
Exemplo n.º 3
0
        public WsFederationController(
            MetadataResponseGenerator metadata,
            SignInValidator signinValidator,
            IdentityServerOptions options,
            SignInResponseGenerator generator,
            IClientSessionService clientSessionService,
            ILogger <WsFederationController> logger)
        {
            _metadata             = metadata;
            _signinValidator      = signinValidator;
            _options              = options;
            _generator            = generator;
            _clientSessionService = clientSessionService;

            _logger = logger;
        }
Exemplo n.º 4
0
 public WsFederationController(
     MetadataResponseGenerator metadata,
     SignInValidator signinValidator,
     SignOutValidator signoutValidator,
     IdentityServerOptions options,
     SignInResponseGenerator generator,
     IUserSession userSession,
     ISystemClock clock,
     IMessageStore <LogoutMessage> logoutMessageStore,
     ILogger <WsFederationController> logger)
 {
     _metadata           = metadata;
     _signinValidator    = signinValidator;
     _signoutValidator   = signoutValidator;
     _logoutMessageStore = logoutMessageStore;
     _options            = options;
     _generator          = generator;
     _userSession        = userSession;
     _clock  = clock;
     _logger = logger;
 }