/// <summary> /// Initializes a new instance of the <see cref="UserProfileService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="patientService">The patient service.</param> /// <param name="userEmailService">The User Email service.</param> /// <param name="userSMSService">The User SMS service.</param> /// <param name="configurationService">The configuration service.</param> /// <param name="emailQueueService">The email service to queue emails.</param> /// <param name="notificationSettingsService">The Notifications Settings service.</param> /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param> /// <param name="userPreferenceDelegate">The preference delegate to interact with the DB.</param> /// <param name="legalAgreementDelegate">The terms of service delegate.</param> /// <param name="messageVerificationDelegate">The message verification delegate.</param> /// <param name="cryptoDelegate">Injected Crypto delegate.</param> /// <param name="httpContextAccessor">The injected http context accessor provider.</param> public UserProfileService( ILogger <UserProfileService> logger, IPatientService patientService, IUserEmailService userEmailService, IUserSMSService userSMSService, IConfigurationService configurationService, IEmailQueueService emailQueueService, INotificationSettingsService notificationSettingsService, IUserProfileDelegate userProfileDelegate, IUserPreferenceDelegate userPreferenceDelegate, ILegalAgreementDelegate legalAgreementDelegate, IMessagingVerificationDelegate messageVerificationDelegate, ICryptoDelegate cryptoDelegate, IHttpContextAccessor httpContextAccessor) { this.logger = logger; this.patientService = patientService; this.userEmailService = userEmailService; this.userSMSService = userSMSService; this.configurationService = configurationService; this.emailQueueService = emailQueueService; this.notificationSettingsService = notificationSettingsService; this.userProfileDelegate = userProfileDelegate; this.userPreferenceDelegate = userPreferenceDelegate; this.legalAgreementDelegate = legalAgreementDelegate; this.messageVerificationDelegate = messageVerificationDelegate; this.cryptoDelegate = cryptoDelegate; this.httpContextAccessor = httpContextAccessor; }
public UserService(IUserRepository userRepository, IUnitOfWork unitOfWork, IValidator <User> validator, IUserEmailService userEmailService) : base(userRepository, unitOfWork, validator) { _userRepository = userRepository; _userEmailService = userEmailService; }
public IdentityService(IPasswordHasher <User> passwordHasher, IAuthManager authManager, IClock clock, IUserRepository userRepository, IRefreshTokenService refreshTokenService, IUserEmailService emailService) { _passwordHasher = passwordHasher; _authManager = authManager; _clock = clock; _userRepository = userRepository; _refreshTokenService = refreshTokenService; _emailService = emailService; }
/// <summary> /// Initializes a new instance of the <see cref="UserProfileController"/> class. /// </summary> /// <param name="userProfileService">The injected user profile service.</param> /// <param name="httpContextAccessor">The injected http context accessor provider.</param> /// <param name="userEmailService">The injected user email service.</param> /// <param name="userSMSService">The injected user sms service.</param> public UserProfileController( IUserProfileService userProfileService, IHttpContextAccessor httpContextAccessor, IUserEmailService userEmailService, IUserSMSService userSMSService) { this.userProfileService = userProfileService; this.httpContextAccessor = httpContextAccessor; this.userEmailService = userEmailService; this.userSMSService = userSMSService; }
public LgpdService( IUserService userService, IUserEmailService userEmailService, IBookUserService bookUserService, ApplicationDbContext context) { _userService = userService; _userEmailService = userEmailService; _bookUserService = bookUserService; _ctx = context; }
public UserService(IUserRepository userRepository, IBookRepository bookRepository, IUnitOfWork unitOfWork, IValidator <User> validator, IMapper mapper, IUserEmailService userEmailService) : base(userRepository, unitOfWork, validator) { _userRepository = userRepository; _userEmailService = userEmailService; _bookRepository = bookRepository; _mapper = mapper; }
public UserAccountService( IUserEmailService userEmailService, IUserManagementService <Account> userManagementService, IUnitOfWork unitOfWork, IMapper mapper, IDateTimeProvider dateTimeProvider) { _userEmailService = userEmailService; _userManagementService = userManagementService; _unitOfWork = unitOfWork; _mapper = mapper; _dateTimeProvider = dateTimeProvider; }
public SetUserEmailCommandHandler(IUserEmailService userEmailService) { _userEmailService = userEmailService; }
public ActivityController(IUserWordGenerationService generationService, IUserEmailService emailService, ILogger <ActivityController> logger) { _generationService = generationService; _emailService = emailService; _logger = logger; }
public AccountController(IUserService userService, IUserEmailService userEmailService) { _userService = userService; _userEmailService = userEmailService; }
public GenerateUserEmailConfirmationTokenCommandHandler(IUserEmailService userEmailService) { _userEmailService = userEmailService; }
public ConfirmUserEmailCommandHandler(IUserEmailService userEmailService) { _userEmailService = userEmailService; }