Esempio n. 1
0
 public HomeController(
     IIdentityServerInteractionService interactionService,
     ISamlInteractionService samlInteractionService)
 {
     this.interactionService     = interactionService ?? throw new ArgumentNullException(nameof(interactionService));
     this.samlInteractionService = samlInteractionService ?? throw new ArgumentNullException(nameof(samlInteractionService));
 }
Esempio n. 2
0
        public AccountController(
            ISamlInteractionService samlInteractionService,
            ISamlMessageParser samlMessageParser,
            IIdentityServerInteractionService interaction,
            IClientStore clientStore,
            IAuthenticationSchemeProvider schemeProvider,
            IEventService events,
            TestUserStore users = null)
        {
            this.samlInteractionService = samlInteractionService ?? throw new ArgumentNullException(nameof(samlInteractionService));
            this.samlMessageParser      = samlMessageParser ?? throw new ArgumentNullException(nameof(samlMessageParser));
            this.interaction            = interaction;
            this.clientStore            = clientStore;
            this.schemeProvider         = schemeProvider;
            this.events = events;

            this.users = users ?? new TestUserStore(TestUsers.Users);
        }
Esempio n. 3
0
 public SingleLogOutModel(SignInManager <ApplicationUser> signInManager, ISamlInteractionService samlInteractionService)
 {
     _signInManager          = signInManager;
     _samlInteractionService = samlInteractionService;
 }