public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ISamlServiceProvider samlServiceProvider, IConfiguration configuration)
 //    public AccountController(UserManager<ApplicationUser> userManager, SignInManager<ApplicationUser> signInManager,  IConfiguration configuration)
 {
     this._userManager         = userManager;
     this._signInManager       = signInManager;
     this._samlServiceProvider = samlServiceProvider;
     this._configuration       = configuration;
 }
 public DashboardController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IHostingEnvironment AppEnvironment, ISamlServiceProvider samlServiceProvider, IConfiguration configuration, IServiceFactory serviceFactory) : base(serviceFactory)
 {
     this._userManager    = userManager;
     this._signInManager  = signInManager;
     _appEnvironment      = AppEnvironment;
     _samlServiceProvider = samlServiceProvider;
     _configuration       = configuration;
 }
Esempio n. 3
0
 public SamlController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ISamlServiceProvider samlServiceProvider,
     IConfiguration configuration)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _samlServiceProvider = samlServiceProvider;
     _configuration       = configuration;
 }
Esempio n. 4
0
 public SamlController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     ISamlServiceProvider samlServiceProvider,
     WarblerDbContext dbContext)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _samlServiceProvider = samlServiceProvider;
     _dbContext           = dbContext;
 }
 public AccountController(UserManager <IdentityUser> userManager,
                          SignInManager <IdentityUser> signInManager,
                          ISamlServiceProvider samlServiceProvider,
                          IConfigurationToMetadata configurationToMetadata,
                          IConfiguration configuration)
 {
     _userManager             = userManager;
     _signInManager           = signInManager;
     _samlServiceProvider     = samlServiceProvider;
     _configurationToMetadata = configurationToMetadata;
     _configuration           = configuration;
 }
Esempio n. 6
0
 public SamlController(
     IConfiguration configuration,
     IConfigurationToMetadata configurationToMetadata,
     ISamlServiceProvider samlServiceProvider,
     SignInManager <IdentityUser> signInManager,
     UserManager <IdentityUser> userManager)
 {
     _configuration           = configuration;
     _configurationToMetadata = configurationToMetadata;
     _samlServiceProvider     = samlServiceProvider;
     _signInManager           = signInManager;
     _userManager             = userManager;
 }
Esempio n. 7
0
 public AccountController(
     UserManager <User> userManager,
     RoleManager <IdentityRole> roleManager,
     SignInManager <User> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory,
     ISamlServiceProvider samlServiceProvider)
 {
     _userManager         = userManager;
     _roleManager         = roleManager;
     _signInManager       = signInManager;
     _emailSender         = emailSender;
     _smsSender           = smsSender;
     _logger              = loggerFactory.CreateLogger <AccountController>();
     _samlServiceProvider = samlServiceProvider;
 }