public TeacherService( UserManager <EDIApplicationUser> userManager, ILoggerFactory loggerFactory, IAsyncRepository <Teacher> teacherRepository, IAsyncIdentityRepository accountRepository, IAsyncRepository <QuestionnairesDataTeacherProfile> profileRepository, IHostEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor, AuthenticationStateProvider authenticationStateProvider, ServiceContext dbContext, AppIdentityDbContext identityContext, ISharedService sharedService, UserSettings UserSettings, IOptions <EDIAppSettings> settings) { _logger = loggerFactory.CreateLogger <TeacherService>(); _httpContextAccessor = httpContextAccessor; _teacherRepository = teacherRepository; _accountRepository = accountRepository; _profileRepository = profileRepository; _hostingEnvironment = hostingEnvironment; _userManager = userManager; _dbContext = dbContext; _identityContext = identityContext; _authenticationStateProvider = authenticationStateProvider; _sharedService = sharedService; _userSettings = UserSettings; EDIppSettings = settings.Value; }
public IdentityClaims( IAsyncIdentityRepository userContext, IConfiguration configuration) { _userContext = userContext; _configuration = configuration; }
public AccountService( ILoggerFactory loggerFactory, UserManager <EDIApplicationUser> userManager, RoleManager <IdentityRole> roleManager, IAsyncRepository <Country> countryRepository, IAsyncRepository <Province> provinceRepository, IAsyncIdentityRepository accountRepository, IHostEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor, IEmailSender emailSender, AuthenticationStateProvider authenticationStateProvider, ServiceContext dbContext, AppIdentityDbContext identityContext, ISharedService sharedService, UserSettings UserSettings, IOptions <EDIAppSettings> settings) { _logger = loggerFactory.CreateLogger <AccountService>(); _httpContextAccessor = httpContextAccessor; _userManager = userManager; _roleManager = roleManager; _countryRepository = countryRepository; _provinceRepository = provinceRepository; _accountRepository = accountRepository; _hostingEnvironment = hostingEnvironment; _authenticationStateProvider = authenticationStateProvider; _dbContext = dbContext; _identityContext = identityContext; _emailSender = emailSender; _userSettings = UserSettings; POAppSettings = settings.Value; _sharedService = sharedService; }
public TutorService(IAsyncIdentityRepository <User> identityRepository, IAsyncLessonRepository lessonRepository, IAsyncTutorLearningProfileRepository tutorLearningProfileRepository) { _identityRepository = identityRepository; _lessonRepository = lessonRepository; _tutorLearningProfileRepository = tutorLearningProfileRepository; }
public FormService( ILoggerFactory loggerFactory, IAsyncRepository <FormConfigurations> formRepository, IAsyncIdentityRepository accountRepository, IHostEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor, AuthenticationStateProvider authenticationStateProvider, ISharedService sharedService, UserSettings UserSettings, IOptions <EDIAppSettings> settings) { _logger = loggerFactory.CreateLogger <FormService>(); _httpContextAccessor = httpContextAccessor; _formRepository = formRepository; _accountRepository = accountRepository; _hostingEnvironment = hostingEnvironment; _authenticationStateProvider = authenticationStateProvider; _userSettings = UserSettings; POAppSettings = settings.Value; _sharedService = sharedService; }
public ProvinceService( UserManager <EDIApplicationUser> userManager, ILoggerFactory loggerFactory, IAsyncRepository <Province> provinceRepository, IAsyncIdentityRepository accountRepository, IHostEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor, AuthenticationStateProvider authenticationStateProvider, ISharedService sharedService, UserSettings UserSettings, IOptions <EDIAppSettings> settings) { _logger = loggerFactory.CreateLogger <ProvinceService>(); _httpContextAccessor = httpContextAccessor; _provinceRepository = provinceRepository; _accountRepository = accountRepository; _hostingEnvironment = hostingEnvironment; _authenticationStateProvider = authenticationStateProvider; _userSettings = UserSettings; EDIppSettings = settings.Value; _sharedService = sharedService; }
public ChildService( UserManager <EDIApplicationUser> userManager, ILoggerFactory loggerFactory, IAsyncRepository <Child> childRepository, IAsyncRepository <QuestionnairesDataDemographic> questionnairesDataDemographic, IAsyncRepository <QuestionnairesDataSectionA> questionnairesDataSectionA, IAsyncRepository <QuestionnairesDataSectionB> questionnairesDataSectionB, IAsyncRepository <QuestionnairesDataSectionC> questionnairesDataSectionC, IAsyncRepository <QuestionnairesDataSectionD> questionnairesDataSectionD, IAsyncRepository <QuestionnairesDataSectionE> questionnairesDataSectionE, IAsyncIdentityRepository accountRepository, ServiceContext dbContext, IHostEnvironment hostingEnvironment, IHttpContextAccessor httpContextAccessor, AuthenticationStateProvider authenticationStateProvider, ISharedService sharedService, UserSettings UserSettings, IMathService mathService, IOptions <EDIAppSettings> settings) { _logger = loggerFactory.CreateLogger <ChildService>(); _httpContextAccessor = httpContextAccessor; _childRepository = childRepository; _questionnairesDataDemographic = questionnairesDataDemographic; _questionnairesDataSectionA = questionnairesDataSectionA; _questionnairesDataSectionB = questionnairesDataSectionB; _questionnairesDataSectionC = questionnairesDataSectionC; _questionnairesDataSectionD = questionnairesDataSectionD; _questionnairesDataSectionE = questionnairesDataSectionE; _accountRepository = accountRepository; _dbContext = dbContext; _hostingEnvironment = hostingEnvironment; _authenticationStateProvider = authenticationStateProvider; _userSettings = UserSettings; _mathService = (MathService)mathService; EDIppSettings = settings.Value; _sharedService = sharedService; }
public UserService(IAsyncIdentityRepository <User> userIdentityRepository) { _userIdentityRepository = userIdentityRepository; }
public IdentityService(IAsyncIdentityRepository asyncIdentityRepository) { _asyncIdentityRepository = asyncIdentityRepository; }
public LoginService(IAsyncIdentityRepository asyncIdentityRepository, ITokenClaims tokenClaims) { _asyncIdentityRepository = asyncIdentityRepository; _tokenClaims = tokenClaims; }