public AccountService(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signinManager, RoleManager <ApplicationRole> roleManager, IHttpContextAccessor httpContextAccessor, IEnvironmentDescriptor env, IOptions <JwtSettings> jwtSettings, IOptions <AppSettings> appSettings) { _userManager = userManager; _signinManager = signinManager; _roleManager = roleManager; _httpContextAccessor = httpContextAccessor; _env = env; _jwtSettings = jwtSettings.Value; _appSettings = appSettings.Value; }
public DataContext(IEnvironmentDescriptor identityDescriptor) : base("DataContext", throwIfV1Schema: false) { EnvironmentDescriptor = identityDescriptor; }
public DataContext(DbContextOptions <DataContext> options, IEnvironmentDescriptor env) : base(options) { _env = env; }