public LoginController(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ISMService smService, IConfiguration configuration) { _signInManager = signInManager; _userManager = userManager; _smService = smService; _configuration = configuration; }
public RegisterController(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ISMService smService, RoleManager <IdentityRole> roleManager) { _signInManager = signInManager; _userManager = userManager; _smService = smService; _roleManager = roleManager; }
public TwoFactorController(IConfiguration configuration, ISMService smService, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager) { _configuration = configuration; _signInManager = signInManager; _userManager = userManager; _smService = smService; _roleManager = roleManager; }
public ForgotPasswordController(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ISMService smService, IMailKitSender emailSender, RoleManager <IdentityRole> roleManager) { _signInManager = signInManager; _userManager = userManager; _smService = smService; _emailSender = emailSender; _roleManager = roleManager; }
public static ISMService GetSendService() { ISMService sms = (ISMService)Activator.GetObject(typeof(ISMService), ConfigurationManager.AppSettings["ISMService"]); return(sms); }
public static ISMService GetZHSMSPlatService() { ISMService sr = (ISMService)Activator.GetObject(typeof(ISMService), ConfigurationManager.AppSettings["ZHSMSPlatService"]); return(sr); }
public static ISMService GetZKD() { ISMService st = (ISMService)Activator.GetObject(typeof(ISMService), ConfigurationManager.AppSettings["Platform"]); return(st); }