Exemplo n.º 1
0
 public LogoutModel(SignInManager <ApplicationUser> signInManager, ILogger <LogoutModel> logger,
                    ssd_assignment_team1_draft1.Data.ssd_assignment_team1_draft1Context context)
 {
     _signInManager = signInManager;
     _logger        = logger;
     _context       = context;
 }
Exemplo n.º 2
0
 public ExternalLoginModel(
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     ILogger <ExternalLoginModel> logger,
     IEmailSender emailSender,
     ssd_assignment_team1_draft1.Data.ssd_assignment_team1_draft1Context context)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _logger        = logger;
     _emailSender   = emailSender;
     _context       = context;
 }
        //private readonly IHttpClientFactory _clientFactory;

        public LoginModel(SignInManager <ApplicationUser> signInManager,
                          ILogger <LoginModel> logger,
                          IConfiguration configuration,
                          //IHttpClientFactory clientFactory,
                          ssd_assignment_team1_draft1.Data.ssd_assignment_team1_draft1Context context,
                          UserManager <ApplicationUser> userManager)
        {
            _userManager       = userManager;
            _signInManager     = signInManager;
            _logger            = logger;
            _context           = context;
            this.configuration = configuration;
            //_clientFactory = clientFactory;
        }
Exemplo n.º 4
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IConfiguration configuration,
     IEmailSender emailSender,
     IHttpClientFactory clientFactory,
     ssd_assignment_team1_draft1.Data.ssd_assignment_team1_draft1Context context)
 {
     _userManager       = userManager;
     _signInManager     = signInManager;
     _logger            = logger;
     this.configuration = configuration;
     _emailSender       = emailSender;
     _context           = context;
     _clientfactory     = clientFactory;
 }
Exemplo n.º 5
0
 public DeleteModel(RoleManager <ApplicationRole> roleManager,
                    ssd_assignment_team1_draft1.Data.ssd_assignment_team1_draft1Context context)
 {
     _roleManager = roleManager;
     _context     = context;
 }
 public ManageModel(ssd_assignment_team1_draft1.Data.ssd_assignment_team1_draft1Context context, UserManager <ApplicationUser> userManager, RoleManager <ApplicationRole> roleManager)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
 }