public UserManagerController(UserManagerRepository repo, ILoggerProvider loggerProvider,
                                     IBus reportServerBus, UserManager <ApplicationUser> userManager,
                                     UserBootstrapper userBootstrapper)
        {
            Repository      = repo;
            Logger          = loggerProvider.CreateLogger(nameof(UserManagerController));
            ReportServerBus = reportServerBus;
            _userManager    = userManager;

            bootstrapper = userBootstrapper;
        }
Exemplo n.º 2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events,
     UserBootstrapper bootstrapper)
 {
     _userManager      = userManager;
     _signInManager    = signInManager;
     _interaction      = interaction;
     _clientStore      = clientStore;
     _schemeProvider   = schemeProvider;
     _events           = events;
     _userBootstrapper = bootstrapper;
 }