Exemplo n.º 1
0
 public AccountController(
     SiteSettings currentSite,
     SiteUserManager<SiteUser> userManager,
     SiteSignInManager<SiteUser> signInManager,
     IpAddressTracker ipAddressTracker,
     ISiteMessageEmailSender emailSender,
     ISmsSender smsSender,
     ILogger<AccountController> logger)
 {
     Site = currentSite; 
     this.userManager = userManager;
     this.signInManager = signInManager;
     this.emailSender = emailSender;
     this.smsSender = smsSender;
     this.ipAddressTracker = ipAddressTracker;
     log = logger;
 }
Exemplo n.º 2
0
 public AccountController(
     SiteContext currentSite,
     SiteUserManager<SiteUser> userManager,
     SiteSignInManager<SiteUser> signInManager,
     IpAddressTracker ipAddressTracker,
     ISiteMessageEmailSender emailSender,
     ISmsSender smsSender,
     IIdentityServerIntegration identityServerIntegration,
     IStringLocalizer<CloudscribeCore> localizer,
     ILogger<AccountController> logger
     )
 {
     Site = currentSite; 
     this.userManager = userManager;
     this.signInManager = signInManager;
     this.identityServerIntegration = identityServerIntegration;
     this.emailSender = emailSender;
     this.smsSender = smsSender;
     this.ipAddressTracker = ipAddressTracker;
     sr = localizer;
     log = logger;
 }