Example #1
0
 //public Startup(
 //    IIdentityContextFactory<User, Role, UserLogin, UserRole, UserClaim> contextFactory,
 //    IUserManager<User> userManager
 //)
 public Startup()
 {
     _contextFactory = new IdentityEntityFrameworkContextFactory <User, Role, UserLogin, UserRole, UserClaim>();
     _userManager    = new BaseUserManager <User>(
         new BaseUserStore <User, Role, UserLogin, UserRole, UserClaim>()
         );
 }
Example #2
0
 public MigrationStartupComponent(IIdentityContextFactory identityContextFactory)
 {
     _identityContextFactory = identityContextFactory;
 }