示例#1
0
 public ConfirmationEmailSender(
     GatewayLocator serviceLocation,
     AiurEmailSender emailSender)
 {
     _serviceLocation = serviceLocation;
     _emailSender     = emailSender;
 }
 public ConfirmationEmailSender(
     ServiceLocation serviceLocation,
     AiurEmailSender emailSender)
 {
     _serviceLocation = serviceLocation;
     _emailSender     = emailSender;
 }
 public ConfirmationEmailSender(
     GatewayLocator gatewayLocator,
     AiurEmailSender emailSender)
 {
     _gatewayLocator = gatewayLocator;
     _emailSender    = emailSender;
 }
 public UserController(
     UserManager <APIUser> userManager,
     SignInManager <APIUser> signInManager,
     ILoggerFactory loggerFactory,
     APIDbContext _context,
     IStringLocalizer <ApiController> localizer,
     AiurEmailSender emailSender,
     AiurSMSSender smsSender)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = loggerFactory.CreateLogger <ApiController>();
     _dbContext     = _context;
     _localizer     = localizer;
     _emailSender   = emailSender;
     _smsSender     = smsSender;
 }
示例#5
0
 public UserController(
     UserManager <APIUser> userManager,
     ILoggerFactory loggerFactory,
     APIDbContext context,
     AiurEmailSender emailSender,
     APISMSSender smsSender,
     ServiceLocation serviceLocation,
     GrantChecker grantChecker)
 {
     _userManager     = userManager;
     _logger          = loggerFactory.CreateLogger <ApiController>();
     _dbContext       = context;
     _emailSender     = emailSender;
     _smsSender       = smsSender;
     _serviceLocation = serviceLocation;
     _grantChecker    = grantChecker;
 }
示例#6
0
 public UserController(
     UserManager <APIUser> userManager,
     SignInManager <APIUser> signInManager,
     ILoggerFactory loggerFactory,
     APIDbContext _context,
     IStringLocalizer <ApiController> localizer,
     AiurEmailSender emailSender,
     AiurSMSSender smsSender,
     DeveloperApiService developerApiService,
     ServiceLocation serviceLocation)
 {
     _userManager         = userManager;
     _signInManager       = signInManager;
     _logger              = loggerFactory.CreateLogger <ApiController>();
     _dbContext           = _context;
     _localizer           = localizer;
     _emailSender         = emailSender;
     _smsSender           = smsSender;
     _developerApiService = developerApiService;
     _serviceLocation     = serviceLocation;
 }