public AccountController(AccountManager accountManager, IEmailService emailService, FileManager fileManager, IOptions <EmailVerificationOptions> emailVerificationOptions, IOptions <ResetPasswordOptions> resetPasswordOptions, IOptions <FinancialOptions> financialOptions, IFileService fileService, IHostingEnvironment hostingEnvironment, IOptions <FileOptions> fileOptions, JwtTokenGenerator tokenGenerator, SessionManager sessionManager, AccountItemManager accountItemManager, ShopItemManager shopItemManager, IImageProcessingService imageProcessingService, StatsManager statsManager) { _accountManager = accountManager; _emailService = emailService; _fileManager = fileManager; _fileService = fileService; _accountItemManager = accountItemManager; _shopItemManager = shopItemManager; _imageProcessingService = imageProcessingService; _statsManager = statsManager; _emailVerificationOptions = emailVerificationOptions.Value; _resetPasswordOptions = resetPasswordOptions.Value; }
public EmailService(AccountManager accountManager, IStringLocalizer <Emails> stringLocalizer, IEmailSender emailSender, IOptions <EmailVerificationOptions> emailConfirmationOptions, IOptions <ResetPasswordOptions> resetPasswordOptions) { _accountManager = accountManager; _stringLocalizer = stringLocalizer; _emailSender = emailSender; _emailVerificationOptions = emailConfirmationOptions.Value; _resetPasswordOptions = resetPasswordOptions.Value; }
public ForgotPaswordService(IUnitOfWork unitOfWork, IAuthTokenProvider authTokenProvider, IEmailSender emailSender, IAuthenticatedUser au, IOptions <ResetPasswordOptions> options, ICryptoContext cryptoContext) { _unitOfWork = unitOfWork; _authTokenProvider = authTokenProvider; _emailSender = emailSender; _cryptoContext = cryptoContext; _resetPasswordOptions = options.Value; _au = au; }
public ResetPasswordService(IOptions <ResetPasswordOptions> resetPasswordOptions, AuthContext context, IBusClient rawRabbitBus) { _rawRabbitBus = rawRabbitBus; _context = context; _resetPasswordOptions = resetPasswordOptions.Value; }