Beispiel #1
0
 public RegisterController(ApplicationUserManager applicationUserManager
                           , ApplicationRoleManager applicationRoleManager
                           , ApplicationUserRoleManager applicationUserRoleManager)
 {
     _applicationUserManager     = applicationUserManager;
     _applicationRoleManager     = applicationRoleManager;
     _applicationUserRoleManager = applicationUserRoleManager;
 }
Beispiel #2
0
 public PllUserManager(IUserService userService, ApplicationUserRoleManager applicationRoleManager,
                       ApplicationUserManager applicationUserManager,
                       IUserMapperConfigurationProvider userMapperConfigurationProvider)
 {
     _userService            = userService;
     _applicationRoleManager = applicationRoleManager;
     _applicationUserManager = applicationUserManager;
     _mapper = userMapperConfigurationProvider.GetMapperConfig();
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IdentityDatabaseInititalizer"/> class.
 /// </summary>
 /// <param name="userManager">The user manager.</param>
 /// <param name="roleManager">The role manager.</param>
 public IdentityDatabaseInititalizer(ApplicationUserManager userManager, ApplicationUserRoleManager roleManager)
 {
     this.roleManager = roleManager;
     this.userManager = userManager;
 }